[PATCH 1/3] integrator: fix the IRQ masks on the Integrator/CP

Linus Walleij linus.walleij at linaro.org
Wed Apr 11 19:07:43 EDT 2012


On Thu, Apr 12, 2012 at 12:56 AM, Russell King - ARM Linux
<linux at arm.linux.org.uk> wrote:

>> -     pic_mask = ~((~0u) << (11 - IRQ_PIC_START));
>> -     pic_mask |= (~((~0u) << (29 - 22))) << 22;
>> +     pic_mask = ~((~0u) << (1 + IRQ_PIC_END - IRQ_PIC_START));
>
> Err no, the original is correct.
>
> Integrator/CP only has IRQs 29-22 and IRQs 11-0.  IRQs 21-12 are
> reserved.  Integrator/AP on the other hand has IRQs 21-0.

Ahhh like that, now I finally see. Thanks! I'll fix.
The "hole" in the mask creates some obstacles in the hwirq map too, will
sort it out.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list