diff options
author | Caleb Palmer <cnpalmer@us.ibm.com> | 2019-11-14 15:04:58 -0600 |
---|---|---|
committer | Zane C Shelley <zshelle@us.ibm.com> | 2019-12-06 16:50:34 -0600 |
commit | 574346780f244fc333f4fcc407214eac3c10b9f8 (patch) | |
tree | 885a6ea6f50a2ac56c4443a9bf1ac07a0f709e08 /src/usr/diag/prdf/common/plat/mem/prdfOcmbDataBundle.H | |
parent | 946a75dff8bf05795c2688add55d109ba0283159 (diff) | |
download | talos-hostboot-574346780f244fc333f4fcc407214eac3c10b9f8.tar.gz talos-hostboot-574346780f244fc333f4fcc407214eac3c10b9f8.zip |
PRD: Update CE/UE flood threshold to reset on new ranks
Change-Id: I89dce691642ebf4d753812bfae111d14c52753e3
CQ: SW480922
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/87032
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Zane C Shelley <zshelle@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/88203
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/common/plat/mem/prdfOcmbDataBundle.H')
-rw-r--r-- | src/usr/diag/prdf/common/plat/mem/prdfOcmbDataBundle.H | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/usr/diag/prdf/common/plat/mem/prdfOcmbDataBundle.H b/src/usr/diag/prdf/common/plat/mem/prdfOcmbDataBundle.H index 499baf00c..75d7dd53e 100644 --- a/src/usr/diag/prdf/common/plat/mem/prdfOcmbDataBundle.H +++ b/src/usr/diag/prdf/common/plat/mem/prdfOcmbDataBundle.H @@ -210,8 +210,15 @@ class OcmbDataBundle : public DataBundle // These are used to limit the number of times a scrub command will stop // on a UE or CE on a rank. This is to prevent potential flooding of // maintenance UEs or CEs. The threshold will be 16 per rank for each. - ScrubResumeCounter iv_ueScrubStopCounter; - ScrubResumeCounter iv_ceScrubStopCounter; + TimeBasedThreshold iv_ueStopCounter = + TimeBasedThreshold( 16, ThresholdResolution::TEN_HOURS ); + TimeBasedThreshold iv_ceStopCounter = + TimeBasedThreshold( 16, ThresholdResolution::TEN_HOURS );; + + // If we stop on a UE or a CE, we will need to store the rank that the + // error is on so that we can clear our respective thresholds if the + // next error we stop on is on a different rank. + MemRank iv_ceUeRank; #else // IPL only |