[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251113160831.775d61dd.alex@shazbot.org>
Date: Thu, 13 Nov 2025 16:08:31 -0700
From: Alex Williamson <alex@...zbot.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
"kvm@...r.kernel.org" <kvm@...r.kernel.org>, Alex Mastro <amastro@...com>,
David Matlack <dmatlack@...gle.com>
Subject: [GIT PULL] 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(-)
Powered by blists - more mailing lists