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

Message ID 20230803015015.915-1-mario.limonciello@amd.com
Headers
Series More changes related to TPM RNG handling |

Message

Mario Limonciello Aug. 3, 2023, 1:50 a.m. UTC
  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(-)