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

2022-06-28 Thread kernel test robot
Hi Stefan, Thank you for the patch! Yet something to improve: [auto build test ERROR on char-misc/char-misc-testing] [also build test ERROR on linus/master v5.19-rc4 next-20220628] [cannot apply to robh/for-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when sub

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

2022-06-16 Thread kernel test robot
Hi Stefan, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on char-misc/char-misc-testing] [also build test WARNING on linus/master v5.19-rc2 next-20220616] [cannot apply to robh/for-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And

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

2022-06-16 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