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 _______________________________________________ kexec mailing list kexec@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/kexec