Re: [PATCH v8 0/8] gpiolib: fix chip removal with lines still requested from user space

From: Andy Shevchenko

Date: Tue Nov 24 2026 - 10:52:57 EST


On Tue, Nov 24, 2026 at 03:41:22PM +0100, Bartosz Golaszewski wrote:
> On Tue, 24 Nov 2026 11:20:31 +0200, Adrian Ambrozewicz wrote:
> > Removing a GPIO chip while user space holds a line request, as when a
> > hot-pluggable GPIO controller goes away, leaks the line labels (patch 2)
> > and IRQ names (patch 5), frees IRQs twice (patches 3, 7 and 8) and lets
> > a blocked read() stall the removal (patch 4). Patch 1 makes
> > gpiodev_release() wait for pending label frees; without it,
> > cleanup_srcu_struct() can warn, more often with patch 2.

[...]

> Applied, thanks!

Thank you!

--
With Best Regards,
Andy Shevchenko