Get a stuck in a tegra186_gpio_irq error loop when powering on device

Hi community:
I have a custom board with HDMI ports running L4T R36.3 using an Orin NX.

When I power on my device using PoE with no peripherals attached except for a uart cable. I occasionally get stuck in a loop of tegra186_gpio_irq errors. I have read in other form posts about it being related to HDMI hotplug. However, in those posts that problem is said to have been resolved in r36. Also I do not have a HDMI plugged in nor plugin one to trigger that kind of error.

When trying to reproduce this error I have been unplugging the ethernet cable(PoE power) and plugging it back in to power off and power on the device. The error occurs right before the login screen on the uart logs.

[   10.367675] EXT4-fs: Warning: mounting with data=journal disables delayed allocation, dioread_nolock, O_DIRECT and fast_commit support!
[   10.763821] ------------[ cut here ]------------
[   10.763843] WARNING: CPU: 0 PID: 886 at drivers/gpio/gpio-tegra186.c:632 tegra186_gpio_irq+0x1ec/0x250
[   10.764013] ---[ end trace c06877825e2db86e ]---
[   10.965115] ------------[ cut here ]------------
[   10.965128] WARNING: CPU: 0 PID: 533 at drivers/gpio/gpio-tegra186.c:632 tegra186_gpio_irq+0x1ec/0x250
[   10.965273] ---[ end trace c06877825e2db86f ]---

I was wondering if anyone has an idea what tegra186_gpio_irq error means and or what is causing the error?

Here are the system logs.

