summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2017-02-20 13:38:11 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-02-27 12:07:58 -0500
commit07ffd49282c2f41ba113e5e644494b877c6e7903 (patch)
tree22edb7ccd5f798844715b40edae3eeb4d4c0d3f0
parent02d4d3681aae58b7f37ad1d6510975dde1fc5543 (diff)
downloadtalos-hostboot-07ffd49282c2f41ba113e5e644494b877c6e7903.tar.gz
talos-hostboot-07ffd49282c2f41ba113e5e644494b877c6e7903.zip
Add traces to debug crash in set_voltages
More data to help debug SW380025 Change-Id: I4bcbf546e538c84e601d1719700d55654b90095d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36808 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
-rw-r--r--src/usr/isteps/hbToHwsvVoltageMsg.C10
-rw-r--r--src/usr/isteps/istep08/call_host_set_voltages.C4
2 files changed, 10 insertions, 4 deletions
diff --git a/src/usr/isteps/hbToHwsvVoltageMsg.C b/src/usr/isteps/hbToHwsvVoltageMsg.C
index ab9d47029..e235ab35d 100644
--- a/src/usr/isteps/hbToHwsvVoltageMsg.C
+++ b/src/usr/isteps/hbToHwsvVoltageMsg.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2012,2016 */
+/* Contributors Listed Below - COPYRIGHT 2012,2017 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -908,6 +908,7 @@ errlHndl_t platform_adjust_vddr_post_dram_init()
////////////////////////////////////////////////////////////////////////////////
errlHndl_t platform_set_nest_voltages()
{
+ TRACFCOMP(g_trac_volt, "platform_set_nest_voltages>" );
errlHndl_t l_err = nullptr;
TARGETING::TargetHandleList l_procList;
@@ -970,12 +971,14 @@ errlHndl_t platform_set_nest_voltages()
} // Processor Loop
+ TRACFCOMP(g_trac_volt,
+ "%d requests before removing dupes", l_requests.size());
//Remove duplicate records and requests with invalid voltages
removeExtraRequests( l_requests,
l_requestType,
l_procList.size() );
- TRACDCOMP(g_trac_volt,
+ TRACFCOMP(g_trac_volt,
"platform_set_nest_voltages - Sending %d requests", l_requests.size());
@@ -985,7 +988,7 @@ errlHndl_t platform_set_nest_voltages()
size_t l_requestsSize = l_requests.size();
for( size_t i = 0; i < l_requestsSize ; i++ )
{
- TRACDCOMP(g_trac_volt,
+ TRACFCOMP(g_trac_volt,
"Rail data: domain = 0x%x, domainId = %d, mV = %d",
l_requests.at(i).domain,
l_requests.at(i).domainId,
@@ -1004,6 +1007,7 @@ errlHndl_t platform_set_nest_voltages()
}
+ TRACFCOMP(g_trac_volt, "<platform_set_nest_voltages" );
return l_err;
}
diff --git a/src/usr/isteps/istep08/call_host_set_voltages.C b/src/usr/isteps/istep08/call_host_set_voltages.C
index ed74d1eec..dfa4a0c80 100644
--- a/src/usr/isteps/istep08/call_host_set_voltages.C
+++ b/src/usr/isteps/istep08/call_host_set_voltages.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2016 */
+/* Contributors Listed Below - COPYRIGHT 2016,2017 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -95,6 +95,8 @@ void* call_host_set_voltages(void *io_pArgs)
errlCommit( l_err, HWPF_COMP_ID );
l_noError = false;
}
+
+ TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, "Done with p9_setup_evid" );
} // Processor Loop
if( l_noError )
OpenPOWER on IntegriCloud