[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAKv+Gu9vwDGeCrNYFEbQC0f6kLN1oEiKx9AjA9UpvHm1Q-0nSg@mail.gmail.com>
Date: Thu, 7 Nov 2019 10:20:19 +0100
From: Ard Biesheuvel <ard.biesheuvel@...aro.org>
To: Xinwei Kong <kong.kongxinwei@...ilicon.com>
Cc: Ingo Molnar <mingo@...nel.org>, Will Deacon <will@...nel.org>,
Kate Stewart <kstewart@...uxfoundation.org>,
Thomas Gleixner <tglx@...utronix.de>,
Steve Capper <steve.capper@....com>,
linux-efi <linux-efi@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linuxarm <linuxarm@...wei.com>, zoucao@...ux.alibaba.com
Subject: Re: [PATCH V2] EFI/stub: tpm: enable tpm eventlog function for ARM64 platform
On Thu, 7 Nov 2019 at 09:23, Xinwei Kong <kong.kongxinwei@...ilicon.com> wrote:
>
> this patch gets tpm eventlog information such as device boot status,event guid
> and so on, which will be from bios stage. it use "efi_retrieve_tpm2_eventlog"
> functions to get it for ARM64 platorm.
>
> Tested-by: Zou Cao <zoucao@...ux.alibaba.com>
> Signed-off-by: Xinwei Kong <kong.kongxinwei@...ilicon.com>
Thanks. I'll queue this up.
> ---
> drivers/firmware/efi/libstub/arm-stub.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/firmware/efi/libstub/arm-stub.c b/drivers/firmware/efi/libstub/arm-stub.c
> index c382a48..817237c 100644
> --- a/drivers/firmware/efi/libstub/arm-stub.c
> +++ b/drivers/firmware/efi/libstub/arm-stub.c
> @@ -189,6 +189,8 @@ unsigned long efi_entry(void *handle, efi_system_table_t *sys_table,
> goto fail_free_cmdline;
> }
>
> + efi_retrieve_tpm2_eventlog(sys_table);
> +
> /* Ask the firmware to clear memory on unclean shutdown */
> efi_enable_reset_attack_mitigation(sys_table);
>
> --
> 2.7.4
>
Powered by blists - more mailing lists