[GIT PULL] tpm: changes for v6.3-rc1

From: Jarkko Sakkinen
Date: Mon Feb 13 2023 - 03:38:43 EST


Hi,

In additon to bug fixes, these are noteworthy changes:

* In TPM I2C drivers, migrate from probe() to probe_new() (a new
driver model in I2C).
* TPM CRB: Pluton support
* Add duplicate hash detection to the blacklist keyring in order to
give more meaningful klog output than e.g. [1].

[1] https://askubuntu.com/questions/1436856/ubuntu-22-10-blacklist-problem-blacklisting-hash-13-message-on-boot

The following changes since commit ceaa837f96adb69c0df0397937cd74991d5d821a:

Linux 6.2-rc8 (2023-02-12 14:10:17 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git tags/tpm-v6.3-rc1

for you to fetch changes up to 85b93bbd1c9768d09adebbe9f33bab0d4ec94404:

tpm: add vendor flag to command code validation (2023-02-13 10:11:20 +0200)

----------------------------------------------------------------
tpm: v6.3-rc1

----------------------------------------------------------------
Arnd Bergmann (1):
crypto: certs: fix FIPS selftest dependency

Denis Kenzior (1):
KEYS: asymmetric: Fix ECDSA use via keyctl uapi

Eddie James (2):
tpm: Use managed allocation for bios event log
tpm: Add reserved memory event log

Julien Gomes (1):
tpm: add vendor flag to command code validation

Matthew Garrett (1):
tpm_crb: Add support for CRB devices based on Pluton

Thomas Weißschuh (3):
certs: make blacklisted hash available in klog
KEYS: Add new function key_create()
certs: don't try to update blacklist keys

Uwe Kleine-König (5):
tpm: st33zp24: Convert to i2c's .probe_new()
tpm: tpm_i2c_atmel: Convert to i2c's .probe_new()
tpm: tpm_i2c_infineon: Convert to i2c's .probe_new()
tpm: tpm_i2c_nuvoton: Convert to i2c's .probe_new()
tpm: tis_i2c: Convert to i2c's .probe_new()

certs/blacklist.c | 21 +++---
crypto/asymmetric_keys/Kconfig | 2 +-
crypto/asymmetric_keys/pkcs7_verify.c | 1 +
crypto/asymmetric_keys/public_key.c | 24 +++++-
drivers/char/tpm/eventlog/acpi.c | 5 +-
drivers/char/tpm/eventlog/efi.c | 13 ++--
drivers/char/tpm/eventlog/of.c | 35 ++++++++-
drivers/char/tpm/st33zp24/i2c.c | 5 +-
drivers/char/tpm/tpm-chip.c | 1 -
drivers/char/tpm/tpm2-cmd.c | 4 +-
drivers/char/tpm/tpm_crb.c | 100 ++++++++++++++++++++++---
drivers/char/tpm/tpm_i2c_atmel.c | 5 +-
drivers/char/tpm/tpm_i2c_infineon.c | 5 +-
drivers/char/tpm/tpm_i2c_nuvoton.c | 6 +-
drivers/char/tpm/tpm_tis_i2c.c | 5 +-
include/acpi/actbl3.h | 1 +
include/linux/key.h | 8 ++
include/linux/tpm.h | 1 +
security/keys/key.c | 137 +++++++++++++++++++++++++---------
19 files changed, 293 insertions(+), 86 deletions(-)