From 743f25e1fef314f59f0ad9476a128e1cd2eea30a Mon Sep 17 00:00:00 2001 From: Bill Schwartz Date: Thu, 12 Jun 2014 11:35:29 -0500 Subject: Change IPL behavior dealing from errors in proc_enable_reconfig Don't keep calling proc_enable_reconfig. Treat as an unexpected unrecoverable error and terminate the IPL. Change-Id: Ic8ac448a4e000fbd7d42686a9352adc3f0e8e85e CQ: SW262889 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11577 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell Reviewed-by: STEPHEN M. CPREK Reviewed-by: A. Patrick Williams III --- src/usr/hwas/hostbootIstep.C | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/src/usr/hwas/hostbootIstep.C b/src/usr/hwas/hostbootIstep.C index 018d6cd7b..cd9a4f455 100644 --- a/src/usr/hwas/hostbootIstep.C +++ b/src/usr/hwas/hostbootIstep.C @@ -334,27 +334,28 @@ void* host_prd_hwreconfig( void *io_pArgs ) if (errl) { TRACFCOMP(ISTEPS_TRACE::g_trac_isteps_trace, - "ERROR 0x%.8X: proc_enable_reconfig HWP returns error", + "ERROR 0x%.8X: proc_enable_reconfig HWP returns error", errl->reasonCode()); // Capture the target data in the elog ERRORLOG::ErrlUserDetailsTarget(l_pMcs).addToLog( errl ); - // Create IStep error log and cross reference error that occurred + //Create IStep error log and cross reference error that occurred l_stepError.addErrorDetails(errl); // Commit Error errlCommit(errl, HWPF_COMP_ID); + + // Don't keep calling proc_enable_reconfig. Treat as a fatal + // unexpected unrecoverable error and terminate the IPL. + break ; // break with error } - else - { - // Success - TRACFCOMP(ISTEPS_TRACE::g_trac_isteps_trace, - "Successfully ran proc_enable_reconfig HWP on " - "MCS target HUID %.8X CENTAUR target HUID %.8X", - l_currMcsHuid, - l_currCentaurHuid); - } + // Success + TRACFCOMP(ISTEPS_TRACE::g_trac_isteps_trace, + "Successfully ran proc_enable_reconfig HWP on " + "MCS target HUID %.8X CENTAUR target HUID %.8X", + l_currMcsHuid, + l_currCentaurHuid); } } while(0); -- cgit v1.2.1