summaryrefslogtreecommitdiffstats
path: root/src/sbefw/core/ipl.C
diff options
context:
space:
mode:
authorspashabk-in <shakeebbk@in.ibm.com>2018-02-06 01:34:00 -0600
committerSachin Gupta <sgupta2m@in.ibm.com>2018-02-12 07:43:10 -0500
commit7e9136341e34a34313ac55a6822fe1928952af61 (patch)
tree53c491fcb8c6a10f911b400e5ddfc1149cd00e3f /src/sbefw/core/ipl.C
parent55fa8007fdbbf0d0e4ab1cb0672a77d9c8b93f3d (diff)
downloadtalos-sbe-7e9136341e34a34313ac55a6822fe1928952af61.tar.gz
talos-sbe-7e9136341e34a34313ac55a6822fe1928952af61.zip
Capture rc in Async FFDC usecases
Update asyncrhonus failure to capture SBE rc Change-Id: Iaa49b106595dc9992d9642209a7e1821ff5be69d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53431 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src/sbefw/core/ipl.C')
-rw-r--r--src/sbefw/core/ipl.C7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/sbefw/core/ipl.C b/src/sbefw/core/ipl.C
index d331af59..02e2b2f3 100644
--- a/src/sbefw/core/ipl.C
+++ b/src/sbefw/core/ipl.C
@@ -24,6 +24,8 @@
/* IBM_PROLOG_END_TAG */
#include "fapi2.H"
#include "sberegaccess.H"
+#include "sbe_sp_intf.H"
+#include "sbeFFDC.H"
#include "ipl.H"
@@ -109,8 +111,9 @@ void sbeDoContinuousIpl()
SBE_ERROR(SBE_FUNC"Failed istep execution in plck mode: "
"Major: %d, Minor: %d",
istepTableEntry->istepMajorNum, step);
- (void)SbeRegAccess::theSbeRegAccess().updateAsyncFFDCBit(
- true);
+
+ captureAsyncFFDC(SBE_PRI_GENERIC_EXECUTION_FAILURE,
+ SBE_SEC_GENERIC_FAILURE_IN_EXECUTION);
// exit outer loop as well
entry = istepTable.len;
break;
OpenPOWER on IntegriCloud