Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946445AbbEVR1K (ORCPT ); Fri, 22 May 2015 13:27:10 -0400 Received: from pmta2.delivery5.ore.mailhop.org ([54.186.218.12]:43167 "HELO pmta2.delivery5.ore.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S964813AbbEVR1H (ORCPT ); Fri, 22 May 2015 13:27:07 -0400 X-DKIM: OpenDKIM Filter v2.6.8 io E510F80128 Date: Fri, 22 May 2015 17:27:02 +0000 From: Jason Cooper To: Paul Burton Cc: linux-mips@linux-mips.org, devicetree@vger.kernel.org, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Thomas Gleixner , linux-kernel@vger.kernel.org Subject: Re: [PATCH 05/15] irqchip: mips-gic: register IRQ domain with MIPS_GIC_IRQ_BASE Message-ID: <20150522172702.GC19834@io.lakedaemon.net> References: <1432309875-9712-1-git-send-email-paul.burton@imgtec.com> <1432309875-9712-6-git-send-email-paul.burton@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1432309875-9712-6-git-send-email-paul.burton@imgtec.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1562 Lines: 44 On Fri, May 22, 2015 at 04:51:04PM +0100, Paul Burton wrote: > On Malta, some IRQs are still referenced by hardcoded numbers relative > to MIPS_GIC_IRQ_BASE. When gic_init is called to register the GIC > without using device tree the irqbase argument allows this base to be > used. When the GIC is probed using device tree however the base is not > specified. This leads to conflicts between the GIC interrupts and other > interrupt controllers. > > TODO: convert Malta (& SEAD3) to drop the hardcoded numbers instead This will never be seen again. :-P Why not just go ahead and do it as separate patch(es) in this series? thx, Jason. > Signed-off-by: Paul Burton > --- > > drivers/irqchip/irq-mips-gic.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/irqchip/irq-mips-gic.c b/drivers/irqchip/irq-mips-gic.c > index 57f09cb..697f340 100644 > --- a/drivers/irqchip/irq-mips-gic.c > +++ b/drivers/irqchip/irq-mips-gic.c > @@ -858,7 +858,7 @@ static int __init gic_of_init(struct device_node *node, > write_gcr_gic_base(gic_base | CM_GCR_GIC_BASE_GICEN_MSK); > gic_present = true; > > - __gic_init(gic_base, gic_len, cpu_vec, 0, node); > + __gic_init(gic_base, gic_len, cpu_vec, MIPS_GIC_IRQ_BASE, node); > > return 0; > } > -- > 2.4.1 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/