linux/tools/arch/x86
Mikhail Paulyshka a68b858557 x86/rdrand: Disable RDSEED on AMD Cyan Skillfish
commit 5b937a1ed6 upstream.

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 <me@mixaill.net>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Cc: <stable@kernel.org>
Link: https://lore.kernel.org/20250524145319.209075-1-me@mixaill.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2025-07-17 18:37:14 +02:00
..
dell-uart-backlight-emulator tools arch x86: Add dell-uart-backlight-emulator 2024-05-14 11:43:40 +02:00
include x86/rdrand: Disable RDSEED on AMD Cyan Skillfish 2025-07-17 18:37:14 +02:00
intel_sdsi tools/arch/x86/intel_sdsi: Add current meter support 2024-04-29 10:52:02 +02:00
kcpuid tools/x86/kcpuid: Fix error handling 2025-06-19 15:31:25 +02:00
lib x86/insn: Fix opcode map (!REX2) superscript tags 2025-06-19 15:31:28 +02:00
tools x86/insn: Add support for APX EVEX to the instruction decoder logic 2024-05-02 13:13:45 +02:00