Re: [PATCH v7 0/4] gpio: mxc: misc bug fixes

From: Bartosz Golaszewski

Date: Thu Oct 15 2026 - 08:47:46 EST



On Tue, 13 Oct 2026 14:01:08 +0800, Peng Fan (OSS) wrote:
> This is a subset focusing on bug fixes, that separated from thread [1]
>
> 1. Fix a race where the chained IRQ handler is installed before the IRQ
> domain, generic IRQ chip, and port list entry are ready. An interrupt
> arriving in that window dereferences port->domain while still NULL
> (mx3 path) or walks an incomplete list (mx2 path). Move the handler
> install after all dependencies are set up.
>
> [...]

Applied, thanks!

[1/4] gpio: mxc: fix race between chained IRQ handler install and probe completion
https://git.kernel.org/brgl/c/38d44f78f041ffe60c8e2443b99434a199e7541d
[2/4] gpio: mxc: fix both_edges bit operations
https://git.kernel.org/brgl/c/b7719c575dec69146f6d537fd616b27083c0cf45
[3/4] gpio: mxc: fix wakeup_pads bit operations
https://git.kernel.org/brgl/c/170aeff46fb54f41545c85a72aec525aebc79d44
[4/4] gpio: mxc: fix race between gpiochip registration and IRQ domain setup
https://git.kernel.org/brgl/c/205cccd06e545694754e1bf8d626ea96e742cd8a

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