]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
x86/CPU/AMD: Update the Zenbleed microcode revisions
authorBorislav Petkov (AMD) <bp@alien8.de>
Fri, 15 Mar 2024 21:42:27 +0000 (22:42 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 16 Mar 2024 16:04:09 +0000 (09:04 -0700)
Update them to the correct revision numbers.

Fixes: 522b1d69219d ("x86/cpu/amd: Add a Zenbleed fix")
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Cc: <stable@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/kernel/cpu/amd.c

index 3282a747b6458c104e7073292d565bbab9a4c077..6d8677e80ddbb17c94ec7fcda9e5bae502c0dcb2 100644 (file)
@@ -864,11 +864,11 @@ static bool cpu_has_zenbleed_microcode(void)
        u32 good_rev = 0;
 
        switch (boot_cpu_data.x86_model) {
-       case 0x30 ... 0x3f: good_rev = 0x0830107a; break;
-       case 0x60 ... 0x67: good_rev = 0x0860010b; break;
-       case 0x68 ... 0x6f: good_rev = 0x08608105; break;
-       case 0x70 ... 0x7f: good_rev = 0x08701032; break;
-       case 0xa0 ... 0xaf: good_rev = 0x08a00008; break;
+       case 0x30 ... 0x3f: good_rev = 0x0830107b; break;
+       case 0x60 ... 0x67: good_rev = 0x0860010c; break;
+       case 0x68 ... 0x6f: good_rev = 0x08608107; break;
+       case 0x70 ... 0x7f: good_rev = 0x08701033; break;
+       case 0xa0 ... 0xaf: good_rev = 0x08a00009; break;
 
        default:
                return false;