aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2017-07-12 12:06:49 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-07-13 10:19:45 +1000
commite4da615a48ee94db1b73bf66fc1d7f94237d8bbb (patch)
treeee8123dcce63e81c6ea4c49592d3b2b0b26156e2
parent95f8a8c36a90c31ae9006e8e17d7c26a6b7eb7c9 (diff)
downloadskiboot-e4da615a48ee94db1b73bf66fc1d7f94237d8bbb.zip
skiboot-e4da615a48ee94db1b73bf66fc1d7f94237d8bbb.tar.gz
skiboot-e4da615a48ee94db1b73bf66fc1d7f94237d8bbb.tar.bz2
phb4: Only set one bit in nfir
The MPIPL procedure says to only set bit 26 when forcing the PEC into freeze mode. Currently we set bits 24-27. This changes the code to follow spec and only set bit 26. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r--hw/phb4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/phb4.c b/hw/phb4.c
index c54d3cd..81cb282 100644
--- a/hw/phb4.c
+++ b/hw/phb4.c
@@ -2405,7 +2405,7 @@ static int64_t phb4_creset(struct pci_slot *slot)
/* Force fence on the PHB to work around a non-existent PE */
if (!phb4_fenced(p))
xscom_write(p->chip_id, p->pe_stk_xscom + 0x2,
- 0x000000f000000000);
+ 0x0000002000000000);
/*
* Force use of ASB for register access until the PHB has