From patchwork Thu Feb 29 13:28:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jinjie Ruan X-Patchwork-Id: 13577133 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 59AAAC48BF6 for ; Thu, 29 Feb 2024 13:29:02 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/O0PpGcUO/0UX0CWBxMhwYFf9puJgfbXtJtjQMFpIS8=; b=UdNFSa6Ei+j596 8hbd/LZwiRgcQL6xwKLqXJYyPKFG4IDIl6sZAaAqNrjdNX9gxb8ws/c/UwTF+WClov4172iVNCDy3 I/m6Xly0aJigYD+U9YKod92BacmHTUj19w6r/Ra5eDlvSZsvnTSBW2b5Rxwb7jAYfrM3RSMv1mQwp K/l/EkoiBXccGLreYkryGpr2hG1U2EM7X9dV5RZXT1xXczHiUd4xiql9TCXkxBkwX4xh20QUIpg8h N0T58+Ev/d4650WVOUIC/eq9ub1+AX2bwQl7afUFfOn18TS0MYyNuYWKSM3ku0FZkmz/8fBnXZf9c t1bIP9nifOwrJGjwlz3g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rfgSw-0000000DfAS-1HAT; Thu, 29 Feb 2024 13:28:50 +0000 Received: from szxga04-in.huawei.com ([45.249.212.190]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rfgSs-0000000Df8F-3m07 for linux-arm-kernel@lists.infradead.org; Thu, 29 Feb 2024 13:28:48 +0000 Received: from mail.maildlp.com (unknown [172.19.88.163]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4TlsT90GFsz1xpQk; Thu, 29 Feb 2024 21:27:09 +0800 (CST) Received: from kwepemi500008.china.huawei.com (unknown [7.221.188.139]) by mail.maildlp.com (Postfix) with ESMTPS id 5C5AD180060; Thu, 29 Feb 2024 21:28:40 +0800 (CST) Received: from huawei.com (10.90.53.73) by kwepemi500008.china.huawei.com (7.221.188.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Thu, 29 Feb 2024 21:28:39 +0800 From: Jinjie Ruan To: , , , , , , , , , , , CC: Subject: [PATCH 1/2] arm64: Remove enable_daif macro Date: Thu, 29 Feb 2024 21:28:01 +0800 Message-ID: <20240229132802.1682026-2-ruanjinjie@huawei.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240229132802.1682026-1-ruanjinjie@huawei.com> References: <20240229132802.1682026-1-ruanjinjie@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.90.53.73] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To kwepemi500008.china.huawei.com (7.221.188.139) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240229_052847_206148_D6023A4D X-CRM114-Status: UNSURE ( 7.77 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Since commit bb8e93a287a5 ("arm64: entry: convert SError handlers to C"), the enable_daif assembler macro is no longer used anywhere, so remove it. Signed-off-by: Jinjie Ruan Reviewed-by: Mark Brown Acked-by: Mark Rutland --- arch/arm64/include/asm/assembler.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm64/include/asm/assembler.h b/arch/arm64/include/asm/assembler.h index ce7b95cd6e79..ab8b396428da 100644 --- a/arch/arm64/include/asm/assembler.h +++ b/arch/arm64/include/asm/assembler.h @@ -38,10 +38,6 @@ msr daifset, #0xf .endm - .macro enable_daif - msr daifclr, #0xf - .endm - /* * Save/restore interrupts. */