# \[PATCH\] irqchip: gic: Allow interrupt level to be set for PPIs.

- From: Russell King - ARM Linux \<hidden\>
- Date: 2014-12-01 11:23:16 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2014/12/4385748
- Thread: https://ratatoskr.run/linux-devicetree/2014/11/4384891/t.md

```text
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.
```
