diff options
author | Matt Derksen <mderkse1@us.ibm.com> | 2018-08-28 10:59:25 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-09-12 10:31:05 -0500 |
commit | 7c5afbddbf0a3f795ad8404319e09a3ff00b11b8 (patch) | |
tree | dcf4b85818bc0351ddf43bdab591ec838269205f /src/usr/secureboot/trusted | |
parent | b4a7e97c1806c09f33706975f102faefcfcf5708 (diff) | |
download | talos-hostboot-7c5afbddbf0a3f795ad8404319e09a3ff00b11b8.tar.gz talos-hostboot-7c5afbddbf0a3f795ad8404319e09a3ff00b11b8.zip |
Additional tracing for shutdown events
Hit an issue where a shutdown was called but all that is
traced is a msgQ pointer. These traces should help associate the
msgQ pointer to an actual task being shutdown.
Change-Id: Ic22fdde1a146eec90f26d557e8af1ddec3c85c4e
CQ:SW443508
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65464
Reviewed-by: Christian R. Geddes <crgeddes@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: Corey V. Swenson <cswenson@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/secureboot/trusted')
-rw-r--r-- | src/usr/secureboot/trusted/trustedboot.C | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usr/secureboot/trusted/trustedboot.C b/src/usr/secureboot/trusted/trustedboot.C index b62783eda..7b06c59c9 100644 --- a/src/usr/secureboot/trusted/trustedboot.C +++ b/src/usr/secureboot/trusted/trustedboot.C @@ -1435,7 +1435,8 @@ void* tpmDaemon(void* unused) // Register shutdown events with init service. // Done at the "end" of shutdown processing. // This will flush any other messages (PCR extends) and terminate task - INITSERVICE::registerShutdownEvent(systemData.msgQ, + INITSERVICE::registerShutdownEvent(TRBOOT_COMP_ID, + systemData.msgQ, TRUSTEDBOOT::MSG_TYPE_SHUTDOWN); Message* tb_msg = nullptr; |