]> git.ipfire.org Git - thirdparty/linux.git/commit
vfio: selftests: Eliminate INVALID_IOVA
authorDavid Matlack <dmatlack@google.com>
Wed, 26 Nov 2025 23:17:32 +0000 (23:17 +0000)
committerAlex Williamson <alex@shazbot.org>
Fri, 28 Nov 2025 17:58:07 +0000 (10:58 -0700)
commitb8e96c8805ec25878ac971cad34732a6aabe34f6
tree5146dc29200062227f090963d30d5aa2d36840f3
parent5fabc49abf7ac630babfb1525e242848d54038c1
vfio: selftests: Eliminate INVALID_IOVA

Eliminate INVALID_IOVA as there are platforms where UINT64_MAX is a
valid iova.

Reviewed-by: Alex Mastro <amastro@fb.com>
Tested-by: Alex Mastro <amastro@fb.com>
Reviewed-by: Raghavendra Rao Ananta <rananta@google.com>
Signed-off-by: David Matlack <dmatlack@google.com>
Link: https://lore.kernel.org/r/20251126231733.3302983-18-dmatlack@google.com
Signed-off-by: Alex Williamson <alex@shazbot.org>
tools/testing/selftests/vfio/lib/include/libvfio/iommu.h
tools/testing/selftests/vfio/lib/include/libvfio/vfio_pci_device.h
tools/testing/selftests/vfio/lib/iommu.c
tools/testing/selftests/vfio/vfio_dma_mapping_test.c