summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/memory/p9_mss_eff_config_thermal.C
diff options
context:
space:
mode:
authorJacob Harvey <jlharvey@us.ibm.com>2017-07-26 16:24:31 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-08-05 21:24:45 -0400
commit64a57a5c7426804af30ddfe98f442a0b67c6ab3c (patch)
tree7337f57488a04fe92ef995d14b3168750a09c242 /src/import/chips/p9/procedures/hwp/memory/p9_mss_eff_config_thermal.C
parentd88bd7ff02db7dce43825ef31ae70153d5f7d0ee (diff)
downloadtalos-hostboot-64a57a5c7426804af30ddfe98f442a0b67c6ab3c.tar.gz
talos-hostboot-64a57a5c7426804af30ddfe98f442a0b67c6ab3c.zip
Add in check for no DIMMs under MCS
Change-Id: I987cd2f9c8380435da54c1a3549ab3e3d5ee398d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43714 Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43723 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/memory/p9_mss_eff_config_thermal.C')
-rw-r--r--src/import/chips/p9/procedures/hwp/memory/p9_mss_eff_config_thermal.C10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/p9_mss_eff_config_thermal.C b/src/import/chips/p9/procedures/hwp/memory/p9_mss_eff_config_thermal.C
index 4c1ca1cff..716d80f8f 100644
--- a/src/import/chips/p9/procedures/hwp/memory/p9_mss_eff_config_thermal.C
+++ b/src/import/chips/p9/procedures/hwp/memory/p9_mss_eff_config_thermal.C
@@ -79,11 +79,6 @@ extern "C"
FAPI_TRY( mss::mrw_thermal_memory_power_limit (l_tthermal_power_limit.data()) );
FAPI_TRY( mss::power_thermal::set_runtime_m_and_watt_limit(i_targets));
- FAPI_ASSERT( i_targets.size() != 0,
- fapi2::MSS_EMPTY_VECTOR_PASSED_TO_EFF_CONFIG_THERMAL()
- .set_MCS_COUNT(0),
- "Empty vector passed into p9_mss_eff_config_thermal procedure");
-
for (size_t i = 0; i < mss::power_thermal::SIZE_OF_POWER_CURVES_ATTRS; ++i)
{
for (const auto l_cur : l_tslope)
@@ -169,6 +164,11 @@ extern "C"
//Set VDDR+VPP power curve values
for ( const auto& l_mcs : i_targets )
{
+ if (mss::count_dimm(l_mcs) == 0)
+ {
+ continue;
+ }
+
FAPI_TRY( mss::power_thermal::get_power_attrs(l_mcs,
l_slope,
l_intercept,
OpenPOWER on IntegriCloud