x86/microcode: Fix Entrysign revision check for Zen1/Naples
Subsystems (2)
PATCH 1/1 x86/microcode: Fix Entrysign revision check for Zen1/Naples
... to match AMD's statement.
Fixes 50cef76d5cb0 ("x86/microcode/AMD: Load only SHA256-checksummed patches")
Signed-off-by Andrew Cooper <[email protected]>
---
CC: Borislav Petkov <[email protected]>
CC: Thomas Gleixner <[email protected]>
CC: Ingo Molnar <[email protected]>
CC: Dave Hansen <[email protected]>
CC: [email protected]
CC: "H. Peter Anvin" <[email protected]>
CC: [email protected]
--- arch/x86/kernel/cpu/microcode/amd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/cpu/microcode/amd.c +1 -1
@@ -194,7 +194,7 @@ static bool need_sha_check(u32 cur_rev) }switch (cur_rev >>8 ) { -case 0x80012 :return cur_rev <=0x800126f ;break ; +case 0x80012 :return cur_rev <=0x8001277 ;break ;case 0x80082 :return cur_rev <=0x800820f ;break ;case 0x83010 :return cur_rev <=0x830107c ;break ;case 0x86001 :return cur_rev <=0x860010e ;break ;
base-commit: 7ea30958b3054f5e488fa0b33c352723f7ab3a2a
Signature · 1 line
2.39.5
The following commit has been merged into the x86/urgent branch of tip:
The following commit has been merged into the x86/urgent branch of tip:
Commit-ID: 876f0d43af78639790bee0e57b39d498ae35adcf Gitweb: https://git.kernel.org/tip/876f0d43af78639790bee0e57b39d498ae35adcf Author: Andrew Cooper <[email protected]> AuthorDate: Mon, 20 Oct 2025 15:41:24 +01:00 Committer: Borislav Petkov (AMD) <[email protected]> CommitterDate: Tue, 21 Oct 2025 12:16:51 +02:00
x86/microcode: Fix Entrysign revision check for Zen1/Naples
... to match AMD's statement here:
https://www.amd.com/en/resources/product-security/bulletin/amd-sb-7033.html
Fixes 50cef76d5cb0 ("x86/microcode/AMD: Load only SHA256-checksummed patches")
Signed-off-by Andrew Cooper <[email protected]>
Signed-off-by Borislav Petkov (AMD) <[email protected]>
Cc <[email protected]>
--- arch/x86/kernel/cpu/microcode/amd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/cpu/microcode/amd.c +1 -1
@@ -194,7 +194,7 @@ static bool need_sha_check(u32 cur_rev) }switch (cur_rev >>8 ) { -case 0x80012 :return cur_rev <=0x800126f ;break ; +case 0x80012 :return cur_rev <=0x8001277 ;break ;case 0x80082 :return cur_rev <=0x800820f ;break ;case 0x83010 :return cur_rev <=0x830107c ;break ;case 0x86001 :return cur_rev <=0x860010e ;break ;