diff options
author | Chris Cain <cjcain@us.ibm.com> | 2015-11-06 00:01:11 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2015-11-16 12:25:38 -0600 |
commit | fc7293d210b0293d18abc66cbd719d1b5ac4d820 (patch) | |
tree | 0185ce01554d85e6e7ee3fea908324cac168da22 /src/usr/htmgt/htmgt_activate.C | |
parent | e50f3717c6b44309a1523acf489ac0c6baee89e2 (diff) | |
download | talos-hostboot-fc7293d210b0293d18abc66cbd719d1b5ac4d820.tar.gz talos-hostboot-fc7293d210b0293d18abc66cbd719d1b5ac4d820.zip |
Prevent customer power cap truncation on HPC systems.
Change-Id: I23990356887d162b7959b20307a36d58b3db4c32
CQ:SW328005
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21803
Tested-by: Jenkins Server
Tested-by: Jenkins OP Build CI
Tested-by: Jenkins OP HW
Reviewed-by: SHELDON R. BAILEY <baileysh@us.ibm.com>
Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
Tested-by: FSP CI Jenkins
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/htmgt/htmgt_activate.C')
-rw-r--r-- | src/usr/htmgt/htmgt_activate.C | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/usr/htmgt/htmgt_activate.C b/src/usr/htmgt/htmgt_activate.C index f8417d577..528f10aa1 100644 --- a/src/usr/htmgt/htmgt_activate.C +++ b/src/usr/htmgt/htmgt_activate.C @@ -212,9 +212,7 @@ namespace HTMGT { //Make sure this value is between the min & max allowed min = sys->getAttr<ATTR_OPEN_POWER_MIN_POWER_CAP_WATTS>(); - max = sys-> - getAttr<ATTR_OPEN_POWER_N_PLUS_ONE_BULK_POWER_LIMIT_WATTS>(); - + max = getMaxPowerCap(sys); if ((limit != 0) && (limit < min)) { TMGT_INF("sendOccUserPowerCap: User power cap %d is below" |