Skip to contentSkip to conversation

SPARSE_IRQ on Kirkwood

DISCUSSION Gerlando Falauto 3 participants 4 messages Jul 17, 2013 – Nov 11, 2013

lore
Share & tools
lore
#0 lore raw

Hi everyone,

newbie's question: are sparse IRQs [going to be] supported on Kirkwood? I thought irq domains were pretty much the same thing...
So if I understand correctly, without sparse IRQs I still have to increase NR_IRQS within arch/arm/mach-kirkwood/include/mach/irqs.h in order to support additional PICs.

Thanks in advance!
Gerlando

#1 lore raw

Hi,

a few months later, my understanding has not changed much... could anyone please shed some light?

Thanks!
Gerlando

Quoted 11 lines · Gerlando Falauto

Hi everyone,

newbie's question: are sparse IRQs [going to be] supported on Kirkwood? I thought irq domains were pretty much the same thing...
So if I understand correctly, without sparse IRQs I still have to increase NR_IRQS within arch/arm/mach-kirkwood/include/mach/irqs.h in order to support additional PICs.

Thanks in advance!
Gerlando

#2 lore raw
Quoted 4 lines · Gerlando Falauto

Hi,

a few months later, my understanding has not changed much... could anyone please shed some light?

I _think_ sparse_IRQ is a pre-requisite for multiarch kernel. So it is something we definitely want to do. I've no idea what is actually required, but i do have it somewhere near the top of my TODO list.

Andrew

#3 lore raw
In reply to Gerlando Falauto

Dear Gerlando Falauto,

Quoted 8 lines · Gerlando Falauto
Quoted 7 lines · Gerlando Falauto

Hi everyone,

newbie's question: are sparse IRQs [going to be] supported on Kirkwood? I thought irq domains were pretty much the same thing...
So if I understand correctly, without sparse IRQs I still have to increase NR_IRQS within arch/arm/mach-kirkwood/include/mach/irqs.h in order to support additional PICs.

I believe all the Kirkwood boards that have been converted to the Device Tree now use a driver in drivers/irqchip/ for IRQ handling, and therefore use all the modern irqdomain stuff.

I do have a bunch of other patches to convert more Kirkwood boards to DT (needs more work), and once that's done, we can throw away the legacy IRQ handling for Kirkwood.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com