From 843b9e02e55dbb39a2573e83efac9f412d30469a Mon Sep 17 00:00:00 2001 From: Matt Derksen Date: Mon, 26 Feb 2018 09:16:08 -0600 Subject: 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 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Reviewed-by: Roland Veloz Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins CI-Ready: Daniel M. Crowell Reviewed-by: Daniel M. Crowell --- src/runtime/rt_main.C | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/runtime/rt_main.C') 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(); -- cgit v1.2.1