[GIT PULL] TPM DEVICE DRIVER: tpmdd-next-6.19-rc1-v4

From: Jarkko Sakkinen

Date: Wed Dec 03 2025 - 16:18:28 EST


The following changes since commit a619fe35ab41fded440d3762d4fbad84ff86a4d4:

Merge tag 'v6.19-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 (2025-12-03 11:28:38 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git tags/tpmdd-next-6.19-rc1-v4

for you to fetch changes up to 09b71a58ee355ae09f302bd0875a29ffbcbbe3ac:

KEYS: trusted: Use tpm_ret_to_err() in trusted_tpm2 (2025-12-03 22:55:28 +0200)

----------------------------------------------------------------
Hi,

This pull request for TPM driver contains changes to unify TPM return
code translation between trusted_tpm2 and TPM driver itself. Other than
that the changes are either bug fixes or minor imrovements.

Change log that should explain the previous iterations:

1. "Documentation: tpm-security.rst: change title to section"
https://lore.kernel.org/all/86514a6ab364e01f163470a91cacef120e1b8b47.camel@xxxxxxxxxxxxxxxxxxxxx/
2. "drivers/char/tpm: use min() instead of min_t()"
https://lore.kernel.org/all/20251201161228.3c09d88a@pumpkin/
3. Removed spurious kfree(): https://lore.kernel.org/linux-integrity/aS+K5nO2MP7N+kxQ@ly-workstation/

BR, Jarkko

----------------------------------------------------------------
Chu Guangqing (1):
tpm_crb: Fix a spelling mistake

Jarkko Sakkinen (3):
tpm: Cap the number of PCR banks
tpm: Use -EPERM as fallback error code in tpm_ret_to_err
KEYS: trusted: Use tpm_ret_to_err() in trusted_tpm2

Jonathan McDowell (1):
tpm: Remove tpm_find_get_ops

Marco Crivellari (1):
tpm: add WQ_PERCPU to alloc_workqueue users

Maurice Hieronymus (1):
selftests: tpm2: Fix ill defined assertions

Stuart Yoder (1):
tpm_crb: add missing loc parameter to kerneldoc

drivers/char/tpm/tpm-chip.c | 37 -------------------------------
drivers/char/tpm/tpm-dev-common.c | 3 ++-
drivers/char/tpm/tpm-interface.c | 20 +++++++++++++----
drivers/char/tpm/tpm.h | 1 -
drivers/char/tpm/tpm1-cmd.c | 5 -----
drivers/char/tpm/tpm2-cmd.c | 8 +++----
drivers/char/tpm/tpm_crb.c | 4 +++-
drivers/char/tpm/tpm_tis_core.c | 3 +--
include/linux/tpm.h | 12 ++++++----
security/keys/trusted-keys/trusted_tpm2.c | 26 ++++++----------------
tools/testing/selftests/tpm2/tpm2.py | 4 ++--
11 files changed, 42 insertions(+), 81 deletions(-)