From nobody Thu Apr 2 18:29:45 2026 Received: from out198-41.us.a.mail.aliyun.com (out198-41.us.a.mail.aliyun.com [47.90.198.41]) (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 2D86A3CD8A4 for ; Fri, 27 Mar 2026 08:14:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=47.90.198.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774599290; cv=none; b=pEI+Fw00H6FPJrd9RbPKqHy3B4pRM9pSjbWbteSRd1g7T3efnYqFJpQeLpqF7FjFfu/t7qvMnL7IbOe1/pcZzTjQQ+BTHw6+enIXKzNANoJ7YU1+hYjdtM82FeVqczBq93sNDAEUpYFD+y8aX28UMSO+0H0mr31tFRmA/dPCXKQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774599290; c=relaxed/simple; bh=4y50c30r3UyxOZkO8Zd+adYqYovVf8QS0bgi7O6npSs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=SijvbshCGBtIxn/iZsfPvHgoF8z+6omkL/JsTuU9M/YZmwvuKxhpMAu3zYbPK+h8/7o89xwm+gH+smYUMLsFg+6Od/8Oiobb/NfLIowRld4bog17rR6CLaQd3dw0JlpdfL2UGeI1vUU7LgiZJTOqESaMmRd7VkaEnmfZkzWsXmA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=open-hieco.net; spf=pass smtp.mailfrom=open-hieco.net; arc=none smtp.client-ip=47.90.198.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=open-hieco.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=open-hieco.net X-Alimail-AntiSpam: AC=CONTINUE;BC=0.1895277|-1;CH=blue;DM=|OVERLOAD|false|;DS=CONTINUE|ham_system_inform|0.00462074-0.000241749-0.995138;FP=12090291488864961999|4|1|1|0|-1|-1|-1;HT=maildocker-contentspam033068005250;MF=fuhao@open-hieco.net;NM=1;PH=DS;RN=9;RT=9;SR=0;TI=SMTPD_---.h.G3Gej_1774598949; Received: from higon..(mailfrom:fuhao@open-hieco.net fp:SMTPD_---.h.G3Gej_1774598949 cluster:ay29) by smtp.aliyun-inc.com; Fri, 27 Mar 2026 16:09:14 +0800 From: Fu Hao To: puwen@hygon.cn, tglx@kernel.org, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com Cc: linux-kernel@vger.kernel.org, Fu Hao Subject: [PATCH 3/8] x86/cpu/hygon: Remove Spectral Chicken for Hygon processors Date: Fri, 27 Mar 2026 16:09:05 +0800 Message-Id: <433c4c2c9f6bea00d69e71d95c2b65deb9a22e41.1774595153.git.fuhao@open-hieco.net> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The chicken bit is not need to be set for Hygon processors, so remove it. Fixes: d7caac991fee ("x86/cpu/amd: Add Spectral Chicken") Signed-off-by: Fu Hao --- arch/x86/kernel/cpu/hygon.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/x86/kernel/cpu/hygon.c b/arch/x86/kernel/cpu/hygon.c index f39d32a68..72110eb73 100644 --- a/arch/x86/kernel/cpu/hygon.c +++ b/arch/x86/kernel/cpu/hygon.c @@ -189,12 +189,6 @@ static void init_hygon(struct cpuinfo_x86 *c) =20 set_cpu_cap(c, X86_FEATURE_REP_GOOD); =20 - /* - * XXX someone from Hygon needs to confirm this DTRT - * - init_spectral_chicken(c); - */ - set_cpu_cap(c, X86_FEATURE_ZEN); set_cpu_cap(c, X86_FEATURE_CPB); =20 --=20 2.34.1