summaryrefslogtreecommitdiffstats
path: root/src/usr/isteps
diff options
context:
space:
mode:
authorcrgeddes <crgeddes@us.ibm.com>2017-03-28 13:31:32 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-04-10 13:55:44 -0400
commitab70aa5b81d379bbab438fa9dbe09793bd6a5405 (patch)
treec3b46f9f294191feb93de7da0b08f3f2eeedf99f /src/usr/isteps
parent3dadb3762be5dba9b74beca9b88c4c07f77d898e (diff)
downloadblackbird-hostboot-ab70aa5b81d379bbab438fa9dbe09793bd6a5405.tar.gz
blackbird-hostboot-ab70aa5b81d379bbab438fa9dbe09793bd6a5405.zip
Send system configuration to all Procs, not just master
Previously there was no way to send chipOps to specific Procs, Now that it is possible we want to send the system configuration to all SBEs, not just the master. This way the SBE doesnt need to worry about propagating the system config to slave SBEs Change-Id: I471c60a294fb2e4dd43772322fb5c6c80ccdda1f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38544 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@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> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/isteps')
-rw-r--r--src/usr/isteps/istep21/call_host_runtime_setup.C35
1 files changed, 28 insertions, 7 deletions
diff --git a/src/usr/isteps/istep21/call_host_runtime_setup.C b/src/usr/isteps/istep21/call_host_runtime_setup.C
index 801f08a11..11a562b8b 100644
--- a/src/usr/isteps/istep21/call_host_runtime_setup.C
+++ b/src/usr/isteps/istep21/call_host_runtime_setup.C
@@ -90,18 +90,39 @@ void* call_host_runtime_setup (void *io_pArgs)
l_systemFabricConfigurationMap |= (0x8000000000000000 >> l_bitPos);
}
- l_err = SBEIO::sendSystemConfig(l_systemFabricConfigurationMap);
- if ( l_err )
+ TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace,
+ "Setting sending systemConfig to all Procs...");
+
+ for(auto l_proc : l_procChips)
{
- TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace,
- "sendSystemConfig ERROR : Returning errorlog, reason=0x%x",
- l_err->reasonCode() );
- break;
+ TRACDCOMP( ISTEPS_TRACE::g_trac_isteps_trace,
+ "calling sendSystemConfig on proc 0x%x",
+ l_proc->getAttr<TARGETING::ATTR_POSITION>());
+ l_err = SBEIO::sendSystemConfig(l_systemFabricConfigurationMap,
+ l_proc);
+ if ( l_err )
+ {
+ TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace,
+ "sendSystemConfig ERROR : Error sending sbe chip-op to proc 0x%.8X. Returning errorlog, reason=0x%x",
+ TARGETING::get_huid(l_proc),
+ l_err->reasonCode() );
+ break;
+ }
+ else
+ {
+ TRACDCOMP( ISTEPS_TRACE::g_trac_isteps_trace,
+ "sendSystemConfig SUCCESS" );
+ }
+ }
+
+ if(l_err)
+ {
+ break;
}
else
{
TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace,
- "sendSystemConfig SUCCESS" );
+ "Successfully sent all system configs to procs via SBE chip op !!");
}
OpenPOWER on IntegriCloud