AnsweredAssumed Answered

How to enable irq distribute all CPU cores

Question asked by gaoyuan on Nov 28, 2016
Latest reply on Dec 7, 2016 by bpe

Hello everyone:

 

My platform is T1042, and I used a pcie card in my board. But the pcie isr only be serviced in one CPU core, so I want 

distribute irq to all CPU cores to offload my own pcie card services on one dedicate CPU core(it seems allways be core0).

 

I tried to set /proc/irq/xx/smp_affinity but it doesn't work.

 

After I look one old FTF (http://www.nxp.com/files-static/training_pdf/WBNR_FTF10_ENT_F0697.pdf), so I enabled CONFIG_IRQ_ALL_CPUS in my kernel config and reprogrammed it in to my board, but it also doesn't work.

 

 

So, my question is: what should I do to enable irq distribute all CPU cores.

 

Thanks for you reply.

Outcomes