]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86/microcode/AMD: Select which microcode patch to load
authorBorislav Petkov (AMD) <bp@alien8.de>
Mon, 12 Jan 2026 11:27:48 +0000 (12:27 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Jan 2026 15:30:00 +0000 (16:30 +0100)
commit5c7c4131beade68a52dacfc7d7fede833a396837
treef9bb7f5915aa44313d5b4968bae31ca66757768b
parent90c4cb136e398e6b7ffdfc307d2f7ce8fc667036
x86/microcode/AMD: Select which microcode patch to load

Commit 8d171045069c804e5ffaa18be590c42c6af0cf3f upstream.

All microcode patches up to the proper BIOS Entrysign fix are loaded
only after the sha256 signature carried in the driver has been verified.

Microcode patches after the Entrysign fix has been applied, do not need
that signature verification anymore.

In order to not abandon machines which haven't received the BIOS update
yet, add the capability to select which microcode patch to load.

The corresponding microcode container supplied through firmware-linux
has been modified to carry two patches per CPU type
(family/model/stepping) so that the proper one gets selected.

Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Tested-by: Waiman Long <longman@redhat.com>
Link: https://patch.msgid.link/20251027133818.4363-1-bp@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/cpu/microcode/amd.c