]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86/microcode/AMD: Add get_patch_level()
authorBorislav Petkov (AMD) <bp@alien8.de>
Thu, 23 Jan 2025 12:02:32 +0000 (13:02 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2025 17:25:46 +0000 (18:25 +0100)
commit0c110da9139def6935933e552dc4e756362258d9
treea5be8f11e7ff258c43341b429afed1bba6a19c2e
parent5c200030419e1cd35582bf45582d89ceac82c680
x86/microcode/AMD: Add get_patch_level()

commit 037e81fb9d2dfe7b31fd97e5f578854e38f09887 upstream.

Put the MSR_AMD64_PATCH_LEVEL reading of the current microcode revision
the hw has, into a separate function.

Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20250211163648.30531-6-bp@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/cpu/microcode/amd.c