[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250930124221.39523455.alex.williamson@redhat.com>
Date: Tue, 30 Sep 2025 12:42:21 -0600
From: Alex Williamson <alex.williamson@...hat.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: <linux-kernel@...r.kernel.org>, "kvm@...r.kernel.org"
<kvm@...r.kernel.org>
Subject: [GIT PULL] VFIO updates for v6.18-rc1
Hi Linus,
The following changes since commit 1b237f190eb3d36f52dffe07a40b5eb210280e00:
Linux 6.17-rc3 (2025-08-24 12:04:12 -0400)
are available in the Git repository at:
https://github.com/awilliam/linux-vfio.git tags/vfio-v6.18-rc1
for you to fetch changes up to 407aa63018d15c35a34938633868e61174d2ef6e:
vfio/nvgrace-gpu: Add GB300 SKU to the devid table (2025-09-26 08:38:05 -0600)
----------------------------------------------------------------
VFIO updates for v6.18-rc1
- Use fdinfo to expose the sysfs path of a device represented by a
vfio device file. (Alex Mastro)
- Mark vfio-fsl-mc, vfio-amba, and the reset functions for
vfio-platform for removal as these are either orphaned or believed
to be unused. (Alex Williamson)
- Add reviewers for vfio-platform to save it from also being marked
for removal. (Mostafa Saleh, Pranjal Shrivastava)
- VFIO selftests, including basic sanity testing and minimal userspace
drivers for testing against real hardware. This is also expected to
provide integration with KVM selftests for KVM-VFIO interfaces.
(David Matlack, Josh Hilke)
- Fix drivers/cdx and vfio/cdx to build without CONFIG_GENERIC_MSI_IRQ.
(Nipun Gupta)
- Fix reference leak in hisi_acc. (Miaoqian Lin)
- Use consistent return for unsupported device feature. (Alex Mastro)
- Unwind using the correct memory free callback in vfio/pds.
(Zilin Guan)
- Use IRQ_DISABLE_LAZY flag to improve handling of pre-PCI2.3 INTx
and resolve stalled interrupt on ppc64. (Timothy Pearson)
- Enable GB300 in nvgrace-gpu vfio-pci variant driver. (Tushar Dave)
- Misc:
- Drop unnecessary ternary conversion in vfio/pci. (Xichao Zhao)
- Grammatical fix in nvgrace-gpu. (Morduan Zang)
- Update Shameer's email address. (Shameer Kolothum)
- Fix document build warning. (Alex Williamson)
----------------------------------------------------------------
Alex Mastro (2):
vfio/pci: print vfio-device syspath to fdinfo
vfio: return -ENOTTY for unsupported device feature
Alex Williamson (4):
vfio/fsl-mc: Mark for removal
docs: proc.rst: Fix VFIO Device title formatting
vfio/amba: Mark for removal
vfio/platform: Mark reset drivers for removal
David Matlack (26):
selftests: Create tools/testing/selftests/vfio
vfio: selftests: Add a helper library for VFIO selftests
vfio: selftests: Introduce vfio_pci_device_test
vfio: selftests: Keep track of DMA regions mapped into the device
vfio: selftests: Enable asserting MSI eventfds not firing
vfio: selftests: Add a helper for matching vendor+device IDs
vfio: selftests: Add driver framework
vfio: sefltests: Add vfio_pci_driver_test
tools headers: Add stub definition for __iomem
tools headers: Import asm-generic MMIO helpers
tools headers: Import x86 MMIO helper overrides
tools headers: Add symlink to linux/pci_ids.h
dmaengine: ioat: Move system_has_dca_enabled() to dma.h
vfio: selftests: Add driver for Intel CBDMA
tools headers: Import iosubmit_cmds512()
dmaengine: idxd: Allow registers.h to be included from tools/
vfio: selftests: Add driver for Intel DSA
vfio: selftests: Move helper to get cdev path to libvfio
vfio: selftests: Encapsulate IOMMU mode
vfio: selftests: Replicate tests across all iommu_modes
vfio: selftests: Add vfio_type1v2_mode
vfio: selftests: Add iommufd_compat_type1{,v2} modes
vfio: selftests: Add iommufd mode
vfio: selftests: Make iommufd the default iommu_mode
vfio: selftests: Add a script to help with running VFIO selftests
vfio: selftests: Fix .gitignore for already tracked files
Josh Hilke (5):
vfio: selftests: Test basic VFIO and IOMMUFD integration
vfio: selftests: Move vfio dma mapping test to their own file
vfio: selftests: Add test to reset vfio device.
vfio: selftests: Add DMA mapping tests for 2M and 1G HugeTLB
vfio: selftests: Validate 2M/1G HugeTLB are mapped as 2M/1G in IOMMU
Miaoqian Lin (1):
hisi_acc_vfio_pci: Fix reference leak in hisi_acc_vfio_debug_init
Morduan Zang (1):
vfio/nvgrace-gpu: fix grammatical error
Mostafa Saleh (1):
MAINTAINERS: Add myself as VFIO-platform reviewer
Nipun Gupta (2):
cdx: don't select CONFIG_GENERIC_MSI_IRQ
vfio/cdx: update driver to build without CONFIG_GENERIC_MSI_IRQ
Pranjal Shrivastava (1):
MAINTAINERS: Add myself as VFIO-platform reviewer
Shameer Kolothum (1):
MAINTAINERS: Update Shameer Kolothum's email address
Timothy Pearson (1):
vfio/pci: Fix INTx handling on legacy non-PCI 2.3 devices
Tushar Dave (1):
vfio/nvgrace-gpu: Add GB300 SKU to the devid table
Xichao Zhao (1):
vfio/pci: drop redundant conversion to bool
Zilin Guan (1):
vfio/pds: replace bitmap_free with vfree
.mailmap | 1 +
Documentation/filesystems/proc.rst | 14 +
MAINTAINERS | 14 +-
drivers/cdx/Kconfig | 1 -
drivers/cdx/cdx.c | 4 +-
drivers/cdx/controller/Kconfig | 1 -
drivers/cdx/controller/cdx_controller.c | 3 +-
drivers/dma/idxd/registers.h | 4 +
drivers/dma/ioat/dma.h | 2 +
drivers/dma/ioat/hw.h | 3 -
drivers/vfio/cdx/Makefile | 6 +-
drivers/vfio/cdx/private.h | 14 +
drivers/vfio/fsl-mc/Kconfig | 5 +-
drivers/vfio/fsl-mc/vfio_fsl_mc.c | 2 +
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c | 6 +-
drivers/vfio/pci/nvgrace-gpu/main.c | 4 +-
drivers/vfio/pci/pds/dirty.c | 2 +-
drivers/vfio/pci/vfio_pci_intrs.c | 9 +-
drivers/vfio/platform/Kconfig | 5 +-
drivers/vfio/platform/reset/Kconfig | 6 +-
.../vfio/platform/reset/vfio_platform_amdxgbe.c | 2 +
.../vfio/platform/reset/vfio_platform_bcmflexrm.c | 2 +
.../platform/reset/vfio_platform_calxedaxgmac.c | 2 +
drivers/vfio/platform/vfio_amba.c | 2 +
drivers/vfio/vfio_main.c | 22 +-
tools/arch/x86/include/asm/io.h | 101 ++++
tools/arch/x86/include/asm/special_insns.h | 27 +
tools/include/asm-generic/io.h | 482 +++++++++++++++++
tools/include/asm/io.h | 11 +
tools/include/linux/compiler.h | 4 +
tools/include/linux/io.h | 4 +-
tools/include/linux/pci_ids.h | 1 +
tools/testing/selftests/Makefile | 1 +
tools/testing/selftests/vfio/.gitignore | 10 +
tools/testing/selftests/vfio/Makefile | 21 +
tools/testing/selftests/vfio/lib/drivers/dsa/dsa.c | 416 +++++++++++++++
.../selftests/vfio/lib/drivers/dsa/registers.h | 1 +
tools/testing/selftests/vfio/lib/drivers/ioat/hw.h | 1 +
.../testing/selftests/vfio/lib/drivers/ioat/ioat.c | 235 ++++++++
.../selftests/vfio/lib/drivers/ioat/registers.h | 1 +
.../testing/selftests/vfio/lib/include/vfio_util.h | 295 ++++++++++
tools/testing/selftests/vfio/lib/libvfio.mk | 24 +
tools/testing/selftests/vfio/lib/vfio_pci_device.c | 594 +++++++++++++++++++++
tools/testing/selftests/vfio/lib/vfio_pci_driver.c | 126 +++++
tools/testing/selftests/vfio/run.sh | 109 ++++
.../testing/selftests/vfio/vfio_dma_mapping_test.c | 199 +++++++
.../selftests/vfio/vfio_iommufd_setup_test.c | 127 +++++
.../testing/selftests/vfio/vfio_pci_device_test.c | 176 ++++++
.../testing/selftests/vfio/vfio_pci_driver_test.c | 244 +++++++++
49 files changed, 3323 insertions(+), 23 deletions(-)
create mode 100644 tools/arch/x86/include/asm/io.h
create mode 100644 tools/arch/x86/include/asm/special_insns.h
create mode 100644 tools/include/asm-generic/io.h
create mode 100644 tools/include/asm/io.h
create mode 120000 tools/include/linux/pci_ids.h
create mode 100644 tools/testing/selftests/vfio/.gitignore
create mode 100644 tools/testing/selftests/vfio/Makefile
create mode 100644 tools/testing/selftests/vfio/lib/drivers/dsa/dsa.c
create mode 120000 tools/testing/selftests/vfio/lib/drivers/dsa/registers.h
create mode 120000 tools/testing/selftests/vfio/lib/drivers/ioat/hw.h
create mode 100644 tools/testing/selftests/vfio/lib/drivers/ioat/ioat.c
create mode 120000 tools/testing/selftests/vfio/lib/drivers/ioat/registers.h
create mode 100644 tools/testing/selftests/vfio/lib/include/vfio_util.h
create mode 100644 tools/testing/selftests/vfio/lib/libvfio.mk
create mode 100644 tools/testing/selftests/vfio/lib/vfio_pci_device.c
create mode 100644 tools/testing/selftests/vfio/lib/vfio_pci_driver.c
create mode 100755 tools/testing/selftests/vfio/run.sh
create mode 100644 tools/testing/selftests/vfio/vfio_dma_mapping_test.c
create mode 100644 tools/testing/selftests/vfio/vfio_iommufd_setup_test.c
create mode 100644 tools/testing/selftests/vfio/vfio_pci_device_test.c
create mode 100644 tools/testing/selftests/vfio/vfio_pci_driver_test.c
Powered by blists - more mailing lists