summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf
diff options
context:
space:
mode:
authorZane Shelley <zshelle@us.ibm.com>2018-06-21 10:50:28 -0500
committerZane C. Shelley <zshelle@us.ibm.com>2018-06-22 10:41:17 -0400
commit4696c5090436390121826110fe280b988c2677c7 (patch)
tree1a1394d87e66ff3f63c9da9894a588a35d889ff1 /src/usr/diag/prdf
parent5a927c8232d05091affdd3741dc4ee6fab0263d1 (diff)
downloadtalos-hostboot-4696c5090436390121826110fe280b988c2677c7.tar.gz
talos-hostboot-4696c5090436390121826110fe280b988c2677c7.zip
PRD: fixed the per-symbol threshold in MBA TPS
Change-Id: Id2f4e80423e96c0628a3cc3777a86e8d5d3251d9 CQ: SW434628 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61087 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61127 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/usr/diag/prdf')
-rw-r--r--src/usr/diag/prdf/plat/mem/prdfMemTps_rt.C6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/usr/diag/prdf/plat/mem/prdfMemTps_rt.C b/src/usr/diag/prdf/plat/mem/prdfMemTps_rt.C
index cb39a1d91..d894718e1 100644
--- a/src/usr/diag/prdf/plat/mem/prdfMemTps_rt.C
+++ b/src/usr/diag/prdf/plat/mem/prdfMemTps_rt.C
@@ -1345,7 +1345,11 @@ uint32_t TpsEvent<TYPE_MBA>::analyzeCeStats( STEP_CODE_DATA_STRUCT & io_sc,
do
{
// Get the current threshold.
- uint16_t thr = ( TD_PHASE_2 == iv_phase )
+ // Phase 1 (hard CEs): 48 in the field or 1 in MNFG
+ // Phase 2 (all CEs): 80 in the field or the calculated per DRAM
+ // threshold (configurable via
+ // ATTR_MNFG_TH_CEN_MBA_RT_SOFT_CE_TH_ALGO) in MNFG.
+ uint16_t thr = ( TD_PHASE_1 == iv_phase )
? (mfgMode() ? 1 : 48)
: getScrubCeThreshold<TYPE_MBA>(iv_chip, iv_rank);
OpenPOWER on IntegriCloud