Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tpm: add event log format version

Although defined as part of the TCG EFI specification, we add these
definitions here so that any event log provider may reference them.

Signed-off-by: Thiebaud Weksteen <tweek@google.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>

authored by

Thiebaud Weksteen and committed by
Jarkko Sakkinen
4d01d29d 67cb8e11

+3
+3
include/linux/tpm_eventlog.h
··· 10 10 #define ACPI_TCPA_SIG "TCPA" /* 0x41504354 /'TCPA' */ 11 11 #define TPM2_ACTIVE_PCR_BANKS 3 12 12 13 + #define EFI_TCG2_EVENT_LOG_FORMAT_TCG_1_2 0x1 14 + #define EFI_TCG2_EVENT_LOG_FORMAT_TCG_2 0x2 15 + 13 16 #ifdef CONFIG_PPC64 14 17 #define do_endian_conversion(x) be32_to_cpu(x) 15 18 #else