Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp873275pxb; Thu, 21 Oct 2021 11:05:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSb6dcKd8g8dXRHgEx3xdCkVX0glK4EBgqZzJ3KFsyIRRrPfjsgN2j/rmfRWxDzJAbOjJg X-Received: by 2002:a63:8c19:: with SMTP id m25mr5543838pgd.164.1634839544782; Thu, 21 Oct 2021 11:05:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634839544; cv=none; d=google.com; s=arc-20160816; b=jUXJAlnf7lv9MZkh+/FcIuzFtS1W8A7xDymvIPuC/848KJB3wx17Uf/jRjHpxzee69 I2AEf3cjcvnPjWCaNzF+EM1D9G4OoJaaJ7aV9720giT8H2S1shRrw7KdsvPFPuZKPN+0 GHGpOmNZTZtPs8FzuO3ibYPLYFZqE3Hes/W0OmC4v+vPfu8BNd667Nr3ekTgAI+7t7ye 3Wx3pOWcgiIejdl1QQkWklvCCMVqwK5ZBlQYQR8HTsDPF4TG8ga5nDIFTridK9hzuhRn dikrcuWLS26XPOo8ffW8GI9TzMoKNpl6MkFztrgPGL79KUWoKV/XHjFH83cw0g7sjE8L otjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=K02gOmDeOAcSz263kL7k7HNd1AxOuZMgimgcpezbR3c=; b=Wzyb1+ZR73SSDZtIOZV0rnDl/mIx8w0fCoTIl7XCkpZEcI1AEIA/JFh72F0Su+6r74 x3FZ4phRlCiyxc6/+Fb8Arl38ilYI3Aa6pG3FwVE7sSJd0CRbqweYr0WXNwqvRSzP9wQ 2LgWM6RslthSSDUeYSl9OqTuvpncLYDrVraJmTctoTEqN3r3EH0hIF6iRCBDD/S9Ez9Y rgr3fWCclU9ihu+dwliwuKy0kxoArsOToX5AqNKMzxdhTOYSvPJCdOMtmG3vdwe2mIJM mxjsq9UhPiI3JmITLYAUZ1P2pai8NPNFmebjXWB3vFGPXM2LK9WH9JqEEMCmo9Wozrjs 8Pog== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t184si8469900pgd.107.2021.10.21.11.05.32; Thu, 21 Oct 2021 11:05:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232606AbhJUSGM (ORCPT + 99 others); Thu, 21 Oct 2021 14:06:12 -0400 Received: from foss.arm.com ([217.140.110.172]:46254 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232343AbhJUSF6 (ORCPT ); Thu, 21 Oct 2021 14:05:58 -0400 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 911CE1477; Thu, 21 Oct 2021 11:03:42 -0700 (PDT) Received: from lakrids.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id B1B123F70D; Thu, 21 Oct 2021 11:03:39 -0700 (PDT) From: Mark Rutland To: linux-kernel@vger.kernel.org Cc: aou@eecs.berkeley.edu, catalin.marinas@arm.com, deanbo422@gmail.com, green.hu@gmail.com, guoren@kernel.org, jonas@southpole.se, kernelfans@gmail.com, linux-arm-kernel@lists.infradead.org, linux@armlinux.org.uk, mark.rutland@arm.com, maz@kernel.org, nickhu@andestech.com, palmer@dabbelt.com, paulmck@kernel.org, paul.walmsley@sifive.com, peterz@infradead.org, shorne@gmail.com, stefan.kristiansson@saunalahti.fi, tglx@linutronix.de, torvalds@linux-foundation.org, tsbogend@alpha.franken.de, vgupta@kernel.org, will@kernel.org Subject: [PATCH 14/15] irq: remove CONFIG_HANDLE_DOMAIN_IRQ_IRQENTRY Date: Thu, 21 Oct 2021 19:02:35 +0100 Message-Id: <20211021180236.37428-15-mark.rutland@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20211021180236.37428-1-mark.rutland@arm.com> References: <20211021180236.37428-1-mark.rutland@arm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Now that all users of CONFIG_HANDLE_DOMAIN_IRQ perform the irq entry work themselves, we can remove the legacy CONFIG_HANDLE_DOMAIN_IRQ_IRQENTRY behaviour. Signed-off-by: Mark Rutland Cc: Marc Zyngier Cc: Thomas Gleixner --- kernel/irq/irqdesc.c | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/kernel/irq/irqdesc.c b/kernel/irq/irqdesc.c index c8bc856c5e9f..acfb163b9f36 100644 --- a/kernel/irq/irqdesc.c +++ b/kernel/irq/irqdesc.c @@ -677,31 +677,6 @@ int generic_handle_domain_irq(struct irq_domain *domain, unsigned int hwirq) EXPORT_SYMBOL_GPL(generic_handle_domain_irq); #ifdef CONFIG_HANDLE_DOMAIN_IRQ -#ifdef CONFIG_HANDLE_DOMAIN_IRQ_IRQENTRY -/** - * handle_domain_irq - Invoke the handler for a HW irq belonging to a domain, - * usually for a root interrupt controller - * @domain: The domain where to perform the lookup - * @hwirq: The HW irq number to convert to a logical one - * @regs: Register file coming from the low-level handling code - * - * Returns: 0 on success, or -EINVAL if conversion has failed - */ -int handle_domain_irq(struct irq_domain *domain, - unsigned int hwirq, struct pt_regs *regs) -{ - struct pt_regs *old_regs = set_irq_regs(regs); - int ret; - - irq_enter(); - - ret = generic_handle_domain_irq(domain, hwirq); - - irq_exit(); - set_irq_regs(old_regs); - return ret; -} -#else /** * handle_domain_irq - Invoke the handler for a HW irq belonging to a domain, * usually for a root interrupt controller @@ -729,7 +704,6 @@ int handle_domain_irq(struct irq_domain *domain, set_irq_regs(old_regs); return ret; } -#endif /** * handle_domain_nmi - Invoke the handler for a HW irq belonging to a domain -- 2.11.0