summaryrefslogtreecommitdiffstats
path: root/src/usr/htmgt/occError.C
diff options
context:
space:
mode:
authorSheldon Bailey <baileysh@us.ibm.com>2018-09-25 14:23:57 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-10-16 13:40:25 -0500
commit8fb031bf5c6b826c7ba35e99f5b29969373762da (patch)
tree4b83ec85d91db3f28b814942474ad1f1f97f60a4 /src/usr/htmgt/occError.C
parent0482f9183726c958760f81d3a15b38d6a1360737 (diff)
downloadtalos-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/occError.C')
-rw-r--r--src/usr/htmgt/occError.C7
1 files changed, 7 insertions, 0 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);
OpenPOWER on IntegriCloud