AnsweredAssumed Answered

How does IMX6D bind IRQ to a specified CPU core?

Question asked by 其东 刘 on Aug 29, 2019
Latest reply on Aug 29, 2019 by 其东 刘


Hello everyone,

    my development board is IMX6Q-sabresd. My Linux kernel version is 3.14.52.
When I use an external interrupt, I use the GPIO6_IO01 pin. I found that the CPU occasionally failed to respond to my external interrupts in time. Later I found out that most of the responses to the interrupts were CPU0. I want to bind my external interrupt to CPU1.
I use the command: echo 2 > proc/irq/321/smp_affinity
Hint: -sh: echo: write error: Input/output error

Later I tried to bind other interrupts to CPU1, which reduced the load on CPU0 and solved my problem. Now what I want to ask is: How do I bind my external interrupt to CPU1?
Looking forward to your reply.

Outcomes