[SLOF] [PATCH 0/2] tcgbios: Fix 2 issues related to handling of GPT table

Gary Lin glin at suse.com
Tue Mar 25 17:43:27 AEDT 2025


On Mon, Mar 24, 2025 at 01:29:01PM -0400, Stefan Berger wrote:
> From: Stefan Berger <stefanb at linux.ibm.com>
> 
> This series fixes the following 2 issues related to the handling of the
> GPT table:
> 
> - The endianess of NumberOfPartitions was wrong in the measurement log
> - Remove the reserved data array from UEFI_PARTITION_TABLE_HEADER and
>   log and measure exactly the size of the UEFI partition table header
>   (92 bytes)
> 
These two patches work for me. Now I can rebuild the EFI GPT event
without workarounds for SLOF.

For these two patches:
Tested-by: Gary Lin <glin at suse.com>

Thanks,

Gary Lin

> Regards,
>    Stefan
> 
>   
> 
> Stefan Berger (2):
>   tcgbios: Fix endianess of NumberOfPartitions
>   tcgbios: Only measure size indicated in UEFI partition table header
> 
>  lib/libtpm/tcgbios.c     | 33 ++++++++++++++++++++++++++-------
>  lib/libtpm/tcgbios_int.h |  1 -
>  2 files changed, 26 insertions(+), 8 deletions(-)
> 
> -- 
> 2.25.1
> 


More information about the SLOF mailing list