Skip to content

Commit 0d31fb2

Browse files
committed
x86/cpu/amd: Don't clear RDSEED32 bit on znver5
It seems that even after 6 months there still exists a system that hasn't updated their microcode to fix this. Instead of removing the detection altogether, keep the warning but don't clear the cpuid bit so that we can spread awareness and have people update their microcode revision. Signed-off-by: Eric Naim <dnaim@cachyos.org>
1 parent d857186 commit 0d31fb2

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

arch/x86/kernel/cpu/amd.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,11 +1032,8 @@ static const struct x86_cpu_id zen5_rdseed_microcode[] = {
10321032

10331033
static void init_amd_zen5(struct cpuinfo_x86 *c)
10341034
{
1035-
if (!x86_match_min_microcode_rev(zen5_rdseed_microcode)) {
1036-
clear_cpu_cap(c, X86_FEATURE_RDSEED);
1037-
msr_clear_bit(MSR_AMD64_CPUID_FN_7, 18);
1038-
pr_emerg_once("RDSEED32 is broken. Disabling the corresponding CPUID bit.\n");
1039-
}
1035+
if (!x86_match_min_microcode_rev(zen5_rdseed_microcode))
1036+
pr_emerg_once("RDSEED32 is broken. Please update your firmware.\n");
10401037
}
10411038

10421039
static void init_amd(struct cpuinfo_x86 *c)

0 commit comments

Comments
 (0)