Skip to contentSkip to conversation

x86/CPU/AMD: Add models 0x10-0x1f to the Zen5 range

PATCH Applied Borislav Petkov 2 participants 2 messages Apr 23, 2024 – Apr 24, 2024 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/CPU/AMD: Add models 0x10-0x1f to the Zen5 range

From: Wenkuan Wang <[email protected]>

Add some more Zen5 models.

Fixes 3e4147f33f8b ("x86/CPU/AMD: Add X86_FEATURE_ZEN5")
---
 arch/x86/kernel/cpu/amd.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/x86/kernel/cpu/amd.c +1 -2
index cb9eece55904..307302af0aee 100644
@@ -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);
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:     2718a7fdf292b2dcb49c856fa8a6a955ebbbc45f
Gitweb:        https://git.kernel.org/tip/2718a7fdf292b2dcb49c856fa8a6a955ebbbc45f
Author:        Wenkuan Wang <[email protected]>
AuthorDate:    Wed, 10 Apr 2024 11:53:08 +08:00
Committer:     Borislav Petkov (AMD) <[email protected]>
CommitterDate: Wed, 24 Apr 2024 14:05:25 +02:00

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")
---
 arch/x86/kernel/cpu/amd.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/x86/kernel/cpu/amd.c +1 -2
index cb9eece..307302a 100644
@@ -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);