Petalinux: How to handle efficiently IRQ among Processors?
We want to distribute IRQs coming from ETH IP Cores implemented on PL among the different processors of a ZCU102 Board.
For the moment we are able to assign IRQs to a core using:
echo "2" > /proc/irq/56/smp_affinity
This way work for us but we want go a little bit longer. Our objective is to boot up our Petalinux and next the IRQs form Ethernet are allocated automatically in a processor. Can we assign efficiently the IRQs to the cores without writing anything into smp_affinity?
We check this link and it seems it is possible enabling the CONFIG_HOTPLUG_CPU option in kernel. Have any of you done something similar?