Hi
An issue was fixed with the TPM space buffer size. The buffer is used to
store in-TPM objects while swapped out of the TPM for a /dev/tpmrm0
session. The code incorrectly used PAGE_SIZE, which obviously can vary.
With v5.9 changes the buffer has a fixed size of 16 kB.
In addition, the PR contains support for acquiring TPM even log from
TPM2 ACPI table. This method is used by QEMU in particular.
/Jarkko
The following changes since commit f37e99aca03f63aa3f2bd13ceaf769455d12c4b0:
Merge tag 's390-5.8-6' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux into master (2020-07-23 13:42:46 -0700)
are available in the Git repository at:
git://git.infradead.org/users/jjs/linux-tpmdd.git tags/tpmdd-next-v5.9
for you to fetch changes up to 85467f63a05c43364ba0b90d0c05bb89191543fa:
tpm: Add support for event log pointer found in TPM2 ACPI table (2020-07-24 09:29:21 +0300)
----------------------------------------------------------------
tpmdd updates for Linux v5.9
----------------------------------------------------------------
Jarkko Sakkinen (1):
tpm: Unify the mismatching TPM space buffer sizes
Stefan Berger (2):
acpi: Extend TPM2 ACPI table with missing log fields
tpm: Add support for event log pointer found in TPM2 ACPI table
Tyler Hicks (1):
tpm: Require that all digests are present in TCG_PCR_EVENT2 structures
drivers/char/tpm/eventlog/acpi.c | 63 ++++++++++++++++++++++++++--------------
drivers/char/tpm/tpm-chip.c | 9 ++----
drivers/char/tpm/tpm.h | 5 +++-
drivers/char/tpm/tpm2-space.c | 26 ++++++++++-------
drivers/char/tpm/tpmrm-dev.c | 2 +-
include/acpi/actbl3.h | 7 +++++
include/linux/tpm.h | 1 +
include/linux/tpm_eventlog.h | 11 +++++--
8 files changed, 82 insertions(+), 42 deletions(-)
The pull request you sent on Fri, 24 Jul 2020 09:42:27 +0300:
> git://git.infradead.org/users/jjs/linux-tpmdd.git tags/tpmdd-next-v5.9
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/92b7e4923fdbeda9b86b1398127449d5353f9123
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker