PCI/ERR: Add pci_walk_bridge() to pcie_do_recovery()
authorSean V Kelley <sean.v.kelley@intel.com>
Sat, 21 Nov 2020 00:10:30 +0000 (16:10 -0800)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 4 Dec 2020 17:18:58 +0000 (11:18 -0600)
commit05e9ae19ab83881a0f33025bd1288e41e552a34b
treee50c9e7fa8794584c3a78fad446080fc26e209d7
parent3d7d8fc78f4b504819882278fcfe10784eb985fa
PCI/ERR: Add pci_walk_bridge() to pcie_do_recovery()

Consolidate subordinate bus checks with pci_walk_bus() into
pci_walk_bridge() for walking below potentially AER affected bridges.

Link: https://lore.kernel.org/r/20201121001036.8560-10-sean.v.kelley@intel.com
Tested-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> # non-native/no RCEC
Signed-off-by: Sean V Kelley <sean.v.kelley@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/err.c