summaryrefslogtreecommitdiffstats
path: root/src/usr/isteps
diff options
context:
space:
mode:
authorIlya Smirnov <ismirno@us.ibm.com>2018-03-13 13:49:40 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-03-15 17:02:49 -0400
commitec645465cdaedf15c7b358800b222be1fbd6fd7b (patch)
treeeb0a8a8e252bc9fe342cff9e984332425f4f9146 /src/usr/isteps
parentc3364dfd26504e19fe144362f813ae0c633b9f7e (diff)
downloadtalos-hostboot-ec645465cdaedf15c7b358800b222be1fbd6fd7b.tar.gz
talos-hostboot-ec645465cdaedf15c7b358800b222be1fbd6fd7b.zip
Flush TMP Daemon Traces Prior to Shutdown
We need to make sure that the TMP daemon message queue is flushed prior to shutting down the daemon. A way to do that is to send the extend separator message synchronously. That will allow for all of the traces to be logged prior to shutdown. Change-Id: Ia025e6cccbe34bbfc086f2b7213e10d4b8cf14e7 RTC:188959 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55792 Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@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/isteps')
-rw-r--r--src/usr/isteps/istep21/call_host_start_payload.C6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/usr/isteps/istep21/call_host_start_payload.C b/src/usr/isteps/istep21/call_host_start_payload.C
index eba79e0f5..f51073803 100644
--- a/src/usr/isteps/istep21/call_host_start_payload.C
+++ b/src/usr/isteps/istep21/call_host_start_payload.C
@@ -193,8 +193,10 @@ void* call_host_start_payload (void *io_pArgs)
do{
// Place a separator in the TPM to indicate we are passing control
- // to the next level of firmware in the stack
- l_errl = TRUSTEDBOOT::pcrExtendSeparator();
+ // to the next level of firmware in the stack. Send the synchronous
+ // message to make sure that the traces are flushed prior to the daemon
+ // shutdown.
+ l_errl = TRUSTEDBOOT::pcrExtendSeparator(false);
if(l_errl)
{
OpenPOWER on IntegriCloud