Skip to content

Commit

Permalink
Flush TMP Daemon Traces Prior to Shutdown
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ilya Smirnov authored and dcrowell77 committed Mar 15, 2018
1 parent c3364df commit ec64546
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/usr/isteps/istep21/call_host_start_payload.C
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit ec64546

Please sign in to comment.