diff options
author | Zane Shelley <zshelle@us.ibm.com> | 2015-02-19 17:22:35 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2015-02-27 23:28:24 -0600 |
commit | 67d0c761b1cb25b4df27b7ea794352aa2bb40e36 (patch) | |
tree | 83d495d47586e34f6bc49b940a01266ab3da70c4 /src/usr/hwas | |
parent | 523eee133dbccc9ff056c9199c94c126f36b2336 (diff) | |
download | talos-hostboot-67d0c761b1cb25b4df27b7ea794352aa2bb40e36.tar.gz talos-hostboot-67d0c761b1cb25b4df27b7ea794352aa2bb40e36.zip |
Add ATTN call to analyze previous IPL checkstop in istep 6.6
Change-Id: I389677db781a903949f41a675dec1c1e590487ee
RTC: 119837
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15581
Tested-by: Jenkins Server
Reviewed-by: Bilicon Patil <bilpatil@in.ibm.com>
Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com>
Reviewed-by: Christopher T. Phan <cphan@us.ibm.com>
Reviewed-by: Zane Shelley <zshelle@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwas')
-rw-r--r-- | src/usr/hwas/hostbootIstep.C | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/src/usr/hwas/hostbootIstep.C b/src/usr/hwas/hostbootIstep.C index aac405105..9df0c4390 100644 --- a/src/usr/hwas/hostbootIstep.C +++ b/src/usr/hwas/hostbootIstep.C @@ -39,6 +39,7 @@ #include <fsi/fsiif.H> #include <initservice/taskargs.H> #include <initservice/isteps_trace.H> +#include <initservice/initserviceif.H> #include <hwpisteperror.H> #include <targeting/attrsync.H> @@ -69,8 +70,14 @@ #include <ipmi/ipmisensor.H> #include <ipmi/ipmifruinv.H> + +// Custom compile configs #include <config.h> +#ifdef CONFIG_ENABLE_CHECKSTOP_ANALYSIS + #include <diag/attn/attn.H> +#endif + namespace HWAS { @@ -208,11 +215,26 @@ void* host_gard( void *io_pArgs ) errlHndl_t errl; do { - // Check whether we're in MPIPL mode TARGETING::Target* l_pTopLevel = NULL; targetService().getTopLevelTarget( l_pTopLevel ); HWAS_ASSERT(l_pTopLevel, "HWAS host_gard: no TopLevelTarget"); + #ifdef CONFIG_ENABLE_CHECKSTOP_ANALYSIS + + TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, + INFO_MRK"host_gard: invoke PRD to check for previous CS" ); + + errl = ATTN::checkForCSAttentions(); + if ( NULL != errl ) + { + TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, + ERR_MRK"host_gard: error from checkForCSAttentions" ); + errlCommit(errl, HWPF_COMP_ID); + } + + #endif + + // Check whether we're in MPIPL mode if (l_pTopLevel->getAttr<ATTR_IS_MPIPL_HB>()) { TRACFCOMP(ISTEPS_TRACE::g_trac_isteps_trace, "MPIPL mode"); |