How to enable irq distribute all CPU cores

cancel
Showing results for 
Search instead for 
Did you mean: 

How to enable irq distribute all CPU cores

384 Views
gaoyuan
Contributor II

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.

Labels (1)
Tags (2)
0 Kudos
1 Reply

32 Views
bpe
NXP TechSupport
NXP TechSupport

Sorry for not updating this sooner, interrupt multicasting is neither
supported on T1042 (See T1040RM,  Table 25-2), nor is expected to
bring significant performance gain due to possible cache bouncing.


Have a great day,
Platon

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos