diff options
author | Keith Busch <[email protected]> | 2017-03-29 22:48:59 -0500 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2017-03-29 22:54:46 -0500 |
commit | 89ee9f7680031d7df91a1a27abac69e034c2e892 (patch) | |
tree | 4e874d870f8fd310aa954153c590f6ae93517868 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d3881e5015421a578bc328136471fcf1d02ac389 (diff) |
PCI: Add device disconnected state
Add a new state to pci_dev to be set when it is unexpectedly disconnected.
The PCI driver tear down functions can observe this new device state so
they may skip operations that will fail.
The pciehp and pcie-dpc drivers are aware when the link is down, so these
set the flag when their handlers detect the device is disconnected.
Tested-by: Krishna Dhulipala <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Wei Zhang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions