summaryrefslogtreecommitdiffstats
path: root/src/runtime/rt_main.C
diff options
context:
space:
mode:
authorMatt Derksen <mderkse1@us.ibm.com>2018-02-26 09:16:08 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-03-07 12:54:24 -0500
commit843b9e02e55dbb39a2573e83efac9f412d30469a (patch)
tree41d09dd0c1b9ab39fef706feb0f862025d1af1a4 /src/runtime/rt_main.C
parent5ca1d497141ad56ed8510d621b1e522c1c9fe7dd (diff)
downloadtalos-hostboot-843b9e02e55dbb39a2573e83efac9f412d30469a.tar.gz
talos-hostboot-843b9e02e55dbb39a2573e83efac9f412d30469a.zip
Initialize FIRDATA section and ErrlManager just incase BMC resets
PRD needs to read the PNOR to tell OCC where to write in the pnor. This will cache the PNOR section so PRD will not fail the read call. If an error is created with pnor inaccessible, errl manager could get stuck unless it was initialized first. Change-Id: Ia7212bf99e947a1016423b37aff6f13ddfc7190a CQ:SW412798 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54990 Reviewed-by: Martin Gloff <mgloff@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> Reviewed-by: Roland Veloz <rveloz@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> CI-Ready: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/runtime/rt_main.C')
-rw-r--r--src/runtime/rt_main.C7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/runtime/rt_main.C b/src/runtime/rt_main.C
index bb0d43d70..19a15e518 100644
--- a/src/runtime/rt_main.C
+++ b/src/runtime/rt_main.C
@@ -132,6 +132,13 @@ runtimeInterfaces_t* rt_start(hostInterfaces_t* intf)
postInitCalls_t* rtPost = getPostInitCalls();
rtPost->callApplyTempOverrides();
+ // load FIRDATA section into memory so PRD can access
+ // when PNOR is no longer accessible (ie SBE reboot)
+ rtPost->callInitPnor();
+
+ // Make sure errlmanager is ready
+ rtPost->callInitErrlManager();
+
// check for possible missed in-flight messages/interrupts
rtPost->callClearPendingSbeMsgs();
OpenPOWER on IntegriCloud