From 67d0c761b1cb25b4df27b7ea794352aa2bb40e36 Mon Sep 17 00:00:00 2001 From: Zane Shelley Date: Thu, 19 Feb 2015 17:22:35 -0600 Subject: 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 Reviewed-by: Prem Shanker Jha Reviewed-by: Christopher T. Phan Reviewed-by: Zane Shelley Reviewed-by: Sachin Gupta Reviewed-by: A. Patrick Williams III --- src/usr/hwas/hostbootIstep.C | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'src/usr/hwas/hostbootIstep.C') 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 #include #include +#include #include #include @@ -69,8 +70,14 @@ #include #include + +// Custom compile configs #include +#ifdef CONFIG_ENABLE_CHECKSTOP_ANALYSIS + #include +#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()) { TRACFCOMP(ISTEPS_TRACE::g_trac_isteps_trace, "MPIPL mode"); -- cgit v1.2.1