Skip to content

clk: qcom: gcc-ipq5018: stop UBI0 clocks from reclocking their parents

Andrei-Alexandru Bleortu linux-arm-msm linux-clk lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2clk: qcom: gcc-ipq5018: drop CLK_SET_RATE_PARENT from ubi0_axi_clk_srcdrivers/clk/qcom/gcc-ipq5018.c+0 -11 reply
2/2clk: qcom: gcc-ipq5018: drop CLK_SET_RATE_PARENT from UBI0 NoC branchesdrivers/clk/qcom/gcc-ipq5018.c+0 -31 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchKonrad Dybcio
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] clk: qcom: gcc-ipq5018: stop UBI0 clocks from reclocking their parents

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(-)
Signature · 1 line
2.47.3