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

From: Alex Williamson
Date: Thu Jun 29 2023 - 16:50:50 EST


Hi Linus,

The following changes since commit 44c026a73be8038f03dbdeef028b642880cf1511:

Linux 6.4-rc3 (2023-05-21 14:05:48 -0700)

are available in the Git repository at:

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

for you to fetch changes up to ff598081e5b9d0bdd6874bfe340811bbb75b35e4:

vfio/mdev: Move the compat_class initialization to module init (2023-06-27 12:05:26 -0600)

----------------------------------------------------------------
VFIO updates for v6.5-rc1

- Adjust log levels for common messages. (Oleksandr Natalenko,
Alex Williamson)

- Support for dynamic MSI-X allocation. (Reinette Chatre)

- Enable and report PCIe AtomicOp Completer capabilities.
(Alex Williamson)

- Cleanup Kconfigs for vfio bus drivers. (Alex Williamson)

- Add support for CDX bus based devices. (Nipun Gupta)

- Fix race with concurrent mdev initialization. (Eric Farman)

----------------------------------------------------------------
Alex Williamson (5):
vfio/pci: Also demote hiding standard cap messages
vfio/pci-core: Add capability for AtomicOp completer support
vfio/pci: Cleanup Kconfig
vfio/platform: Cleanup Kconfig
vfio/fsl: Create Kconfig sub-menu

Eric Farman (1):
vfio/mdev: Move the compat_class initialization to module init

Nipun Gupta (1):
vfio/cdx: add support for CDX bus

Oleksandr Natalenko (1):
vfio/pci: demote hiding ecap messages to debug level

Reinette Chatre (11):
vfio/pci: Consolidate irq cleanup on MSI/MSI-X disable
vfio/pci: Remove negative check on unsigned vector
vfio/pci: Prepare for dynamic interrupt context storage
vfio/pci: Move to single error path
vfio/pci: Use xarray for interrupt context storage
vfio/pci: Remove interrupt context counter
vfio/pci: Update stale comment
vfio/pci: Use bitfield for struct vfio_pci_core_device flags
vfio/pci: Probe and store ability to support dynamic MSI-X
vfio/pci: Support dynamic MSI-X
vfio/pci: Clear VFIO_IRQ_INFO_NORESIZE for MSI-X

MAINTAINERS | 7 +
drivers/vfio/Kconfig | 1 +
drivers/vfio/Makefile | 5 +-
drivers/vfio/cdx/Kconfig | 17 ++
drivers/vfio/cdx/Makefile | 8 +
drivers/vfio/cdx/main.c | 234 +++++++++++++++++++++++++++
drivers/vfio/cdx/private.h | 28 ++++
drivers/vfio/fsl-mc/Kconfig | 6 +-
drivers/vfio/mdev/mdev_core.c | 23 +--
drivers/vfio/pci/Kconfig | 8 +-
drivers/vfio/pci/hisilicon/Kconfig | 4 +-
drivers/vfio/pci/mlx5/Kconfig | 2 +-
drivers/vfio/pci/vfio_pci_config.c | 8 +-
drivers/vfio/pci/vfio_pci_core.c | 46 +++++-
drivers/vfio/pci/vfio_pci_intrs.c | 305 ++++++++++++++++++++++++------------
drivers/vfio/platform/Kconfig | 18 ++-
drivers/vfio/platform/Makefile | 9 +-
drivers/vfio/platform/reset/Kconfig | 2 +
include/linux/cdx/cdx_bus.h | 1 -
include/linux/mod_devicetable.h | 6 +
include/linux/vfio_pci_core.h | 26 +--
include/uapi/linux/vfio.h | 18 +++
scripts/mod/devicetable-offsets.c | 1 +
scripts/mod/file2alias.c | 17 +-
24 files changed, 654 insertions(+), 146 deletions(-)
create mode 100644 drivers/vfio/cdx/Kconfig
create mode 100644 drivers/vfio/cdx/Makefile
create mode 100644 drivers/vfio/cdx/main.c
create mode 100644 drivers/vfio/cdx/private.h