mbox series

[vfio,0/3] pds/vfio: Fixes for locking bugs

Message ID 20230914191540.54946-1-brett.creeley@amd.com (mailing list archive)
Headers show
Series pds/vfio: Fixes for locking bugs | expand

Message

Brett Creeley Sept. 14, 2023, 7:15 p.m. UTC
This series contains fixes for locking bugs in the recently introduced
pds-vfio-pci driver. There was an initial bug reported by Dan Carpenter
at:

https://lore.kernel.org/kvm/1f9bc27b-3de9-4891-9687-ba2820c1b390@moroto.mountain/

However, more locking bugs were found when looking into the previously
mentioned issue. So, all fixes are included in this series.

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

 drivers/vfio/pci/pds/vfio_dev.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)