diff options
author | Yishai Hadas <yishaih@nvidia.com> | 2021-08-05 22:19:04 -0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2021-08-11 09:50:11 -0600 |
commit | 2cd8b14aaa667f5c6b7918e8d769872fa9acb0ac (patch) | |
tree | 7b6108c83c920bcf187d1ea6eed9b0747673f6f8 /lib/irq_poll.c | |
parent | ab7e5e34a9f661f5649f48d4531c4a75713ff7cf (diff) | |
download | linux-stable-2cd8b14aaa667f5c6b7918e8d769872fa9acb0ac.tar.gz linux-stable-2cd8b14aaa667f5c6b7918e8d769872fa9acb0ac.tar.bz2 linux-stable-2cd8b14aaa667f5c6b7918e8d769872fa9acb0ac.zip |
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 <yishaih@nvidia.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Link: https://lore.kernel.org/r/8-v4-9ea22c5e6afb+1adf-vfio_reflck_jgg@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'lib/irq_poll.c')
0 files changed, 0 insertions, 0 deletions