From patchwork Thu Feb 29 13:28:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jinjie Ruan X-Patchwork-Id: 13577134 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 D950DC48BF6 for ; Thu, 29 Feb 2024 13:29:13 +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: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:In-Reply-To:References: List-Owner; bh=K9y8kMY4ELg/qL7rNy1diNUvA0i98OLF9zqkjWwCVGw=; b=trE47ZcUQNBmkB 5jSQVF27tMitK66rChY0toNKOulSYKZa05+VoiAbCoUEyrkgB6zzPkeHpF7VSp5MKQ15Hp0jXGCm9 HU/j2MHw8FT4rfpSG3XS++hJPmV1B+1cR6Zo7QEGcItX9Ttp9efwRusYVnCjNCoEZ/LT8/4j2FeG0 BZMXA0eCxKo9fsVySg5HjgfnvN0+wSullEfbgjVI3sX3dkkuEWVcTpIILJxmWC6/zVlgTEpF/JTQ7 CH6O7OXcRxQYtK3bVWXd7HNl9zzBteuH6i12TZQAU2H6xhsYSBPM5sFrwFa8dZqKcYQaz6shaqby+ 4yLArKtPK+rNtEcD8uBw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rfgTB-0000000DfFS-1y97; Thu, 29 Feb 2024 13:29:05 +0000 Received: from szxga07-in.huawei.com ([45.249.212.35]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rfgSu-0000000Df8G-3a09 for linux-arm-kernel@lists.infradead.org; Thu, 29 Feb 2024 13:28:50 +0000 Received: from mail.maildlp.com (unknown [172.19.163.44]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4TlsSG1DVlz1Q9Vq; Thu, 29 Feb 2024 21:26:22 +0800 (CST) Received: from kwepemi500008.china.huawei.com (unknown [7.221.188.139]) by mail.maildlp.com (Postfix) with ESMTPS id 768FC1402CE; Thu, 29 Feb 2024 21:28:38 +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:37 +0800 From: Jinjie Ruan To: , , , , , , , , , , , CC: Subject: [PATCH 0/2] arm64: Remove enable_daif macro and rename disable_daif Date: Thu, 29 Feb 2024 21:28:00 +0800 Message-ID: <20240229132802.1682026-1-ruanjinjie@huawei.com> X-Mailer: git-send-email 2.34.1 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_052849_167488_8082B564 X-CRM114-Status: UNSURE ( 7.21 ) 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 The enable_daif macro is not used anywhere, so remove it. And the name of disable_daif can not represent its original intent, so rename it. Jinjie Ruan (2): arm64: Remove enable_daif macro arm64: Rename disable_daif to disable_all_int arch/arm64/include/asm/assembler.h | 6 +----- arch/arm64/kernel/entry.S | 2 +- arch/arm64/mm/proc.S | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-)