Skip to content

Commit b9328fd

Browse files
superm1bp3tk0v
authored andcommitted
x86/CPU/AMD: Add more models to X86_FEATURE_ZEN5
Add model ranges starting at 0x20, 0x40 and 0x70 to the synthetic feature flag X86_FEATURE_ZEN5. Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20240124220749.2983-1-mario.limonciello@amd.com
1 parent 56062d6 commit b9328fd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/x86/kernel/cpu/amd.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,9 @@ static void bsp_init_amd(struct cpuinfo_x86 *c)
573573
case 0x1a:
574574
switch (c->x86_model) {
575575
case 0x00 ... 0x0f:
576+
case 0x20 ... 0x2f:
577+
case 0x40 ... 0x4f:
578+
case 0x70 ... 0x7f:
576579
setup_force_cpu_cap(X86_FEATURE_ZEN5);
577580
break;
578581
default:

0 commit comments

Comments
 (0)