From 82b53f9d1d22a184f5929e95032bab5ea4c0e6a8 Mon Sep 17 00:00:00 2001 From: Gavin Shan Date: Tue, 5 Aug 2014 11:56:26 +1000 Subject: 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 Signed-off-by: Benjamin Herrenschmidt --- include/phb3.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/phb3.h') 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 */ -- cgit v1.1