PCI: Unify device inaccessible
authorKeith Busch <keith.busch@intel.com>
Thu, 20 Sep 2018 16:27:16 +0000 (10:27 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 2 Oct 2018 21:04:40 +0000 (16:04 -0500)
commita6bd101b8f84f9b98768e9ab1e418c239e2e669f
tree916bea7101fb1de3444e351c583205653cfc464a
parent7b42d97e99d3a2babffd1b3456ded08b54981538
PCI: Unify device inaccessible

Bring surprise removals and permanent failures together so we no longer
need separate flags.  The implementation enforces that error handling will
not be able to override a surprise removal's permanent channel failure.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Sinan Kaya <okaya@kernel.org>
drivers/pci/pci.h
drivers/pci/pcie/err.c