[PATCH 0/3] More changes related to TPM RNG handling

From: Mario Limonciello
Date: Wed Aug 02 2023 - 21:54:39 EST


Patch 1 fixes a mistake in error handling path introduced in
previous patch. It should fold in previous patch or go to -fixes.

Patches 2 and 3 add command line option and drop Kconfig.
These should be targeted for -next.
Mario Limonciello (3):
tpm: Add a missing check for TPM_CHIP_FLAG_HWRNG_DISABLED
tpm: Add command line for not trusting tpm for RNG
tpm: Drop CONFIG_HW_RANDOM_TPM

Documentation/admin-guide/kernel-parameters.txt | 5 +++++
drivers/char/tpm/Kconfig | 11 -----------
drivers/char/tpm/tpm-chip.c | 17 ++++++++++++++---
3 files changed, 19 insertions(+), 14 deletions(-)

--
2.34.1