Hi all,
I am looking into changing the smp_affinity of the irqs of the i.mx6Dual CPU.
I had refer to both the post below:
Re: bind a gpio interrupt to cpu2
but both are using "echo x > /proc/irq/<irq no>/smp_affinity
Is there anyway i can change it at source code level, i.e. in the kernel?
Thank you.
Regards,
Tee
Solved! Go to Solution.
Hi ZC
smp affinity is discussed on common linux forums and one can post it
on linux.org
http://events.linuxfoundation.org/sites/events/files/slides/clement-smp-bring-up-on-arm-soc.pdf
http://www.linux-arm.org Booting_ARM_Linux_SMP_on_MPCore.doc
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi ZC
smp affinity is discussed on common linux forums and one can post it
on linux.org
http://events.linuxfoundation.org/sites/events/files/slides/clement-smp-bring-up-on-arm-soc.pdf
http://www.linux-arm.org Booting_ARM_Linux_SMP_on_MPCore.doc
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor,
I found the solution
we can use irq_set_affinity function in arch/arm/mach-mx6/irq.c. That will do the trick
Thanks.
Regards,
Tee