Message ID | 20230519164753.72065-4-jiaxun.yang@flygoat.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1374523vqo; Fri, 19 May 2023 09:50:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7rTR1XyiaJSnnglwhL3OvOsU0fb1Ea6uqbbNEcyib4BhDca9jsfaJXfk1cDGA6p90lu+AA X-Received: by 2002:a05:6a20:6a1c:b0:100:9a80:2e90 with SMTP id p28-20020a056a206a1c00b001009a802e90mr3040217pzk.59.1684515004451; Fri, 19 May 2023 09:50:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684515004; cv=none; d=google.com; s=arc-20160816; b=HTKJQ54hiOMQd6C9NrvuiU+r32VGEeVevOXAB7OEj3epnY9zRDe/KzFrp8lrLRCnmB NlB68K130tNfKgesqnv6qlZIFz79+iafH/O8yXZfKkMfTMNmI+sUJBxWR7X8HOKkm9v/ ZjYSCkqtsY1e209+ifUfNwK9+oBiGbUj+AIEfNwU9aLyO8Ya6JnXEwwenWa0n5i75Ibt IhtwvuX6Hq/pLEI0w7pRH+DzLeZOzWYOquP7/HDxo0H5kv2kssOxt6aMqRzv1RQ6R7yS 9VAqXsxhW/jmavmpzmYPbEiHcqc2fLcsXxCm8GUTMZqB2EIIwmy8mVAu3wgFu+K66H3T Rd2w== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :feedback-id:dkim-signature:dkim-signature; bh=ER5O497djZCDIkmyCNXXy/HSN/ue8KW99etXc+TOCfI=; b=ntG9X3iZhsdu0upV+t3ollvaggaXQyoUeZdK9VjvfLoME3DYVGb5LukZz5d0mkrTYz PbCuOZZf19mp6s6ZQIHvqOcUISte6bPH1OWikTnkSiwnQp72kadcrZsj52q5g3qGWhEg E+3DVB4KPCO91mQPsGmnEuqJFN5TrXZaCdkGvm/nH8XWDWZWae8/FQnsFPUUVW4gVOr+ I3t3EGVSu13tAg4STr7EeuQuQrpkVY7fhPwJkNmEE/shAmkYKzRJDfRRHFFd5QrK5Bed Hlq3McUVVKnVv2PCEP9JwZAHK64bePuxB4exAkkHEILu8o9zLr1eIByBf1YhSfMrBbaJ WWdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm2 header.b=aEWNFzt2; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=gJNcNTpi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l191-20020a6388c8000000b00534849cb1afsi2436861pgd.593.2023.05.19.09.49.51; Fri, 19 May 2023 09:50:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm2 header.b=aEWNFzt2; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=gJNcNTpi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231468AbjESQtG (ORCPT <rfc822;wlfightup@gmail.com> + 99 others); Fri, 19 May 2023 12:49:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230203AbjESQsr (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 19 May 2023 12:48:47 -0400 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A80DCB6; Fri, 19 May 2023 09:48:18 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 883383200979; Fri, 19 May 2023 12:48:17 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 19 May 2023 12:48:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1684514897; x= 1684601297; bh=ER5O497djZCDIkmyCNXXy/HSN/ue8KW99etXc+TOCfI=; b=a EWNFzt2I7sbRhFmICxYITPUfPLgKFg7zscKjDun7r6vn2ffLLBkT/Bg/YW/3LGNa ATAKsFUtkj/s2dUzQzSms//c8Sce9kSk8xEGdXfAP44yZaP8jO0s3fw8s7KexIka U1BKOiIrtAND2UcnYcvxxll19Ol1NkESkDlxwAhnosXZS068EBHNhBYFaiAc2fYg 3+5czIvsQ8AXdavWQ72RXrLGJWjwV3cfk8ved0ShuxfssaCEgNaw+KZiYFBiUMdW Nigur28z5UKeTCDe5z6oLlY5Gxcp7dpaAJbUnpFBNXjda2DtS7KBNRcg+yMdJKfv iiBkjB/BZiIlmaQ/fTWDA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1684514897; x= 1684601297; bh=ER5O497djZCDIkmyCNXXy/HSN/ue8KW99etXc+TOCfI=; b=g JNcNTpiHwKMfVE2Gbv5a+qt4PNnq0StVViX5qFTV3FNezsQvLSeipYPs5hmy9m0W pIKQge7rrqmYHG8w3AydIGj6K++zz53963VadSt6S83HmqAdyDkYou8mL6OeRIoO FJ6uO47rZgBXkLKe1jxKZzpJEZNT2iN22t1o8ddQm9bsABI8KvDAjnQZMNqJhVaP URtZLcQwFTNdIpanqOMaj7ai8mK4M0O/eGZdwFbqAZlOZ7pAlxPMFlX9H0zfA48d qnWJZ/oL/aoLtRfylLQf8fo9P7oCqU33tRk0BCv1mYwqxL93kW5rul+uo7eDmuvF OwY/PqMzP9f0uua0nZg8A== X-ME-Sender: <xms:UahnZHymM_8hV8c6u8s4bBD2c8Jmh7Assa8Wjr6BOqSMrcbNOz3ZaQ> <xme:UahnZPRm11q1Lv34n0eZD_gKrjlwJfHp-oC3fXOKrHnam-g6GbERNyQ6zKEdFxv1c m1JIR6CvYzyfztypXI> X-ME-Received: <xmr:UahnZBVmhqyibydQZ8gfRspc6A7svc8VkxhCX9cEXPADbnhwYlzRSik4fREn> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeeihedguddthecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgjfhgggfestd ekredtredttdenucfhrhhomheplfhirgiguhhnucgjrghnghcuoehjihgrgihunhdrhigr nhhgsehflhihghhorghtrdgtohhmqeenucggtffrrghtthgvrhhnpeefledufeehgedvue dvvdegkefgvddttedtleeiiefhgeetudegkefhvdfhjeeftdenucevlhhushhtvghrufhi iigvpedunecurfgrrhgrmhepmhgrihhlfhhrohhmpehjihgrgihunhdrhigrnhhgsehflh ihghhorghtrdgtohhm X-ME-Proxy: <xmx:UahnZBjBL8uvcLlyk3rraRsDwS_Zkzj3vrBYayfYuDOMHlAlWObY-w> <xmx:UahnZJCLNHmRfcSnFFgueTCqZwmA65nEMQddAtGItrTLRBHui-8b6w> <xmx:UahnZKJoadrMiIRDudRusIfzG3VhcuelFk6xPN45y_J5oSCYHW7FFw> <xmx:UahnZMN6D5v31iUr-jujB8UeJPQ696CFBZbin7vI6Cx37f9qW1StTg> Feedback-ID: ifd894703:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 19 May 2023 12:48:16 -0400 (EDT) From: Jiaxun Yang <jiaxun.yang@flygoat.com> To: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org, tsbogend@alpha.franken.de, Jiaxun Yang <jiaxun.yang@flygoat.com> Subject: [PATCH 3/3] MIPS: Select ARCH_SUPPORTS_ATOMIC_RMW when possible Date: Fri, 19 May 2023 17:47:53 +0100 Message-Id: <20230519164753.72065-4-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.39.2 (Apple Git-143) In-Reply-To: <20230519164753.72065-1-jiaxun.yang@flygoat.com> References: <20230519164753.72065-1-jiaxun.yang@flygoat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766342005438400851?= X-GMAIL-MSGID: =?utf-8?q?1766342005438400851?= |
Series |
MIPS: Enable ARCH_SUPPORTS_ATOMIC_RMW
|
|
Commit Message
Jiaxun Yang
May 19, 2023, 4:47 p.m. UTC
Select ARCH_SUPPORTS_ATOMIC_RMW when we are certain that our CPU
have LLSC support.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
---
arch/mips/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 85728e4703bd..5f52bdecb4c9 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -21,6 +21,7 @@ config MIPS select ARCH_USE_MEMTEST select ARCH_USE_QUEUED_RWLOCKS select ARCH_USE_QUEUED_SPINLOCKS + select ARCH_SUPPORTS_ATOMIC_RMW if CPU_HAS_LLSC select ARCH_SUPPORTS_HUGETLBFS if CPU_SUPPORTS_HUGEPAGES select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT if MMU select ARCH_WANT_IPC_PARSE_VERSION