Re: [PATCH v3] irqchip: Add support for ARMv7-M's NVIC

Thomas Gleixner
2013-04-22T13:50:59Z

[-- Attachment #1: Type: TEXT/PLAIN, Size: 485 bytes --]

On Mon, 22 Apr 2013, Arnd Bergmann wrote:
> On Monday 22 April 2013, Uwe Kleine-König wrote:
> > For the uncommented files using %32 instead of -gc->irq_base should
> > work.
>
> I'm not sure I understand why this doesn't work for the ones that use
> a base that isn't a multiple of 32. Since you are masking the hwirq
> rather than the irq number, it will still be zero-based, won't it?

The issue is that for anything which uses this w/o irq domains
d->hwirq is 0.

Thanks,

tglx