Re: [PATCH v4] gpio: dwapb: Mask interrupts at hardware initialization

From: Bartosz Golaszewski

Date: Tue Jul 07 2026 - 08:33:30 EST



On Sun, 05 Jul 2026 15:47:59 +0800, Liang Hao wrote:
> GPIO interrupts may retain stale state across warm reboots when
> peripherals remain powered. If a GPIO line is not explicitly
> configured for interrupts, this can result in interrupt storms
> due to missing handlers.
>
> Fix this by ensuring all interrupts are masked and disabled at
> hardware initialization time via the init_hw() callback. Pending
> interrupts are also cleared to start from a known-safe state.
>
> [...]

Applied, thanks!

[1/1] gpio: dwapb: Mask interrupts at hardware initialization
https://git.kernel.org/brgl/c/aaf7766ba3b99a3834319e7cf939838afc705574

Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>