diff options
author | Jacob Harvey <jlharvey@us.ibm.com> | 2017-04-12 18:05:15 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-04-27 09:16:34 -0400 |
commit | 6f8455bced213e8612cc89d7403726beda2d8d05 (patch) | |
tree | e8aacbd38fdaac0b140b844da0403497abf3e15e /src/import/chips/p9/procedures/hwp/memory/p9_mss_bulk_pwr_throttles.C | |
parent | d9fa670675bf2870ff8a37f865e50e98a5ede39c (diff) | |
download | talos-hostboot-6f8455bced213e8612cc89d7403726beda2d8d05.tar.gz talos-hostboot-6f8455bced213e8612cc89d7403726beda2d8d05.zip |
Fix eff_config_thermal's powerlimit check SW386095
Change-Id: I2817e43ee8e7780832141b72f4457e2b26033c5f
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39187
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com>
Reviewed-by: Thi N. Tran <thi@us.ibm.com>
Reviewed-by: Michael D. Pardeik <pardeik@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39188
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: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/memory/p9_mss_bulk_pwr_throttles.C')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/memory/p9_mss_bulk_pwr_throttles.C | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/p9_mss_bulk_pwr_throttles.C b/src/import/chips/p9/procedures/hwp/memory/p9_mss_bulk_pwr_throttles.C index 47173cdb0..0357a92ed 100644 --- a/src/import/chips/p9/procedures/hwp/memory/p9_mss_bulk_pwr_throttles.C +++ b/src/import/chips/p9/procedures/hwp/memory/p9_mss_bulk_pwr_throttles.C @@ -58,10 +58,10 @@ extern "C" /// @note equalizes the throttles to the lowest of runtime and the lowest slot-throttle value /// fapi2::ReturnCode p9_mss_bulk_pwr_throttles( const std::vector< fapi2::Target<TARGET_TYPE_MCS> >& i_targets, - const throttle_type i_throttle_type) + const mss::throttle_type i_throttle_type) { FAPI_INF("Start p9_mss_bulk_pwr_throttles for %s type throttling", - (( i_throttle_type == THERMAL) ? "THERMAL" : "POWER")); + (( i_throttle_type == mss::throttle_type::THERMAL) ? "THERMAL" : "POWER")); for ( const auto& l_mcs : i_targets) @@ -87,7 +87,7 @@ extern "C" mss::c_str(l_mca)); //Let's do the actual work now - if ( i_throttle_type == THERMAL) + if ( i_throttle_type == mss::throttle_type::THERMAL) { FAPI_TRY (l_pwr_struct.thermal_throttles()); } @@ -110,13 +110,13 @@ extern "C" } //Set all of the throttles to the lowest value per port for performance reasons - FAPI_TRY(mss::power_thermal::equalize_throttles(i_targets)); + FAPI_TRY(mss::power_thermal::equalize_throttles(i_targets, i_throttle_type)); FAPI_INF("End bulk_pwr_throttles"); return fapi2::current_err; fapi_try_exit: FAPI_ERR("Error calculating bulk_pwr_throttles using %s throttling", - ((i_throttle_type == POWER) ? "power" : "thermal")); + ((i_throttle_type == mss::throttle_type::POWER) ? "power" : "thermal")); return fapi2::current_err; } } //extern C |