From a2a5965a80acdf2f4e6a2cd90752838abf891dbf Mon Sep 17 00:00:00 2001 From: Michael Neuling Date: Wed, 26 Jul 2017 20:50:10 +1000 Subject: phb4: Mark PHB as fenced on creset 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 Signed-off-by: Stewart Smith --- hw/phb4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw') diff --git a/hw/phb4.c b/hw/phb4.c index d3b68cf..2799f29 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); -- cgit v1.1