Skip to contentSkip to conversation

VFIO updates for v6.17-rc1 v2

GIT PULL Merged Alex Williamson 2 participants 2 messages Aug 6, 2025 – Aug 7, 2025 KVM

lore
Share & tools
lore
#0 lore raw

Hi Linus,

I've dropped the series with the troublesome mm helper in this pull request. We'll continue to work towards something acceptable there and re-target it for v6.18. Thanks,

Alex

The following changes since commit d7b8f8e20813f0179d8ef519541a3527e7661d3a:

Linux 6.16-rc5 (2025-07-06 14:10:26 -0700)

are available in the Git repository at:

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

for you to fetch changes up to b1779e4f209c7ff7e32f3c79d69bca4e3a3a68b6:

vfio/type1: conditional rescheduling while pinning (2025-08-05 15:41:19 -0600)

----------------------------------------------------------------
VFIO updates for v6.17-rc1 v2

- Fix imbalance where the no-iommu/cdev device path skips too much on open, failing to increment a reference, but still decrements the reference on close. Add bounds checking to prevent such underflows. (Jacob Pan)

- Fill missing detach_ioas op for pds_vfio_pci, fixing probe failure when used with IOMMUFD. (Brett Creeley)

- Split SR-IOV VFs to separate dev_set, avoiding unnecessary serialization between VFs that appear on the same bus. (Alex Williamson)

- Fix a theoretical integer overflow is the mlx5-vfio-pci variant driver. (Artem Sadovnikov)

- Implement missing VF token checking support via vfio cdev/IOMMUFD interface. (Jason Gunthorpe)

- Update QAT vfio-pci variant driver to claim latest VF devices. (Małgorzata Mielnik)

- Add a cond_resched() call to avoid holding the CPU too long during DMA mapping operations. (Keith Busch)

----------------------------------------------------------------
Alex Williamson (1):
vfio/pci: Separate SR-IOV VF dev_set

Artem Sadovnikov (1):
vfio/mlx5: fix possible overflow in tracking max message size

Brett Creeley (1):
vfio/pds: Fix missing detach_ioas op

Jacob Pan (2):
vfio: Fix unbalanced vfio_df_close call in no-iommu mode
vfio: Prevent open_count decrement to negative

Jason Gunthorpe (1):
vfio/pci: Do vf_token checks for VFIO_DEVICE_BIND_IOMMUFD

Keith Busch (1):
vfio/type1: conditional rescheduling while pinning

Małgorzata Mielnik (1):
vfio/qat: add support for intel QAT 6xxx virtual functions

Xin Zeng (1):
vfio/qat: Remove myself from VFIO QAT PCI driver maintainers

 MAINTAINERS                                    |  1 -
 drivers/vfio/device_cdev.c                     | 38 ++++++++++++++++++++++++--
 drivers/vfio/group.c                           |  7 ++---
 drivers/vfio/iommufd.c                         |  4 +++
 drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c |  1 +
 drivers/vfio/pci/mlx5/cmd.c                    |  4 +--
 drivers/vfio/pci/mlx5/main.c                   |  1 +
 drivers/vfio/pci/nvgrace-gpu/main.c            |  2 ++
 drivers/vfio/pci/pds/vfio_dev.c                |  2 ++
 drivers/vfio/pci/qat/main.c                    |  5 +++-
 drivers/vfio/pci/vfio_pci.c                    |  1 +
 drivers/vfio/pci/vfio_pci_core.c               | 24 ++++++++++------
 drivers/vfio/pci/virtio/main.c                 |  3 ++
 drivers/vfio/vfio_iommu_type1.c                |  7 +++++
 drivers/vfio/vfio_main.c                       |  3 +-
 include/linux/vfio.h                           |  4 +++
 include/linux/vfio_pci_core.h                  |  2 ++
 include/uapi/linux/vfio.h                      | 12 +++++++-
 18 files changed, 99 insertions(+), 22 deletions(-)