summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Gupta <sgupta2m@in.ibm.com>2017-09-07 08:07:28 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-09-08 18:30:23 -0400
commitc8674d7037e4ec5cb5c074f4967fd2e1e5957bf2 (patch)
treee968d898f74880718494b72b8311b7ae689ef92b
parentb786d1186c8eb4e3b6c70e38e5f24af85893ab6e (diff)
downloadtalos-hostboot-c8674d7037e4ec5cb5c074f4967fd2e1e5957bf2.tar.gz
talos-hostboot-c8674d7037e4ec5cb5c074f4967fd2e1e5957bf2.zip
Adding trace in FAPI_ASSERT
Currently HWSV does not support FAPI_ASSERT without trace. It will be fixed in HWSV. Current change is too keep making progress. Change-Id: I3aa1a6ddba441a4aa4503b9171cc4229a822cd00 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45784 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: ARAVIND T. NAIR <aravindnair@in.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: PARVATHI RACHAKONDA <prachako@in.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45787 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
-rw-r--r--src/import/chips/p9/procedures/hwp/perv/p9_extract_sbe_rc.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/import/chips/p9/procedures/hwp/perv/p9_extract_sbe_rc.C b/src/import/chips/p9/procedures/hwp/perv/p9_extract_sbe_rc.C
index 8064209aa..b86bdd2b7 100644
--- a/src/import/chips/p9/procedures/hwp/perv/p9_extract_sbe_rc.C
+++ b/src/import/chips/p9/procedures/hwp/perv/p9_extract_sbe_rc.C
@@ -155,7 +155,7 @@ fapi2::ReturnCode p9_extract_sbe_rc(const fapi2::Target<fapi2::TARGET_TYPE_PROC_
l_ppe_halt_state = false;
o_return_action = P9_EXTRACT_SBE_RC::RESTART_SBE;
FAPI_ASSERT(FAIL, fapi2::EXTRACT_SBE_RC_RUNNING()
- .set_TARGET_CHIP(i_target_chip));
+ .set_TARGET_CHIP(i_target_chip), "SBE is in running state");
}
if(l_ppe_halt_state)
@@ -769,7 +769,7 @@ fapi2::ReturnCode p9_extract_sbe_rc(const fapi2::Target<fapi2::TARGET_TYPE_PROC_
FAPI_ERR("Halted due to unknown error at IAR location %08lX", l_data32_iar);
o_return_action = P9_EXTRACT_SBE_RC::REIPL_BKP_SEEPROM;
FAPI_ASSERT(FAIL, fapi2::EXTRACT_SBE_RC_UNKNOWN_ERROR()
- .set_TARGET_CHIP(i_target_chip));
+ .set_TARGET_CHIP(i_target_chip), "SBE halted due to unknown error");
}
FAPI_INF("p9_extract_sbe_rc : Exiting ...");
OpenPOWER on IntegriCloud