summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPerry Yuan <perry.yuan@amd.com>2024-07-29 08:46:26 +0200
committerBorislav Petkov (AMD) <bp@alien8.de>2024-07-30 15:22:52 +0200
commitbf5641eccf71bcd13a849930e190563c3a19815d (patch)
treecdb6110c567f880c3e0b8651a44fae34fc7ce11c /arch
parentc14e4114582c20276467226387d5bae7310a849e (diff)
downloadlwn-bf5641eccf71bcd13a849930e190563c3a19815d.tar.gz
lwn-bf5641eccf71bcd13a849930e190563c3a19815d.zip
x86/CPU/AMD: Add models 0x60-0x6f to the Zen5 range
Add some new Zen5 models for the 0x1A family. [ bp: Merge the 0x60 and 0x70 ranges. ] Signed-off-by: Perry Yuan <perry.yuan@amd.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20240729064626.24297-1-bp@kernel.org
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/cpu/amd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c
index be5889bded49..1e0fe5f8ab84 100644
--- a/arch/x86/kernel/cpu/amd.c
+++ b/arch/x86/kernel/cpu/amd.c
@@ -462,7 +462,7 @@ static void bsp_init_amd(struct cpuinfo_x86 *c)
switch (c->x86_model) {
case 0x00 ... 0x2f:
case 0x40 ... 0x4f:
- case 0x70 ... 0x7f:
+ case 0x60 ... 0x7f:
setup_force_cpu_cap(X86_FEATURE_ZEN5);
break;
default: