From c68be97f69a6ae2eabf075200583a1e47afdc597 Mon Sep 17 00:00:00 2001 From: Zane Shelley Date: Tue, 22 Aug 2017 15:10:13 -0500 Subject: Add loadHostDataToSRAM(ALL_PROC_MASTER_CORE) to beginning of step 9.7 Add this right before all processors are alive and reporting attentions. Change-Id: If1b27936203d5b88586fe7aab6e3c5a5ce57986f RTC: 178576 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45005 Reviewed-by: ILYA SMIRNOV Tested-by: Jenkins Server Reviewed-by: Brian J. Stegmiller Tested-by: Jenkins OP Build CI Tested-by: FSP CI Jenkins Tested-by: Jenkins OP HW Reviewed-by: Benjamin J. Weisenbeck Reviewed-by: Caleb N. Palmer Reviewed-by: Daniel M. Crowell --- src/include/usr/isteps/istep09list.H | 3 ++- src/usr/isteps/istep09/call_proc_fab_iovalid.C | 25 ++++++++++++++++++++++++- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/src/include/usr/isteps/istep09list.H b/src/include/usr/isteps/istep09list.H index a12e11ffa..593b91386 100644 --- a/src/include/usr/isteps/istep09list.H +++ b/src/include/usr/isteps/istep09list.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2016 */ +/* Contributors Listed Below - COPYRIGHT 2012,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -228,6 +228,7 @@ namespace INITSERVICE const DepModInfo g_istep09Dependancies = { { DEP_LIB(libistep09.so), + DEP_LIB(libpm.so), NULL } }; diff --git a/src/usr/isteps/istep09/call_proc_fab_iovalid.C b/src/usr/isteps/istep09/call_proc_fab_iovalid.C index 39676e51a..dea7a2bbf 100644 --- a/src/usr/isteps/istep09/call_proc_fab_iovalid.C +++ b/src/usr/isteps/istep09/call_proc_fab_iovalid.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2015,2016 */ +/* Contributors Listed Below - COPYRIGHT 2015,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -64,6 +64,10 @@ // HWP #include +#ifdef CONFIG_IPLTIME_CHECKSTOP_ANALYSIS + #include +#endif + namespace ISTEP_09 { @@ -83,6 +87,25 @@ void* call_proc_fab_iovalid( void *io_pArgs ) TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, "call_proc_fab_iovalid entry" ); +#ifdef CONFIG_IPLTIME_CHECKSTOP_ANALYSIS + // Before all of the slave processors are enabled, update the FIRDATA inputs + // for OCC. It should include all PROCs and the master CORE. + TARGETING::TargetHandle_t masterProc = nullptr; + TARGETING::targetService().masterProcChipTargetHandle(masterProc); + l_errl = HBOCC::loadHostDataToSRAM(masterProc, PRDF::ALL_PROC_MASTER_CORE); + if ( nullptr != l_errl ) + { + TRACFCOMP(ISTEPS_TRACE::g_trac_isteps_trace, + "HBOCC::loadHostDataToSRAM(0x%08x,%d) failed", + TARGETING::get_huid(masterProc), PRDF::ALL_PROC_MASTER_CORE); + + ErrlUserDetailsTarget(masterProc).addToLog(l_errl); + l_StepError.addErrorDetails(l_errl); + errlCommit(l_errl, HWPF_COMP_ID); + l_errl = nullptr; + } +#endif + // // get a list of all the procs in the system // -- cgit v1.2.1