Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp2857541pxb; Sun, 29 Aug 2021 05:56:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz18CTTStTNT2FWv7/pa4b1CbD9U+HBJApQ8g/FnN7LJ/+9p41cE/dIla9Eymlyzyh8Sa0g X-Received: by 2002:a92:c241:: with SMTP id k1mr13109475ilo.270.1630241760578; Sun, 29 Aug 2021 05:56:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630241760; cv=none; d=google.com; s=arc-20160816; b=EzBwprSEOmfD2OBxC+qRmNj9x62VrlAEqyXIewhOSHxnFE8wbomK5XaFeUOn6VDWJE k2kmfr0VtANFgu4fdeM73d98ht6XYlIg9D3joW1CZ8NrvvVGMCGoLYKLHRznDdT99oN2 kXeJAmlArWTcvAdbDaQ+Kt5sGqEW82HIJCdBMssAV31IHjXOPXOCe+JghYAjmsj4xgw+ K0gzz/bY8GCe6NcXJXebm523TmWgvS30uj9qNtHo5a29Gr5I9P203a2izxA0Fq8vu0Jr qC71f+4yjccFCoa0056ee2oBCqOvFCrM1xGSc3N3MGZSK0M1gt7tqWpz/UYJTbXJgkCr JtWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:date:cc:to:from:subject:message-id:dkim-signature; bh=4VT7HsleXnyApJ065hiHgYH7fPmSKGhjsjtBFnJBnfM=; b=yAtrj81FRx+k6gubNPs3huHrPUhohM2QfgD7B08RTm1liAP3NccCl9w3FzkBCxePK1 lbgnV0nj9id4riE3hVwYULDosvI5pI92fe177wI0yslfH8H9SCkH32dnHzn/hNJ2319+ ka3JXTr4cD3tAdhAEmT+IuPc5Uonuf0q3fCSBI42A/R0miXASjsfD+i5xVhChKuGrZXg UAw9Ye/D5RiIAAJWv0lCOa19Q0SP2Z7+440DJJnPe02z2DmetB2eGF/64vlZGd0Qi7ws SWV5a+VtX5Z3M5PzJN0iGSMCX7ZneSFKEMfZ7eMbE4lhdi+vHDLK9M7H1GBiSyksjs42 ECXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mengyan1223.wang header.s=mail header.b=D2ZrwHnG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mengyan1223.wang Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m4si12578565ili.30.2021.08.29.05.55.49; Sun, 29 Aug 2021 05:56:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mengyan1223.wang header.s=mail header.b=D2ZrwHnG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mengyan1223.wang Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235334AbhH2Mzi (ORCPT + 99 others); Sun, 29 Aug 2021 08:55:38 -0400 Received: from mengyan1223.wang ([89.208.246.23]:50802 "EHLO mengyan1223.wang" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235271AbhH2Mzh (ORCPT ); Sun, 29 Aug 2021 08:55:37 -0400 X-Greylist: delayed 330 seconds by postgrey-1.27 at vger.kernel.org; Sun, 29 Aug 2021 08:55:35 EDT Received: from localhost.localdomain (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@mengyan1223.wang) by mengyan1223.wang (Postfix) with ESMTPSA id 6DEEE65A34; Sun, 29 Aug 2021 08:49:11 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mengyan1223.wang; s=mail; t=1630241352; bh=4VT7HsleXnyApJ065hiHgYH7fPmSKGhjsjtBFnJBnfM=; h=Subject:From:To:Cc:Date:From; b=D2ZrwHnGztEQHojfa7/y/m3YPEfHzW2H1+IATuHJsWw/0wb5cQmgdE5QxZTFlMZ2O Jtx0IXiQkh9lJ+ThDLXZZhe7/vyw+xD/84B8dKxUeG1VurVafV02pCdfBMzDNHekjD jjIpMsgXGcJFe8AlTs5BQYfpaE3KX1qv81Rx4vYeDDwnpjig0wtgnQVvN7gpI0d5e7 Vj6deJSVJZxf63lvyLDr8yRauR/RBCNVkV0bMh90uvBVs3R4dfLhN3ftOwjrEVINV5 sUR26iZKn+Sg6w5uWOeuWsBJBt9H088uFckgvwo1HAsMOrgMKWhb/oLPSPSPeWIEgy m8JFF6H/oYEjQ== Message-ID: <0b7c9431efb12c2d957fcc53ec8f0743725d61b3.camel@mengyan1223.wang> Subject: [PATCH] mips: remove reference to "newer Loongson-3" From: Xi Ruoyao To: linux-mips@vger.kernel.org Cc: Thomas Bogendoerfer , linux-kernel@vger.kernel.org, Huacai Chen Date: Sun, 29 Aug 2021 20:49:09 +0800 Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.40.4 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Newest Loongson-3 processors have moved to use LoongArch architecture. Sadly, the LL/SC issue is still existing on both latest Loongson-3 processors using MIPS64 (Loongson-3A4000) and LoongArch (Loongson-3A5000). As it's very unlikely there will be new Loongson-3 processors using MIPS64, let's stop people from false hoping. Signed-off-by: Xi Ruoyao Cc: Huacai Chen --- Huacai: how's the status of LL/SC issue on Loongson-2K? If the issue exists on it as well, we can just force CPU_LOONGSON3_WORKAROUNDS when CONFIG_CPU_LOONGSON64 and CONFIG_SMP are both selected. arch/mips/Kconfig | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 6dfb27d531dd..ff5f344a371e 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -1433,19 +1433,14 @@ config LOONGSON3_ENHANCEMENT new Loongson-3 machines only, please say 'Y' here. config CPU_LOONGSON3_WORKAROUNDS - bool "Old Loongson-3 LLSC Workarounds" + bool "Loongson-3 LLSC Workarounds" default y if SMP depends on CPU_LOONGSON64 help Loongson-3 processors have the llsc issues which require workarounds. Without workarounds the system may hang unexpectedly. - Newer Loongson-3 will fix these issues and no workarounds are needed. - The workarounds have no significant side effect on them but may - decrease the performance of the system so this option should be - disabled unless the kernel is intended to be run on old systems. - - If unsure, please say Y. + Say Y, unless you know what you are doing. config CPU_LOONGSON3_CPUCFG_EMULATION bool "Emulate the CPUCFG instruction on older Loongson cores" -- 2.33.0