aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpicoder.c
diff options
context:
space:
mode:
authorMikhail Paulyshka <[email protected]>2025-05-24 14:53:19 +0000
committerBorislav Petkov (AMD) <[email protected]>2025-07-08 19:33:26 +0000
commit5b937a1ed64ebeba8876e398110a5790ad77407c (patch)
treec1c451cb4fb65e10c4fbe32a1c0c76a3ada54b1a /lib/crypto/mpi/mpicoder.c
parentLinux 6.16-rc5 (diff)
downloadkernel-5b937a1ed64ebeba8876e398110a5790ad77407c.tar.gz
kernel-5b937a1ed64ebeba8876e398110a5790ad77407c.zip
x86/rdrand: Disable RDSEED on AMD Cyan Skillfish
AMD Cyan Skillfish (Family 17h, Model 47h, Stepping 0h) has an error that causes RDSEED to always return 0xffffffff, while RDRAND works correctly. Mask the RDSEED cap for this CPU so that both /proc/cpuinfo and direct CPUID read report RDSEED as unavailable. [ bp: Move to amd.c, massage. ] Signed-off-by: Mikhail Paulyshka <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/[email protected]
Diffstat (limited to 'lib/crypto/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions