All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yixun Lan <dlan@kernel.org>
To: Ulf Hansson <ulf.hansson@oss.qualcomm.com>
Cc: Ulf Hansson <ulfh@kernel.org>, Paul Walmsley <pjw@kernel.org>,
	Palmer Dabbelt <palmer@dabbelt.com>,
	Albert Ou <aou@eecs.berkeley.edu>,
	Alexandre Ghiti <alex@ghiti.fr>,
	Troy Mitchell <troy.mitchell@linux.spacemit.com>,
	Icenowy Zheng <uwu@icenowy.me>,
	linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-riscv@lists.infradead.org, spacemit@lists.linux.dev
Subject: Re: [PATCH] pmdomain: core: connect consumer with supplier via device link
Date: Mon, 16 Nov 2026 07:24:42 +0000	[thread overview]
Message-ID: <20261116072442-GKA100890@kernel.org> (raw)
In-Reply-To: <CAPx+jO-37Km71oSW+zOO7BBWLj86SNCn=U=EGmBXdC5SfX4nbA@mail.gmail.com>

Hi Ulf,

On 12:33 Sat 14 Nov     , Ulf Hansson wrote:
> On Thu, Nov 12, 2026 at 8:45 AM Yixun Lan <dlan@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@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)

WARNING: multiple messages have this Message-ID (diff)
From: Yixun Lan <dlan@kernel.org>
To: Ulf Hansson <ulf.hansson@oss.qualcomm.com>
Cc: Albert Ou <aou@eecs.berkeley.edu>,
	Alexandre Ghiti <alex@ghiti.fr>,
	linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
	Ulf Hansson <ulfh@kernel.org>,
	Palmer Dabbelt <palmer@dabbelt.com>,
	Troy Mitchell <troy.mitchell@linux.spacemit.com>,
	Paul Walmsley <pjw@kernel.org>,
	spacemit@lists.linux.dev, linux-riscv@lists.infradead.org
Subject: Re: [PATCH] pmdomain: core: connect consumer with supplier via device link
Date: Mon, 16 Nov 2026 07:24:42 +0000	[thread overview]
Message-ID: <20261116072442-GKA100890@kernel.org> (raw)
In-Reply-To: <CAPx+jO-37Km71oSW+zOO7BBWLj86SNCn=U=EGmBXdC5SfX4nbA@mail.gmail.com>

Hi Ulf,

On 12:33 Sat 14 Nov     , Ulf Hansson wrote:
> On Thu, Nov 12, 2026 at 8:45 AM Yixun Lan <dlan@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@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)

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

  reply	other threads:[~2026-11-16  7:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-12  7:45 [PATCH] pmdomain: core: connect consumer with supplier via device link Yixun Lan
2026-11-12  7:45 ` Yixun Lan
2026-11-14 11:33 ` Ulf Hansson
2026-11-14 11:33   ` Ulf Hansson
2026-11-16  7:24   ` Yixun Lan [this message]
2026-11-16  7:24     ` Yixun Lan
2026-11-16  7:46     ` Icenowy Zheng
2026-11-16  7:46       ` Icenowy Zheng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261116072442-GKA100890@kernel.org \
    --to=dlan@kernel.org \
    --cc=alex@ghiti.fr \
    --cc=aou@eecs.berkeley.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=palmer@dabbelt.com \
    --cc=pjw@kernel.org \
    --cc=spacemit@lists.linux.dev \
    --cc=troy.mitchell@linux.spacemit.com \
    --cc=ulf.hansson@oss.qualcomm.com \
    --cc=ulfh@kernel.org \
    --cc=uwu@icenowy.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.