summaryrefslogtreecommitdiffstats
path: root/src/usr/isteps/istep08/call_host_slave_sbe_config.C
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2016-10-21 22:27:19 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-10-26 22:57:22 -0400
commit097b78713b5afd3a0e5ec4fbe6233237f5b2319b (patch)
tree76dba0d829f4bbede9c563fee3c8a706283b3210 /src/usr/isteps/istep08/call_host_slave_sbe_config.C
parent89e0ca4b192181932044cb4169dc6929a1a879cd (diff)
downloadblackbird-hostboot-097b78713b5afd3a0e5ec4fbe6233237f5b2319b.tar.gz
blackbird-hostboot-097b78713b5afd3a0e5ec4fbe6233237f5b2319b.zip
Changes to get slave SBE working
Add flag to actually start SBE FW Set ATTR_NEST_PLL_BUCKET Increase timeout for SBE start Setup all required freq attributes before setting up SBE Change-Id: Ic3b7c8c6b482787b8c37b2b5b04a8344213119cf Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31682 Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@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/usr/isteps/istep08/call_host_slave_sbe_config.C')
-rw-r--r--src/usr/isteps/istep08/call_host_slave_sbe_config.C8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/usr/isteps/istep08/call_host_slave_sbe_config.C b/src/usr/isteps/istep08/call_host_slave_sbe_config.C
index 536d5200e..b71016605 100644
--- a/src/usr/isteps/istep08/call_host_slave_sbe_config.C
+++ b/src/usr/isteps/istep08/call_host_slave_sbe_config.C
@@ -102,6 +102,12 @@ void* call_host_slave_sbe_config(void *io_pArgs)
// write the attribute
l_sys->setAttr<ATTR_BOOT_FLAGS>(l_scratch3.data32);
+ TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, "ATTR_BOOT_FLAGS=%.8X", l_scratch3.data32 );
+
+ // grab the boot flags from the master proc
+ INITSERVICE::SPLESS::MboxScratch5_t l_scratch5;
+ l_scratch5.data32 = l_scratchRegs[INITSERVICE::SPLESS::SCRATCH_5];
+
// execute p9_setup_sbe_config.C for non-primary processor targets
TARGETING::TargetHandleList l_cpuTargetList;
@@ -118,6 +124,8 @@ void* call_host_slave_sbe_config(void *io_pArgs)
const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>
l_fapi2_proc_target (l_cpu_target);
+ l_cpu_target->setAttr<ATTR_MC_SYNC_MODE>(l_scratch5.mcSyncMode);
+
TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace,
"Running p9_setup_sbe_config HWP on processor target %.8X",
TARGETING::get_huid(l_cpu_target) );
OpenPOWER on IntegriCloud