From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AA2043CB2E6; Wed, 29 Jul 2026 19:57:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785355066; cv=none; b=JJNQxULpg9sKEJsoBFybuBc/KeZqSBUKTEV5Fjj+aZqr6GVHTwg+ePabjDUEdbXOhKNrESk1/IfDCZmbK2VUZphwZ1NT23pDABvJGrTR5Qm5NG8S91fOPUt850XOnk086/t+noNyrXvTWDrnGAtf1lGIhMCXFFP9P0+3JGdxAkc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785355066; c=relaxed/simple; bh=E/uGaar9MlWuMduYvKH9XMatkwdhfDz8HsUkaqbZKzM=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=eEVW3katP2p5NheznDqV3SfzeYionpPNDyCkRZfk7CL2Xp8ON0h/TgdJ43/7NSxR1cU29Am+3Xto9jm+xD3UAIbOK9H0kn1Y+sL/jDybJTUY4GzOACxyuUVSCeRgXA5e79W1/CdqXOshYMYImlHqYNEVV1xLTFYPMr6JkaZfdQ8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=h68ako0z; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=vTmjOIWn; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="h68ako0z"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="vTmjOIWn" Date: Wed, 29 Jul 2026 19:57:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1785355059; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HRBfJ+KEF3yx81E+MU2NONCIbHwFybWUwxyrI5APyUc=; b=h68ako0zEM2ai4lhXZhVHGbX4AmRr2Cd62UdLXmRw3vAByZGl9DQAyqCE+yh1eWjQ8CpPE 84AGwn/3AFVeXGK5zvzh3gxcNGxm/IRyDqzWfDvfq3LYrFGSil9HfmsTXkxwLzMwuyuCe+ bGxffcGCpOyf4seOG73ee5yyQ8rglk1CF1C8mebeOPmgM0dlgkrGbDbYfBi57BlRJSOZh8 DIDdWgCQL29Isc2RAwqMOJqKGnBUlxQ7w3lHeuUBjSLeVV/7frUe9VNR/CuPsJP9zTgCJm uw7XvYBt11QGdh3vB88pduRVVPTuGNVMIAzQOOHi+OIhfQlxKPh5TbKoffNeEw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1785355059; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HRBfJ+KEF3yx81E+MU2NONCIbHwFybWUwxyrI5APyUc=; b=vTmjOIWn22WJ7Mp5QQjdzIitOEkoT1xpvO9ITHX63rEjWXhZ0JTC4Ga9smPEcKiikOQCwz K+m6+llLcc4YFnBg== From: "tip-bot2 for Pratik Vishwakarma" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/urgent] x86/CPU/AMD: Carve out a Zen5 models range Cc: Pratik Vishwakarma , "Borislav Petkov (AMD)" , , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260729055459.15904-1-Pratik.Vishwakarma@amd.com> References: <20260729055459.15904-1-Pratik.Vishwakarma@amd.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <178535505730.112641.16431166009451617285.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the x86/urgent branch of tip: Commit-ID: 52075128273ace53e6254e37899a47d40d4baf45 Gitweb: https://git.kernel.org/tip/52075128273ace53e6254e37899a47d40d4= baf45 Author: Pratik Vishwakarma AuthorDate: Wed, 29 Jul 2026 05:54:59=20 Committer: Borislav Petkov (AMD) CommitterDate: Wed, 29 Jul 2026 12:52:27 -07:00 x86/CPU/AMD: Carve out a Zen5 models range Family 0x1a, model 0xd0..0xd7 belongs to the Zen5 generation. Carve it out from the larger, Zen6 range where former doesn't belong. [ bp: Rewrite commit message, add tags. ] Fixes: b5f53e6d3d32 ("x86/CPU/AMD: Add more Zen6 models") Signed-off-by: Pratik Vishwakarma Signed-off-by: Borislav Petkov (AMD) Cc: Link: https://patch.msgid.link/20260729055459.15904-1-Pratik.Vishwakarma@amd.= com --- arch/x86/kernel/cpu/amd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c index 487ac14..d61df70 100644 --- a/arch/x86/kernel/cpu/amd.c +++ b/arch/x86/kernel/cpu/amd.c @@ -515,11 +515,13 @@ static void bsp_init_amd(struct cpuinfo_x86 *c) case 0x00 ... 0x2f: case 0x40 ... 0x4f: case 0x60 ... 0x7f: + case 0xd0 ... 0xd7: setup_force_cpu_cap(X86_FEATURE_ZEN5); break; case 0x50 ... 0x5f: case 0x80 ... 0xaf: - case 0xc0 ... 0xef: + case 0xc0 ... 0xcf: + case 0xd8 ... 0xef: setup_force_cpu_cap(X86_FEATURE_ZEN6); break; default: