[PATCH 0/3] tpm: Fix TPM 1.2 Shutdown sequence to prevent future TPM operations
From: Jarkko Sakkinen
Date: Tue Sep 24 2019 - 10:02:17 EST
commit db4d8cb9c9f2af71c4d087817160d866ed572cc9 upstream
This backport is for v4.14 and v4.19 The backport requires non-racy
behaviour from TPM 1.x sysfs code. Thus, the dependecies for that
are included.
NOTE: 1/3 is only needed for v4.14.
Cc: linux-integrity@xxxxxxxxxxxxxxx
Cc: Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>
Cc: Vadim Sukhomlinov <sukhomlinov@xxxxxxxxxx>
Link: https://lore.kernel.org/stable/20190712152734.GA13940@xxxxxxxxx/
Jarkko Sakkinen (2):
tpm: migrate pubek_show to struct tpm_buf
tpm: use tpm_try_get_ops() in tpm-sysfs.c.
Vadim Sukhomlinov (1):
tpm: Fix TPM 1.2 Shutdown sequence to prevent future TPM operations
drivers/char/tpm/tpm-chip.c | 3 +
drivers/char/tpm/tpm-sysfs.c | 201 +++++++++++++++++++++--------------
drivers/char/tpm/tpm.h | 13 ---
3 files changed, 124 insertions(+), 93 deletions(-)
--
2.20.1