]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/cpu/amd: Correct the microcode table for Zenbleed
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 26 Nov 2025 13:03:52 +0000 (13:03 +0000)
committerIngo Molnar <mingo@kernel.org>
Sun, 14 Dec 2025 08:54:46 +0000 (09:54 +0100)
commitfb7bfa31b8e8569f154f2fe0ea6c2f03c0f087aa
treec16e220ba4a95d4b7df12fdbea21897b52c0c05d
parent8f0b4cce4481fb22653697cced8d0d04027cb1e8
x86/cpu/amd: Correct the microcode table for Zenbleed

The good revisions are tied to exact steppings, meaning it's not valid to
match on model number alone, let alone a range.

This is probably only a latent issue.  From public microcode archives, the
following CPUs exist 17-30-00, 17-60-00, 17-70-00 and would be captured by the
model ranges.  They're likely pre-production steppings, and likely didn't get
Zenbleed microcode, but it's still incorrect to compare them to a different
steppings revision.

Either way, convert the logic to use x86_match_min_microcode_rev(), which is
the preferred mechanism.

Fixes: 522b1d69219d ("x86/cpu/amd: Add a Zenbleed fix")
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: x86@kernel.org
Link: https://patch.msgid.link/20251126130352.880424-1-andrew.cooper3@citrix.com
arch/x86/kernel/cpu/amd.c