Skip to contentSkip to conversation

VFIO updates for v7.0-rc1

GIT PULL Merged Alex Williamson 2 participants 2 messages Feb 12 – Feb 13 KVM

lore
Share & tools
lore
#0 lore raw

Hi Linus,

There are a couple unusual block file changes here that come via a shared branch from Jens[1]. Otherwise a small cycle with the bulk in selftests and reintroducing poison handling in the nvgrace-gpu driver. The rest are fixes, cleanups, and some dmabuf structure consolidation. Thanks,

Alex

[1]https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux.git/log/?h=for-7.0/blk-pvec

The following changes since commit 24d479d26b25bce5faea3ddd9fa8f3a6c3129ea7:

Linux 6.19-rc6 (2026-01-18 15:42:45 -0800)

are available in the Git repository at:

https://github.com/awilliam/linux-vfio.git tags/vfio-v7.0-rc1

for you to fetch changes up to 96ca4caf9066f5ebd35b561a521af588a8eb0215:

vfio/fsl-mc: add myself as maintainer (2026-02-06 15:08:06 -0700)

----------------------------------------------------------------
VFIO updates for v7.0-rc1

- Update outdated mdev comment referencing the renamed mdev_type_add() function. (Julia Lawall)

- Introduce selftest support for IOMMU mapping of PCI MMIO BARs. (Alex Mastro)

- Relax selftest assertion relative to differences in huge page handling between legacy (v1) TYPE1 IOMMU mapping behavior and the compatibility mode supported by IOMMUFD. (David Matlack)

- Reintroduce memory poison handling support for non-struct-page- backed memory in the nvgrace-gpu variant driver. (Ankit Agrawal)

- Replace dma_buf_phys_vec with phys_vec to avoid duplicate structure and semantics. (Leon Romanovsky)

- Add missing upstream bridge locking across PCI function reset, resolving an assertion failure when secondary bus reset is used to provide that reset. (Anthony Pighin)

- Fixes to hisi_acc vfio-pci variant driver to resolve corner case issues related to resets, repeated migration, and error injection scenarios. (Longfang Liu, Weili Qian)

- Restrict vfio selftest builds to arm64 and x86_64, resolving compiler warnings on 32-bit archs. (Ted Logan)

- Un-deprecate the fsl-mc vfio bus driver as a new maintainer has stepped up. (Ioana Ciornei)

----------------------------------------------------------------
Alex Mastro (3):
vfio: selftests: Centralize IOMMU mode name definitions
vfio: selftests: Align BAR mmaps for efficient IOMMU mapping
vfio: selftests: Add vfio_dma_mapping_mmio_test

Alex Williamson (1):
Merge tag 'common_phys_vec_via_vfio' into v6.20/vfio/next

Ankit Agrawal (2):
mm: add stubs for PFNMAP memory failure registration functions vfio/nvgrace-gpu: register device memory for poison handling

Anthony Pighin (Nokia) (1):
vfio/pci: Lock upstream bridge for vfio_pci_core_disable()

David Matlack (1):
vfio: selftests: Drop IOMMU mapping size assertions for VFIO_TYPE1_IOMMU

Ioana Ciornei (1):
vfio/fsl-mc: add myself as maintainer

Julia Lawall (1):
vfio/mdev: update outdated comment

Leon Romanovsky (1):
types: reuse common phys_vec type instead of DMABUF open‑coded variant

Longfang Liu (3):
hisi_acc_vfio_pci: update status after RAS error
hisi_acc_vfio_pci: resolve duplicate migration states
hisi_acc_vfio_pci: fix the queue parameter anomaly issue

Ted Logan (1):
vfio: selftests: only build tests on arm64 and x86_64

Weili Qian (1):
hisi_acc_vfio_pci: fix VF reset timeout issue

 MAINTAINERS                                        |   3 +-
 block/blk-mq-dma.c                                 |  11 +-
 drivers/dma-buf/dma-buf-mapping.c                  |   6 +-
 drivers/iommu/iommufd/io_pagetable.h               |   2 +-
 drivers/iommu/iommufd/iommufd_private.h            |   5 +-
 drivers/iommu/iommufd/pages.c                      |   4 +-
 drivers/iommu/iommufd/selftest.c                   |   2 +-
 drivers/nvme/host/pci.c                            |   4 +-
 drivers/vfio/fsl-mc/Kconfig                        |   5 +-
 drivers/vfio/fsl-mc/vfio_fsl_mc.c                  |   2 -
 drivers/vfio/mdev/mdev_sysfs.c                     |   2 +-
 drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c     |  30 ++++-
 drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.h     |   2 +
 drivers/vfio/pci/nvgrace-gpu/main.c                | 115 ++++++++++++++++-
 drivers/vfio/pci/vfio_pci_core.c                   |  17 ++-
 drivers/vfio/pci/vfio_pci_dmabuf.c                 |   8 +-
 include/linux/dma-buf-mapping.h                    |   2 +-
 include/linux/dma-buf.h                            |  10 --
 include/linux/memory-failure.h                     |  13 +-
 include/linux/types.h                              |   5 +
 include/linux/vfio_pci_core.h                      |  13 +-
 tools/testing/selftests/vfio/Makefile              |  10 ++
 tools/testing/selftests/vfio/lib/include/libvfio.h |   9 ++
 .../selftests/vfio/lib/include/libvfio/iommu.h     |   6 +
 tools/testing/selftests/vfio/lib/iommu.c           |  12 +-
 tools/testing/selftests/vfio/lib/libvfio.c         |  25 ++++
 tools/testing/selftests/vfio/lib/vfio_pci_device.c |  24 +++-
 .../selftests/vfio/vfio_dma_mapping_mmio_test.c    | 143 +++++++++++++++++++++
 .../testing/selftests/vfio/vfio_dma_mapping_test.c |   8 +-
 29 files changed, 423 insertions(+), 75 deletions(-)
 create mode 100644 tools/testing/selftests/vfio/vfio_dma_mapping_mmio_test.c