The first commit sets up a field variable and spinlock to indicate whether the PCIe bridge is active. The second commit builds upon the first and adds a "die" handler to the driver, which, when invoked, prints out a summary of any pending PCIe errors. The "die" handler is careful not to access any registers unless the bridge is active. Jim Quinlan (2): PCI: brcmstb: Add a way to indicate if PCIe bridge is active PCI: brcmstb: Add panic/die handler to driver drivers/pci/controller/pcie-brcmstb.c | 193 +++++++++++++++++++++++++- 1 file changed, 188 insertions(+), 5 deletions(-) base-commit: 18531f4d1c8c47c4796289dbbc1ab657ffa063d2 -- 2.34.1