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

From: Andrew Lunn

Date: Thu Dec 03 2026 - 20:18:18 EST


On Thu, Dec 03, 2026 at 04:05:36PM -0800, Rosen Penev wrote:
> 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.

I'm not saying it should not be merged. I'm just saying it should not
be submitted to stable. The stable rules say:

It must either fix a real bug that bothers people or just add a device ID

I expect this patch to be merged into gpio-next, or whatever it is
called in the GPIO subsystem, and then into -rc1. That should stop
Sashiko complaining.

Andrew