[GIT PULL] VFIO fixes for v6.2-rc6

From: Alex Williamson
Date: Mon Jan 23 2023 - 13:21:50 EST


Hi Linus,

The following changes since commit b7bfaa761d760e72a969d116517eaa12e404c262:

Linux 6.2-rc3 (2023-01-08 11:49:43 -0600)

are available in the Git repository at:

https://github.com/awilliam/linux-vfio.git tags/vfio-v6.2-rc6

for you to fetch changes up to 51cdc8bc120ef6e42f6fb758341f5d91bc955952:

kvm/vfio: Fix potential deadlock on vfio group_lock (2023-01-20 08:50:05 -0700)

----------------------------------------------------------------
VFIO fixes for v6.2-rc6

- Honor reserved regions when testing for IOMMU find grained super
page support, avoiding a regression on s390 for a firmware device
where the existence of the mapping, even if unused can trigger
an error state. (Niklas Schnelle)

- Fix a deadlock in releasing KVM references by using the alternate
.release() rather than .destroy() callback for the kvm-vfio device.
(Yi Liu)

----------------------------------------------------------------
Niklas Schnelle (1):
vfio/type1: Respect IOMMU reserved regions in vfio_test_domain_fgsp()

Yi Liu (1):
kvm/vfio: Fix potential deadlock on vfio group_lock

drivers/vfio/vfio_iommu_type1.c | 31 ++++++++++++++++++++-----------
virt/kvm/vfio.c | 6 +++---
2 files changed, 23 insertions(+), 14 deletions(-)