Skip to contentSkip to conversation

VFIO fix for v6.7-rc4

GIT PULL Merged Alex Williamson 2 participants 2 messages Dec 1, 2023 – Dec 2, 2023 KVM

lore
Share & tools
lore
#0 lore raw

Hi Linus,

The following changes since commit 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab:

Linux 6.7-rc3 (2023-11-26 19:59:33 -0800)

are available in the Git repository at:

https://github.com/awilliam/linux-vfio.git tags/vfio-v6.7-rc4

for you to fetch changes up to 4ea95c04fa6b9043a1a301240996aeebe3cb28ec:

vfio: Drop vfio_file_iommu_group() stub to fudge around a KVM wart (2023-11-30 11:27:17 -0700)

----------------------------------------------------------------
VFIO fixes for v6.7-rc4

- Fix the lifecycle of a mutex in the pds variant driver such that a reset prior to opening the device won't find it uninitialized. Implement the release path to symmetrically destroy the mutex. Also switch a different lock from spinlock to mutex as the code path has the potential to sleep and doesn't need the spinlock context otherwise. (Brett Creeley)

- Fix an issue detected via randconfig where KVM tries to symbol_get an undeclared function. The symbol is temporarily declared unconditionally here, which resolves the problem and avoids churn relative to a series pending for the next merge window which resolves some of this symbol ugliness, but also fixes Kconfig dependencies. (Sean Christopherson)

----------------------------------------------------------------
Brett Creeley (2):
vfio/pds: Fix mutex lock->magic != lock warning vfio/pds: Fix possible sleep while in atomic context

Sean Christopherson (1):
vfio: Drop vfio_file_iommu_group() stub to fudge around a KVM wart

 drivers/vfio/pci/pds/pci_drv.c  |  4 ++--
 drivers/vfio/pci/pds/vfio_dev.c | 30 +++++++++++++++++++++---------
 drivers/vfio/pci/pds/vfio_dev.h |  2 +-
 include/linux/vfio.h            |  8 ++------
 4 files changed, 26 insertions(+), 18 deletions(-)