Skip to contentSkip to conversation

VFIO updates for v6.16-rc1

GIT PULL Merged Alex Williamson 2 participants 2 messages May 29, 2025 – May 30, 2025 KVM

lore
Share & tools
lore
#0 lore raw

Hi Linus,

Please note the diffstat below is generated relative to a trial merge against mainline as the merged topic branch from Marek has already been pulled via 23022f545610. Thanks,

Alex

The following changes since commit a5806cd506af5a7c19bcd596e4708b5c464bfd21:

Linux 6.15-rc7 (2025-05-18 13:57:29 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 4518e5a60c7fbf0cdff393c2681db39d77b4f87e:

vfio/type1: Fix error unwind in migration dirty bitmap allocation (2025-05-22 10:41:24 -0600)

----------------------------------------------------------------
VFIO updates for v6.16-rc1

- Remove an outdated DMA unmap optimization that relies on a feature only implemented in AMDv1 page tables. (Jason Gunthorpe)

- Fix various migration issues in the hisi_acc_vfio_pci variant driver, including use of a wrong DMA address requiring an update to the migration data structure, resending task completion interrupt after migration to re-sync queues, fixing a write-back cache sequencing issue, fixing a driver unload issue, behaving correctly when the guest driver is not loaded, and avoiding to squash errors from sub-functions. (Longfang Liu)

- mlx5-vfio-pci variant driver update to make use of the new two-step DMA API for migration, using a page array directly rather than using a page list mapped across a scatter list. (Leon Romanovsky)

- Fix an incorrect loop index used when unwinding allocation of dirty page bitmaps on error, resulting in temporary failure in freeing unused bitmaps. (Li RongQing)

----------------------------------------------------------------
Alex Williamson (1):
Merge branch 'dma-mapping-for-6.16-two-step-api' of git://git.kernel.org/pub/scm/linux/kernel/git/mszyprowski/linux into v6.16/vfio/next

Jason Gunthorpe (1):
vfio/type1: Remove Fine Grained Superpages detection

Leon Romanovsky (3):
vfio/mlx5: Explicitly use number of pages instead of allocated length vfio/mlx5: Rewrite create mkey flow to allow better code reuse vfio/mlx5: Enable the DMA link API

Li RongQing (1):
vfio/type1: Fix error unwind in migration dirty bitmap allocation

Longfang Liu (6):
hisi_acc_vfio_pci: fix XQE dma address error
hisi_acc_vfio_pci: add eq and aeq interruption restore
hisi_acc_vfio_pci: bugfix cache write-back issue
hisi_acc_vfio_pci: bugfix the problem of uninstalling driver
hisi_acc_vfio_pci: bugfix live migration function without VF device driver
hisi_acc_vfio_pci: update function return values.

 drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c | 121 +++-----
 drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.h |  14 +-
 drivers/vfio/pci/mlx5/cmd.c                    | 371 +++++++++++++------------
 drivers/vfio/pci/mlx5/cmd.h                    |  35 +--
 drivers/vfio/pci/mlx5/main.c                   |  87 +++---
 drivers/vfio/vfio_iommu_type1.c                |  51 +++-
 6 files changed, 341 insertions(+), 338 deletions(-)