]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
x86/microcode/AMD: Add more known models to entry sign checking
authorMario Limonciello (AMD) <superm1@kernel.org>
Thu, 6 Nov 2025 18:28:54 +0000 (12:28 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Nov 2025 20:34:40 +0000 (15:34 -0500)
commit d23550efc6800841b4d1639784afaebdea946ae0 upstream.

Two Zen5 systems are missing from need_sha_check(). Add them.

Fixes: 50cef76d5cb0 ("x86/microcode/AMD: Load only SHA256-checksummed patches")
Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Cc: <stable@kernel.org>
Link: https://patch.msgid.link/20251106182904.4143757-1-superm1@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/cpu/microcode/amd.c

index 5d2949b1e4b3c945eea2312fccde0dbda95fcb98..57968f4f12fca21fb3380928b4cf8aa9fce483f4 100644 (file)
@@ -208,10 +208,12 @@ static bool need_sha_check(u32 cur_rev)
        case 0xaa001: return cur_rev <= 0xaa00116; break;
        case 0xaa002: return cur_rev <= 0xaa00218; break;
        case 0xb0021: return cur_rev <= 0xb002146; break;
+       case 0xb0081: return cur_rev <= 0xb008111; break;
        case 0xb1010: return cur_rev <= 0xb101046; break;
        case 0xb2040: return cur_rev <= 0xb204031; break;
        case 0xb4040: return cur_rev <= 0xb404031; break;
        case 0xb6000: return cur_rev <= 0xb600031; break;
+       case 0xb6080: return cur_rev <= 0xb608031; break;
        case 0xb7000: return cur_rev <= 0xb700031; break;
        default: break;
        }