Skip to contentSkip to conversation

x86/CPU/AMD: Add models 0x60-0x6f to the Zen5 range

PATCH Applied Borislav Petkov 2 participants 2 messages Jul 29, 2024 – Jul 30, 2024 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/CPU/AMD: Add models 0x60-0x6f to the Zen5 range

From: Perry Yuan <[email protected]>

Add some new Zen5 models for the 0x1A family.

[ bp: Merge the 0x60 and 0x70 ranges. ]

---
 arch/x86/kernel/cpu/amd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/cpu/amd.c +1 -1
index be5889bded49..1e0fe5f8ab84 100644
@@ -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:
Signature · 1 line
2.43.0
merge bot Applied
#1 lore raw
The following commit has been merged into the x86/urgent branch of tip:

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 <[email protected]>
AuthorDate:    Mon, 29 Jul 2024 08:46:26 +02:00
Committer:     Borislav Petkov (AMD) <[email protected]>
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. ]

---
 arch/x86/kernel/cpu/amd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/cpu/amd.c +1 -1
index be5889b..1e0fe5f 100644
@@ -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: