]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
vfio: selftests: Move vfio dma mapping test to their own file
authorJosh Hilke <jrhilke@google.com>
Fri, 22 Aug 2025 21:24:52 +0000 (21:24 +0000)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 27 Aug 2025 18:14:02 +0000 (12:14 -0600)
commitb477e7bcd25ecb4da91bb52d5f980611cc77d543
tree180ec2948ebed6b5068626f5abf9d5f7eb242960
parent790588f06e9ce58c281faeada453f47361bc06b6
vfio: selftests: Move vfio dma mapping test to their own file

Move the dma_map_unmap test from vfio_pci_device_test to a new test:
vfio_dma_mapping_test. We are going to add more complex dma mapping
tests, so it makes sense to separate this from the vfio pci device
test which is more of a sanity check for vfio pci functionality.

Signed-off-by: Josh Hilke <jrhilke@google.com>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: David Matlack <dmatlack@google.com>
Link: https://lore.kernel.org/r/20250822212518.4156428-6-dmatlack@google.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
tools/testing/selftests/vfio/Makefile
tools/testing/selftests/vfio/vfio_dma_mapping_test.c [new file with mode: 0644]
tools/testing/selftests/vfio/vfio_pci_device_test.c