[Skiboot] [PATCH 11/14] phb4: Mark PHB as fenced on creset
Michael Neuling
mikey at neuling.org
Wed Jul 26 20:50:10 AEST 2017
If we have to inject an error to trigger recover, we end up not
marking the PHB as fenced in the PHB struct. This fixes that.
Signed-off-by: Michael Neuling <mikey at neuling.org>
---
hw/phb4.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/phb4.c b/hw/phb4.c
index d3b68cf1fb..2799f291d2 100644
--- a/hw/phb4.c
+++ b/hw/phb4.c
@@ -2631,7 +2631,7 @@ static int64_t phb4_creset(struct pci_slot *slot)
* Force use of ASB for register access until the PHB has
* been fully reset.
*/
- p->flags |= PHB4_CFG_USE_ASB;
+ p->flags |= PHB4_CFG_USE_ASB | PHB4_AIB_FENCED;
/* Clear errors, following the proper sequence */
phb4_err_clear(p);
--
2.11.0
More information about the Skiboot
mailing list