diff options
author | Jerry Snitselaar <jsnitsel@redhat.com> | 2023-06-29 13:41:47 -0700 |
---|---|---|
committer | Jarkko Sakkinen <jarkko@kernel.org> | 2023-07-17 19:40:22 +0000 |
commit | ecff6813d2bcf0c670881a9ba3f51cb032dd405a (patch) | |
tree | 08951b08995ec800a1b7bf2a5870cd2e9312d53a /security/lsm_audit.c | |
parent | d55901522f96082a43b9842d34867363c0cdbac5 (diff) | |
download | linux-stable-ecff6813d2bcf0c670881a9ba3f51cb032dd405a.tar.gz linux-stable-ecff6813d2bcf0c670881a9ba3f51cb032dd405a.tar.bz2 linux-stable-ecff6813d2bcf0c670881a9ba3f51cb032dd405a.zip |
tpm: return false from tpm_amd_is_rng_defective on non-x86 platforms
tpm_amd_is_rng_defective is for dealing with an issue related to the
AMD firmware TPM, so on non-x86 architectures just have it inline and
return false.
Cc: stable@vger.kernel.org # v6.3+
Reported-by: Sachin Sant <sachinp@linux.ibm.com>
Reported-by: Aneesh Kumar K. V <aneesh.kumar@linux.ibm.com>
Closes: https://lore.kernel.org/lkml/99B81401-DB46-49B9-B321-CF832B50CAC3@linux.ibm.com/
Fixes: f1324bbc4011 ("tpm: disable hwrng for fTPM on some AMD designs")
Signed-off-by: Jerry Snitselaar <jsnitsel@redhat.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'security/lsm_audit.c')
0 files changed, 0 insertions, 0 deletions