aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2017-07-26 20:50:10 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-07-28 14:03:59 +1000
commita2a5965a80acdf2f4e6a2cd90752838abf891dbf (patch)
treeb19daae33fbd715b1284826fabc4cceec9866712 /hw
parentb28a33cb4e92d06bac2e842bbe5cfed947296ceb (diff)
downloadskiboot-a2a5965a80acdf2f4e6a2cd90752838abf891dbf.zip
skiboot-a2a5965a80acdf2f4e6a2cd90752838abf891dbf.tar.gz
skiboot-a2a5965a80acdf2f4e6a2cd90752838abf891dbf.tar.bz2
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 <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/phb4.c2
1 files changed, 1 insertions, 1 deletions
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);