From patchwork Thu Sep 26 18:27:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Peixoto X-Patchwork-Id: 1989910 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XF2C20kKHz1xst for ; Fri, 27 Sep 2024 04:27:42 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1sttDD-0005u4-2Q; Thu, 26 Sep 2024 18:27:35 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1sttDB-0005t6-JF for kernel-team@lists.ubuntu.com; Thu, 26 Sep 2024 18:27:33 +0000 Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 16E463F327 for ; Thu, 26 Sep 2024 18:27:30 +0000 (UTC) Received: by mail-pf1-f197.google.com with SMTP id d2e1a72fcca58-719a83d27f1so2067478b3a.3 for ; Thu, 26 Sep 2024 11:27:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727375247; x=1727980047; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fliwsACCwUeo3Q5Z5czY8MsVfKS8jV8dmFposUaNKWM=; b=pfDSLmYeqjKf63WNr2fghZi9RDpnw5uBP087w3UCjVuhTMzu0ee8ADu+5wrv1tS3PM eY8LHjl/Uer39M6P5K6p4EheCA9wNfLeIDvuEx3cM7Y50LmKipfWxQ1eBNtQrCZtPZmj BFgQbN18CvAxhGfO1qvU7Jd3Xx02y8uULH7SHLUZEK14/NAf3S0+jzL/4ytjYCpcRBXK n7mNstpZEG3Y0GuYkUaXJnCCxsM19HCQp8Yex0GFHRQB3Rox63TBWz+tENmbhnxgD7Kk s4nDGOzvjnHGhgs7cS3aaeLR854W3fsD6WN+PYvQX+SHX9jzVNgi+ktxrsjbEAHGAvPQ pm+w== X-Gm-Message-State: AOJu0YxtiEIhSo0i6ISDjxr8LjAMLWApZFhVhBHsVu7oUvnTGEjtBrQ/ 6Awpm6XTvj5dkgkB90lhE9z/rI9LZKz1+96SC1NIg7CB6+8gn1V2srhqfZxS4N/S6fqQT3cPl/p WIPWRM1T4CON6CofOH+eKho0WenETfE19LgrBHITXm2vFkEp49H480cOCgLQk5nO+7pYtU6UFKy E2pMINOEY+o6sF X-Received: by 2002:a05:6a00:cc1:b0:719:7475:f073 with SMTP id d2e1a72fcca58-71b25f01de6mr898633b3a.1.1727375247096; Thu, 26 Sep 2024 11:27:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGKmWRPdeDJj4ZdfPQbGRovHMVKg60sg5pbfm0oYM6xqGojvTr1N5cLt0ro0r/f0w0yT1JqYg== X-Received: by 2002:a05:6a00:cc1:b0:719:7475:f073 with SMTP id d2e1a72fcca58-71b25f01de6mr898616b3a.1.1727375246657; Thu, 26 Sep 2024 11:27:26 -0700 (PDT) Received: from canonical.com ([2001:67c:1562:8007::aac:4950]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71b2649b108sm207479b3a.32.2024.09.26.11.27.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Sep 2024 11:27:26 -0700 (PDT) From: Vinicius Peixoto To: kernel-team@lists.ubuntu.com Subject: [SRU][N][PATCH 1/1] x86/CPU/AMD: Add models 0x60-0x6f to the Zen5 range Date: Thu, 26 Sep 2024 15:27:08 -0300 Message-ID: <20240926182709.124249-2-vinicius.peixoto@canonical.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240926182709.124249-1-vinicius.peixoto@canonical.com> References: <20240926182709.124249-1-vinicius.peixoto@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Perry Yuan BugLink: https://bugs.launchpad.net/bugs/2081863 Add some new Zen5 models for the 0x1A family. [ bp: Merge the 0x60 and 0x70 ranges. ] Signed-off-by: Perry Yuan Signed-off-by: Borislav Petkov (AMD) Link: https://lore.kernel.org/r/20240729064626.24297-1-bp@kernel.org (cherry picked from commit bf5641eccf71bcd13a849930e190563c3a19815d) Signed-off-by: Vinicius Peixoto --- 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 ca6096dcc5c6..809a66d522c1 100644 --- a/arch/x86/kernel/cpu/amd.c +++ b/arch/x86/kernel/cpu/amd.c @@ -575,7 +575,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: