Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3689394rdg; Wed, 18 Oct 2023 03:15:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFI+SlSwxue5k7pmoyE4rTw38uPMGM3D0lGsC+faYfdHbJTku0o/viZlnio/hIXic6WtRcV X-Received: by 2002:a17:90a:1549:b0:268:5575:93d9 with SMTP id y9-20020a17090a154900b00268557593d9mr4543259pja.10.1697624148444; Wed, 18 Oct 2023 03:15:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697624148; cv=none; d=google.com; s=arc-20160816; b=rhAXQJTfmmRpDA72CuhrMjV6SKZXXwXPQ6jLyMqmH3hStkRU8/2GQfQmcjAKJlMboy GF4fZLatojZDgKQORBX2Q9FByAY+xu/Hp1Cr5lBJuBHz7gltokXeJyo9X96EhGoQ6ohG 0iYLoypMvqDy2qqHub1Rdg3Eit57xIA6nLCdglE4y+2es9UKOaGqqiYFz6w+LuuwZNTw n+LIgtoGGw1bm/JFRYW7sGeauaPeXDb5cEmQgdGu411AKWiZOOzAYVEBY+0BPwUS2YEN sI7BTyJFya3ccU7asdxx/c20knDi+BlNH0puldhCSXZNhsLsG1wc4cscBKpiHJfghkRG jt3A== 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; bh=E9nSlU5f26qNGHXDLBJ8LvHMB0lG9gwmmn4CD8MEawE=; fh=UDepFT2hKQYKNug6smM4JoMgFCYn08MdNtWJPm9pRgM=; b=MVH2hYsjVETFSYRvsDKFCjGvOH8jn68ULWkZeSbctqfQ/SjbtEtRVew0yaAbw3y7NU G6PyTQyfVLmbNAR/3FlaH9iRlEWF3u/Py5gjMN9I2J3daonpOPs/Uk1GiQvfLwRMqlGM btap9Up5n1MWNvjAyuBrfNVuSYqvc+KbfQrXexBi0UVxl35aZ9tR8vtN14jLiUIjdZqB qYX9sqq3YiYcpo55tMTqgXn6XlZ78Jn5SIdVuGHuRE2vgZHWKQj7a9OPELE+jUXz1LgD GUT9w1c20nI1gf82yYFtE0NqXVBYjmmN2iApchgEr9UMEObB55VeJxXBfKy/fA6aq7+4 X5mA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id j12-20020a17090a588c00b0027d032092d7si1152829pji.184.2023.10.18.03.15.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 03:15:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 3727280C4D6E; Wed, 18 Oct 2023 03:15:45 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229728AbjJRKPg (ORCPT + 99 others); Wed, 18 Oct 2023 06:15:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229570AbjJRKPd (ORCPT ); Wed, 18 Oct 2023 06:15:33 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BCFDF7 for ; Wed, 18 Oct 2023 03:15:32 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D9603C433C7; Wed, 18 Oct 2023 10:15:29 +0000 (UTC) From: Catalin Marinas To: linux-arm-kernel@lists.infradead.org, Gavin Shan Cc: Will Deacon , linux-kernel@vger.kernel.org, mark.rutland@arm.com, suzuki.poulose@arm.com, anshuman.khandual@arm.com, shan.gavin@gmail.com Subject: Re: [PATCH] arm64: Remove system_uses_lse_atomics() Date: Wed, 18 Oct 2023 11:15:27 +0100 Message-Id: <169762410088.3624197.11478109539988963164.b4-ty@arm.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231017005036.334067-1-gshan@redhat.com> References: <20231017005036.334067-1-gshan@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 18 Oct 2023 03:15:45 -0700 (PDT) On Tue, 17 Oct 2023 10:50:36 +1000, Gavin Shan wrote: > There are two variants of system_uses_lse_atomics(), depending on > CONFIG_ARM64_LSE_ATOMICS. The function isn't called anywhere when > CONFIG_ARM64_LSE_ATOMICS is disabled. It can be directly replaced > by alternative_has_cap_likely(ARM64_HAS_LSE_ATOMICS) when the kernel > option is enabled. > > No need to keep system_uses_lse_atomics() and just remove it. > > [...] Applied to arm64 (for-next/misc), thanks! [1/1] arm64: Remove system_uses_lse_atomics() https://git.kernel.org/arm64/c/0899a6278a86 -- Catalin