Tool/software:
HI, I'm currently using Linux SDK (version 10.0).
This is my device tree. Which uses main_gpio0 as interrupt parent.
uio1: uio1 { compatible = "uio-gpio"; status = "okay"; interrupt-parent = <&main_gpio0>; interrupts = <3 IRQ_TYPE_EDGE_RISING>; };
When I check /proc/interrupts, it shows up and works fine.
For the performance, I need to apply CPU affinity to interrupts.
These are the methods I tried but they all failed.
1. Set CPU affinity through sysfs.
2. Add irq_set_affinity() to the driver I'm using.
ret = irq_set_affinity(irq_data->irq, cpumask_of(5)); if (ret < 0 ) { dev_err(&pdev->dev, "IRQ affinity set failed, %d\n", ret); }
So, my question is : Is there any way to set CPU affinity of GPIO interrupts?