alistair23-linux/drivers/vfio/pci
Alex Williamson d24cdbfd28 vfio-pci: Avoid deadlock on remove
If an attempt is made to unbind a device from vfio-pci while that
device is in use, the request is blocked until the device becomes
unused.  Unfortunately, that unbind path still grabs the device_lock,
which certain things like __pci_reset_function() also want to take.
This means we need to try to acquire the locks ourselves and use the
pre-locked version, __pci_reset_function_locked().

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2013-07-24 16:36:41 -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.c vfio-pci: Avoid deadlock on remove 2013-07-24 16:36:41 -06:00
vfio_pci_config.c vfio updates for v3.10 2013-05-02 14:02:32 -07:00
vfio_pci_intrs.c vfio updates for v3.10 2013-05-02 14:02:32 -07:00
vfio_pci_private.h VFIO-AER: Vfio-pci driver changes for supporting AER 2013-03-11 09:31:22 -06:00
vfio_pci_rdwr.c vfio-pci: Add support for VGA region access 2013-02-18 10:11:13 -07:00