Skip to content

Commit

Permalink
x86/CPU/AMD: Add models 0x10-0x1f to the Zen5 range
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Wenkuan Wang authored and Borislav Petkov (AMD) committed Apr 24, 2024
1 parent e70316d commit 2718a7f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/x86/kernel/cpu/amd.c
Original file line number Diff line number Diff line change
Expand Up @@ -459,8 +459,7 @@ static void bsp_init_amd(struct cpuinfo_x86 *c)

case 0x1a:
switch (c->x86_model) {
case 0x00 ... 0x0f:
case 0x20 ... 0x2f:
case 0x00 ... 0x2f:
case 0x40 ... 0x4f:
case 0x70 ... 0x7f:
setup_force_cpu_cap(X86_FEATURE_ZEN5);
Expand Down

0 comments on commit 2718a7f

Please sign in to comment.