[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191105082924.289-1-kong.kongxinwei@hisilicon.com>
Date: Tue, 5 Nov 2019 16:29:24 +0800
From: Xinwei Kong <kong.kongxinwei@...ilicon.com>
To: <ard.biesheuvel@...aro.org>, <mingo@...nel.org>, <will@...nel.org>,
<kstewart@...uxfoundation.org>, <tglx@...utronix.de>,
<steve.capper@....com>, <linux-efi@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
CC: <linuxarm@...wei.com>, <zoucao@...ux.alibaba.com>,
<kong.kongxinwei@...ilicon.com>
Subject: [PATCH] EFI/stub: tpm: enable tpm eventlog function for ARM64 platform
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.
Signed-off-by: Xinwei Kong <kong.kongxinwei@...ilicon.com>
Signed-off-by: Zou Cao <zoucao@...ux.alibaba.com>
---
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..37c8f81 100644
--- a/drivers/firmware/efi/libstub/arm-stub.c
+++ b/drivers/firmware/efi/libstub/arm-stub.c
@@ -139,6 +139,8 @@ unsigned long efi_entry(void *handle, efi_system_table_t *sys_table,
if (status != EFI_SUCCESS)
goto fail;
+ efi_retrieve_tpm2_eventlog(sys_table);
+
/*
* Get a handle to the loaded image protocol. This is used to get
* information about the running image, such as size and the command
--
2.7.4
Powered by blists - more mailing lists