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

From: Rosen Penev

Date: Thu Dec 03 2026 - 19:06:43 EST


On Thu, Dec 3, 2026 at 2:11 PM Andrew Lunn <andrew@xxxxxxx> wrote:
>
> 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?
The issue is, Sashiko is enabled in most places. If not merged, it
warns on other unrelated patches, preventing merging for small
obviously correct patches.

It's very annoying yes, but there's also a lot of technical debt.
>
> 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