Thread (8 messages) 8 messages, 3 authors, 2013-03-26

[RFCv1 07/11] irqchip: armada-370-xp: add MSI support to interrupt controller driver

From: arnd@arndb.de (Arnd Bergmann)
Date: 2013-03-26 22:04:05
Also in: linux-devicetree, linux-pci

On Tuesday 26 March 2013, Jason Gunthorpe wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help