summaryrefslogtreecommitdiffstats
path: root/src/include/usr/errl/errlentry.H
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2017-07-18 13:23:54 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2017-07-21 11:40:53 -0400
commit2db396365b7d86474564e5896a5524806a7fe6a2 (patch)
tree0bd692bd9cf9185129af402d5eed56679a22f97f /src/include/usr/errl/errlentry.H
parent152aabbb036689a3fca32422cad11455a2ee04b2 (diff)
downloadtalos-hostboot-2db396365b7d86474564e5896a5524806a7fe6a2.tar.gz
talos-hostboot-2db396365b7d86474564e5896a5524806a7fe6a2.zip
Avoid callouts, deconfigs, and gards for all non-visible errors
Fixed the deferred deconfig path that was still applying callouts for info logs Simplified where the check is for regular deconfigs Change-Id: I49ff4b0fe4ee81c28fde594c15bfd8f38bea1afc Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43289 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/include/usr/errl/errlentry.H')
-rw-r--r--src/include/usr/errl/errlentry.H18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/include/usr/errl/errlentry.H b/src/include/usr/errl/errlentry.H
index aea539062..13e9620f2 100644
--- a/src/include/usr/errl/errlentry.H
+++ b/src/include/usr/errl/errlentry.H
@@ -753,12 +753,28 @@ private:
bool getSkipShowingLog();
/**
- * @brief Set iv_skipShowingLogs based on the passed in value
+ * @brief Sets internal flag to indicate if this log should be
+ * saved to PNOR and sent to the BMC
*
* @return nothing
*/
void checkHiddenLogsEnable( );
+ /**
+ * @brief Check if the severity of this log indicates it is
+ * customer visible, note this ignores any override flags that
+ * might change standard behavior
+ *
+ * INFORMATIONAL = false
+ * RECOVERED = false
+ * PREDICTIVE = true
+ * UNRECOVERABLE = true
+ * CRITICAL_SYS_TERM = true
+ *
+ * @return true if log is visible
+ */
+ bool isSevVisible( void );
+
/**
* @brief Disabled copy constructor and assignment operator
OpenPOWER on IntegriCloud