Re: [PATCH] gpio: dwapb: Add robust error handling in interrupt handler

From: haohlliang

Date: Sun Jul 05 2026 - 03:46:41 EST


Hi tglx,

Thank you for the thorough review. You're absolutely right that my
previous approach was limited to handling the symptom at the crash
site without investigating the root cause.

After your explanation, I realized the real problem is that the GPIO
controller does not properly initialize its interrupt state, and stale
interrupt configuration can persist across warm reboots when
peripherals remain powered.

I'll send a v4 that masks all interrupts at hardware initialization
time via the init_hw() callback, which addresses the root cause
rather than the symptom.

Thanks,
Liang