diff options
author | Jarkko Sakkinen <[email protected]> | 2023-09-04 21:12:10 +0300 |
---|---|---|
committer | Jarkko Sakkinen <[email protected]> | 2023-09-04 21:57:59 +0300 |
commit | 8f7f35e5aa6f2182eabcfa3abef4d898a48e9aa8 (patch) | |
tree | ab4f585a34fb5a6b73f2b43e770735814dd399f6 /lib | |
parent | 9c377852ddfdc557b1370f196b0cfdf28d233460 (diff) |
tpm: Enable hwrng only for Pluton on AMD CPUs
The vendor check introduced by commit 554b841d4703 ("tpm: Disable RNG for
all AMD fTPMs") doesn't work properly on a number of Intel fTPMs. On the
reported systems the TPM doesn't reply at bootup and returns back the
command code. This makes the TPM fail probe on Lenovo Legion Y540 laptop.
Since only Microsoft Pluton is the only known combination of AMD CPU and
fTPM from other vendor, disable hwrng otherwise. In order to make sysadmin
aware of this, print also info message to the klog.
Cc: [email protected]
Fixes: 554b841d4703 ("tpm: Disable RNG for all AMD fTPMs")
Reported-by: Todd Brandt <[email protected]>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=217804
Reported-by: Patrick Steinhardt <[email protected]>
Reported-by: Raymond Jay Golo <[email protected]>
Reported-by: Ronan Pigott <[email protected]>
Reviewed-by: Jerry Snitselaar <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions