mirror of
https://github.com/linuxboot/heads.git
synced 2025-02-21 17:36:43 +00:00
tpmr: Add missing traces to tpm2_kexec_finalize, tpm2_shutdown
Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
This commit is contained in:
parent
c62b96b4a6
commit
8d834f649d
@ -467,6 +467,8 @@ tpm2_reset() {
|
|||||||
|
|
||||||
# Perform final cleanup before boot and lock the platform heirarchy.
|
# Perform final cleanup before boot and lock the platform heirarchy.
|
||||||
tpm2_kexec_finalize() {
|
tpm2_kexec_finalize() {
|
||||||
|
TRACE "Under /bin/tpmr:tpm2_kexec_finalize"
|
||||||
|
|
||||||
# Flush sessions and transient objects
|
# Flush sessions and transient objects
|
||||||
tpm2 flushcontext -Q --transient-object \
|
tpm2 flushcontext -Q --transient-object \
|
||||||
|| warn "tpm2_flushcontext: unable to flush transient handles"
|
|| warn "tpm2_flushcontext: unable to flush transient handles"
|
||||||
@ -485,6 +487,8 @@ tpm2_kexec_finalize() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tpm2_shutdown() {
|
tpm2_shutdown() {
|
||||||
|
TRACE "Under /bin/tpmr:tpm2_shutdown"
|
||||||
|
|
||||||
# Prepare for shutdown.
|
# Prepare for shutdown.
|
||||||
# This is a "clear" shutdown (do not preserve runtime state) since we
|
# This is a "clear" shutdown (do not preserve runtime state) since we
|
||||||
# are not going to resume later, we are powering off (or rebooting).
|
# are not going to resume later, we are powering off (or rebooting).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user