Skip to contentSkip to conversation

VFIO updates for v7.1-rc1

GIT PULL Merged Alex Williamson 2 participants 2 messages Apr 16 KVM

lore
Share & tools
lore
#0 lore raw

Hi Linus,

The following changes since commit 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f:

Linux 7.0-rc1 (2026-02-22 13:18:59 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 493c7eff3c2ffa94ce3c5e62172948a1e38b491e:

vfio/xe: Add a missing vfio_pci_core_release_dev() (2026-04-13 15:05:37 -0600)

----------------------------------------------------------------
VFIO updates for v7.1-rc1

- Update QAT vfio-pci variant driver for Gen 5, 420xx devices. (Vijay Sundar Selvamani, Suman Kumar Chakraborty, Giovanni Cabiddu)

- Fix vfio selftest MMIO DMA mapping selftest. (Alex Mastro)

- Conversions to const struct class in support of class_create() deprecation. (Jori Koolstra)

- Improve selftest compiler compatibility by avoiding initializer on variable-length array. (Manish Honap)

- Define new uAPI for drivers supporting migration to advise user- space of new initial data for reducing target startup latency. Implemented for mlx5 vfio-pci variant driver. (Yishai Hadas)

- Enable vfio selftests on aarch64, not just cross-compiles reporting arm64. (Ted Logan)

- Update vfio selftest driver support to include additional DSA devices. (Yi Lai)

- Unconditionally include debugfs root pointer in vfio device struct, avoiding a build failure seen in hisi_acc variant driver without debugfs otherwise. (Arnd Bergmann)

- Add support for the s390 ISM (Internal Shared Memory) device via a new variant driver. The device is unique in the size of its BAR space (256TiB) and lack of mmap support. (Julian Ruess)

- Enforce that vfio-pci drivers implement a name in their ops structure for use in sequestering SR-IOV VFs. (Alex Williamson)

- Prune leftover group notifier code. (Paolo Bonzini)

- Fix Xe vfio-pci variant driver to avoid migration support as a dependency in the reset path and missing release call. (Michał Winiarski)

----------------------------------------------------------------
Alex Mastro (1):
vfio: selftests: fix crash in vfio_dma_mapping_mmio_test

Alex Williamson (1):
vfio/pci: Require vfio_device_ops.name

Arnd Bergmann (1):

      vfio: unhide vdev->debug_root

Giovanni Cabiddu (1):

      vfio/qat: add support for Intel QAT 420xx VFs

Jori Koolstra (2):

      vfio: replace vfio->class with a const struct class
      vfio: mdev: replace mtty_dev->vd_class with a const struct class

Joseph Salisbury (1):
vfio: uapi: fix comment typo

Julian Ruess (3):
vfio/pci: Rename vfio_config_do_rw() to vfio_pci_config_rw_single() and export it vfio/ism: Implement vfio_pci driver for ISM devices
MAINTAINERS: add VFIO ISM PCI DRIVER section

Manish Honap (1):
vfio: selftests: Fix VLA initialisation in vfio_pci_irq_set()

Michał Winiarski (2):
vfio/xe: Reorganize the init to decouple migration from reset vfio/xe: Add a missing vfio_pci_core_release_dev()

Paolo Bonzini (1):
vfio: remove dead notifier code

Ted Logan (1):
vfio: selftests: Build tests on aarch64

Vijay Sundar Selvamani (1):

      vfio/qat: extend Kconfig dependencies for 420xx and 6xxx devices

Yi Lai (1):
vfio: selftests: Support DMR and GNR-D DSA devices

Yishai Hadas (6):
vfio: Define uAPI for re-init initial bytes during the PRE_COPY phase
vfio: Add support for VFIO_DEVICE_FEATURE_MIG_PRECOPY_INFOv2
vfio: Adapt drivers to use the core helper vfio_check_precopy_ioctl net/mlx5: Add IFC bits for migration state
vfio/mlx5: consider inflight SAVE during PRE_COPY vfio/mlx5: Add REINIT support to VFIO_MIG_GET_PRECOPY_INFO

 Documentation/arch/s390/vfio-ap.rst                |  20 +-
 MAINTAINERS                                        |   6 +
 drivers/vfio/group.c                               |  26 +-
 drivers/vfio/pci/Kconfig                           |   2 +
 drivers/vfio/pci/Makefile                          |   2 +
 drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c     |  17 +-
 drivers/vfio/pci/ism/Kconfig                       |  10 +
 drivers/vfio/pci/ism/Makefile                      |   3 +
 drivers/vfio/pci/ism/main.c                        | 408 +++++++++++++++++++++
 drivers/vfio/pci/mlx5/cmd.c                        |  25 +-
 drivers/vfio/pci/mlx5/cmd.h                        |   6 +-
 drivers/vfio/pci/mlx5/main.c                       | 118 +++---
 drivers/vfio/pci/qat/Kconfig                       |   2 +-
 drivers/vfio/pci/qat/main.c                        |  19 +-
 drivers/vfio/pci/vfio_pci_config.c                 |   8 +-
 drivers/vfio/pci/vfio_pci_core.c                   |   4 +
 drivers/vfio/pci/vfio_pci_priv.h                   |   4 +
 drivers/vfio/pci/virtio/migrate.c                  |  17 +-
 drivers/vfio/pci/xe/main.c                         |  44 ++-
 drivers/vfio/vfio.h                                |   1 -
 drivers/vfio/vfio_iommu_type1.c                    |   1 -
 drivers/vfio/vfio_main.c                           |  21 ++
 include/linux/mlx5/mlx5_ifc.h                      |  16 +-
 include/linux/vfio.h                               |  42 ++-
 include/uapi/linux/vfio.h                          |  26 +-
 samples/vfio-mdev/mtty.c                           |  33 +-
 tools/testing/selftests/vfio/Makefile              |   2 +-
 tools/testing/selftests/vfio/lib/drivers/dsa/dsa.c |  15 +-
 tools/testing/selftests/vfio/lib/vfio_pci_device.c |   4 +-
 .../selftests/vfio/vfio_dma_mapping_mmio_test.c    |   1 -
 30 files changed, 738 insertions(+), 165 deletions(-)
 create mode 100644 drivers/vfio/pci/ism/Kconfig
 create mode 100644 drivers/vfio/pci/ism/Makefile
 create mode 100644 drivers/vfio/pci/ism/main.c