[PATCH 4/8] ARM: sirf: enable sparse IRQ

Arnd Bergmann arnd at arndb.de
Mon Mar 25 06:53:11 EDT 2013


On Monday 25 March 2013, Barry Song wrote:
> > -#define SIRFSOC_INTENAL_IRQ_START  0
> > -#define SIRFSOC_INTENAL_IRQ_END    127
> > -#define SIRFSOC_GPIO_IRQ_START     (SIRFSOC_INTENAL_IRQ_END + 1)
> > -#define NR_IRQS      288
> 
> after dropping NR_IRQS and enabling SPARSE_IRQ, should we add .nr_irqs
> = 288 to MACHINE_START(ATLAS6/PRIMA2/MARCO_DT...)?
> 

No, that's only necessary as long as we need legacy irq domains. If we
can figure out how to get the irqchip driver to use the linear domain,
it is not needed any more. If we move only the pinctrl domain to
linear but leave the main irqchip as legacy, we should set .nr_irqs=128.

	Arnd



More information about the linux-arm-kernel mailing list