Skip to content

RFC Preserve TPM log across kexec

Stefan Berger linux-devicetree linux-integrity linuxppc-dev lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest3 patches 11 repliesIn review
  2. v12 patches 26 repliesSuperseded

Changes in v2 from the cover letter

- Added DT bindings patch (2/3)
- Reformulated commit messages and addded Fixes tags
- Follow Michael's suggestion on prom_init patch (1/3)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3powerpc/prom_init: Replace linux,sml-base/sml-size with linux,sml-logarch/powerpc/kernel/prom_init.c+19 -84 replies
2/3dt-bindings: tpm: Add linux,sml-log to ibm,vtpm.yamlDocumentation/devicetree/bindings/tpm/ibm,vtpm.yaml Documentation/devicetree/bindings/tpm/tpm-common.yaml+31 -33 replies
3/3tpm: of: If available use linux,sml-log to get the log and its sizedrivers/char/tpm/eventlog/of.c+11 -254 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [RFC PATCH v2 0/3] Preserve TPM log across kexec

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(-)
Signature · 1 line
2.43.0