[tip: x86/urgent] x86/CPU/AMD: Add more Zen6 models

tip-bot2 for Pratik Vishwakarma posted 1 patch 6 days, 10 hours ago
arch/x86/kernel/cpu/amd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[tip: x86/urgent] x86/CPU/AMD: Add more Zen6 models
Posted by tip-bot2 for Pratik Vishwakarma 6 days, 10 hours ago
The following commit has been merged into the x86/urgent branch of tip:

Commit-ID:     b5f53e6d3d32f2884d71500bb6d773c7bfe21f2e
Gitweb:        https://git.kernel.org/tip/b5f53e6d3d32f2884d71500bb6d773c7bfe21f2e
Author:        Pratik Vishwakarma <Pratik.Vishwakarma@amd.com>
AuthorDate:    Sat, 30 May 2026 06:18:18 
Committer:     Borislav Petkov (AMD) <bp@alien8.de>
CommitterDate: Mon, 01 Jun 2026 10:31:09 -07:00

x86/CPU/AMD: Add more Zen6 models

Family 0x1a, models 0xd0 - 0xef are Zen6, so add them to the range which sets
X86_FEATURE_ZEN6.

  [ bp: Massage commit message. ]

Signed-off-by: Pratik Vishwakarma <Pratik.Vishwakarma@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://patch.msgid.link/20260530061819.9721-1-Pratik.Vishwakarma@amd.com
---
 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 2f8e8ff..31f01e9 100644
--- a/arch/x86/kernel/cpu/amd.c
+++ b/arch/x86/kernel/cpu/amd.c
@@ -518,7 +518,7 @@ static void bsp_init_amd(struct cpuinfo_x86 *c)
 			break;
 		case 0x50 ... 0x5f:
 		case 0x80 ... 0xaf:
-		case 0xc0 ... 0xcf:
+		case 0xc0 ... 0xef:
 			setup_force_cpu_cap(X86_FEATURE_ZEN6);
 			break;
 		default: