Pull request for tpm-master-24062024

Ilias Apalodimas ilias.apalodimas at linaro.org
Mon Jun 24 14:29:56 CEST 2024


Hi Tom,

A few last minutes fixes for EFI, but this time via the TPM tree

The following changes since commit fe2ce09a0753634543c32cafe85eb87a625f76ca:

  Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-watchdog (2024-06-18 08:34:56 -0600)

are available in the Git repository at:

  https://source.denx.de/u-boot/custodians/u-boot-tpm/ tags/tpm-master-24062024

for you to fetch changes up to b73948c785d2bbccf0a76dec92cf50fe5b408c0e:

  efi_loader: fix the return values on efi_tcg (2024-06-24 08:38:06 +0300)

The CI is here https://source.denx.de/u-boot/custodians/u-boot-tpm/-/pipelines/21309
and showed no problems.

I also tested measured booot looking at the EventLog pre/post patch. No changes
apart from PCR0 which is expected to change

----------------------------------------------------------------
When the EFI TCG measurement code moved from EFI to the TPM subsystem for
general use some prototypes changed from returning efi_status_t to int,
which is more appropriate for the non-EFI APIs. However, some of the
EFI callsites never changed and we ended up assigning the int value to
efi_status_t.

This is unlikely to cause any problems, apart from returning invalid
values on failures and violating the EFI spec.

----------------------------------------------------------------
Ilias Apalodimas (2):
      tpm: fix the return code, if the eventlog buffer is full
      efi_loader: fix the return values on efi_tcg

 lib/efi_loader/efi_tcg2.c | 126 +++++++++++++++++++++++++---------------------
 lib/tpm-v2.c              |   2 +-
 2 files changed, 70 insertions(+), 58 deletions(-)


More information about the U-Boot mailing list