linux_dsm_epyc7002/drivers/vfio/pci
Alex Williamson 93899a679f vfio-pci: Fix remove path locking
Locking both the remove() and release() path results in a deadlock
that should have been obvious.  To fix this we can get and hold the
vfio_device reference as we evaluate whether to do a bus/slot reset.
This will automatically block any remove() calls, allowing us to
remove the explict lock.  Fixes 61d792562b.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Cc: stable@vger.kernel.org	[3.17]
2014-09-29 17:18:39 -06:00
..
Kconfig drivers/vfio: remove depends on CONFIG_EXPERIMENTAL 2013-02-24 09:59:44 -07:00
Makefile vfio: Add PCI device driver 2012-07-31 08:16:24 -06:00
vfio_pci_config.c vfio/pci: Fix sizing of DPA and THP express capabilities 2014-05-30 10:50:31 -06:00
vfio_pci_intrs.c vfio/pci: Restore MSIx message prior to enabling 2014-09-29 10:16:24 -06:00
vfio_pci_private.h vfio-pci: Attempt bus/slot reset on release 2014-08-07 11:12:07 -06:00
vfio_pci_rdwr.c vfio-pci: Add support for VGA region access 2013-02-18 10:11:13 -07:00
vfio_pci.c vfio-pci: Fix remove path locking 2014-09-29 17:18:39 -06:00