From d5bdfe28f46fe9b68994b77212497c25bddcdc93 Mon Sep 17 00:00:00 2001 From: Matt Derksen Date: Wed, 31 Jan 2018 10:28:57 -0600 Subject: 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 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: Brian E. Bakke Reviewed-by: Roland Veloz Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell --- src/runtime/rt_main.C | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/runtime/rt_main.C') 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(); -- cgit v1.2.1