x86/CPU/AMD: Add additional fixed RDSEED microcode revisions
PATCH 1/1 x86/CPU/AMD: Add additional fixed RDSEED microcode revisions
From: Mario Limonciello <[email protected]>
[ Upstream commit e1a97a627cd01d73fac5dd054d8f3de601ef2781 ]
Microcode that resolves the RDSEED failure (SB-7055 [1]) has been released for additional Zen5 models to linux-firmware [2]. Update the zen5_rdseed_microcode array to cover these new models.
Fixes e980de2ff109 ("x86/CPU/AMD: Add RDSEED fix for Zen5")
Signed-off-by Mario Limonciello <[email protected]>
Signed-off-by Borislav Petkov (AMD) <[email protected]>
[ backport: 6.12.y uses a custom check_rdseed_microcode() function with
a switch statement. Updated the switch cases to include the new models and revisions from the upstream patch. ]
Signed-off-by Daniel Tobias <[email protected]>
--- arch/x86/kernel/cpu/amd.c | 7 +++++++ 1 file changed, 7 insertions(+)
arch/x86/kernel/cpu/amd.c +7 -0
@@ -1034,7 +1034,14 @@ static bool check_rdseed_microcode(void)if (cpu_has (c,X86_FEATURE_ZEN5 )) {switch (p.ucode_rev >>8 ) {case 0xb0021 : min_rev =0xb00215a ;break ; +case 0xb0081 : min_rev =0xb008121 ;break ;case 0xb1010 : min_rev =0xb101054 ;break ; +case 0xb2040 : min_rev =0xb204037 ;break ; +case 0xb4040 : min_rev =0xb404035 ;break ; +case 0xb4041 : min_rev =0xb404108 ;break ; +case 0xb6000 : min_rev =0xb600037 ;break ; +case 0xb6080 : min_rev =0xb608038 ;break ; +case 0xb7000 : min_rev =0xb700037 ;break ;default :pr_debug ("%s: ucode_rev: 0x%x, current revision: 0x%x\n" , __func__, p.ucode_rev, c->microcode);
Signature · 1 line
2.53.0