[PATCH 2/2] tpm: of: If available Use linux,sml-log to get the log and its size

Stefan Berger stefanb at linux.ibm.com
Fri Mar 8 02:00:53 AEDT 2024



On 3/7/24 05:42, Michael Ellerman wrote:
> Stefan Berger <stefanb at linux.ibm.com> writes:
>> If linux,sml-log is available use it to get the TPM log rather than the
>> pointer found in linux,sml-base. This resolves an issue on PowerVM and KVM
>> on Power where after a kexec the memory pointed to by linux,sml-base may
>> have been corrupted. Also, linux,sml-log has replaced linux,sml-base and
>> linux,sml-size on these two platforms.
> 
> It would be good to mention that powernv platforms (sometimes called
> Open Power or bare metal) still use linux,sml-base/size, via skiboot.

Will do in v2.


More information about the Linuxppc-dev mailing list