aboutsummaryrefslogtreecommitdiff
path: root/include/phb3.h
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2014-08-05 11:56:26 +1000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-08-08 16:07:26 +1000
commit82b53f9d1d22a184f5929e95032bab5ea4c0e6a8 (patch)
treeefac45c2cc7743d29b66d35e8ccfc4dd811f8433 /include/phb3.h
parent227f0393d91b2156e62cfbeba7e6dc032494886c (diff)
downloadskiboot-82b53f9d1d22a184f5929e95032bab5ea4c0e6a8.zip
skiboot-82b53f9d1d22a184f5929e95032bab5ea4c0e6a8.tar.gz
skiboot-82b53f9d1d22a184f5929e95032bab5ea4c0e6a8.tar.bz2
PCI: Restore bus numbers after complete reset
The complete reset could be issued by kdump kernel to remove pending PCI traffic in order to avoid EEH errors in kdump scenario. However, the bus numbers configured into PCI bridges would be lost after the reset and it would cause that some of PCI devices (e.g. IPR) can't be probed by kdump kernel successfully. The patch fixes above issue by restoring bus numbers after complete reset. It's responsing to bug#113210 Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include/phb3.h')
-rw-r--r--include/phb3.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/phb3.h b/include/phb3.h
index 9789336..6305a1c 100644
--- a/include/phb3.h
+++ b/include/phb3.h
@@ -257,6 +257,7 @@ struct phb3_err {
#define PHB3_AIB_FENCED 0x00000001
#define PHB3_CFG_USE_ASB 0x00000002
#define PHB3_CFG_BLOCKED 0x00000004
+#define PHB3_RESTORE_BUS_NUM 0x00000008
struct phb3 {
unsigned int index; /* 0..2 index inside P8 */