Re: [PATCH 4/5] efi/libstub/tpm: Retrieve TPM event log in 2.0 format

From: Jarkko Sakkinen
Date: Wed Feb 13 2019 - 06:26:49 EST


On Mon, Feb 11, 2019 at 03:30:51PM +0100, bsz@xxxxxxxxxxxx wrote:
> From: Bartosz Szczepanek <bsz@xxxxxxxxxxxx>
>
> Currently, the only way to get TPM 2.0 event log from firmware is to use
> device tree. Introduce efi_retrieve_tpm2_eventlog_2 function to enable
> retrieving it from EFI structures.
>
> Include lib/tpm.c into EFI stub to calculate event sizes using helper
> function.
>
> Signed-off-by: Bartosz Szczepanek <bsz@xxxxxxxxxxxx>

Collides with Matthew's changes. I want to land those change first
because they are almost production ready.

Maybe you should consider reviewing those changes to make sure that
they make sense to you so that you can build these on top of after
these have landed.

There is not rush as I already made my v5.1 PR. These will be released
earliest in v5.2.

/Jarkko