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

From: Stefan Berger
Date: Mon Jul 06 2020 - 19:55:31 EST


On 7/6/20 7:09 PM, Jarkko Sakkinen wrote:
On Mon, Jul 06, 2020 at 02:19:53PM -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>
Do you think that QEMU with TPM 1.2 emulator turned on would be a viable
way to test this?


Yes.



I'm anyway more worried about breaking existing TPM 1.2 functionality
and that requires only QEMU without extras.

/Jarkko