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.

PROCESSOR-SDK-AM69: How to set CPU affinity of GPIO interrupt.

Part Number: PROCESSOR-SDK-AM69

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?