Hi Linus, The following changes since commit cfb92440ee71adcc2105b0890bb01ac3cddb8507: Linux 5.17-rc5 (2022-02-20 13:07:20 -0800) are available in the Git repository at: https://github.com/awilliam/linux-vfio.git tags/vfio-v5.18-rc1 for you to fetch changes up to f621eb13facb7681a79f4fec8ec6553ae160da76: vfio-pci: Provide reviewers and acceptance criteria for variant drivers (2022-03-17 09:57:11 -0600) ---------------------------------------------------------------- VFIO updates for v5.18-rc1 - Introduce new device migration uAPI and implement device specific mlx5 vfio-pci variant driver supporting new protocol (Jason Gunthorpe, Yishai Hadas, Leon Romanovsky) - New HiSilicon acc vfio-pci variant driver, also supporting migration interface (Shameer Kolothum, Longfang Liu) - D3hot fixes for vfio-pci-core (Abhishek Sahu) - Document new vfio-pci variant driver acceptance criteria (Alex Williamson) - Fix UML build unresolved ioport_{un}map() functions (Alex Williamson) - Fix MAINTAINERS due to header movement (Lukas Bulwahn) ---------------------------------------------------------------- Abhishek Sahu (2): vfio/pci: fix memory leak during D3hot to D0 transition vfio/pci: wake-up devices around reset functions Alex Williamson (4): vfio/pci: Stub vfio_pci_vga_rw when !CONFIG_VFIO_PCI_VGA Merge tag 'mlx5-vfio-v10' of https://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux into v5.18/vfio/next/mlx5-migration-v10 Merge branches 'v5.18/vfio/next/mlx5-migration-v10', 'v5.18/vfio/next/pm-fixes' and 'v5.18/vfio/next/uml-build-fix' into v5.18/vfio/next/next vfio-pci: Provide reviewers and acceptance criteria for variant drivers Jason Gunthorpe (6): PCI/IOV: Add pci_iov_vf_id() to get VF index PCI/IOV: Add pci_iov_get_pf_drvdata() to allow VF reaching the drvdata of a PF vfio: Have the core code decode the VFIO_DEVICE_FEATURE ioctl vfio: Define device migration protocol v2 vfio: Extend the device migration protocol with RUNNING_P2P vfio: Remove migration protocol v1 documentation Leon Romanovsky (2): net/mlx5: Reuse exported virtfn index function call PCI/IOV: Fix wrong kernel-doc identifier Longfang Liu (3): crypto: hisilicon/qm: Move few definitions to common header crypto: hisilicon/qm: Set the VF QM state register hisi_acc_vfio_pci: Add support for VFIO live migration Lukas Bulwahn (1): MAINTAINERS: adjust entry for header movement in hisilicon qm driver Shameer Kolothum (6): crypto: hisilicon/qm: Move the QM header to include/linux hisi_acc_qm: Move VF PCI device IDs to common header hisi_acc_vfio_pci: add new vfio_pci driver for HiSilicon ACC devices hisi_acc_vfio_pci: Restrict access to VF dev BAR2 migration region hisi_acc_vfio_pci: Add helper to retrieve the struct pci_driver hisi_acc_vfio_pci: Use its own PCI reset_done error handler Yishai Hadas (9): net/mlx5: Disable SRIOV before PF removal net/mlx5: Expose APIs to get/put the mlx5 core device net/mlx5: Introduce migration bits and structures net/mlx5: Add migration commands definitions vfio/mlx5: Expose migration commands over mlx5 device vfio/mlx5: Implement vfio_pci driver for mlx5 devices vfio/pci: Expose vfio_pci_core_aer_err_detected() vfio/mlx5: Use its own PCI reset_done error handler vfio/mlx5: Fix to not use 0 as NULL pointer Documentation/driver-api/index.rst | 1 + .../vfio-pci-device-specific-driver-acceptance.rst | 35 + .../maintainer/maintainer-entry-profile.rst | 1 + MAINTAINERS | 25 +- drivers/crypto/hisilicon/hpre/hpre.h | 2 +- drivers/crypto/hisilicon/hpre/hpre_main.c | 19 +- drivers/crypto/hisilicon/qm.c | 68 +- drivers/crypto/hisilicon/sec2/sec.h | 2 +- drivers/crypto/hisilicon/sec2/sec_main.c | 21 +- drivers/crypto/hisilicon/sgl.c | 2 +- drivers/crypto/hisilicon/zip/zip.h | 2 +- drivers/crypto/hisilicon/zip/zip_main.c | 17 +- drivers/net/ethernet/mellanox/mlx5/core/cmd.c | 10 + drivers/net/ethernet/mellanox/mlx5/core/main.c | 45 + .../net/ethernet/mellanox/mlx5/core/mlx5_core.h | 1 + drivers/net/ethernet/mellanox/mlx5/core/sriov.c | 17 +- drivers/pci/iov.c | 43 + drivers/vfio/pci/Kconfig | 5 + drivers/vfio/pci/Makefile | 4 + drivers/vfio/pci/hisilicon/Kconfig | 15 + drivers/vfio/pci/hisilicon/Makefile | 4 + drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c | 1326 ++++++++++++++++++++ drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.h | 116 ++ drivers/vfio/pci/mlx5/Kconfig | 10 + drivers/vfio/pci/mlx5/Makefile | 4 + drivers/vfio/pci/mlx5/cmd.c | 259 ++++ drivers/vfio/pci/mlx5/cmd.h | 36 + drivers/vfio/pci/mlx5/main.c | 676 ++++++++++ drivers/vfio/pci/vfio_pci.c | 1 + drivers/vfio/pci/vfio_pci_core.c | 162 ++- drivers/vfio/pci/vfio_pci_rdwr.c | 2 + drivers/vfio/vfio.c | 296 ++++- .../hisilicon/qm.h => include/linux/hisi_acc_qm.h | 49 + include/linux/mlx5/driver.h | 3 + include/linux/mlx5/mlx5_ifc.h | 147 ++- include/linux/pci.h | 15 +- include/linux/pci_ids.h | 3 + include/linux/vfio.h | 53 + include/linux/vfio_pci_core.h | 13 + include/uapi/linux/vfio.h | 406 +++--- 40 files changed, 3558 insertions(+), 358 deletions(-) create mode 100644 Documentation/driver-api/vfio-pci-device-specific-driver-acceptance.rst create mode 100644 drivers/vfio/pci/hisilicon/Kconfig create mode 100644 drivers/vfio/pci/hisilicon/Makefile create mode 100644 drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c create mode 100644 drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.h create mode 100644 drivers/vfio/pci/mlx5/Kconfig create mode 100644 drivers/vfio/pci/mlx5/Makefile create mode 100644 drivers/vfio/pci/mlx5/cmd.c create mode 100644 drivers/vfio/pci/mlx5/cmd.h create mode 100644 drivers/vfio/pci/mlx5/main.c rename drivers/crypto/hisilicon/qm.h => include/linux/hisi_acc_qm.h (87%)