summaryrefslogtreecommitdiffstats
path: root/src/runtime
diff options
context:
space:
mode:
authorMatt Derksen <mderkse1@us.ibm.com>2018-01-31 10:28:57 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-02-07 17:40:16 -0500
commitd5bdfe28f46fe9b68994b77212497c25bddcdc93 (patch)
treea776781b9c35bc7ca6abfae3c8e2725bbec71522 /src/runtime
parent975d6f745c830cb54cff7a2cf751d57b44db83c0 (diff)
downloadtalos-hostboot-d5bdfe28f46fe9b68994b77212497c25bddcdc93.tar.gz
talos-hostboot-d5bdfe28f46fe9b68994b77212497c25bddcdc93.zip
Initialize SBE message communication on HBRT start
Need to clear first 2 bits in CFAM register 0x283B. This basically resets our SBE communication stream just incase HBRT restarts after processing SBE interrupt. Clearing these bits tells the sender to resend the command. Change-Id: I1a1c5b80cc99414649d38c06b93428c87299f242 RTC:186334 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53225 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> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian E. Bakke <bbakke@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@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/runtime')
-rw-r--r--src/runtime/rt_main.C5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/runtime/rt_main.C b/src/runtime/rt_main.C
index d53901850..bb0d43d70 100644
--- a/src/runtime/rt_main.C
+++ b/src/runtime/rt_main.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2013,2017 */
+/* Contributors Listed Below - COPYRIGHT 2013,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -132,6 +132,9 @@ runtimeInterfaces_t* rt_start(hostInterfaces_t* intf)
postInitCalls_t* rtPost = getPostInitCalls();
rtPost->callApplyTempOverrides();
+ // check for possible missed in-flight messages/interrupts
+ rtPost->callClearPendingSbeMsgs();
+
// do any version mismatch fixups
rt_version_fixup();
OpenPOWER on IntegriCloud