On Wed, Aug 27, 2025 at 11:55 AM Alex Williamson <[email protected]> wrote: > > On Fri, 22 Aug 2025 21:24:47 +0000 > David Matlack <[email protected]> wrote: > > > This series introduces VFIO selftests, located in > > tools/testing/selftests/vfio/. > > > > VFIO selftests aim to enable kernel developers to write and run tests > > that take the form of userspace programs that interact with VFIO and > > IOMMUFD uAPIs. VFIO selftests can be used to write functional tests for > > new features, regression tests for bugs, and performance tests for > > optimizations. > > > > These tests are designed to interact with real PCI devices, i.e. they do > > not rely on mocking out or faking any behavior in the kernel. This > > allows the tests to exercise not only VFIO but also IOMMUFD, the IOMMU > > driver, interrupt remapping, IRQ handling, etc. > > > > For more background on the motivation and design of this series, please > > see the RFC: > > > > https://lore.kernel.org/kvm/[email protected]/ > > > > This series can also be found on GitHub: > > > > https://github.com/dmatlack/linux/tree/vfio/selftests/v2 > > Applied to vfio next branch for v6.18. I've got a system with > compatible ioatdma hardware, so I'll start incorporating this into my > regular testing and hopefully convert some unit tests as well. Thanks,
That sounds great. Thanks for your help with getting this merged. And big thanks to Jason as well.
