Jetson AGX Xavier IRQ over GPIO CPU affinity can’t be changed

Hi Jerry,

Thanks for the inputs.
Actually I need to handle 4 GPIO Interrupts from external hardware in 4 different cores individually and based on interrupts I need to take some actions. But 2 GPIO handling in two different cores also fine for me.
As you suggested I have selected one GPIO from Tegra-Gpio-Aon which is GPIO9_CAN1_GPIO0_DMIC_CLK (GPIO 257). Pin No 32 on 40 pin header.
And I am trying to set the smp_affinity of the corresponding interrupt. But I am getting write error. Please find below screen shot.

Please let me know any other procedure to be followed to achieve. or Any document to be referred ?

As well I observed that interrupt is generated on both the edges. Although I have configured only for rising edge.
Below is the snippet from kernel module that I used.
if (request_irq(irq, my_interrupt_handler, IRQF_TRIGGER_RISING, “my_interrupt”, &my_dev_id))

Please let me know If I missed anything.

Thanks,
Prasanna