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>
Showing
- drivers/char/tpm/Makefile 1 addition, 0 deletionsdrivers/char/tpm/Makefile
- drivers/char/tpm/tpm.h 8 additions, 0 deletionsdrivers/char/tpm/tpm.h
- drivers/char/tpm/tpm1_eventlog.c 9 additions, 2 deletionsdrivers/char/tpm/tpm1_eventlog.c
- drivers/char/tpm/tpm_eventlog_acpi.c 1 addition, 1 deletiondrivers/char/tpm/tpm_eventlog_acpi.c
- drivers/char/tpm/tpm_eventlog_efi.c 66 additions, 0 deletionsdrivers/char/tpm/tpm_eventlog_efi.c
- drivers/char/tpm/tpm_eventlog_of.c 3 additions, 1 deletiondrivers/char/tpm/tpm_eventlog_of.c
drivers/char/tpm/tpm_eventlog_efi.c
0 → 100644
Please register or sign in to comment