diff options
author | Sheldon Bailey <baileysh@us.ibm.com> | 2018-09-25 14:23:57 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-10-16 13:40:25 -0500 |
commit | 8fb031bf5c6b826c7ba35e99f5b29969373762da (patch) | |
tree | 4b83ec85d91db3f28b814942474ad1f1f97f60a4 /src/usr/htmgt | |
parent | 0482f9183726c958760f81d3a15b38d6a1360737 (diff) | |
download | talos-hostboot-8fb031bf5c6b826c7ba35e99f5b29969373762da.tar.gz talos-hostboot-8fb031bf5c6b826c7ba35e99f5b29969373762da.zip |
HTMGT: Check for OCC elog action bit to force sending an error log to BMC
Change-Id: Iaff005603b816ce7fbecb489325007fa82a69fb9
RTC:199365
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67219
Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/htmgt')
-rw-r--r-- | src/usr/htmgt/occError.C | 7 | ||||
-rw-r--r-- | src/usr/htmgt/occError.H | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/usr/htmgt/occError.C b/src/usr/htmgt/occError.C index e491009d6..f344bea85 100644 --- a/src/usr/htmgt/occError.C +++ b/src/usr/htmgt/occError.C @@ -298,6 +298,13 @@ namespace HTMGT } } + // Process force error log to be sent to BMC. + if( (l_occElog->actions & TMGT_ERRL_ACTIONS_FORCE_ERROR_POSTED ) || + (l_occSrc == (OCCC_COMP_ID | 0x01 ) ) ) //GEN_CALLHOME_LOG + { + l_errlHndl->setEselCallhomeInfoEvent(true); + } + #ifdef CONFIG_CONSOLE_OUTPUT_OCC_COMM char header[64]; sprintf(header, "OCC%d ELOG: (0x%04X bytes)", iv_instance, i_length); diff --git a/src/usr/htmgt/occError.H b/src/usr/htmgt/occError.H index 1f3e5ad7d..55e5f6cc6 100644 --- a/src/usr/htmgt/occError.H +++ b/src/usr/htmgt/occError.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2014,2017 */ +/* Contributors Listed Below - COPYRIGHT 2014,2018 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -41,6 +41,7 @@ namespace HTMGT // Error Actions enum tmgtErrlActionsType { + TMGT_ERRL_ACTIONS_FORCE_ERROR_POSTED = 0x10, TMGT_ERRL_ACTIONS_WOF_RESET_REQUIRED = 0x20, TMGT_ERRL_ACTIONS_SAFE_MODE_REQUIRED = 0x40, TMGT_ERRL_ACTIONS_RESET_REQUIRED = 0x80, |