diff options
author | Yishai Hadas <[email protected]> | 2021-08-05 22:19:04 -0300 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2021-08-11 09:50:11 -0600 |
commit | 2cd8b14aaa667f5c6b7918e8d769872fa9acb0ac (patch) | |
tree | 7b6108c83c920bcf187d1ea6eed9b0747673f6f8 /drivers/usb/cdns3/cdns3-trace.c | |
parent | ab7e5e34a9f661f5649f48d4531c4a75713ff7cf (diff) |
vfio/pci: Move to the device set infrastructure
PCI wants to have the usual open/close_device() logic with the slight
twist that the open/close_device() must be done under a singelton lock
shared by all of the vfio_devices that are in the PCI "reset group".
The reset group, and thus the device set, is determined by what devices
pci_reset_bus() touches, which is either the entire bus or only the slot.
Rely on the core code to do everything reflck was doing and delete reflck
entirely.
Signed-off-by: Yishai Hadas <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Cornelia Huck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions