Re: [PATCH v2 02/10] irqchip: add irqchip driver for nuc900

From: Arnd Bergmann
Date: Tue Jul 12 2016 - 04:23:45 EST


On Tuesday, July 12, 2016 3:04:42 PM CEST Wan Zongshun wrote:
> >
> > Ideally, this should just go away once we use SPARSE_IRQ.
>
> This platform also can use SPARSE_IRQ? this just a simple irq map and no
> more irq number in this Soc.
>

SPARSE_IRQ is implied by ARCH_MULTIPLATFORM, so we will have to
use it once that gets enabled.

Your new irqchip driver already handles IRQ domains, so it will
work out of the box with SPARSE_IRQ, but you have to change the
reference to "NR_IRQS" into something else.

I've prototyped a patch series to enable ARCH_MULTIPLATFORM,
I hope you can start working from what I have and get it to run.

Arnd