summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorWenkuan Wang <Wenkuan.Wang@amd.com>2024-04-10 11:53:08 +0800
committerBorislav Petkov (AMD) <bp@alien8.de>2024-04-24 14:05:25 +0200
commit2718a7fdf292b2dcb49c856fa8a6a955ebbbc45f (patch)
treef059ce02c04ce9446ea8b57d6f51749cce7a23a6 /arch
parente70316d17f6ab49a6038ffd115397fd68f8c7be8 (diff)
x86/CPU/AMD: Add models 0x10-0x1f to the Zen5 range
Add some more Zen5 models. Fixes: 3e4147f33f8b ("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
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/cpu/amd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c
index cb9eece55904..307302af0aee 100644
--- a/arch/x86/kernel/cpu/amd.c
+++ b/arch/x86/kernel/cpu/amd.c
@@ -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);