diff options
author | Dan Crowell <dcrowell@us.ibm.com> | 2017-11-27 10:24:27 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-04-13 12:33:21 -0400 |
commit | 21080c6885b10977d4a1fe51e2dba79cb67d26c8 (patch) | |
tree | 8d72c6c5b363788968bb47c8b67a9e8577b6dd83 /src/usr/initservice/istepdispatcher | |
parent | afb0e6a438eeda79822dd1dde73b98e6a87fde5b (diff) | |
download | talos-hostboot-21080c6885b10977d4a1fe51e2dba79cb67d26c8.tar.gz talos-hostboot-21080c6885b10977d4a1fe51e2dba79cb67d26c8.zip |
Log Hostboot state information in all error logs
Add the Istep number and substep number to Hostboot Error Logs
to assist in problem debug. These items will be added as a user
data record to all Hostboot Error Logs prior to Runtime.
Change-Id: Ib5d269f3c1853d6d6856669744630dc130fa7094
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54764
Reviewed-by: Martin Gloff <mgloff@us.ibm.com>
Reviewed-by: Matt Derksen <mderkse1@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@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.C | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/usr/initservice/istepdispatcher/istepdispatcher.C b/src/usr/initservice/istepdispatcher/istepdispatcher.C index 56be31a44..0cebd9cea 100644 --- a/src/usr/initservice/istepdispatcher/istepdispatcher.C +++ b/src/usr/initservice/istepdispatcher/istepdispatcher.C @@ -46,6 +46,7 @@ #include <initservice/isteps_trace.H> // ISTEPS_TRACE buffer #include <initservice/initsvcudistep.H> // InitSvcUserDetailsIstep #include <initservice/taskargs.H> // TASK_ENTRY_MACRO +#include <initservice/initserviceif.H> #include <targeting/common/targetservice.H> #include <targeting/attrsync.H> #include <fapi2/plat_attr_override_sync.H> @@ -838,6 +839,9 @@ errlHndl_t IStepDispatcher::doIstep(uint32_t i_istep, errlHndl_t err = NULL; o_doReconfig = false; + INITSERVICE::ShadowIstepData( static_cast<uint8_t>(i_istep), + static_cast<uint8_t>(i_substep) ); + // Get the Task Info for this step const TaskInfo * theStep = findTaskInfo(i_istep, i_substep); |