]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
x86/CPU/AMD: Add more Zen6 models
authorPratik Vishwakarma <Pratik.Vishwakarma@amd.com>
Sat, 30 May 2026 06:18:18 +0000 (06:18 +0000)
committerBorislav Petkov (AMD) <bp@alien8.de>
Mon, 1 Jun 2026 17:31:09 +0000 (10:31 -0700)
Family 0x1a, models 0xd0 - 0xef are Zen6, so add them to the range which sets
X86_FEATURE_ZEN6.

  [ bp: Massage commit message. ]

Signed-off-by: Pratik Vishwakarma <Pratik.Vishwakarma@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://patch.msgid.link/20260530061819.9721-1-Pratik.Vishwakarma@amd.com
arch/x86/kernel/cpu/amd.c

index 2f8e8ff2d000a7c3598cd32fc3568661d37391a0..31f01e9c711412ea0dc087f6d74ef13c4d9868f6 100644 (file)
@@ -518,7 +518,7 @@ static void bsp_init_amd(struct cpuinfo_x86 *c)
                        break;
                case 0x50 ... 0x5f:
                case 0x80 ... 0xaf:
-               case 0xc0 ... 0xcf:
+               case 0xc0 ... 0xef:
                        setup_force_cpu_cap(X86_FEATURE_ZEN6);
                        break;
                default: