diff options
author | Dan Crowell <dcrowell@us.ibm.com> | 2020-01-16 15:36:31 -0600 |
---|---|---|
committer | Daniel M Crowell <dcrowell@us.ibm.com> | 2020-01-29 15:05:23 -0600 |
commit | 1a19ea2ae50c02e3cc76004fb9b8a79f6b8f7182 (patch) | |
tree | a4ac347234c04ad64c3d3766394f966b54c061ad /src/usr/isteps | |
parent | a69715d78e44ca4d69009bdd829a8ed778bcd845 (diff) | |
download | talos-hostboot-1a19ea2ae50c02e3cc76004fb9b8a79f6b8f7182.tar.gz talos-hostboot-1a19ea2ae50c02e3cc76004fb9b8a79f6b8f7182.zip |
Change p9a_mss_freq from MEM_PORT to PROC_CHIP targets (HB)
Matching up with a HWP change.
Change-Id: If8f2f8c5449e49d9a40ff194f687dec3b35f321e
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/89784
Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
Tested-by: Daniel M Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/isteps')
-rw-r--r-- | src/usr/isteps/istep07/call_mss_freq.C | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/usr/isteps/istep07/call_mss_freq.C b/src/usr/isteps/istep07/call_mss_freq.C index ca20fea94..5495526ee 100644 --- a/src/usr/isteps/istep07/call_mss_freq.C +++ b/src/usr/isteps/istep07/call_mss_freq.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2015,2019 */ +/* Contributors Listed Below - COPYRIGHT 2015,2020 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -197,30 +197,30 @@ void* call_mss_freq( void *io_pArgs ) #ifdef CONFIG_AXONE else if(l_procModel == TARGETING::MODEL_AXONE) { - TARGETING::TargetHandleList l_memportTargetList; - getAllChiplets(l_memportTargetList, TYPE_MEM_PORT); + TARGETING::TargetHandleList l_procTargList; + getAllChips(l_procTargList, TYPE_PROC); - for (const auto & l_memport_target : l_memportTargetList) + for (const auto & l_proc_target : l_procTargList) { TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, "p9a_mss_freq HWP target HUID %.8x", - TARGETING::get_huid(l_memport_target)); + TARGETING::get_huid(l_proc_target)); // call the HWP with each target ( if parallel, spin off a task ) - fapi2::Target <fapi2::TARGET_TYPE_MEM_PORT> l_fapi_memport_target - (l_memport_target); + fapi2::Target <fapi2::TARGET_TYPE_PROC_CHIP> l_fapi_proc_target + (l_proc_target); - FAPI_INVOKE_HWP(l_err, p9a_mss_freq, l_fapi_memport_target); + FAPI_INVOKE_HWP(l_err, p9a_mss_freq, l_fapi_proc_target); // process return code. if ( l_err ) { TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, "ERROR 0x%.8X: p9a_mss_freq HWP on target HUID %.8x", - l_err->reasonCode(), TARGETING::get_huid(l_memport_target) ); + l_err->reasonCode(), TARGETING::get_huid(l_proc_target) ); // capture the target data in the elog - ErrlUserDetailsTarget(l_memport_target).addToLog( l_err ); + ErrlUserDetailsTarget(l_proc_target).addToLog( l_err ); // Create IStep error log and cross reference to error that occurred l_StepError.addErrorDetails( l_err ); @@ -491,4 +491,4 @@ void* call_mss_freq( void *io_pArgs ) return l_StepError.getErrorHandle(); } -}; // end namespace
\ No newline at end of file +}; // end namespace |