diff options
author | Vadim Sukhomlinov <sukhomlinov@google.com> | 2019-06-11 00:01:18 +0200 |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2019-06-24 22:57:49 +0200 |
commit | db4d8cb9c9f2af71c4d087817160d866ed572cc9 (patch) | |
tree | 68e51b41ab2b38d496c52fa70edc71391f44ac3a /drivers/firmware/efi/libstub | |
parent | efi: Attempt to get the TCG2 event log in the boot stub (diff) | |
download | linux-db4d8cb9c9f2af71c4d087817160d866ed572cc9.tar.xz linux-db4d8cb9c9f2af71c4d087817160d866ed572cc9.zip |
tpm: Fix TPM 1.2 Shutdown sequence to prevent future TPM operations
TPM 2.0 Shutdown involve sending TPM2_Shutdown to TPM chip and disabling
future TPM operations. TPM 1.2 behavior was different, future TPM
operations weren't disabled, causing rare issues. This patch ensures
that future TPM operations are disabled.
Fixes: d1bd4a792d39 ("tpm: Issue a TPM2_Shutdown for TPM2 devices.")
Cc: stable@vger.kernel.org
Signed-off-by: Vadim Sukhomlinov <sukhomlinov@google.com>
[dianders: resolved merge conflicts with mainline]
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'drivers/firmware/efi/libstub')
0 files changed, 0 insertions, 0 deletions