[RFCv1 07/11] irqchip: armada-370-xp: add MSI support to interrupt controller driver
Arnd Bergmann
arnd at arndb.de
Tue Mar 26 18:04:05 EDT 2013
On Tuesday 26 March 2013, Jason Gunthorpe wrote:
> > I'll let Arnd answer this one, but I'm pretty sure that using IRQ
> > domains is the way to go. The fact that a number of drivers don't yet
> > use IRQ domains is maybe just because they haven't been converted yet.
>
> Maybe, but they have irq domain code as well.. I'm curious about the
> answer too :)
To expand on my previous answer: irq_alloc_descs can require a lot of
memory if you have a lot of MSIs. If the driver only has 16 MSIs,
there is probably no reason to not assign all of them at once, but if
you have 2048 MSIs, creating the mapping only when you need it is
much more space efficient.
Arnd
More information about the linux-arm-kernel
mailing list