Skip to content

Commit 007edf7

Browse files
WenkuanWangSasha Levin
authored andcommitted
x86/CPU/AMD: Add models 0x10-0x1f to the Zen5 range
commit 2718a7f upstream. Add some more Zen5 models. Fixes: 3e4147f ("x86/CPU/AMD: Add X86_FEATURE_ZEN5") Signed-off-by: Wenkuan Wang <Wenkuan.Wang@amd.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20240423144111.1362-1-bp@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 64750af commit 007edf7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

arch/x86/kernel/cpu/amd.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,8 +572,7 @@ static void bsp_init_amd(struct cpuinfo_x86 *c)
572572

573573
case 0x1a:
574574
switch (c->x86_model) {
575-
case 0x00 ... 0x0f:
576-
case 0x20 ... 0x2f:
575+
case 0x00 ... 0x2f:
577576
case 0x40 ... 0x4f:
578577
case 0x70 ... 0x7f:
579578
setup_force_cpu_cap(X86_FEATURE_ZEN5);

0 commit comments

Comments
 (0)