]> asedeno.scripts.mit.edu Git - linux.git/commit
tpm: parse TPM event logs based on EFI table
authorThiebaud Weksteen <tweek@google.com>
Wed, 20 Sep 2017 08:13:40 +0000 (10:13 +0200)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Mon, 8 Jan 2018 10:58:35 +0000 (12:58 +0200)
commit58cc1e4faf10a73c4302825ffd37a47d410fc1b5
tree11116081f88d7715e754baafe565603398fca5fe
parent33b6d03469b2206fb51ecc37f40411a857ad8fff
tpm: parse TPM event logs based on EFI table

If we are not able to retrieve the TPM event logs from the ACPI table,
check the EFI configuration table (Linux-specific GUID).

The format version of the log is now returned by the provider function.

Signed-off-by: Thiebaud Weksteen <tweek@google.com>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Tested-by: Javier Martinez Canillas <javierm@redhat.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
drivers/char/tpm/Makefile
drivers/char/tpm/tpm.h
drivers/char/tpm/tpm1_eventlog.c
drivers/char/tpm/tpm_eventlog_acpi.c
drivers/char/tpm/tpm_eventlog_efi.c [new file with mode: 0644]
drivers/char/tpm/tpm_eventlog_of.c