Message ID | 1409047421-27649-13-git-send-email-marc.zyngier@arm.com |
---|---|
State | Accepted |
Commit | c15018e9192bbaa1a0f68ebee0284f701491b800 |
Headers | show
Return-Path: <patchwork-forward+bncBCPZR5X4TYBBBYVY6GPQKGQE7U4NLEY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f200.google.com (mail-ob0-f200.google.com [209.85.214.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1F5582054F for <linaro@patches.linaro.org>; Tue, 26 Aug 2014 10:07:31 +0000 (UTC) Received: by mail-ob0-f200.google.com with SMTP id va2sf69664308obc.3 for <linaro@patches.linaro.org>; Tue, 26 Aug 2014 03:07:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=LMyM/aFEV5yntx1A4Z33CsG1WhxTn5hXy723EDcd1r0=; b=CI4KP3M+UL6L7IASOwtEmEQY3DbdehaxE9uDyukyy4BVEjcxeDO1jfzJwm0AyycN/o 3wVH0hIHaI5fTiwNyNAhERVkMNUxooULbPFeqbd9v89K3DUB3HA2g7rV54qTvCmpOO9i JXrKMbKpf3iRxanxNBynhX+iu6C7fMz236GqE6kCbdRvQ6K8z8VGR1hLN1hdjbIpvoak FC+cneadPlpIdh8Zrj4OY7lXaEG1T9Yoaf7o2ky99MJKiJ5l3wv4d19+gRWShGSGHrHf 01hvm4GwBfSD820ltCJkcCbtVm6tWRzHexryE1TTRhhQcFbIa70hjBcDQTbXcggZY6SD h4ew== X-Gm-Message-State: ALoCoQkUW0dlPwJTPNkn8RIsgc5NkiOmHfyZmZHti9baL2h3FNQcWe52qKHQwEXZZZlQjk52EuOh X-Received: by 10.182.56.200 with SMTP id c8mr18275829obq.7.1409047650708; Tue, 26 Aug 2014 03:07:30 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.82.75 with SMTP id g69ls2460609qgd.53.gmail; Tue, 26 Aug 2014 03:07:30 -0700 (PDT) X-Received: by 10.220.202.9 with SMTP id fc9mr10438082vcb.40.1409047650572; Tue, 26 Aug 2014 03:07:30 -0700 (PDT) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id qw8si1170415vcb.89.2014.08.26.03.07.30 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Aug 2014 03:07:30 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 as permitted sender) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id hq11so16571549vcb.16 for <patchwork-forward@linaro.org>; Tue, 26 Aug 2014 03:07:30 -0700 (PDT) X-Received: by 10.52.28.146 with SMTP id b18mr223098vdh.55.1409047650254; Tue, 26 Aug 2014 03:07:30 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.45.67 with SMTP id uj3csp185205vcb; Tue, 26 Aug 2014 03:07:29 -0700 (PDT) X-Received: by 10.66.165.34 with SMTP id yv2mr35719681pab.27.1409047649330; Tue, 26 Aug 2014 03:07:29 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id bi3si3496392pbc.144.2014.08.26.03.07.28 for <patch@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Aug 2014 03:07:29 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XMDdh-00045a-5O; Tue, 26 Aug 2014 10:06:09 +0000 Received: from fw-tnat.austin.arm.com ([217.140.110.23] helo=collaborate-mta1.arm.com) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XMDcN-0001kg-68 for linux-arm-kernel@lists.infradead.org; Tue, 26 Aug 2014 10:04:47 +0000 Received: from e102391-lin.cambridge.arm.com (e102391-lin.cambridge.arm.com [10.1.209.143]) by collaborate-mta1.arm.com (Postfix) with ESMTP id 8283913FAD1; Tue, 26 Aug 2014 05:04:25 -0500 (CDT) From: Marc Zyngier <marc.zyngier@arm.com> To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux@lists.openrisc.net Subject: [PATCH v2 12/26] irqchip: sirfsoc: convert to handle_domain_irq Date: Tue, 26 Aug 2014 11:03:27 +0100 Message-Id: <1409047421-27649-13-git-send-email-marc.zyngier@arm.com> X-Mailer: git-send-email 2.0.4 In-Reply-To: <1409047421-27649-1-git-send-email-marc.zyngier@arm.com> References: <1409047421-27649-1-git-send-email-marc.zyngier@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140826_030447_270109_28B18049 X-CRM114-Status: UNSURE ( 7.94 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 SPF_PASS SPF: sender matches SPF record Cc: mark.rutland@arm.com, tony@atomide.com, catalin.marinas@arm.com, will.deacon@arm.com, tglx@linutronix.de, jonas@southpole.se, lorenzo.pieralisi@arm.com, linux@arm.linux.org.uk, shc_work@mail.ru, khilman@linaro.org, jason@lakedaemon.net, marc.zyngier@arm.com, stefan.kristiansson@saunalahti.fi, larry.bassel@linaro.org, shawn.guo@freescale.com, baohua@kernel.org, sboyd@codeaurora.org, kernel@pengutronix.de, sudeep.holla@arm.com, schwidefsky@de.ibm.com, maxime.ripard@free-electrons.com, vkale@apm.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: marc.zyngier@arm.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
diff --git a/drivers/irqchip/irq-sirfsoc.c b/drivers/irqchip/irq-sirfsoc.c index 5e54f6d..a469355 100644 --- a/drivers/irqchip/irq-sirfsoc.c +++ b/drivers/irqchip/irq-sirfsoc.c @@ -50,12 +50,10 @@ sirfsoc_alloc_gc(void __iomem *base, unsigned int irq_start, unsigned int num) static void __exception_irq_entry sirfsoc_handle_irq(struct pt_regs *regs) { void __iomem *base = sirfsoc_irqdomain->host_data; - u32 irqstat, irqnr; + u32 irqstat; irqstat = readl_relaxed(base + SIRFSOC_INIT_IRQ_ID); - irqnr = irq_find_mapping(sirfsoc_irqdomain, irqstat & 0xff); - - handle_IRQ(irqnr, regs); + handle_domain_irq(sirfsoc_irqdomain, irqstat & 0xff, regs); } static int __init sirfsoc_irq_init(struct device_node *np,
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> --- drivers/irqchip/irq-sirfsoc.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)