summaryrefslogtreecommitdiffstats
path: root/src/usr/util
diff options
context:
space:
mode:
authorChristian Geddes <crgeddes@us.ibm.com>2018-04-12 17:53:51 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-04-18 17:22:33 -0400
commit3c368848cf5e4ac3d585f3a56e7131fca08e88cb (patch)
treefcff4845545698a91655f858f68740add0a9f500 /src/usr/util
parent2d3cfebc29cc581d61719bf778fe06804024f0b3 (diff)
downloadtalos-hostboot-3c368848cf5e4ac3d585f3a56e7131fca08e88cb.tar.gz
talos-hostboot-3c368848cf5e4ac3d585f3a56e7131fca08e88cb.zip
Add recovery summary traces for sbeAttemptRecovery for FSP runtime
Previously you had to look at other traces, or decipher to binary trace to determine if the sbe was recovered or not, this commit adds clear traces after the recover effort is done to tell whether it was successful or not. Change-Id: I17ce4de2f7e1168409758ca0ef1a5eaa044d6728 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57146 CI-Ready: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@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: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/util')
-rw-r--r--src/usr/util/runtime/rt_fwnotify.C2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/usr/util/runtime/rt_fwnotify.C b/src/usr/util/runtime/rt_fwnotify.C
index 6f9a02cbc..5515563b6 100644
--- a/src/usr/util/runtime/rt_fwnotify.C
+++ b/src/usr/util/runtime/rt_fwnotify.C
@@ -182,11 +182,13 @@ void sbeAttemptRecovery(uint64_t i_data)
// Set msgType based on recovery success or failure (If sbe made it back to runtime)
if (l_SBEobj.isSbeAtRuntime())
{
+ TRACFCOMP(g_trac_runtime, "sbeAttemptRecovery: RECOVERY_SUCCESS");
l_req_fw_msg.generic_msg.msgType =
GenericFspMboxMessage_t::MSG_SBE_RECOVERY_SUCCESS;
}
else
{
+ TRACFCOMP(g_trac_runtime, "sbeAttemptRecovery: RECOVERY_FAILED");
l_req_fw_msg.generic_msg.msgType =
GenericFspMboxMessage_t::MSG_SBE_RECOVERY_FAILED;
}
OpenPOWER on IntegriCloud