[PATCH 0/3] tpm: Preserve TPM measurement log across kexec
Stefan Berger
stefanb at linux.ibm.com
Tue Jun 14 09:12:55 PDT 2022
The current of-tree driver does not currently preserve the vTPM 1.2 and
vTPM 2.0 measurement log across a kexec. This series fixes this for the
kexec_file_load() syscall using the flattened device tree (fdt) to
carry the measurement log's buffer across kexec.
Stefan
Stefan Berger (3):
of: kexec: Refactor IMA buffer related functions to make them reusable
tpm/kexec: Duplicate TPM measurement log in of-tree for kexec
tpm: of: Call of_tpm_get_sml_parameters() to get base and size of log
drivers/char/tpm/eventlog/of.c | 31 +---
drivers/of/device.c | 24 +++
drivers/of/kexec.c | 284 +++++++++++++++++++++++++++++----
include/linux/kexec.h | 6 +
include/linux/of.h | 5 +
include/linux/of_device.h | 3 +
kernel/kexec_file.c | 6 +
7 files changed, 298 insertions(+), 61 deletions(-)
--
2.35.1
More information about the kexec
mailing list