Re: [PATCH v6 6/6] tpm/kexec: Duplicate TPM measurement log in of-tree for kexec

2022-07-20 Thread Nageswara R Sastry
m.com; Nageswara R Sastry; m...@ellerman.id.au; Stefan > Berger; Rob Herring; Frank Rowand; Eric Biederman > Subject: [PATCH v6 6/6] tpm/kexec: Duplicate TPM measurement log in of-tree > for kexec > The memory area of the TPM measurement log is currently not properly > duplicated for

[PATCH v6 6/6] tpm/kexec: Duplicate TPM measurement log in of-tree for kexec

2022-07-07 Thread Stefan Berger
The memory area of the TPM measurement log is currently not properly duplicated for carrying it across kexec when an Open Firmware Devicetree is used. Therefore, the contents of the log get corrupted. Fix this for the kexec_file_load() syscall by allocating a buffer and copying the contents of the