This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRA829VXEVM: set irq affinity for eth0 interrupts

Part Number: DRA829VXEVM
Other Parts Discussed in Thread: DRA829

Hello experts,

Is it possible to change affinity of eth0 interrupts on DRA829 evm working on Linux (ti-processor-sdk-linux-automotive-j7-evm-07_00_01, kernel: Linux j7-evm 5.4.40-g66cf445b76)?

Call to irq_set_affinity returns error --EINVAL.

I traced it:

irq_set_affinity -> __irq_set_affinity -> irq_set_affinity_locked -> irq_try_set_affinity -> irq_do_set_affinity -> msi_domain_set_affinity -> ti_sci_inta_set_affinity

implementation of ti_sci_inta_set_affinity is empty: it just returns -EINVAL.

Is there a way to change affinity for eth0 interrupts from CPU0 to CPU1?

Thanks,

Michael

  • Hi Michael,

    Thanks for tracing it out to the last function. That is not yet implemented. I am checking
    with our expert on what could be done. I will revert back to you in couple of days.

    Best Regards,
    Keerthy

  • Hi Michael,

    Setting IRQ affinity with Linux chained IRQ handlers is not supported. This is not a limitation with ti_sci layer
    but in general Linux, one can not set affinity with chained handlers. So this cannot be supported.

    Hope you can resolve this issue.

    Best Regards,
    Keerthy