diff options
author | Michael Neuling <mikey@neuling.org> | 2017-07-26 20:50:10 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-07-28 14:03:59 +1000 |
commit | a2a5965a80acdf2f4e6a2cd90752838abf891dbf (patch) | |
tree | b19daae33fbd715b1284826fabc4cceec9866712 /hw | |
parent | b28a33cb4e92d06bac2e842bbe5cfed947296ceb (diff) | |
download | skiboot-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |