[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240311132030.1103122-1-stefanb@linux.ibm.com>
Date: Mon, 11 Mar 2024 09:20:27 -0400
From: Stefan Berger <stefanb@...ux.ibm.com>
To: mpe@...erman.id.au, linux-integrity@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org
Cc: linux-kernel@...r.kernel.org, jarkko@...nel.org, rnsastry@...ux.ibm.com,
peterhuewe@....de, viparash@...ibm.com, devicetree@...r.kernel.org,
jsnitsel@...hat.com, Stefan Berger <stefanb@...ux.ibm.com>
Subject: [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(-)
--
2.43.0
Powered by blists - more mailing lists