mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "tip-bot2 for Pratik Vishwakarma" <tip-bot2@linutronix.de>
To: linux-tip-commits@vger.kernel.org
Cc: Pratik Vishwakarma <Pratik.Vishwakarma@amd.com>,
	"Borislav Petkov (AMD)" <bp@alien8.de>,  <stable@kernel.org>,
	x86@kernel.org, linux-kernel@vger.kernel.org
Subject: [tip: x86/urgent] x86/CPU/AMD: Carve out a Zen5 models range
Date: Wed, 29 Jul 2026 19:57:37 -0000	[thread overview]
Message-ID: <178535505730.112641.16431166009451617285.tip-bot2@tip-bot2> (raw)
In-Reply-To: <20260729055459.15904-1-Pratik.Vishwakarma@amd.com>

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

Commit-ID:     52075128273ace53e6254e37899a47d40d4baf45
Gitweb:        https://git.kernel.org/tip/52075128273ace53e6254e37899a47d40d4baf45
Author:        Pratik Vishwakarma <Pratik.Vishwakarma@amd.com>
AuthorDate:    Wed, 29 Jul 2026 05:54:59 
Committer:     Borislav Petkov (AMD) <bp@alien8.de>
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 <Pratik.Vishwakarma@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Cc: <stable@kernel.org>
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:

      parent reply	other threads:[~2026-07-29 19:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-29  5:54 [PATCH] x86/CPU/AMD: Fix Zen5 models id Pratik Vishwakarma
2026-07-29 19:41 ` Yazen Ghannam
2026-07-29 19:47   ` Borislav Petkov
2026-07-29 19:57 ` tip-bot2 for Pratik Vishwakarma [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178535505730.112641.16431166009451617285.tip-bot2@tip-bot2 \
    --to=tip-bot2@linutronix.de \
    --cc=Pratik.Vishwakarma@amd.com \
    --cc=bp@alien8.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tip-commits@vger.kernel.org \
    --cc=stable@kernel.org \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®