i.mx6 SMP_affinity

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
3,270件の閲覧回数
zc_tee
Contributor III

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:

i.mx6 Linux CPU IRQ affinity

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

ラベル(2)
0 件の賞賛
返信
1 解決策
2,789件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

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!

-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
2,790件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

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!

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信
2,789件の閲覧回数
zc_tee
Contributor III

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

0 件の賞賛
返信