summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerry Yuan <perry.yuan@amd.com>2024-07-29 08:46:26 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-09-02 14:29:20 +0200
commit7287cc1211312b93f791c92dc61482a3e5553fa2 (patch)
tree222ee89c553966b1dc5c22e87798ea50f3acdebf
parentfa05e559102ec825e4c6ef1e49d842cad727667a (diff)
downloadlinux-stable-7287cc1211312b93f791c92dc61482a3e5553fa2.tar.gz
linux-stable-7287cc1211312b93f791c92dc61482a3e5553fa2.zip
x86/CPU/AMD: Add models 0x60-0x6f to the Zen5 range
commit bf5641eccf71bcd13a849930e190563c3a19815d upstream. 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 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-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 df05a6f332c3..7f93ed175923 100644
--- a/arch/x86/kernel/cpu/amd.c
+++ b/arch/x86/kernel/cpu/amd.c
@@ -705,7 +705,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: