[PATCH] pmdomain: core: connect consumer with supplier via device link

Yixun Lan dlan at kernel.org
Sun Nov 15 23:24:42 PST 2026


Hi Ulf,

On 12:33 Sat 14 Nov     , Ulf Hansson wrote:
> On Thu, Nov 12, 2026 at 8:45 AM Yixun Lan <dlan at kernel.org> wrote:
> >
> > Connect downstream Power Domain consumer with the supplier through
> > the device link API, So when the pmdomain driver is unloaded or unbinded,
> > the consumer can be automatically notified and purged gracefully.
> >
> > Signed-off-by: Yixun Lan <dlan at kernel.org>
> 
> Can you check if the below commit that sits on my fixes branch solves
> this problem for you?
> 
No, I've cherry-picked below commit and it does not solve my issue,
 it's a different problem.

Problem here is the pm consumer side isn't aware pm driver is removed. 

> e279833a5362 pmdomain: core: Wait for device link removals before
> dropping genpd->dev
> 
> Kind regards
> Uffe
> 

-- 
Yixun Lan (dlan)



More information about the linux-riscv mailing list