Re: [PATCH net v3 12/14] net: pse-pd: use each PI's own supply handle for the power budget

From: Kory Maincent

Date: Wed Nov 04 2026 - 10:34:57 EST


On Tue, 03 Nov 2026 23:02:15 +0100, Carlo Szelinsky <github@xxxxxxxxxxxx> wrote:
> A power domain shared by several controllers holds one supply handle.
> Its consumer device is a PI regulator of the controller that created
> the domain. When that controller unbinds, devres frees the regulator,
> but the other controllers still use the domain and its handle, which
> now points at a freed device. Reading the regulator summary in debugfs
> then reads freed memory.
>
> [...]

Reviewed-by: Kory Maincent <kory.maincent@xxxxxxxxxxx>

--
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com