Can the cpu affinity of gpio-interrupt be changed

Hi,

There are too many interrupts to respond to on my xavier board. I want to bind some of them from cpu0 to other cpus.

I have tested it by irq_set_affinity_hint(), but it didn’t work.

hello 295839633,

please check # cat /proc/interrupts, affinity can only be set at the GIC level.
affinity can be set separately for these two GPIO controllers (i.e. GPIO and AON-GPIO), which have separate GIC IRQs,

please check kernel init messages for the details of GPIO allocations.
for example, $ dmesg | grep "registered GPIOs"

besides,
please also check similar discussion thread as see-also.
thanks