mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Johan Hovold <johan@kernel.org>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Ulf Hansson <ulfh@kernel.org>,
	linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] pmdomain: fix early domain registration
Date: Wed, 10 Jun 2026 11:15:38 +0200	[thread overview]
Message-ID: <aikrOnglQEmn54sF@hovoldconsulting.com> (raw)
In-Reply-To: <CAMuHMdVyRq7fT_m_gWtVKkkaTZQvSUvkMamQHb44x+Ed0jNbMQ@mail.gmail.com>

On Wed, Jun 10, 2026 at 11:12:19AM +0200, Geert Uytterhoeven wrote:

> On Tue, 9 Jun 2026 at 18:07, Johan Hovold <johan@kernel.org> wrote:
> > A recent change switching to a dynamically allocated root device broke
> > platforms like rcar-sysc that registers PM domains before the PM domain
> > bus itself has been registered (cf. commit c5ae5a0c6112 ("pmdomain:
> > renesas: rcar-sysc: Add genpd OF provider at postcore_initcall")).
> >
> > Defer the assignment of the parent root device until the domain is
> > registered with driver core to avoid it being left unset.
> 
> Thanks for your patch!
> 
> > Fixes: a96e40f4afdc ("pmdomain: core: switch to dynamic root device")
> > Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
> > Link: https://lore.kernel.org/r/CAMuHMdUHabMGJyJ7e7yp7DLC+JJc9k6NK9p4anj2wRKNuwZUng@mail.gmail.com
> 
> s/Link/Closes/

I use use Link: on purpose (like Linus does).

> > Signed-off-by: Johan Hovold <johan@kernel.org>
> 
> This fixes the issue on R-Car H1, M2-W, H3 ES2.0, and on RZ/A1H.
> No regressions seen on SH-Mobile AG5, R-Mobile A1, and R-Car V4M.
> 
> Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>

Thanks for confirming.

Johan

  reply	other threads:[~2026-06-10  9:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-09 16:06 Johan Hovold
2026-06-10  9:12 ` Geert Uytterhoeven
2026-06-10  9:15   ` Johan Hovold [this message]
2026-06-10 21:18 ` Ulf Hansson

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=aikrOnglQEmn54sF@hovoldconsulting.com \
    --to=johan@kernel.org \
    --cc=geert@linux-m68k.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=ulfh@kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®