mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrei-Alexandru Bleortu <me@andrei-z.com>
To: Abel Vesa <abelvesa@kernel.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Brian Masney <bmasney+clk@redhat.com>,
	Jerome Brunet <jbrunet+clk@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>
Cc: <linux-arm-msm@vger.kernel.org>, <linux-clk@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>
Subject: [PATCH 0/2] clk: qcom: gcc-ipq5018: stop UBI0 clocks from reclocking their parents
Date: Fri, 2 Oct 2026 15:19:18 +0300	[thread overview]
Message-ID: <20261002121920.994608-1-me@andrei-z.com> (raw)

ubi0_axi_clk_src and three UBI0 bus branches (gcc_ubi0_cfg_clk,
gcc_ubi0_utcm_clk, gcc_ubi0_nc_axi_clk) carry CLK_SET_RATE_PARENT, so a
rate request on them is propagated to GPLL0 or to the NoC clock sources
that the rest of the SoC runs from. The first patch is the one seen
failing: a 400 MHz request on ubi0_axi_clk_src made GPLL0 the top of the
rate change, re-ran set_rate on every GPLL0 consumer and hung the eMMC
controller. The second applies the same reasoning to the bus branches.

Nothing in mainline sets these rates today; the requests came from the
out-of-tree NSS driver on a Ubiquiti UniFi U6 Enterprise (IPQ5018).

Both were found and written with an AI coding assistant (Claude Code),
which also drafted the changelogs. The eMMC hang was seen while
bringing the board up on 6.12 with the NSS driver; the board boots and
runs with both on 6.12 and 7.2.8. On linux-next they are compile-tested
(W=1) only.

Andrei-Alexandru Bleortu (2):
  clk: qcom: gcc-ipq5018: drop CLK_SET_RATE_PARENT from ubi0_axi_clk_src
  clk: qcom: gcc-ipq5018: drop CLK_SET_RATE_PARENT from UBI0 NoC
    branches

 drivers/clk/qcom/gcc-ipq5018.c | 4 ----
 1 file changed, 4 deletions(-)

-- 
2.47.3



             reply	other threads:[~2026-10-02 12:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-02 12:19 Andrei-Alexandru Bleortu [this message]
2026-10-02 12:19 ` [PATCH 1/2] clk: qcom: gcc-ipq5018: drop CLK_SET_RATE_PARENT from ubi0_axi_clk_src Andrei-Alexandru Bleortu
2026-10-02 12:19 ` [PATCH 2/2] clk: qcom: gcc-ipq5018: drop CLK_SET_RATE_PARENT from UBI0 NoC branches Andrei-Alexandru Bleortu

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=20261002121920.994608-1-me@andrei-z.com \
    --to=me@andrei-z.com \
    --cc=abelvesa@kernel.org \
    --cc=andersson@kernel.org \
    --cc=bmasney+clk@redhat.com \
    --cc=jbrunet+clk@baylibre.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sboyd@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®