[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b6f74cd0-d1c8-4a6f-a05d-364595c5b079@linux.ibm.com>
Date: Wed, 6 Mar 2024 11:08:20 -0500
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
Subject: Re: [PATCH 0/2] Preserve TPM log across kexec
On 3/6/24 10:55, Stefan Berger wrote:
> 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.
>
FYI: This was the previous attempt that didn't work with the older kexec
syscall:
https://lore.kernel.org/lkml/4afde78d-e138-9eee-50e0-dbd32f4dcfe0@linux.ibm.com/T/#m158630d214837e41858b03d4b025e6f96cb8f251
> Regards,
> Stefan
>
> Stefan Berger (2):
> powerpc/prom_init: Replace linux,sml-base/sml-size with linux,sml-log
> tpm: of: If available Use linux,sml-log to get the log and its size
>
> arch/powerpc/kernel/prom_init.c | 8 ++------
> drivers/char/tpm/eventlog/of.c | 36 ++++++++++-----------------------
> 2 files changed, 13 insertions(+), 31 deletions(-)
>
Powered by blists - more mailing lists