[GIT PULL] VFIO updates for v6.10-rc1

From: Alex Williamson
Date: Mon May 20 2024 - 14:12:38 EST


Hi Linus,

I've provided the simplified diffstat from a temporary merge branch to
avoid the noise of merging QAT dependencies from a branch provided by
Herbert. The dependencies were already merged in commit 84c7d76b5ab6
("Merge tag 'v6.10-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6")
Thanks,

Alex

The following changes since commit ed30a4a51bb196781c8058073ea720133a65596f:

Linux 6.9-rc5 (2024-04-21 12:35:54 -0700)

are available in the Git repository at:

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

for you to fetch changes up to cbb325e77fbe62a06184175aa98c9eb98736c3e8:

vfio/pci: Restore zero affected bus reset devices warning (2024-05-17 08:00:52 -0600)

----------------------------------------------------------------
VFIO updates for v6.10-rc1

- The vfio fsl-mc bus driver has become orphaned. We'll consider
removing it in future releases if a new maintainer isn't found.
(Alex Williamson)

- Improved usage of opaque data in vfio-pci INTx handling,
avoiding lookups of the eventfd through the interrupt and
irqfd runtime paths. (Alex Williamson)

- Resolve an error path memory leak introduced in vfio-pci
interrupt code. (Ye Bin)

- Addition of interrupt support for vfio devices exposed on the
CDX bus, including a new MSI allocation helper and export of
existing helpers for MSI alloc and free. (Nipun Gupta)

- A new vfio-pci variant driver supporting migration of Intel
QAT VF devices for the GEN4 PFs. (Xin Zeng & Yahui Cao)

- Resolve a possibly circular locking dependency in vfio-pci
by avoiding copy_to_user() from a PCI bus walk callback.
(Alex Williamson)

- Trivial docs update to remove a duplicate semicolon.
(Foryun Ma)

----------------------------------------------------------------
Alex Williamson (6):
MAINTAINERS: Orphan vfio fsl-mc bus driver
vfio/pci: Pass eventfd context to IRQ handler
vfio/pci: Pass eventfd context object through irqfd
Merge branch 'vfio' of https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6 into v6.10/vfio/qat-v7
vfio/pci: Collect hot-reset devices to local buffer
vfio/pci: Restore zero affected bus reset devices warning

Nipun Gupta (2):
genirq/msi: Add MSI allocation helper and export MSI functions
vfio/cdx: add interrupt support

Xin Zeng (1):
vfio/qat: Add vfio_pci driver for Intel QAT SR-IOV VF devices

Ye Bin (1):
vfio/pci: fix potential memory leak in vfio_intx_enable()

foryun.ma (1):
vfio: remove an extra semicolon

Documentation/driver-api/vfio.rst | 2 +-
MAINTAINERS | 11 +-
drivers/vfio/cdx/Makefile | 2 +-
drivers/vfio/cdx/intr.c | 217 ++++++++++++
drivers/vfio/cdx/main.c | 63 +++-
drivers/vfio/cdx/private.h | 18 +
drivers/vfio/pci/Kconfig | 2 +
drivers/vfio/pci/Makefile | 2 +
drivers/vfio/pci/qat/Kconfig | 12 +
drivers/vfio/pci/qat/Makefile | 3 +
drivers/vfio/pci/qat/main.c | 702 ++++++++++++++++++++++++++++++++++++++
drivers/vfio/pci/vfio_pci_core.c | 81 +++--
drivers/vfio/pci/vfio_pci_intrs.c | 61 ++--
include/linux/msi.h | 6 +
kernel/irq/msi.c | 2 +
15 files changed, 1116 insertions(+), 68 deletions(-)
create mode 100644 drivers/vfio/cdx/intr.c
create mode 100644 drivers/vfio/pci/qat/Kconfig
create mode 100644 drivers/vfio/pci/qat/Makefile
create mode 100644 drivers/vfio/pci/qat/main.c