diff options
author | Zane Shelley <zshelle@us.ibm.com> | 2017-08-22 15:10:13 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-08-24 15:54:53 -0400 |
commit | c68be97f69a6ae2eabf075200583a1e47afdc597 (patch) | |
tree | 0fa8a82a9f92b42e517e2efad32e8ea5409e8361 | |
parent | d93a520bdb774eefa74839aa124789516999b587 (diff) | |
download | talos-hostboot-c68be97f69a6ae2eabf075200583a1e47afdc597.tar.gz talos-hostboot-c68be97f69a6ae2eabf075200583a1e47afdc597.zip |
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 <ismirno@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com>
Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
-rw-r--r-- | src/include/usr/isteps/istep09list.H | 3 | ||||
-rw-r--r-- | 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 <p9_fab_iovalid.H> +#ifdef CONFIG_IPLTIME_CHECKSTOP_ANALYSIS + #include <isteps/pm/occCheckstop.H> +#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 // |