diff options
author | Keith Busch <keith.busch@intel.com> | 2017-03-29 22:49:11 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-03-29 22:55:07 -0500 |
commit | 0170591bb06788034ae72bfa56e42f283ab3de5a (patch) | |
tree | a973d7ad933e06c89f39368f86fc33ef9b759648 /drivers/pci/pci.c | |
parent | 4b103883473964bbb7b0b6934999b283ee234a8a (diff) |
PCI/MSI: Skip disabling disconnected devices
Check the device connected state prior to executing device shutdown
operations or writing MSI messages so that tear down on disconnected
devices completes quicker.
Tested-by: Krishna Dhulipala <krishnad@fb.com>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Wei Zhang <wzhang@fb.com>
Diffstat (limited to 'drivers/pci/pci.c')
0 files changed, 0 insertions, 0 deletions