[tip: x86/urgent] x86/CPU/AMD: Add models 0x60-0x6f to the Zen5 range

From: tip-bot2 for Perry Yuan
Date: Tue Jul 30 2024 - 09:41:06 EST


The following commit has been merged into the x86/urgent branch of tip:

Commit-ID: bf5641eccf71bcd13a849930e190563c3a19815d
Gitweb: https://git.kernel.org/tip/bf5641eccf71bcd13a849930e190563c3a19815d
Author: Perry Yuan <perry.yuan@xxxxxxx>
AuthorDate: Mon, 29 Jul 2024 08:46:26 +02:00
Committer: Borislav Petkov (AMD) <bp@xxxxxxxxx>
CommitterDate: Tue, 30 Jul 2024 15:22:52 +02:00

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@xxxxxxx>
Signed-off-by: Borislav Petkov (AMD) <bp@xxxxxxxxx>
Link: https://lore.kernel.org/r/20240729064626.24297-1-bp@xxxxxxxxxx
---
arch/x86/kernel/cpu/amd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c
index be5889b..1e0fe5f 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: