* [tip: x86/urgent] x86/CPU/AMD: Add additional fixed RDSEED microcode revisions
[not found] <20251113223608.1495655-1-mario.limonciello@amd.com>
@ 2025-11-14 12:36 ` tip-bot2 for Mario Limonciello
[not found] ` <e94dd76b-4911-482f-8500-5c848a3df026@citrix.com>
1 sibling, 0 replies; 2+ messages in thread
From: tip-bot2 for Mario Limonciello @ 2025-11-14 12:36 UTC (permalink / raw)
To: linux-tip-commits
Cc: Mario Limonciello, Borislav Petkov (AMD), stable, x86, linux-kernel
The following commit has been merged into the x86/urgent branch of tip:
Commit-ID: e1a97a627cd01d73fac5dd054d8f3de601ef2781
Gitweb: https://git.kernel.org/tip/e1a97a627cd01d73fac5dd054d8f3de601ef2781
Author: Mario Limonciello <mario.limonciello@amd.com>
AuthorDate: Thu, 13 Nov 2025 16:35:50 -06:00
Committer: Borislav Petkov (AMD) <bp@alien8.de>
CommitterDate: Fri, 14 Nov 2025 13:02:11 +01:00
x86/CPU/AMD: Add additional fixed RDSEED microcode revisions
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: 607b9fb2ce24 ("x86/CPU/AMD: Add RDSEED fix for Zen5")
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Cc: <stable@kernel.org>
Link: https://www.amd.com/en/resources/product-security/bulletin/amd-sb-7055.html [1]
Link: https://gitlab.com/kernel-firmware/linux-firmware/-/commit/6167e5566900cf236f7a69704e8f4c441bc7212a [2]
Link: https://patch.msgid.link/20251113223608.1495655-1-mario.limonciello@amd.com
---
arch/x86/kernel/cpu/amd.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c
index 2ba9f2d..5d46709 100644
--- a/arch/x86/kernel/cpu/amd.c
+++ b/arch/x86/kernel/cpu/amd.c
@@ -1037,7 +1037,14 @@ static void init_amd_zen4(struct cpuinfo_x86 *c)
static const struct x86_cpu_id zen5_rdseed_microcode[] = {
ZEN_MODEL_STEP_UCODE(0x1a, 0x02, 0x1, 0x0b00215a),
+ ZEN_MODEL_STEP_UCODE(0x1a, 0x08, 0x1, 0x0b008121),
ZEN_MODEL_STEP_UCODE(0x1a, 0x11, 0x0, 0x0b101054),
+ ZEN_MODEL_STEP_UCODE(0x1a, 0x24, 0x0, 0x0b204037),
+ ZEN_MODEL_STEP_UCODE(0x1a, 0x44, 0x0, 0x0b404035),
+ ZEN_MODEL_STEP_UCODE(0x1a, 0x44, 0x1, 0x0b404108),
+ ZEN_MODEL_STEP_UCODE(0x1a, 0x60, 0x0, 0x0b600037),
+ ZEN_MODEL_STEP_UCODE(0x1a, 0x68, 0x0, 0x0b608038),
+ ZEN_MODEL_STEP_UCODE(0x1a, 0x70, 0x0, 0x0b700037),
{},
};
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] x86/CPU/AMD: Add additional fixed microcode for SB-7055
[not found] ` <e94dd76b-4911-482f-8500-5c848a3df026@citrix.com>
@ 2025-11-14 13:06 ` Borislav Petkov
0 siblings, 0 replies; 2+ messages in thread
From: Borislav Petkov @ 2025-11-14 13:06 UTC (permalink / raw)
To: Andrew Cooper; +Cc: mario.limonciello, dave.hansen, mingo, tglx, x86, lkml
On Fri, Nov 14, 2025 at 12:37:58PM +0000, Andrew Cooper wrote:
> Linux-firmware says the min revision for loading this ucode is 0x02, but
> there's no row for it in needs_sha_check().
Author: Borislav Petkov (AMD) <bp@alien8.de>
Date: Fri Nov 14 14:01:14 2025 +0100
x86/microcode/AMD: Add Zen5 model 0x44, stepping 0x1 minrev
Add the minimum Entrysign revision for that model+stepping to the list
of minimum revisions.
Fixes: 50cef76d5cb0 ("x86/microcode/AMD: Load only SHA256-checksummed patches")
Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Cc: <stable@kernel.org>
Link: https://lore.kernel.org/r/e94dd76b-4911-482f-8500-5c848a3df026@citrix.com
diff --git a/arch/x86/kernel/cpu/microcode/amd.c b/arch/x86/kernel/cpu/microcode/amd.c
index dc82153009da..a881bf4c2011 100644
--- a/arch/x86/kernel/cpu/microcode/amd.c
+++ b/arch/x86/kernel/cpu/microcode/amd.c
@@ -224,6 +224,7 @@ static bool need_sha_check(u32 cur_rev)
case 0xb1010: return cur_rev <= 0xb101046; break;
case 0xb2040: return cur_rev <= 0xb204031; break;
case 0xb4040: return cur_rev <= 0xb404031; break;
+ case 0xb4041: return cur_rev <= 0xb404101; break;
case 0xb6000: return cur_rev <= 0xb600031; break;
case 0xb6080: return cur_rev <= 0xb608031; break;
case 0xb7000: return cur_rev <= 0xb700031; break;
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-11-14 13:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20251113223608.1495655-1-mario.limonciello@amd.com>
2025-11-14 12:36 ` [tip: x86/urgent] x86/CPU/AMD: Add additional fixed RDSEED microcode revisions tip-bot2 for Mario Limonciello
[not found] ` <e94dd76b-4911-482f-8500-5c848a3df026@citrix.com>
2025-11-14 13:06 ` [PATCH] x86/CPU/AMD: Add additional fixed microcode for SB-7055 Borislav Petkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®