mbox series

[GIT,PULL] VFIO updates for v6.13-rc1

Message ID 20241126092324.272debec.alex.williamson@redhat.com (mailing list archive)
State New
Headers show
Series [GIT,PULL] VFIO updates for v6.13-rc1 | expand

Pull-request

https://github.com/awilliam/linux-vfio.git tags/vfio-v6.13-rc1

Message

Alex Williamson Nov. 26, 2024, 4:23 p.m. UTC
Hi Linus,

The following changes since commit 81983758430957d9a5cb3333fe324fd70cf63e7e:

  Linux 6.12-rc5 (2024-10-27 12:52:02 -1000)

are available in the Git repository at:

  https://github.com/awilliam/linux-vfio.git tags/vfio-v6.13-rc1

for you to fetch changes up to fe4bf8d0b6716a423b16495d55b35d3fe515905d:

  vfio/pci: Properly hide first-in-list PCIe extended capability (2024-11-25 08:34:22 -0700)

----------------------------------------------------------------
VFIO updates for v6.13

 - Constify an unmodified structure used in linking vfio and kvm.
   (Christophe JAILLET)

 - Add ID for an additional hardware SKU supported by the nvgrace-gpu
   vfio-pci variant driver. (Ankit Agrawal)

 - Fix incorrect signed cast in QAT vfio-pci variant driver, negating
   test in check_add_overflow(), though still caught by later tests.
   (Giovanni Cabiddu)

 - Additional debugfs attributes exposed in hisi_acc vfio-pci variant
   driver for migration debugging. (Longfang Liu)

 - Migration support is added to the virtio vfio-pci variant driver,
   becoming the primary feature of the driver while retaining emulation
   of virtio legacy support as a secondary option. (Yishai Hadas)

 - Fixes to a few unwind flows in the mlx5 vfio-pci driver discovered
   through reviews of the virtio variant driver. (Yishai Hadas)

 - Fix an unlikely issue where a PCI device exposed to userspace with
   an unknown capability at the base of the extended capability chain
   can overflow an array index. (Avihai Horon)

----------------------------------------------------------------
Ankit Agrawal (1):
      vfio/nvgrace-gpu: Add a new GH200 SKU to the devid table

Avihai Horon (1):
      vfio/pci: Properly hide first-in-list PCIe extended capability

Christophe JAILLET (1):
      kvm/vfio: Constify struct kvm_device_ops

Giovanni Cabiddu (1):
      vfio/qat: fix overflow check in qat_vf_resume_write()

Longfang Liu (4):
      hisi_acc_vfio_pci: extract public functions for container_of
      hisi_acc_vfio_pci: create subfunction for data reading
      hisi_acc_vfio_pci: register debugfs for hisilicon migration driver
      Documentation: add debugfs description for hisi migration

Yishai Hadas (9):
      virtio_pci: Introduce device parts access commands
      virtio: Extend the admin command to include the result size
      virtio: Manage device and driver capabilities via the admin commands
      virtio-pci: Introduce APIs to execute device parts admin commands
      vfio/virtio: Add support for the basic live migration functionality
      vfio/virtio: Add PRE_COPY support for live migration
      vfio/virtio: Enable live migration once VIRTIO_PCI was configured
      vfio/mlx5: Fix an unwind issue in mlx5vf_add_migration_pages()
      vfio/mlx5: Fix unwind flows in mlx5vf_pci_save/resume_device_data()

 Documentation/ABI/testing/debugfs-hisi-migration |   25 +
 drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c   |  266 ++++-
 drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.h   |   19 +
 drivers/vfio/pci/mlx5/cmd.c                      |    6 +-
 drivers/vfio/pci/mlx5/main.c                     |   35 +-
 drivers/vfio/pci/nvgrace-gpu/main.c              |    2 +
 drivers/vfio/pci/qat/main.c                      |    2 +-
 drivers/vfio/pci/vfio_pci_config.c               |   16 +-
 drivers/vfio/pci/virtio/Kconfig                  |   42 +-
 drivers/vfio/pci/virtio/Makefile                 |    3 +-
 drivers/vfio/pci/virtio/common.h                 |  127 ++
 drivers/vfio/pci/virtio/legacy_io.c              |  418 +++++++
 drivers/vfio/pci/virtio/main.c                   |  476 ++------
 drivers/vfio/pci/virtio/migrate.c                | 1337 ++++++++++++++++++++++
 drivers/virtio/virtio_pci_common.h               |   19 +-
 drivers/virtio/virtio_pci_modern.c               |  457 +++++++-
 include/linux/virtio.h                           |    1 +
 include/linux/virtio_pci_admin.h                 |   11 +
 include/uapi/linux/virtio_pci.h                  |  131 +++
 virt/kvm/vfio.c                                  |    2 +-
 20 files changed, 2920 insertions(+), 475 deletions(-)
 create mode 100644 Documentation/ABI/testing/debugfs-hisi-migration
 create mode 100644 drivers/vfio/pci/virtio/common.h
 create mode 100644 drivers/vfio/pci/virtio/legacy_io.c
 create mode 100644 drivers/vfio/pci/virtio/migrate.c