Re: [PATCH v3] tpm: Add support for event log pointer found in TPM2 ACPI table

From: Stefan Berger
Date: Wed Apr 01 2020 - 08:20:36 EST


On 4/1/20 4:49 AM, Jarkko Sakkinen wrote:
On Tue, Mar 31, 2020 at 05:51:00PM -0400, Stefan Berger wrote:
From: Stefan Berger <stefanb@xxxxxxxxxxxxx>

In case a TPM2 is attached, search for a TPM2 ACPI table when trying
to get the event log from ACPI. If one is found, use it to get the
start and length of the log area. This allows non-UEFI systems, such
as SeaBIOS, to pass an event log when using a TPM2.

Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxxxxx>
Check the kbuild bot complain. I think otherwise this is sustainable.
Thank you.
The kbuild bot did this due to the split of the patch series...

Does stock QEMU have all the support to test this?


Yes. You need SeaBIOS.


ÂÂ Stefan



/Jarkko