From patchwork Tue Aug 26 10:03:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Zyngier X-Patchwork-Id: 35967 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f199.google.com (mail-vc0-f199.google.com [209.85.220.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 145772054F for ; Tue, 26 Aug 2014 10:05:35 +0000 (UTC) Received: by mail-vc0-f199.google.com with SMTP id la4sf44496906vcb.10 for ; Tue, 26 Aug 2014 03:05:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=sO4gQqLtJ/0sN1ekY61tvfmLlvt5fEt0SAG1R5bldAs=; b=NRSXVGC4ZUIXZ554ivuhjNc6vDotJyb14cZJGgOCaOtVZ8EP1EfELj8Lm7ovAYMz6t QO/kVf8YsoV788hAXTSwQ2kpwVBMCV5pyYyfJncwaIUWRSOb9DgfHPCETI52YavEPgPM EFHitS20Vz6NyYqlW0rysgqZAM8NRGZMQOZIth5Hm73P+g0yY8P3g9OZovfoK9KqEVlU N/uiVPbPfXr/BQG2ucNGC+n7S1jI2kj8JZYSbpL63FxMqoV6PL/WxmG6/kteZFDu3HCK rDNO5kEEYshcgKapzMhZSoeym/vgQdEIyveWkNrFxHxImBPRvAtf8P2r+s2dgQxzTFaT HXaQ== X-Gm-Message-State: ALoCoQnjBtSNT1RmG6BGErnTln32d4kfw+z2aWZP0NnBrFK//h4S3j6og669zx/yPxR1ErwoYHIr X-Received: by 10.236.38.9 with SMTP id z9mr4500951yha.23.1409047534824; Tue, 26 Aug 2014 03:05:34 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.30.245 with SMTP id d108ls565203qgd.68.gmail; Tue, 26 Aug 2014 03:05:34 -0700 (PDT) X-Received: by 10.52.253.39 with SMTP id zx7mr7601853vdc.2.1409047534695; Tue, 26 Aug 2014 03:05:34 -0700 (PDT) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id g8si1153352vdu.82.2014.08.26.03.05.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Aug 2014 03:05:34 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.172 as permitted sender) client-ip=209.85.220.172; Received: by mail-vc0-f172.google.com with SMTP id im17so16524850vcb.31 for ; Tue, 26 Aug 2014 03:05:34 -0700 (PDT) X-Received: by 10.220.44.80 with SMTP id z16mr23062416vce.7.1409047534604; Tue, 26 Aug 2014 03:05:34 -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 uj3csp185048vcb; Tue, 26 Aug 2014 03:05:34 -0700 (PDT) X-Received: by 10.70.123.134 with SMTP id ma6mr36078040pdb.124.1409047533726; Tue, 26 Aug 2014 03:05:33 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ti10si3191070pab.206.2014.08.26.03.05.32 for ; Tue, 26 Aug 2014 03:05:33 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934665AbaHZKE5 (ORCPT + 26 others); Tue, 26 Aug 2014 06:04:57 -0400 Received: from fw-tnat.austin.arm.com ([217.140.110.23]:21081 "EHLO collaborate-mta1.arm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934644AbaHZKEy (ORCPT ); Tue, 26 Aug 2014 06:04:54 -0400 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 B05FC13FAD1; Tue, 26 Aug 2014 05:04:50 -0500 (CDT) From: Marc Zyngier To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux@lists.openrisc.net Cc: linux@arm.linux.org.uk, shawn.guo@freescale.com, kernel@pengutronix.de, tony@atomide.com, catalin.marinas@arm.com, will.deacon@arm.com, jonas@southpole.se, tglx@linutronix.de, jason@lakedaemon.net, shc_work@mail.ru, baohua@kernel.org, maxime.ripard@free-electrons.com, marc.zyngier@arm.com, khilman@linaro.org, sboyd@codeaurora.org, lorenzo.pieralisi@arm.com, larry.bassel@linaro.org, mark.rutland@arm.com, sudeep.holla@arm.com, stefan.kristiansson@saunalahti.fi, vkale@apm.com, schwidefsky@de.ibm.com Subject: [PATCH v2 19/26] irqchip: atmel-aic: convert to handle_domain_irq Date: Tue, 26 Aug 2014 11:03:34 +0100 Message-Id: <1409047421-27649-20-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> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.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.172 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 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier Acked-by: Nicolas Ferre Acked-by: Boris Brezillon --- drivers/irqchip/irq-atmel-aic.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/irqchip/irq-atmel-aic.c b/drivers/irqchip/irq-atmel-aic.c index a82869e..9a2cf3c 100644 --- a/drivers/irqchip/irq-atmel-aic.c +++ b/drivers/irqchip/irq-atmel-aic.c @@ -68,12 +68,10 @@ aic_handle(struct pt_regs *regs) irqnr = irq_reg_readl(gc->reg_base + AT91_AIC_IVR); irqstat = irq_reg_readl(gc->reg_base + AT91_AIC_ISR); - irqnr = irq_find_mapping(aic_domain, irqnr); - if (!irqstat) irq_reg_writel(0, gc->reg_base + AT91_AIC_EOICR); else - handle_IRQ(irqnr, regs); + handle_domain_irq(aic_domain, irqnr, regs); } static int aic_retrigger(struct irq_data *d)