Cc: David Howells <dhowells@xxxxxxxxxx> Cc: James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx> Cc: Mimi Zohar <zohar@xxxxxxxxxxxxx> Cc: Roberto Sassu <roberto.sassu@xxxxxxxxxx> Cc: Stefan Berger <stefanb@xxxxxxxxxxxxx> Cc: linux-integrity@xxxxxxxxxxxxxxx Cc: linux-kernel@xxxxxxxxxxxxxxx Closes: https://bugzilla.kernel.org/show_bug.cgi?id=219229 v7: https://lore.kernel.org/linux-integrity/20241021053921.33274-1-jarkko@xxxxxxxxxx/ v6: https://lore.kernel.org/linux-integrity/D501D1CY5SJ4.SUKXHV680B30@xxxxxxxxxx/T/#t v5: https://lore.kernel.org/linux-integrity/D4WQ58T5O21X.CGFKGFKV630K@xxxxxxxxxx/T/#m527d0466a02abaa448720999ff055de0540e7bb7 v4: https://lore.kernel.org/linux-integrity/20240918203559.192605-1-jarkko@xxxxxxxxxx/ v3: https://lore.kernel.org/linux-integrity/20240917154444.702370-1-jarkko@xxxxxxxxxx/ v2: https://lore.kernel.org/linux-integrity/20240916110714.1396407-1-jarkko@xxxxxxxxxx/ v1: https://lore.kernel.org/linux-integrity/20240915180448.2030115-1-jarkko@xxxxxxxxxx/ Jarkko Sakkinen (3): tpm: Return tpm2_sessions_init() when null key creation fails tpm: Rollback tpm2_load_null() tpm: Lazily flush the auth session drivers/char/tpm/tpm-chip.c | 10 +++ drivers/char/tpm/tpm-dev-common.c | 3 + drivers/char/tpm/tpm-interface.c | 6 +- drivers/char/tpm/tpm2-sessions.c | 100 ++++++++++++++++++------------ 4 files changed, 77 insertions(+), 42 deletions(-) -- 2.47.0