[RFC PATCH v2 0/3] Preserve TPM log across kexec
Stefan Berger
stefanb at linux.ibm.com
Tue Mar 12 00:20:27 AEDT 2024
This series resolves an issue on PowerVM and KVM on Power where the memory
the TPM log was held in may become inaccessible or corrupted after a kexec
soft reboot. The solution on these two platforms is to store the whole log
in the device tree because the device tree is preserved across a kexec with
either of the two kexec syscalls.
Regards,
Stefan
v2:
- Added DT bindings patch (2/3)
- Reformulated commit messages and addded Fixes tags
- Follow Michael's suggestion on prom_init patch (1/3)
Stefan Berger (3):
powerpc/prom_init: Replace linux,sml-base/sml-size with linux,sml-log
dt-bindings: tpm: Add linux,sml-log to ibm,vtpm.yaml
tpm: of: If available use linux,sml-log to get the log and its size
.../devicetree/bindings/tpm/ibm,vtpm.yaml | 20 +++++++++--
.../devicetree/bindings/tpm/tpm-common.yaml | 14 +++++++-
arch/powerpc/kernel/prom_init.c | 27 +++++++++-----
drivers/char/tpm/eventlog/of.c | 36 ++++++-------------
4 files changed, 61 insertions(+), 36 deletions(-)
--
2.43.0
More information about the Linuxppc-dev
mailing list