]> www.infradead.org Git - nvme.git/commitdiff
x86/CPU/AMD: Add models 0x60-0x6f to the Zen5 range
authorPerry Yuan <perry.yuan@amd.com>
Mon, 29 Jul 2024 06:46:26 +0000 (08:46 +0200)
committerBorislav Petkov (AMD) <bp@alien8.de>
Tue, 30 Jul 2024 13:22:52 +0000 (15:22 +0200)
Add some new Zen5 models for the 0x1A family.

  [ bp: Merge the 0x60 and 0x70 ranges. ]

Signed-off-by: Perry Yuan <perry.yuan@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20240729064626.24297-1-bp@kernel.org
arch/x86/kernel/cpu/amd.c

index be5889bded498401c6ee6b24ccd9b4567ff90cfc..1e0fe5f8ab84e478294b62267176ae01fa540f31 100644 (file)
@@ -462,7 +462,7 @@ static void bsp_init_amd(struct cpuinfo_x86 *c)
                switch (c->x86_model) {
                case 0x00 ... 0x2f:
                case 0x40 ... 0x4f:
-               case 0x70 ... 0x7f:
+               case 0x60 ... 0x7f:
                        setup_force_cpu_cap(X86_FEATURE_ZEN5);
                        break;
                default: