[GIT PULL] VFIO updates for v5.7-rc1

From: Alex Williamson
Date: Fri Apr 03 2020 - 18:22:50 EST


Hi Linus,

The following changes since commit 16fbf79b0f83bc752cee8589279f1ebfe57b3b6e:

Linux 5.6-rc7 (2020-03-22 18:31:56 -0700)

are available in the Git repository at:

git://github.com/awilliam/linux-vfio.git tags/vfio-v5.7-rc1

for you to fetch changes up to f44efca0493ddc1e8731047c234ec8e475943077:

vfio: Ignore -ENODEV when getting MSI cookie (2020-04-01 13:51:51 -0600)

----------------------------------------------------------------
VFIO updates for v5.7-rc1

- vfio-pci SR-IOV support (Alex Williamson)

- vfio DMA read/write interface (Yan Zhao)

- Fix vfio-platform erroneous IRQ error log (Eric Auger)

- Fix shared ATSD support for NVLink on POWER (Sam Bobroff)

- Fix init error without CONFIG_IOMMU_DMA (Andre Przywara)

----------------------------------------------------------------
Alex Williamson (8):
vfio: Include optional device match in vfio_device_ops callbacks
vfio/pci: Implement match ops
vfio/pci: Introduce VF token
vfio: Introduce VFIO_DEVICE_FEATURE ioctl and first user
vfio/pci: Add sriov_configure support
vfio/pci: Remove dev_fmt definition
vfio/pci: Cleanup .probe() exit paths
Merge branches 'v5.7/vfio/alex-sriov-v3' and 'v5.7/vfio/yan-dma-rw-v4' into v5.7/vfio/next

Andre Przywara (1):
vfio: Ignore -ENODEV when getting MSI cookie

Eric Auger (1):
vfio: platform: Switch to platform_get_irq_optional()

Sam Bobroff (1):
vfio-pci/nvlink2: Allow fallback to ibm,mmio-atsd[0]

Yan Zhao (3):
vfio: allow external user to get vfio group from device
vfio: introduce vfio_dma_rw to read/write a range of IOVAs
vfio: avoid inefficient operations on VFIO group in vfio_pin/unpin_pages

drivers/vfio/pci/vfio_pci.c | 390 +++++++++++++++++++++++++++++++---
drivers/vfio/pci/vfio_pci_nvlink2.c | 10 +-
drivers/vfio/pci/vfio_pci_private.h | 10 +
drivers/vfio/platform/vfio_platform.c | 2 +-
drivers/vfio/vfio.c | 198 ++++++++++++++++-
drivers/vfio/vfio_iommu_type1.c | 78 ++++++-
include/linux/vfio.h | 17 ++
include/uapi/linux/vfio.h | 37 ++++
8 files changed, 710 insertions(+), 32 deletions(-)