From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell King - ARM Linux Subject: Re: [PATCH] irqchip: gic: Allow interrupt level to be set for PPIs. Date: Mon, 1 Dec 2014 11:23:02 +0000 Message-ID: <20141201112302.GC3836@n2100.arm.linux.org.uk> References: <1417197340-27298-1-git-send-email-Liviu.Dudau@arm.com> <20141201104145.GY3836@n2100.arm.linux.org.uk> <20141201104612.GM828@e106497-lin.cambridge.arm.com> <20141201110358.GA3836@n2100.arm.linux.org.uk> <547C4ECD.20802@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <547C4ECD.20802-5wv7dgnIgG8@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Marc Zyngier Cc: Liviu Dudau , Rob Herring , Mark Rutland , Ian Campbell , Thomas Gleixner , Jason Cooper , Haojian Zhuang , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , LKML , LAKML List-Id: devicetree@vger.kernel.org On Mon, Dec 01, 2014 at 11:19:41AM +0000, Marc Zyngier wrote: > Hi Russell, > > On 01/12/14 11:03, Russell King - ARM Linux wrote: > > If all you want to do is to bypass the following check, what's wrong > > with actually doing that: > > > > - if (type != IRQ_TYPE_LEVEL_HIGH && type != IRQ_TYPE_EDGE_RISING) > > + if (gicirq >= 32 && type != IRQ_TYPE_LEVEL_HIGH && > > + type != IRQ_TYPE_EDGE_RISING) > > return -EINVAL; > > > > I think that will require some additional changes to gic_configure_irq > (in irq-gic-common.c). I don't think so - gic_configure_irq() will treat it as a no-op as far as trying to configure the IRQ settings. -- FTTC broadband for 0.8mile line: currently at 9.5Mbps down 400kbps up according to speedtest.net. -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html