Skip to content

Commit b5d1534

Browse files
amd-pvishwakgregkh
authored andcommitted
x86/CPU/AMD: Carve out a Zen5 models range
commit 5207512 upstream. Family 0x1a, model 0xd0..0xd7 belongs to the Zen5 generation. Carve it out from the larger, Zen6 range where former doesn't belong. [ bp: Rewrite commit message, add tags. ] Fixes: b5f53e6 ("x86/CPU/AMD: Add more Zen6 models") Signed-off-by: Pratik Vishwakarma <Pratik.Vishwakarma@amd.com> [ bp: Backport only the Zen5 bits. ] Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Cc: <stable@kernel.org> Link: https://patch.msgid.link/20260729055459.15904-1-Pratik.Vishwakarma@amd.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 3d950e9 commit b5d1534

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/x86/kernel/cpu/amd.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,7 @@ static void bsp_init_amd(struct cpuinfo_x86 *c)
513513
case 0x00 ... 0x2f:
514514
case 0x40 ... 0x4f:
515515
case 0x60 ... 0x7f:
516+
case 0xd0 ... 0xd7:
516517
setup_force_cpu_cap(X86_FEATURE_ZEN5);
517518
break;
518519
case 0x50 ... 0x5f:

0 commit comments

Comments
 (0)