summaryrefslogtreecommitdiffstats
path: root/src/include/usr/diag
diff options
context:
space:
mode:
authorSachin Gupta <sgupta2m@in.ibm.com>2014-12-07 22:27:30 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-02-27 23:51:19 -0600
commit64b4d0061a5d02c5664ee30401208b5a76d4030f (patch)
treee183326294ea832a72d7378f91b144812ca215b0 /src/include/usr/diag
parentb6ec5b042850fd80517dfdbb1226624b98cf617d (diff)
downloadtalos-hostboot-64b4d0061a5d02c5664ee30401208b5a76d4030f.tar.gz
talos-hostboot-64b4d0061a5d02c5664ee30401208b5a76d4030f.zip
ATTN PRD : Wrapper Functions for checkstop analysis.
Change-Id: I5a16cf0be729405df5bfbbaf727ce5b1dec81983 RTC: 119543 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14768 Tested-by: Jenkins Server Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: Christopher T. Phan <cphan@us.ibm.com> Reviewed-by: Bilicon Patil <bilpatil@in.ibm.com> Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/diag')
-rw-r--r--src/include/usr/diag/prdf/prdfMain_ipl.H23
1 files changed, 22 insertions, 1 deletions
diff --git a/src/include/usr/diag/prdf/prdfMain_ipl.H b/src/include/usr/diag/prdf/prdfMain_ipl.H
index 3d51b5209..96971a33d 100644
--- a/src/include/usr/diag/prdf/prdfMain_ipl.H
+++ b/src/include/usr/diag/prdf/prdfMain_ipl.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2014 */
+/* Contributors Listed Below - COPYRIGHT 2014,2015 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -26,6 +26,9 @@
#ifndef __prdfMain_ipl_H
#define __prdfMain_ipl_H
+// Custom compile configs
+#include <config.h>
+
/**
* @file prdfMain_ipl.H
* @brief PRD code used by external components (IPL only).
@@ -66,6 +69,24 @@ extern int32_t analyzeIplCEStats( const TARGETING::TargetHandle_t i_mba,
*/
extern errlHndl_t startScrub();
+#ifdef CONFIG_ENABLE_CHECKSTOP_ANALYSIS
+
+/**
+ * @brief Analyzes system checkstop errors based on information stored in PNOR
+ * by the OCC.
+ * @param i_attnType Global attention type.
+ * @param i_attnList List of chips at attention.
+ * @return Error log for system checkstop analysis.
+ *
+ * @note Before analyzing attention, this function overrides default SCOM
+ * operations to read from the PNOR data instead of hardware. After
+ * analysis, it restores default SCOM operation to hardware.
+ */
+extern errlHndl_t analyzeCheckStop( ATTENTION_VALUE_TYPE i_attnType,
+ const AttnList & i_attnList );
+
+#endif // CONFIG_ENABLE_CHECKSTOP_ANALYSIS
+
} // end namespace PRDF
#endif // __prdfMain_ipl_H
OpenPOWER on IntegriCloud