]> 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:37:46 +0000 (15:37 -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 ad66eb83b96afb96e2aec02e66f28d789b8fb5f7..995360a1f30ee02b6781cb1de8b20b3b0dc14755 100644 (file)
@@ -220,10 +220,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;
        }