[PATCH v2 1/6] efi_loader: increase eventlog buffer size

Heinrich Schuchardt xypron.glpk at gmx.de
Thu Jul 15 08:32:28 CEST 2021



On 7/14/21 3:00 PM, Masahisa Kojima wrote:
> TCG PC Client PFP spec says "The Log Area Minimum Length
> for the TCG event log MUST be at least 64KB." in ACPI chapter.
> This commit increase the buffer size to 64KB.
>
> Signed-off-by: Masahisa Kojima <masahisa.kojima at linaro.org>

Reviewed-by: Heinrich Schuchardt <xypron.glpk at gmx.de>

> ---
>
> Changes in v2:
> - increase buffer size to 64KB, it follows the minimum size
>    requirement stated in TCG spec
>
>   lib/efi_loader/Kconfig | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig
> index 156b391521..20edac6932 100644
> --- a/lib/efi_loader/Kconfig
> +++ b/lib/efi_loader/Kconfig
> @@ -326,7 +326,7 @@ config EFI_TCG2_PROTOCOL
>   config EFI_TCG2_PROTOCOL_EVENTLOG_SIZE
>   	int "EFI_TCG2_PROTOCOL EventLog size"
>   	depends on EFI_TCG2_PROTOCOL
> -	default 4096
> +	default 65536
>   	help
>   		Define the size of the EventLog for EFI_TCG2_PROTOCOL. Note that
>   		this is going to be allocated twice. One for the eventlog it self
>


More information about the U-Boot mailing list