Message ID | 20230519164753.72065-1-jiaxun.yang@flygoat.com |
---|---|
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 b10csp1386096vqo; Fri, 19 May 2023 10:06:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ73CO/iZaTm1poWn8s2qEKVmx23ICtXOZnFOPsqIbDXgCuFjuWfbxQEpu6QZFJ6Nb8CtXzy X-Received: by 2002:a17:90a:4815:b0:253:44bc:967c with SMTP id a21-20020a17090a481500b0025344bc967cmr2630283pjh.24.1684515981532; Fri, 19 May 2023 10:06:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684515981; cv=none; d=google.com; s=arc-20160816; b=VnhHc7XSjE4aMCeVP2d7Tzqn203m0aR9ytOm9gEzcZaXkossYatCvm2npjJuvGMdBv J5cO5Qy26DaePlaMi1Nx4rC37Zz5AgPcfY2MBjE8hPv7a6461lasxPaMsIhHl6bCtkW/ KVxuY5EileiiyypNbdLEhNUcoIcCvYSOiF3UKkf4TrULI53XmQrKoqip9PM9Z3se7XqI 6sEGp46pRTTY2jQmFSPVu8V8XkYokqnXBkxUjALcd7tDw4GsAIIbioGIyRiJY32XN4Uy ji7OSzn4/X+nG6n2gOorXwpaZRMwbMOZzHPBAvRBceCeUUSoLIJ8/Nz2QXYeRxCv1Jh2 7UGw== 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 :message-id:date:subject:cc:to:from:feedback-id:dkim-signature :dkim-signature; bh=uzXVcwMzPn337OiZ69IXbCexOkREs2VnsmCqgff2c4M=; b=Ihekgqk6cyPS7O4Paq/gkMyEzW3p1Qrsc4+tsu9WPetp5GGJElEwr8Pru0XHvtCBBr 7ht/AtDUfBJqshYUHHe6NMZH3NVIsDs9As0fLSErXV3lfgBNn5xJU1Uzbs1zZ2I0Lzwv 1jEMzooUrLXtLpEb54O18xZJGQvrvSYPbj96Mjw6kQPqLQCvh/eR0WzWyBTYp+YIbIBo PkjrEnG50yXYNN9gBtyYgB9lwnxY/qPwz66joSY29SeiC/biid29anF0nvR2GXcZTtny HU4gp5xVKrxDtUsetUJM11ljKXTXqfbArPQlckYW4FbXgVrUrQ1kEKr0oVaPEYMFiFiY I0BA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm2 header.b=rzRFwQtA; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=AmXeONaJ; 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 w191-20020a6382c8000000b0053484c32054si2621353pgd.410.2023.05.19.10.05.54; Fri, 19 May 2023 10:06:21 -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=rzRFwQtA; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=AmXeONaJ; 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 S230373AbjESQtA (ORCPT <rfc822;wlfightup@gmail.com> + 99 others); Fri, 19 May 2023 12:49:00 -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 S229980AbjESQso (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 19 May 2023 12:48:44 -0400 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F8D31998; Fri, 19 May 2023 09:48:16 -0700 (PDT) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id B29B532004ED; Fri, 19 May 2023 12:48:11 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 19 May 2023 12:48:12 -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:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm2; t=1684514891; x=1684601291; bh=uzXVcwMzPn 337OiZ69IXbCexOkREs2VnsmCqgff2c4M=; b=rzRFwQtAi3RuWhL4UmunoMXNaS M5O0cEAUGM5j+jpdJJ1hadON7OKZbh+Cyj1dVGTjFqXeRBkKydIggfLrZJCnlt1x +eIPFJlUjSICiVBC0JHiFDhW/vqFIvwwl0nX+mCVU/K0YqZbkWPgaErIkbkjWeTb ft27akKKDoyJthuxtlBD/1dBz1p0+Hoo+XotiyhFybvRGvyV1zhbSkp0WutJ7Iwm /xFXeZNSQanFzsU6WQfPgOaIMh+K2zlNeaSnFxedmkboMx0EdrYZOfQtccSkIavG v2Fi2MMK4fjJg5oWNb+GHSJB6wOTa94glrRPBeNJHpBv6BNeTxf4FqfXrMOg== 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:message-id:mime-version: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=1684514891; x=1684601291; bh=uzXVcwMzPn337 OiZ69IXbCexOkREs2VnsmCqgff2c4M=; b=AmXeONaJ+w28DKuVsAa5u+rhVRGHM SdC8sVTuCNXMNbOsQpChw9V0K8K8HuemcTKvmfnmRcR4PCa+U+SVJg4LjRpvBxPo 83G9isbsvE3wBlnNLa7EhoVw+wZJZ2ajYej0uuLP9H5ZWbL08RvudFPwoI4aon8C AeJAggONgENLtZ7F3JzRGjkP5I7nYTzzJg2LavSSsgeNVAlGbxx2NC+eS5wCfq7o NXXV6Ecz2Tc7/DRIqsuZ8T7gyYCo/9GvAa096AJOkW0ksW0IrABtmhNedv9Zo3h3 TzLnU8sOxFnkj2UudFRFWhwXL5b20isbSpWomhmkr+kozIki9As+dQT3A== X-ME-Sender: <xms:S6hnZKdX1ERu1hmFU-nPLxj_3lgmk_arisPfvqgU4_9HAE-VchSsJw> <xme:S6hnZEN4E_0iN2bUCxQ35-4G0OxIwFpoGHDlanlJGq8blmynOs16r2_iQXoQAy54F DmEBuKMK_NtTmWj3S8> X-ME-Received: <xmr:S6hnZLi-ei597fYONIw403Fz_AUUYOvuRHIw8ldgbA6854lsSZxBNR7XC3x7> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeeihedguddthecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgggfestdekre dtredttdenucfhrhhomheplfhirgiguhhnucgjrghnghcuoehjihgrgihunhdrhigrnhhg sehflhihghhorghtrdgtohhmqeenucggtffrrghtthgvrhhnpefhtedutdduveeileejje etffehueejudehgfffjeduhfeuleeludfffefgffevkeenucevlhhushhtvghrufhiiigv pedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjihgrgihunhdrhigrnhhgsehflhihgh horghtrdgtohhm X-ME-Proxy: <xmx:S6hnZH_wH7j9gI5kb1jVwSUoM20c9UqCtrIS-EaP0sRXl1iSUMO83g> <xmx:S6hnZGtEAyt4Vc-7sMGKSb0pv8UCxu-BepzWmPFgLHGOoc3RiAn0-A> <xmx:S6hnZOHfZp1HvuPEa-K9LSWyrx1JoVXeZ7l4PvaSoZaw-lSIFScO8g> <xmx:S6hnZP5TLKjQveT4fAGKjO83Ii6HFtnAgYq4M8v9f-_0cQiRgsVn_Q> Feedback-ID: ifd894703:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 19 May 2023 12:48:10 -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 0/3] MIPS: Enable ARCH_SUPPORTS_ATOMIC_RMW Date: Fri, 19 May 2023 17:47:50 +0100 Message-Id: <20230519164753.72065-1-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.39.2 (Apple Git-143) 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?1766343029705870306?= X-GMAIL-MSGID: =?utf-8?q?1766343029705870306?= |
Series |
MIPS: Enable ARCH_SUPPORTS_ATOMIC_RMW
|
|
Message
Jiaxun Yang
May 19, 2023, 4:47 p.m. UTC
Hi all, This series enables ARCH_SUPPORTS_ATOMIC_RMW for MIPS. The first two patches are for making LLSC availability information available to Kconfig, and the last one selects the actual option. Please review. Thanks - Jiaxun Jiaxun Yang (3): MIPS: Introduce WAR_4KC_LLSC config option MIPS: Introduce config options for LLSC availability MIPS: Select ARCH_SUPPORTS_ATOMIC_RMW when possible arch/mips/Kconfig | 27 +++++++++++++++++++ arch/mips/include/asm/cpu-features.h | 7 ++++- arch/mips/include/asm/cpu.h | 1 + .../asm/mach-ath25/cpu-feature-overrides.h | 2 +- arch/mips/kernel/cpu-probe.c | 7 +++++ 5 files changed, 42 insertions(+), 2 deletions(-)