VFIO fixes for v6.18-rc6
Hi Linus,
Here are a few last fixes for the new vfio selftests for v6.18. This hopefully starts us off with a good precedent that the tests will generally pass by removing some assumptions about the IOMMU address width. Thanks,
Alex
The following changes since commit 6146a0f1dfae5d37442a9ddcba012add260bceb0:
Linux 6.18-rc4 (2025-11-02 11:28:02 -0800)
are available in the Git repository at:
https://github.com/awilliam/linux-vfio.git tags/vfio-v6.18-rc6
for you to fetch changes up to d323ad739666761646048fca587734f4ae64f2c8:
vfio: selftests: replace iova=vaddr with allocated iovas (2025-11-12 08:04:42 -0700)
----------------------------------------------------------------
VFIO fixes for v6.18-rc6
- Fix vfio selftests to remove the expectation that the IOMMU supports a 64-bit IOVA space. These manifest both in the original set of tests introduced this development cycle in identity mapping the IOVA to buffer virtual address space, as well as the more recent boundary testing. Implement facilities for collecting the valid IOVA ranges from the backend, implement a simple IOVA allocator, and use the information for determining extents. (Alex Mastro)
----------------------------------------------------------------
Alex Mastro (4):
vfio: selftests: add iova range query helpers
vfio: selftests: fix map limit tests to use last available iova
vfio: selftests: add iova allocator
vfio: selftests: replace iova=vaddr with allocated iovas
.../testing/selftests/vfio/lib/include/vfio_util.h | 19 +- tools/testing/selftests/vfio/lib/vfio_pci_device.c | 246 ++++++++++++++++++++- .../testing/selftests/vfio/vfio_dma_mapping_test.c | 20 +- .../testing/selftests/vfio/vfio_pci_driver_test.c | 12 +- 4 files changed, 288 insertions(+), 9 deletions(-)
The pull request you sent on Thu, 13 Nov 2025 16:08:31 -0700:
The pull request you sent on Thu, 13 Nov 2025 16:08:31 -0700:
Quoted 1 line
https://github.com/awilliam/linux-vfio.git tags/vfio-v6.18-rc6
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/6da43bbeb6918164f7287269881a5f861ae09d7e
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html