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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 63AFEC433FE for ; Thu, 24 Nov 2022 11:00:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc: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=JhPzFQ1J4tHlJ8eg7GQPkGwRiMhQ6HoaSLfTiblkj2M=; b=pAIWRy2ZMUBog7 Y5NzeC79fLwnwocFMgMOyk41oUeJWu6p6KAu4plZug56l+p4sCdOcQSuSZZ73zBn/FQzRBGQBdIxE AEiZcp9Nrssf5lYyI9aQt4C54sMf9nbBWXNxZO7T96DdrSEQXJu2lA6IkZei9ZFB/VJUKXLipCobi CJk2xJ7oF/jPeIwMQ7B+n3UHS8aDdUJKazAJDBozel7IPOv2ifry0yaKmgjS/Q74mg0zm86SUnfGn vW4DuU2DZEvtE3E5VVX2m9IQPF0H30sKijPgJLC1vALWv5oyfMeYxEHlsR6FYhrXgqmpPIMv0Wp90 aeDEAEsVJUqyPUGm1qhw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oy9xL-007r0Z-QJ; Thu, 24 Nov 2022 10:59:47 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oy9xI-007qzn-Qm for linux-arm-kernel@lists.infradead.org; Thu, 24 Nov 2022 10:59:46 +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 E8AD623A; Thu, 24 Nov 2022 02:59:47 -0800 (PST) Received: from FVFF77S0Q05N (unknown [10.57.5.138]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 755003F587; Thu, 24 Nov 2022 02:59:40 -0800 (PST) Date: Thu, 24 Nov 2022 10:59:37 +0000 From: Mark Rutland To: Mark Brown Cc: Catalin Marinas , Will Deacon , Ard Biesheuvel , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v1 2/2] arm64/asm: Remove unused assembler DAIF save/restore macros Message-ID: References: <20221123180209.634650-1-broonie@kernel.org> <20221123180209.634650-3-broonie@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221123180209.634650-3-broonie@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221124_025944_927733_5559956D X-CRM114-Status: GOOD ( 13.14 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Nov 23, 2022 at 06:02:09PM +0000, Mark Brown wrote: > There are no longer any users of the assembler macros for saving and > restoring DAIF so remove them to prevent further users being added, there > are C equivalents available. > > Signed-off-by: Mark Brown Getting rid of these will make it easier to clean up DAIF / PMR manipulation generally, so FWIW: Acked-by: Mark Rutland Mark. > --- > arch/arm64/include/asm/assembler.h | 9 --------- > 1 file changed, 9 deletions(-) > > diff --git a/arch/arm64/include/asm/assembler.h b/arch/arm64/include/asm/assembler.h > index 88175551b401..d8d6627be0f6 100644 > --- a/arch/arm64/include/asm/assembler.h > +++ b/arch/arm64/include/asm/assembler.h > @@ -34,11 +34,6 @@ > wx\n .req w\n > .endr > > - .macro save_and_disable_daif, flags > - mrs \flags, daif > - msr daifset, #0xf > - .endm > - > .macro disable_daif > msr daifset, #0xf > .endm > @@ -47,10 +42,6 @@ > msr daifclr, #0xf > .endm > > - .macro restore_daif, flags:req > - msr daif, \flags > - .endm > - > /* > * Save/restore interrupts. > */ > -- > 2.30.2 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel