Skip to content

Commit efb867f

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 5f77ddb commit efb867f

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
@@ -523,6 +523,7 @@ static void bsp_init_amd(struct cpuinfo_x86 *c)
523523
case 0x00 ... 0x2f:
524524
case 0x40 ... 0x4f:
525525
case 0x60 ... 0x7f:
526+
case 0xd0 ... 0xd7:
526527
setup_force_cpu_cap(X86_FEATURE_ZEN5);
527528
break;
528529
default:

0 commit comments

Comments
 (0)