Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 42C53606A330 for ; Mon, 30 Nov 2026 15:57:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=fd7NNdth; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=foss header.b=LNFVVNEM DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Unsubscribe-Post: List-Owner; bh=ZrcWoTSOzlTVEpqvWQIVwjQz44lquL6GBWD9kOB1d5A=; b=fd7NNdth/TxHPF Bw7bnyIJkmBSBQ4j+Qa6KoBcRvuS0I1zy4s0eMVXD+byE+ozuRKguAD3jXB76USA3bZBmT40yzpz8 Qb3MSWH2I49pTMoDKhaVGEOz+8vBm6b1hueuPgyK4clrAKQaKKjhb/6lDKwfIVpNBS9X+ZaIKK5sJ 3Tg5f1MZ/HOA9LUs8LttDo2M9GUYhhmle/buhxuIk42M+LvvS3YfWrUSpPIU4eiySCQZ2Fs3cPzBk uAl+DWK+Oy2iDAcjcAF9VR2R1FPcZZEW1Fu9dZL4U/h5phMrolqhRRzMU9h8vc+riYNgSZdmP3BAJ Cb8Uku6v7V5tospUJ1WQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xY3kp-0000000573x-2UJs; Mon, 30 Nov 2026 15:57:23 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xY3jl-000000056TE-3R7L for linux-arm-kernel@lists.infradead.org; Mon, 30 Nov 2026 15:56:19 +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 7689416F2; Mon, 30 Nov 2026 07:56:14 -0800 (PST) Received: from login2.euhpc2.arm.com (login2.euhpc2.arm.com [10.58.100.22]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id BF1C23F86F; Mon, 30 Nov 2026 07:56:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1796054177; bh=ZF7la7KfZFsTGz5hyynnnuGEwHxLINLpHEGVO0JPFZU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LNFVVNEMGWsqTNlRhDXjy+1gSUiogv6afnjWOou+p9+27BhRnsBUfYg1tslxSGiO/ 4YhCbh6gpy7nK8Lvf3C7tCeIhZvtzfIwUOthKmIN/ppxwoG/Jwxev7oso2LtqtDILM CCNxhaHHGV3ayMXk9LXoCeHpdkPMGb3W+ZVpLApE= From: Vladimir Murzin To: linux-arm-kernel@lists.infradead.org Cc: catalin.marinas@arm.com, will@kernel.org, mark.rutland@arm.com, lpieralisi@kernel.org, ruanjinjie@huawei.com, liaochang1@huawei.com, ashok.raj@oss.qualcomm.com, maz@kernel.org, kas@kernel.org Subject: [PATCH v3 18/44] arm64: cpufeature: Remove system_has_prio_mask_debugging() Date: Mon, 30 Nov 2026 15:54:40 +0000 Message-Id: <20261130155506.118408-19-vladimir.murzin@arm.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20261130155506.118408-1-vladimir.murzin@arm.com> References: <20261130155506.118408-1-vladimir.murzin@arm.com> X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261130_075617_894746_44F65E5A X-CRM114-Status: UNSURE ( 7.11 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -4.4 (----) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-18.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Users of system_has_prio_mask_debugging() have gone, so remove it. Signed-off-by: Vladimir Murzin Reviewed-by: Jinjie Ruan Tested-by: Jinjie Ruan --- arch/arm64/include/asm/cpufeature.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/arm64/include/asm/cpufeature.h b/arch/arm64/include/asm/cpufeature.h index 7d7b8eb7f72f..1b31b816d3ce 100644 --- a/arch/arm64/include/asm/cpufeature.h +++ b/arch/arm64/include/asm/cpufeature.h @@ -845,12 +845,6 @@ static inline bool system_supports_mte(void) return alternative_has_cap_unlikely(ARM64_MTE); } -static inline bool system_has_prio_mask_debugging(void) -{ - return IS_ENABLED(CONFIG_ARM64_DEBUG_PRIORITY_MASKING) && - system_uses_irq_prio_masking(); -} - static inline bool system_supports_bti(void) { return cpus_have_final_cap(ARM64_BTI); -- 2.34.1