[RFC v3 1/9] arm: fiq: arbitrary mappings from IRQ to FIQ virqs

Rob Herring robherring2 at gmail.com
Fri Jun 13 07:29:16 PDT 2014


On Thu, Jun 5, 2014 at 4:53 AM, Daniel Thompson
<daniel.thompson at linaro.org> wrote:
> Currently enable_fiq/disable_fiq use a simple offset to convert an IRQ
> virq into a FIQ virq. This is too inflexible for multi-platform kernels
> and makes runtime error checking impossible.
>
> We solve this by introducing a flexible mapping that allows interrupt
> controllers that support FIQ to register those mappings. This, in turn,
> makes it much possible for drivers in DT kernels to gain access to
> FIQ virqs.

I don't get why you need a separate linux irq numbers for FIQ. Isn't
enabling FIQ simply a property of an irq like edge vs. level trigger?
Also, given the constraints on FIQ, we can't really have more that 1
IRQ assigned to FIQ.

Rob



More information about the linux-arm-kernel mailing list