Re: [PATCH 03/10] gpio: mvebu: Clear chained IRQ handlers on unbind

From: Andrew Lunn

Date: Thu Dec 03 2026 - 17:11:10 EST


On Thu, Dec 03, 2026 at 08:55:01PM +0000, Lee Jones wrote:
> mvebu_gpio_probe() installs chained IRQ handlers pointing to the
> devm-allocated mvchip structure, but neither sets suppress_bind_attrs
> nor removes the chained handlers on unbind. Unbinding the device tears
> down mvchip->domain and frees mvchip while mvebu_gpio_irq_handler()
> remains registered.
>
> Register a devm cleanup action after installing the chained handlers to
> clear each bank IRQ handler before the IRQ domain, GPIO chip, and
> mvchip are torn down.
>
> Fixes: fefe7b092345 ("gpio: introduce gpio-mvebu driver for Marvell SoCs")

Does this bother anybody?

https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html

This patch is from 2012. If it did bother somebody i would of expected
it to be fixed by now.

Linus has been pushing back on patches like this, and i don't think
stable is justified here.

Andrew