Nov 21 20:57:19 [kern] kernel:[    9.418924] ------------[ cut here ]------------
Nov 21 20:57:19 [kern] kernel:[    9.418932] hwirq = 105
Nov 21 20:57:19 [kern] kernel:[    9.418947] WARNING: CPU: 0 PID: 0 at drivers/gpio/gpio-tegra186.c:632 tegra186_gpio_irq+0x1ec/0x250
Nov 21 20:57:19 [kern] kernel:[    9.418963] Modules linked in: rfkill(E) snd_soc_tegra210_admaif(OE) snd_soc_tegra_pcm(E) snd_soc_tegra210_mvc(OE) snd_soc_tegra186_asrc(OE) snd_soc_tegra186_arad(OE) snd_soc_tegra210_ope(OE) snd_soc_tegra210_afc(OE) snd_soc_tegra186_dspk(OE) snd_soc_tegra210_dmic(OE) snd_soc_tegra210_mixer(OE) snd_soc_tegra210_adx(OE) snd_soc_tegra210_sfc(OE) snd_soc_tegra210_amx(OE) snd_soc_tegra210_i2s(OE) snd_soc_tegra210_ahub(OE) nvvrs_pseq_rtc(OE) crct10dif_ce(E) snd_soc_tegra_machine_driver(OE) snd_soc_tegra_utils(OE) snd_soc_simple_card_utils(E) tegra234_oc_event(OE) mttcan(OE) snd_hda_codec_hdmi(E) nvpps(OE) can_dev(E) tegra_cactmon_mc_all(OE) tegra234_aon(OE) snd_hda_tegra(E) tegra_aconnect(E) snd_soc_tlv320aic31xx(E) snd_hda_codec(E) pwm_tegra_tachometer(OE) snd_hda_core(E) tegra_pcie_dma_test(OE) tegra_pcie_edma(OE) mc_hwpm(OE) host1x_fence(OE) nvpmodel_clk_cap(OE) thermal_trip_event(OE) nvidia_vrs_pseq(OE) governor_userspace(E) nvhost_nvdla(OE) nvhost_pva(OE) tegra_drm(OE) tegra_wmark(OE)
Nov 21 20:57:19 [kern] kernel:[    9.419018]  nvhwpm(OE) cec(E) drm_kms_helper(E) nvidia_p2p(OE) ina3221(E) nvgpu(OEi governor_pod_scaling(OE) nvmap(OE) nvsciipc(OE) nvidia_modeset(OE) nvidia(OE) tegra_dce(OE) tsecriscv(OE) host1x_nvhost(OE) host1x(OE) mc_utils(OE) drm(E) fuse(E) ip_tables(E) x_tables(E) ipv6(E) pwm_fan(E) pwm_tegra(E) tegra_bpmp_thermal(E) tegra_xudc(E) ucsi_ccg(E) typec_ucsi(E) typec(E) nvme(E) nvme_core(E) phy_tegra194_p2u(E) pcie_tegra194(E)
Nov 21 20:57:19 [kern] kerne|:[    9.419053] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G           OE     5.15.136-tegra #1
Nov 21 20:57:19 [kern] kernel:[    9.419056] Hardware name: NVIDIA NVIDIA Jetson Orin NX Engineering Reference Developer Kit/Jetson, BIOS 202402.1-81336553-dirty 11/08/2024
Nov 21 20:57:19 [kern] kernel:[    9.419059] pstate: 604000c9 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
Nov 21 20:57:19 [kern] kernel:[    9.419062] pc : tegra186_gpio_irq+0x1ec/0x250
Nov 21 20:57:19 [kern] kernel:[    9.419065] lr : tegra186_gpio_irq+0x1ec/0x250
Nov 21 20:57:19 [kern] kernel:[    9.419069] sp : ffff800008003f00
Nov 21 20:57:19 [kern] kernel:[    9.419070] x29: ffff800008003f00 x28: 0000000000000069 x27: 0000000000000005
Nov 21 20:57:19 [kern] kernel:[    9.419073] x26: 0000000000000018 x25: ffffcecdf74c64c0 x24: ffff0000848c6080
Nov 21 20:57:19 [kern] kernel:[    9.419075] x23: ffff0000848c3000 x22: 000000000000000f x21: 0000000000000064
Nov 21 20:57:19 [kern] kernel:[    9.419078] x20: 000000000000002e x19: ffffcecdf74c7088 x18: ffffffffffffffff
Nov 21 20:57:19 [kern] kernel:[    9.419080] x17: ffff3133f9421000 x16: ffff800008000000 x15: ffffcecdf8843534
Nov 21 20:57:19 [kern] kernel:[    9.419082] x14: ffffffffffffffff x13: ffffcecdf8843530 x12: 2d2d2d2d5d206572
Nov 21 20:57:19 [kern] kernel:[    9.419084] x11: 656820747563205b x10: ffffcecdf8468988 x9 : 0000000000000069
Nov 21 20:57:19 [kern] kernel:[    9.419087] x8 : ffff800008003f00 x7 : 203d207172697768 x6 : 0000000000000030
Nov 21 20:57:19 [kern] kernel:[    9.419089] x5 : ffff0001f124e9f0 x4 : 00000000fffff261 x3 : ffffcecdf84b7148
Nov 21 20:57:19 [kern] kernel:[    9.419091] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffffcecdf8442ec0
Nov 21 20:57:19 [kern] kernel:[    9.419094] Call trace:
Nov 21 20:57:19 [kern] kernel:[    9.419096]  tegra186_gpio_irq+0x1ec/0x250
Nov 21 20:57:19 [kern] kernel:[    9.419100]  handle_domain_irq+0x74/0xb0
Nov 21 20:57:19 [kern] kernel:[    9.419106]  gic_handle_irq+0x68/0x150
Nov 21 20:57:19 [kern] kernel:[    9.419112]  call_on_irq_stack+0x20/0x50
Nov 21 20:57:19 [kern] kernel:[    9.419116]  do_interrupt_handler+0x70/0x80
Nov 21 20:57:19 [kern] kernel:[    9.419119]  el1_interrupt+0x30/0x80
Nov 21 20:57:19 [kern] kernel:[    9.419123]  el1h_64_irq_handler+0x18/0x30
Nov 21 20:57:19 [kern] kernel:[    9.419125]  el1h_64_irq+0x7c/0x80
Nov 21 20:57:19 [kern] kernel:[    9.419127]  cpuidle_enter_state+0xbc/0x3f0
Nov 21 20:57:19 [kern] kernel:[    9.419133]  cpuidle_enter+0x44/0x60
Nov 21 20:57:19 [kern] kernel:[    9.419136]  do_idle+0x220/0x2b0
Nov 21 20:57:19 [kern] kernel:[    9.419139]  cpu_startup_entry+0x30/0x70
Nov 21 20:57:19 [kern] kernel:[    9.419141]  rest_init+0xf0/0x100
Nov 21 20:57:19 [kern] kernel:[    9.419143]  arch_call_rest_init+0x1c/0x28
Nov 21 20:57:19 [kern] kernel:[    9.419148]  start_kernel+0x6d0/0x710
Nov 21 20:57:19 [kern] kernel:[    9.419150]  __primary_switched+0xbc/0xc4
Nov 21 20:57:19 [kern] kernel:[    9.419154] ---[ end trace 12107af24db29d29 ]---
Nov 21 20:57:19 [kern] kernel:[   10.424114] ------------[ cut here ]------------
Nov 21 20:57:19 [kern] kernel:[   10.424116] hwirq = 105
Nov 21 20:57:19 [kern] kernel:[   10.424126] WARNING: CPU: 0 PID: 0 at drivers/gpio/gpio-tegra186.c:632 tegra186_gpio_irq+0x1ec/0x250
Nov 21 20:57:19 [kern] kernel:[   10.424134] Modules linked in: rfkill(E) snd_soc_tegra210_admaif(OE) snd_soc_tegra_pcm(E) snd_soc_tegra210_mvc(OE) snd_soc_tegra186_asrc(OE) snd_soc_tegra186_arad(OE) snd_soc_tegra210_ope(OE) snd_soc_tegra210_afc(OE) snd_soc_tegra186_dspk(OE) snd_soc_tegra210_dmic(OE) snd_soc_tegra210_mixer(OE) snd_soc_tegra210_adx(OE) snd_soc_tegra210_sfc(OE) snd_soc_tegra210_amx(OE) snd_soc_tegra210_i2s(OE) snd_soc_tegra210_ahub(OE) nvvrs_pseq_rtc(OE) crct10dif_ce(E) snd_soc_tegra_machine_driver(OE) snd_soc_tegra_utils(OE) snd_soc_simple_card_utils(E) tegra234_oc_event(OE) mttcan(OE) snd_hda_codec_hdmi(E) nvpps(OE) can_dev(E) tegra_cactmon_mc_all(OE) tegra234_aon(OE) snd_hda_tegra(E) tegra_aconnect(E) snd_soc_tlv320aic31xx(E) snd_hda_codec(E) pwm_tegra_tachometer(OE) snd_hda_core(E) tegra_pcie_dma_test(OE) tegra_pcie_edma(OE) mc_hwpm(OE) host1x_fence(OE) nvpmodel_clk_cap(OE) thermal_trip_event(OE) nvidia_vrs_pseq(OE) governor_userspace(E) nvhost_nvdla(OE) nvhost_pva(OE) tegra_drm(OE) tegra_wmark(OE)
Nov 21 20:57:19 [kern] kernel:[   10.424161]  nvhwpm(OE) cec(E) drm_kms_helper(E) nvidia_p2p(OE) ina3221(E) nvgpu(OE) governor_pod_scaling(OE) nvmap(OE) nvsciipc(OE) nvidia_modeset(OE) nvidia(OE) tegra_dce(OE) tsecriscv(OE) host1x_nvhost(OE) host1x(OE) mc_utils(OE) drm(E) fuse(E) ip_tables(E) x_tables(E) ipv6(E) pwm_fan(E) pwm_tegra(E) tegra_bpmp_thermal(E) tegra_xudc(E) ucsi_ccg(E) typec_ucsi(E) typec(E) nvme(E) nvme_core(E) phy_tegra194_p2u(E) pcie_tegra194(E)
Nov 21 20:57:19 [kern] kernel:[   10.424179] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W  OE     5.15.136-tegra #1
Nov 21 20:57:19 [kern] kernel:[   10.424181] Hardware name: NVIDIA NVIDIA Jetson Orin NX Engineering Reference Developer Kit/Jetson, BIOS 202402.1-81336553-dirty 11/08/2024
Nov 21 20:57:19 [kern] kernel:[   10.424182] pstate: 604000c9 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
Nov 21 20:57:19 [kern] kernel:[   10.424185] pc : tegra186_gpio_irq+0x1ec/0x250
Nov 21 20:57:19 [kern] kernel:[   10.424188] lr : tegra186_gpio_irq+0x1ec/0x250
Nov 21 20:57:19 [kern] kernel:[   10.424192] sp : ffff800008003c30
Nov 21 20:57:19 [kern] kernel:[   10.424193] x29: ffff800008003c30 x28: 0000000000000069 x27: 0000000000000005
Nov 21 20:57:19 [kern] kernel:[   10.424196] x26: 0000000000000018 x25: ffffcecdf74c64c0 x24: ffff0000848c6080
Nov 21 20:57:19 [kern] kernel:[   10.424199] x23: ffff0000848c3000 x22: 000000000000000f x21: 0000000000000064
Nov 21 20:57:19 [kern] kernel:[   10.424201] x20: 000000000000002e x19: ffffcecdf74c7088 x18: ffffffffffffffff
Nov 21 20:57:19 [kern] kernel:[   10.424203] x17: ffff3133f9421000 x16: ffff800008000000 x15: ffffcecdf884431c
Nov 21 20:57:19 [kern] kernel:[   10.424206] x14: ffffffffffffffff x13: ffffcecdf8844318 x12: 2d2d2d2d5d206572
Nov 21 20:57:19 [kern] kernel:[   10.424208] x11: 656820747563205b x10: ffffcecdf84696f0 x9 : 0000000000000069
Nov 21 20:57:19 [kern] kernel:[   10.424211] x8 : ffff800008003c30 x7 : 203d207172697768 x6 : 0000000000000030
Nov 21 20:57:19 [kern] kernel:[   10.424213] x5 : ffff0001f124e9f0 x4 : 00000000fffff288 x3 : ffffcecdf84b74f0
Nov 21 20:57:19 [kern] kernel:[   10.424215] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffffcecdf8442ec0
Nov 21 20:57:19 [kern] kernel:[   10.424218] Call trace:
Nov 21 20:57:19 [kern] kernel:[   10.424219]  tegra186_gpio_irq+0x1ec/0x250
Nov 21 20:57:19 [kern] kernel:[   10.424222]  handle_domain_irq+0x74/0xb0
Nov 21 20:57:19 [kern] kernel:[   10.424226]  gic_handle_irq+0x68/0x150
Nov 21 20:57:19 [kern] kernel:[   10.424230]  do_interrupt_handler+0x44/0x80
Nov 21 20:57:19 [kern] kernel:[   10.424234]  el1_interrupt+0x30/0x80
Nov 21 20:57:19 [kern] kernel:[   10.424236]  el1h_64_irq_handler+0x18/0x30
Nov 21 20:57:19 [kern] kernel:[   10.424238]  el1h_64_irq+0x7c/0x80
Nov 21 20:57:19 [kern] kernel:[   10.424240]  __do_softirq+0xb4/0x3c8
Nov 21 20:57:19 [kern] kernel:[   10.424242]  irq_exit+0xe0/0x100
Nov 21 20:57:19 [kern] kernel:[   10.424247]  handle_domain_irq+0|78/0xb0
Nov 21 20:57:19 [kern] kernel:[   10.424251]  gic_handle_irq+0x68/0x150
Nov 21 20:57:19 [kern] kernel:[   10.424254]  call_on_irq_stack+0x20/0x50
Nov 21 20:57:19 [kern] kernel:[   10.424256]  do_interrupt_handler+0x70/0x80
Nov 21 20:57:19 [kern] kernel:[   10.424259]  el1_interrupt+0x30/0x80
Nov 21 20:57:19 [kern] kernel:[   10.424260]  el1h_64_irq_handler+0x18/0x30
Nov 21 20:57:19 [kern] kernel:[   10.424262]  el1h_64_irq+0x7c/0x80
Nov 21 20:57:19 [kern] kernel:[   10.424263]  cpuidle_enter_state+0xbc/0x3f0
Nov 21 20:57:19 [kern] kernel:[   10.424267]  cpuidle_enter+0x44/0x60
Nov 21 20:57:19 [kern] kernel:[   10.424270]  do_idle+0x220/0x2b0
Nov 21 20:57:19 [kern] kernel:[   10.424273]  cpu_startup_entry+0x30/0x70
Nov 21 30:57:19 [kern] kernel:[   10.424275]  rest_init+0xf0/0x100
Nov 21 20:57:19 [kern] kernel:[   10.424277]  arch_call_rest_init+0x1c/0x28
Nov 21 20:57:19 [kern] kernel:[   10.424280]  start_kernel+0x6d0/0x710
Nov 21 20:57:19 [kern] kernel:[   10.424282]  __primary_switched+0xbc/0xc4
Nov 21 20:57:19 [kern] kernel:[   10.424286] ---[ end trace 12107af24db29d2a ]---
Nov 21 �0:57:19 [kern] kernel:[   10.521625] tegra194-pcie 141e0000.pcie: Phy link never came up
Nov 21 20:57:19 [kern] kernel:[   10.521772] tegra194-pcie 141e0000.pcie: PCI host bridge to bus 0007:00
Nov 21 20:57:19 [kern] kernel:[   10.521778] pci_bus 0007:00: root bus resource [io  0x100000-0x1fffff] (bus address [0x3e100000-0x3e1fffff])
Nov 21 20:57:19 [kern] kernel:[   10.521783] pci_bus 0007:00: root bus resource [mem 0x3228000000-0x322fffffff] (bus address [0x40000000-0x47ffffff])
Nov 21 20:57:19 [kern] kernel:[   10.521786] pci_bus 0007:00: root bus resource [bus 00-ff]
Nov 21 20:57:19 [kern] kernel:[   10.521790] pci_bus 0007:00: root bus resource [mem 0x3000000000-0x3227ffffff pref]
Nov 21 20:57:19 [kern] kernel:[   10.521843] pci 0007:00:00.0: [10de:229a] type 01 class 0x060400
Nov 21 20:57:19 [kern] kernel:[   10.522005] pci 0007:00:00.0: PME# supported from D0 D3hot

Hi benjamin.pepe,

It seems you’ve some customization on your board since we don’t have HDMI on Orin Nano devkit with JP6.0(r36.3.0).

Would you hit the boot issue if you don’t connect HDMI and PoE?
Please help to clarify what causes the boot stuck.

It seems stuck in irq handler function, we want to know what driver calls that irq handler.
Please share the full serial console log for further check.

Hi Kevin,

Thank You for the quick response.

I do not have any HDMI connected to the board when powering it on, only PoE and a uart cable.
I will try reproducing the error by powering on the board using the DC plug.

I have attached the full serial console log.
full_serial_log.log (85.8 KB)

Please let me know if you need more information.

I was able to reproduce the error by unplugging and plugging in the dc power jack with no HDMI cable connected only uart cable.

Could you try to totally disable your HDMI things in the device tree first and see if you can still trigger this error?

tegra186_gpio_irq is just to handle irq for any GPIO. It does not mean everything from it is 100% from HDMI.

1 Like

Ok I will try disabling HDMI things in the device tree.

I disabled the HDMI things in the device tree and the error still occurred.

Do you have any recommendations or insight?

If it is GPIO related I can try disabling things that use GPIO one by one.

Thank You

Hi,

Could you add some prints in kernel/3rdparty/canonical/linux-jammy/kernel-source/drivers/gpio/gpio-tegra186.c → tegra186_gpio_irq function?

I would like to check what was the address of GPIO that triggers this IRQ.

base = gpio->base + port->bank * 0x1000 + port->port * 0x200;

Ok I will add some logs.
Did you just want the pointer stored in base?
or is there anything else you want?

Please also check the port->bank and port->port. This will make the GPIO pin more clearly.

For example, GPIO G,5 means bank=G and pin = 5. “G” will map to another value defined in tegra234-gpio.h too.

Sorry for the delay,

These were the results before the error.

Based on you explanation it seems to be GPIO Q,5 using the TEGRA234_MAIN_GPIO definition as reference. I am looking to see if we use that port and pin.

Mar 21 00:37:26 [daem] kernel:[    7.804831] systemd[1]: /lib/systemd/system/uart.service:9: Unknown key name 'PID' in section 'Service', ignoring.
Mar 21 00:37:27 [kern] kernel:[    9.165542] Base = 00000000a9e7fddb | gpio->base = 154861568 | port->bank = 2 | port->port = 0
Mar 21 00:37:27 [kern] kernel:[    9.165555] Base = 0000000086b90e9b | gpio->base = 154861568 | port->bank = 2 | port->port = 1
Mar 21 00:37:27 [kern] kernel:[    9.165558] Base = 000000005cdc9225 | gpio->base = 154861568 | port->bank = 2 | port->port = 2
Mar 21 00:37:27 [kern] kernel:[    9.165560] Base = 00000000554ec573 | gpio->base = 154861568 | port->bank = 2 | port->port = 3
Mar 21 00:37:27 [kern] kernel:[    9.165562] pin = 5
Mar 21 00:37:27 [kern] kernel:[    9.165563] ------------[ cut here ]------------
Mar 21 00:37:27 [kern] kernel:[    9.165564] hwirq = 105
Mar 21 00:37:27 [kern] kernel:[    9.165578] WARNING: CPU: 0 PID: 887 at drivers/gpio/gpio-tegra186.c:633 tegra186_gpio_irq+0x234/0x270

So we use GPIO Q,5 as a low output, so it is odd that it is associated with an interrupt.

Here how we implemented GPIO Q,5.

			gpio-output-low = <
				TEGRA234_MAIN_GPIO(Q, 5)
				...
				>;
soc_gpio32_pq5 {
				nvidia,pins = "soc_gpio32_pq5";
				nvidia,function = "rsvd0";
				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
				nvidia,tristate = <TEGRA_PIN_DISABLE>;
				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
				nvidia,io-high-voltage = <TEGRA_PIN_DISABLE>;
				nvidia,lpdr = <TEGRA_PIN_DISABLE>;
			};

Do you have any ideas to what could cause this?

Thank You

No, Q,5 is a wrong example. Please ignore it.

So the results in the logs below do not mean that GPIO Q,5 is causing the error loop?

Mar 21 00:37:27 [kern] kernel:[    9.165560] Base = 00000000554ec573 | gpio->base = 154861568 | port->bank = 2 | port->port = 3
Mar 21 00:37:27 [kern] kernel:[    9.165562] pin = 5

Could you also share what did you add in the code? Just want to know what is the format of each variables there.

I only added the pr_info’s

static void tegra186_gpio_irq(struct irq_desc *desc)
{
	struct tegra_gpio *gpio = irq_desc_get_handler_data(desc);
	struct irq_domain *domain = gpio->gpio.irq.domain;
	struct irq_chip *chip = irq_desc_get_chip(desc);
	unsigned int parent = irq_desc_get_irq(desc);
	unsigned int i, j, offset = 0;

	chained_irq_enter(chip, desc);

	for (i = 0; i < gpio->soc->num_ports; i++) {
		const struct tegra_gpio_port *port = &gpio->soc->ports[i];
		unsigned int pin;
		unsigned long value;
		void __iomem *base;

		base = gpio->base + port->bank * 0x1000 + port->port * 0x200;

		/* skip ports that are not associated with this bank */
		for (j = 0; j < gpio->num_irqs_per_bank; j++) {
			if (parent == gpio->irq[port->bank * gpio->num_irqs_per_bank + j])
				break;
		}

		if (j == gpio->num_irqs_per_bank)
			goto skip;

		value = readl(base + TEGRA186_GPIO_INTERRUPT_STATUS(1));
		pr_info("Base = %p | gpio->base = %d | port->bank = %u | port->port = %u\n", base , gpio->base, port->bank, port->port);
		for_each_set_bit(pin, &value, port->pins) {
			pr_info("pin = %u\n", pin);
			int ret = generic_handle_domain_irq(domain, offset + pin);
			WARN_RATELIMIT(ret, "hwirq = %d", offset + pin);
		}

skip:
		offset += port->pins;
	}

	chained_irq_exit(chip, desc);
}

Hi,

Sorry that I just notice you could directly print the port->name variables.

--- a/drivers/gpio/gpio-tegra186.c
+++ b/drivers/gpio/gpio-tegra186.c
@@ -652,6 +652,7 @@
 		value = readl(base + TEGRA186_GPIO_INTERRUPT_STATUS(1));
 
 		for_each_set_bit(pin, &value, port->pins) {
+			pr_err("GPIO IRQ triggered: Port %s, Pin %d\n", port->name, pin);
 			int ret = generic_handle_domain_irq(domain, offset + pin);
 			WARN_RATELIMIT(ret, "hwirq = %d", offset + pin);
 		}
1 Like

I did not look too much into the structures.
I will add that and get back to you when i have the logs.

Here is the log

Mar 21 06:53:35 [kern] kernel:[    9.451438] GPIO IRQ triggered: Port Q, Pin 5

OK, then it is really the Q,5 GPIO as my first guess.

This is set to GPIO input by default. Is that thing in use on your board?

Are you sure your change to make it as gpio output low really takes effect?