From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out28-147.mail.aliyun.com (out28-147.mail.aliyun.com [115.124.28.147]) (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 24CE0329C7F for ; Tue, 7 Apr 2026 08:22:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.28.147 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775550157; cv=none; b=E9Fe8r3xa2O5NUwl+wyaM8uv5pUpxo3VDsySnHsueC9PLsaiz3T25BhRJjUoXS7j3BbTKK+RVi52J2BzA+k+R4GWeEvObxUCUlOdOtFunJ9jBE2u5pc522QzR/OXeXLdnUk+fqSbDRMmp9nwiMW1PFnst0noKP5y7DiKKiVfZcw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775550157; c=relaxed/simple; bh=HLEAHRk/DQxHaftJBOllz8+A0iyPWF9gLRwWY9RbXGo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=fQnrecgD6rmFHDYk0DbinL9FV+aFm7c8sRilrkIdHvGx6aQsrMTuBIgdzBizG4HWJaNAFylQ5q0CqwAM0g7z6VYQiBB9+JcG3w6Yl40udA7JBDBVqftMyD4Q10rx5O2Dg9Hu2t6FMk7Wos25zT/D+g/kZX+mpa350y0tv4q8UwM= 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=115.124.28.147 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.2138753|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_system_inform|0.00467615-0.000235886-0.995088;FP=2867482401963607501|1|1|1|0|-1|-1|-1;HT=maildocker-contentspam033037022039;MF=fuhao@open-hieco.net;NM=1;PH=DS;RN=9;RT=9;SR=0;TI=SMTPD_---.h6dlIrL_1775550140; Received: from higon..(mailfrom:fuhao@open-hieco.net fp:SMTPD_---.h6dlIrL_1775550140 cluster:ay29) by smtp.aliyun-inc.com; Tue, 07 Apr 2026 16:22:24 +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 v2 3/8] x86/cpu/hygon: Remove Spectral Chicken for Hygon processors Date: Tue, 7 Apr 2026 16:23:33 +0800 Message-Id: <3582ba7dcbbb738bf4cdc44f9ccb0b8bcb7a48be.1775548724.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: 8bit The chicken bit does 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 0bf99072f..d5513c0f1 100644 --- a/arch/x86/kernel/cpu/hygon.c +++ b/arch/x86/kernel/cpu/hygon.c @@ -176,12 +176,6 @@ static void init_hygon(struct cpuinfo_x86 *c) set_cpu_cap(c, X86_FEATURE_REP_GOOD); - /* - * 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); -- 2.34.1