[GIT PULL] TPM DEVICE DRIVER: tpmdd-next-6.10-rc7

From: Jarkko Sakkinen
Date: Fri Jul 05 2024 - 07:23:32 EST


The following changes since commit 661e504db04c6b7278737ee3a9116738536b4ed4:

Merge tag 'for-6.10-rc6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux (2024-07-04 10:27:37 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git tags/tpmdd-next-6.10-rc7

for you to fetch changes up to 7ca110f2679b7d1f3ac1afc90e6ffbf0af3edf0d:

tpm: Address !chip->auth in tpm_buf_append_hmac_session*() (2024-07-05 02:12:27 +0300)

----------------------------------------------------------------
Hi

Contains the fixes for !chip->auth condition, preventing the breakage
of:

* tpm_ftpm_tee.c
* tpm_i2c_nuvoton.c
* tpm_ibmvtpm.c
* tpm_tis_i2c_cr50.c
* tpm_vtpm_proxy.c

All drivers will continue to work as they did in 6.9, except a single
warning (dev_warn() not WARN()) is printed to klog only to inform that
authenticated sessions are not enabled.

BR, Jarkko

Link: https://lore.kernel.org/linux-integrity/20240704185313.224318-1-jarkko@xxxxxxxxxx/

----------------------------------------------------------------
Jarkko Sakkinen (3):
tpm: Address !chip->auth in tpm2_*_auth_session()
tpm: Address !chip->auth in tpm_buf_append_name()
tpm: Address !chip->auth in tpm_buf_append_hmac_session*()

drivers/char/tpm/Makefile | 2 +-
drivers/char/tpm/tpm2-sessions.c | 419 ++++++++++++++++++++++-----------------
include/linux/tpm.h | 81 +++-----
3 files changed, 269 insertions(+), 233 deletions(-)