This series of patches fixes a couple of issues related to TPM2 event logs, such as the disappearance of the TPM2 log on QEMU machines running with UEFI (my fault) and a kernel fault due to an integer under- flow when reading the TPM 2 log multiple times. Regards, Stefan v1->v2: - Revised patches 1 & 2 Stefan Berger (3): tpm: efi: Use local variable for calculating final log size tpm: acpi: Check eventlog signature before using it tpm: vtpm_proxy: Avoid reading host log when using a virtual device drivers/char/tpm/eventlog/acpi.c | 33 +++++++++++++++++++++++++++++- drivers/char/tpm/eventlog/common.c | 3 +++ drivers/char/tpm/eventlog/efi.c | 29 ++++++++++++++++++-------- 3 files changed, 56 insertions(+), 9 deletions(-) -- 2.29.2