All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brian Masney <bmasney@redhat.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>,
	Stephen Boyd <sboyd@kernel.org>
Cc: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>,
	"Tero Kristo" <kristo@kernel.org>,
	"Michael Turquette" <mturquette@baylibre.com>,
	"Tony Lindgren" <tony@atomide.com>,
	"Thomas Petazzoni" <thomas.petazzoni@bootlin.com>,
	"Théo Lebrun" <theo.lebrun@bootlin.com>,
	"Grégory Clement" <gregory.clement@bootlin.com>,
	linux-omap@vger.kernel.org, linux-clk@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	"Matti Vaittinen" <mazziesaccount@gmail.com>
Subject: Re: [PATCH v2 1/2] clk: ti: mux: resolve parent clocks by DT index, not by name
Date: Tue, 18 Aug 2026 17:13:58 -0400	[thread overview]
Message-ID: <aoTLFuE0seVTMuMy@redhat.com> (raw)
In-Reply-To: <CAMuHMdU3yVqoyHC4eNF2NuYo8wy+6ODLoYat4R71X99Mxc_=kw@mail.gmail.com>

Hi Stephen / Geert,

On Tue, Aug 18, 2026 at 06:02:56PM +0200, Geert Uytterhoeven wrote:
> On Mon, 27 Jul 2026 at 09:44, Mathieu Dubois-Briand
> <mathieu.dubois-briand@bootlin.com> wrote:
> > Resolve parent clocks by their index into the device tree "clocks"
> > property rather than matching names as strings. Name-based matching is
> > fragile because a clock's "clock-output-names" value in its provider
> > node can differ from the name used to reference it in a consumer node,
> > and because names must be globally unique across all clock providers.
> >
> > On AM335x, this caused broken clock trees where some clocks failed to
> > enable because their parents could not be found.
> >
> > Replace of_clk_parent_fill() with a clk_parent_data array that sets
> > .index to the array position.
> >
> > Fixes: ec7aa25fa483 ("ARM: dts: Use clock-output-names for am3")
> > Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
> 
> Thanks for your patch, which is now commit 667f420c09f1417c ("clk: ti:
> mux: resolve parent clocks by DT index, not by name") in clk/clk-next.
> 
> This breaks booting BeagleBone Black for me: I don't get any output
> on the serial console, even with "earlycon keep_bootcon".  When the
> watchdog kicks in (or on kernel panic?), the system reboots.
> 
> Reverting this commit fixes the issue.
> After reverting, I added debug code to print all parents, and compared
> them to the DTB, but didn't see any discrepancies.
> 
> Your similar change to drivers/clk/ti/composite.c does not cause any
> issues for me.
> 
> Do you have a clue?

Stephen: I think the safest thing is to just drop / revert the two
patches in this series in the pull to Linus next week. I'd do it now,
however I'm still waiting for my kernel.org account to get created,
and don't have write access to the clk tree yet.

Mathieu: Feel free to post an updated version, and we can get it merged
earlier in the development cycle so it'll get more testing in next.
Hopefully Geert will have time to test an updated version.

Brian


  reply	other threads:[~2026-08-18 21:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-27  7:41 [PATCH v2 0/2] clk: ti: mux: resolve parent clocks by DT index, not by name Mathieu Dubois-Briand
2026-07-27  7:41 ` [PATCH v2 1/2] " Mathieu Dubois-Briand
2026-07-28 14:11   ` Brian Masney
2026-08-14  5:43   ` Stephen Boyd
2026-08-18 16:02   ` Geert Uytterhoeven
2026-08-18 21:13     ` Brian Masney [this message]
2026-08-19  5:39     ` Mathieu Dubois-Briand
2026-08-19 12:32       ` Geert Uytterhoeven
2026-07-27  7:41 ` [PATCH v2 2/2] clk: ti: composite: " Mathieu Dubois-Briand
2026-07-28 14:11   ` Brian Masney
2026-08-14  5:43   ` Stephen Boyd

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=aoTLFuE0seVTMuMy@redhat.com \
    --to=bmasney@redhat.com \
    --cc=geert@linux-m68k.org \
    --cc=gregory.clement@bootlin.com \
    --cc=kristo@kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=mathieu.dubois-briand@bootlin.com \
    --cc=mazziesaccount@gmail.com \
    --cc=mturquette@baylibre.com \
    --cc=sboyd@kernel.org \
    --cc=theo.lebrun@bootlin.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=tony@atomide.com \
    /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.