]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/microcode/AMD: Limit Entrysign signature checking to known generations
authorBorislav Petkov (AMD) <bp@alien8.de>
Thu, 23 Oct 2025 12:46:29 +0000 (14:46 +0200)
committerBorislav Petkov (AMD) <bp@alien8.de>
Mon, 27 Oct 2025 16:07:17 +0000 (17:07 +0100)
commit8a9fb5129e8e64d24543ebc70de941a2d77a9e77
treefa24007a0be24d633e5f322fa1ebb6d028fd0163
parentdcb6fa37fd7bc9c3d2b066329b0d27dedf8becaa
x86/microcode/AMD: Limit Entrysign signature checking to known generations

Limit Entrysign sha256 signature checking to CPUs in the range Zen1-Zen5.

X86_BUG cannot be used here because the loading on the BSP happens way
too early, before the cpufeatures machinery has been set up.

Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://patch.msgid.link/all/20251023124629.5385-1-bp@kernel.org
arch/x86/kernel/cpu/microcode/amd.c