summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/common
diff options
context:
space:
mode:
authorCaleb Palmer <cnpalmer@us.ibm.com>2019-09-30 15:19:49 -0500
committerZane C Shelley <zshelle@us.ibm.com>2019-10-04 12:57:41 -0500
commit2dbc30966476745b0b6fa85e9c8e46398b31e86f (patch)
treed618b7db53b611ca53c1ffbc3ca104199d6ef291 /src/usr/diag/prdf/common
parent9d750b3d919830c1813fbcf2e7797a10c9075928 (diff)
downloadblackbird-hostboot-2dbc30966476745b0b6fa85e9c8e46398b31e86f.tar.gz
blackbird-hostboot-2dbc30966476745b0b6fa85e9c8e46398b31e86f.zip
PRD: Axone UE/CE threshold for background scrub
Change-Id: I2872ee94a385d84b10a6e0aaf7f3c0a95c496aa0 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/84551 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Benjamen G Tyner <ben.tyner@ibm.com> Reviewed-by: Brian J Stegmiller <bjs@us.ibm.com> Reviewed-by: Zane C Shelley <zshelle@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/84781 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Diffstat (limited to 'src/usr/diag/prdf/common')
-rw-r--r--src/usr/diag/prdf/common/plat/mem/prdfOcmbDataBundle.H7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/usr/diag/prdf/common/plat/mem/prdfOcmbDataBundle.H b/src/usr/diag/prdf/common/plat/mem/prdfOcmbDataBundle.H
index e5977ee6c..499baf00c 100644
--- a/src/usr/diag/prdf/common/plat/mem/prdfOcmbDataBundle.H
+++ b/src/usr/diag/prdf/common/plat/mem/prdfOcmbDataBundle.H
@@ -40,6 +40,7 @@
#ifdef __HOSTBOOT_MODULE
+#include <prdfMemScrubUtils.H>
#include <prdfMemTdFalseAlarm.H>
#include <prdfMemThresholds.H>
#include <prdfMemTdCtlr.H>
@@ -206,6 +207,12 @@ class OcmbDataBundle : public DataBundle
* scrubbing is resumed. */
bool iv_maskMainlineNceTce = false;
+ // 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;
+
#else // IPL only
/** MNFG IPL CE statistics. */
OpenPOWER on IntegriCloud