It is a custom hardware. I am not sure about physical GPIO pin used. But, I am sure the pin is correct. Because I am getting interrupt to my Linux Kernel Module and as you can see, /proc/interrupts/ shows 116 interrupts being hit to the GPIO
nvidia@ubuntu:~$ cat /proc/interrupts | grep my_gpio
330: 116 0 0 0 0 0 0 0 ff% tegra-gpio-129 Edge my_gpio_irq_signal
Yes. I tried. It doesn’t work either. Here is log + dmesg. kernel didn’t through any error.
root@ubuntu:/home/nvidia# echo 0 | tee /proc/irq/330/smp_affinity
0
tee: /proc/irq/330/smp_affinity: Input/output error
root@ubuntu:/home/nvidia# sudo dmesg | tail
[ 5553.720152] usb 1-3.2: SerialNumber: 84209609DF0E
[ 5553.724343] Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_D_CUT_1T1R_RomVer(0)
[ 5553.748961] tegra-xudc-new 3550000.xudc: PMQOS CPU boost enabled
[ 5553.749065] Could not get extcon-dev /xudc@3550000:vbus(0)
[ 5553.841781] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 5554.349671] MAC Address = x̶x̶:̶y̶y̶:̶z̶z̶:̶x̶x̶:̶y̶y̶:̶z̶z̶
[ 5554.353114] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 5554.405181] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 5557.390866] R8188EU: assoc success
[ 5557.429388] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
I think it is more to do with GIC (Global Interrupt Controller). Please check earlier forum which I had referenced (attaching again here: Adjusting GPIO IRQ affinity in GIC - Jetson & Embedded Systems / Jetson Orin NX - NVIDIA Developer Forums). Can you please help me configuring interrupt affinity using GIC?