summaryrefslogtreecommitdiffstats
path: root/src/usr/initservice/istepdispatcher
diff options
context:
space:
mode:
authorDzuy Nguyen <dzuy@us.ibm.com>2017-08-22 14:49:45 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-09-05 17:03:00 -0400
commit300c8ba1907470f2271092c216159820a2712266 (patch)
tree84b5c08c66619f20a163ff78e5e891910609dccf /src/usr/initservice/istepdispatcher
parent475a32142cf454551b450a66a7e3aaaeafd8b9da (diff)
downloadtalos-hostboot-300c8ba1907470f2271092c216159820a2712266.tar.gz
talos-hostboot-300c8ba1907470f2271092c216159820a2712266.zip
Synch Attributes to FSP on istep failure
Change-Id: I937fca299e6cd659387a539d635cea46d516602a RTC: 171886 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44999 Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/initservice/istepdispatcher')
-rw-r--r--src/usr/initservice/istepdispatcher/istepdispatcher.C17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/usr/initservice/istepdispatcher/istepdispatcher.C b/src/usr/initservice/istepdispatcher/istepdispatcher.C
index 8c0db6bcb..97f90c7fc 100644
--- a/src/usr/initservice/istepdispatcher/istepdispatcher.C
+++ b/src/usr/initservice/istepdispatcher/istepdispatcher.C
@@ -881,7 +881,7 @@ errlHndl_t IStepDispatcher::doIstep(uint32_t i_istep,
if(l_errl)
{
TRACFCOMP(g_trac_initsvc, ERR_MRK"doIstep: sync attributes"
- " failed see %x for details", l_errl->eid());
+ " failed, see 0x%08X for details", l_errl->eid());
errlCommit(l_errl, INITSVC_COMP_ID);
}
}
@@ -891,6 +891,21 @@ errlHndl_t IStepDispatcher::doIstep(uint32_t i_istep,
{
TRACFCOMP(g_trac_initsvc, ERR_MRK"doIstep: Istep failed, plid 0x%x",
err->plid());
+
+ // istep fails, sync attributes to FSP
+ if( INITSERVICE::spBaseServicesEnabled() )
+ {
+ TRACFCOMP(g_trac_initsvc, ERR_MRK"doIstep, Sync attributes to FSP");
+ errlHndl_t l_errl = TARGETING::syncAllAttributesToFsp();
+
+ if(l_errl)
+ {
+ TRACFCOMP(g_trac_initsvc, ERR_MRK"doIstep: Attribute syncing"
+ " failed see 0x%08X for details", l_errl->eid());
+ l_errl->setSev(ERRORLOG::ERRL_SEV_INFORMATIONAL);
+ errlCommit(l_errl, INITSVC_COMP_ID);
+ }
+ }
}
// Check for any attentions and invoke PRD for analysis
OpenPOWER on IntegriCloud