From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 31E45C3A59F for ; Thu, 29 Aug 2019 23:39:53 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EDAE92166E for ; Thu, 29 Aug 2019 23:39:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="q5D26xXR" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EDAE92166E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=JeQr0+S2fOT67O5ef5jYWlGRcbqrkyxeETo2C3EpqSw=; b=q5D26xXRW09bxp zN2h4YsWfAvc9dQ1MbEnkVPKehLXXeqTtQfPjhM2tgu/iA4xHipCOQZ3r5Ji2E3O/A9k6fndmK2JT 9tYNqkomUCHduDgcaQjPsX9fkyCrFuy+jfdLDn+ZdbLbJ3rxBNLBeGhidut2PkY+pAEL94k54Y7tF aIJK4vtE1fw7TVShGdZ2lANtiLJkyyF2nS1jTxIYwe5+GCLB85IELbxBjd1bCsqOhwrzIT0Pn6pp/ taUkfDc5DqzJoNuGQZa2lekYqZALM9a41hHkGi7a9x9nabN4Zd6lRgU2pbiiKaVQKN5jCYetpZFxC uZLdkR3ZjxXh8O18Brug==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i3U11-000413-5f; Thu, 29 Aug 2019 23:39:43 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i3U0y-00040Y-4c for linux-arm-kernel@lists.infradead.org; Thu, 29 Aug 2019 23:39:41 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 554D5337; Thu, 29 Aug 2019 16:39:37 -0700 (PDT) Received: from localhost (unknown [10.37.6.20]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id BDAF63F718; Thu, 29 Aug 2019 16:39:36 -0700 (PDT) Date: Fri, 30 Aug 2019 00:39:35 +0100 From: Andrew Murray To: Will Deacon Subject: Re: [PATCH v5 06/10] arm64: lse: Remove unused 'alt_lse' assembly macro Message-ID: <20190829233933.GM14582@e119886-lin.cambridge.arm.com> References: <20190829154834.26547-1-will@kernel.org> <20190829154834.26547-7-will@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190829154834.26547-7-will@kernel.org> User-Agent: Mutt/1.10.1+81 (426a6c1) (2018-08-26) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190829_163940_223961_42985A82 X-CRM114-Status: GOOD ( 12.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, peterz@infradead.org, catalin.marinas@arm.com, ndesaulniers@google.com, Ard.Biesheuvel@arm.com, natechancellor@gmail.com, robin.murphy@arm.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Aug 29, 2019 at 04:48:30PM +0100, Will Deacon wrote: > The 'alt_lse' assembly macro has been unused since 7c8fc35dfc32 > ("locking/atomics/arm64: Replace our atomic/lock bitop implementations > with asm-generic"). > > Remove it. > > Signed-off-by: Will Deacon > --- Reviewed-by: Andrew Murray > arch/arm64/include/asm/lse.h | 22 ---------------------- > 1 file changed, 22 deletions(-) > > diff --git a/arch/arm64/include/asm/lse.h b/arch/arm64/include/asm/lse.h > index 52b80846d1b7..08e818e53ed7 100644 > --- a/arch/arm64/include/asm/lse.h > +++ b/arch/arm64/include/asm/lse.h > @@ -10,37 +10,15 @@ > #include > #include > > -#ifdef __ASSEMBLER__ > - > -.arch_extension lse > - > -.macro alt_lse, llsc, lse > - alternative_insn "\llsc", "\lse", ARM64_HAS_LSE_ATOMICS > -.endm > - > -#else /* __ASSEMBLER__ */ > - > __asm__(".arch_extension lse"); > > - > /* In-line patching at runtime */ > #define ARM64_LSE_ATOMIC_INSN(llsc, lse) \ > ALTERNATIVE(llsc, lse, ARM64_HAS_LSE_ATOMICS) > > -#endif /* __ASSEMBLER__ */ > #else /* CONFIG_AS_LSE && CONFIG_ARM64_LSE_ATOMICS */ > > -#ifdef __ASSEMBLER__ > - > -.macro alt_lse, llsc, lse > - \llsc > -.endm > - > -#else /* __ASSEMBLER__ */ > - > - > #define ARM64_LSE_ATOMIC_INSN(llsc, lse) llsc > > -#endif /* __ASSEMBLER__ */ > #endif /* CONFIG_AS_LSE && CONFIG_ARM64_LSE_ATOMICS */ > #endif /* __ASM_LSE_H */ > -- > 2.11.0 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel