diff options
author | Zane Shelley <zshelle@us.ibm.com> | 2014-11-03 13:06:14 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-11-12 17:06:31 -0600 |
commit | 6ae96c32de5550194aaa721ba1a5d875ccf86acd (patch) | |
tree | 99f8c80380f0d478fe9ab6f184639561b6264452 /src/usr/diag/prdf/common/plat | |
parent | e8028260a977f8231653fce810ddf1fcbf3f3c34 (diff) | |
download | talos-hostboot-6ae96c32de5550194aaa721ba1a5d875ccf86acd.tar.gz talos-hostboot-6ae96c32de5550194aaa721ba1a5d875ccf86acd.zip |
PRD: fixing MNFG scrub CE threshold for runtime
Change-Id: Id7b2fce3b53241688c7fec29cd480551949a06d4
CQ: SW284245
Backport: release-fips811
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14301
Tested-by: Jenkins Server
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Reviewed-by: Christopher T. Phan <cphan@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Reviewed-by: Zane Shelley <zshelle@us.ibm.com>
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14355
Diffstat (limited to 'src/usr/diag/prdf/common/plat')
-rwxr-xr-x | src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaThresholds_common.C | 8 | ||||
-rwxr-xr-x | src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaThresholds_common.H | 6 |
2 files changed, 11 insertions, 3 deletions
diff --git a/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaThresholds_common.C b/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaThresholds_common.C index 7e41f9b7d..08957194a 100755 --- a/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaThresholds_common.C +++ b/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaThresholds_common.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,2014 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -152,6 +154,10 @@ int32_t getScrubCeThreshold( ExtensibleChip * i_mbaChip, const CenRank & i_rank, o_rc = getMnfgMemCeTh( i_mbaChip, i_rank, o_thr, junk1, junk2 ); if ( SUCCESS != o_rc ) PRDF_ERR( PRDF_FUNC"getMnfgMemCeTh() failed" ); + + // getMnfgMemCeTh() returns the number of CEs allowed. Will need to add + // one to get the real threshold. + o_thr++; } return o_rc; diff --git a/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaThresholds_common.H b/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaThresholds_common.H index b08ff369f..76ce6f5a4 100755 --- a/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaThresholds_common.H +++ b/src/usr/diag/prdf/common/plat/pegasus/prdfCenMbaThresholds_common.H @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,2014 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -57,7 +59,7 @@ int32_t getMnfgMemCeTh( ExtensibleChip * i_mbaChip, const CenRank & i_rank, ThresholdResolution::ThresholdPolicy getRceThreshold(); /** - * @brief Returns scrub soft/intermittent CEs during runtime. + * @brief Returns scrub soft/intermittent CEs threshold during runtime. * @param i_mbaChip MBA chip. * @param i_rank The rank for which the threshold is needed. * @param o_thr Scrub soft/intermittent CE threshold. |