diff options
author | Matt Spinler <spinler@us.ibm.com> | 2017-02-06 10:45:38 -0600 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-02-07 19:46:24 +0000 |
commit | 23e7fe1e980fae3325fd0bd8a467a5351a2d13e7 (patch) | |
tree | 04c421daa11dfdf9cfa8d83802b95c13159b3709 | |
parent | d836be9740026b7fad1842a060e33baef0691e3c (diff) | |
download | talos-openbmc-23e7fe1e980fae3325fd0bd8a467a5351a2d13e7.tar.gz talos-openbmc-23e7fe1e980fae3325fd0bd8a467a5351a2d13e7.zip |
Enable P9 to externally report checkstops.
Setup P9 to enable its checkstop GPIO so the BMC can
detect them. The P9 is not able to set these registers
itself.
Change-Id: I4d061b16b9ef6b71e953be6aaa861ede71bcbe48
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
-rwxr-xr-x | meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/op-pdbg-host-control/start_host.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/op-pdbg-host-control/start_host.sh b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/op-pdbg-host-control/start_host.sh index 7a013aa7e..a34c03b8c 100755 --- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/op-pdbg-host-control/start_host.sh +++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/op-pdbg-host-control/start_host.sh @@ -14,5 +14,10 @@ putcfam() #Can maybe be removed in DD2 putcfam -a 0x2918 0x0000000C 0x0000000C +#Allow xstop/ATTN to flow to BMC +putcfam -p0 0x081C 0x20000000 # Setup FSI2PIB to report +putcfam -p0 0x100D 0x60000000 # Enable Xstop/ATTN interrupt +putcfam -p0 0x100B 0xFFFFFFFF # Arm mechanism + putcfam -p0 0x283f 0x20000000 # Write scratch register 8 putcfam -p0 0x2801 0x80000000 0x80000000 # Set SBE start bit to start IPL |