Skip to content

Followup to "Make clk_hw::init NULL after clk registration"

Stephen Boyd linux-clk linux-rtc lkml 1 version Applied

Status from this message: Applied to clk-next

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 9 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4clk: milbeaut: Don't reference clk_init_data after registrationdrivers/clk/clk-milbeaut.c+1 -11 reply
2/4clk: zx296718: Don't reference clk_init_data after registrationdrivers/clk/zte/clk-zx296718.c+49 -601 reply
3/4rtc: sun6i: Don't reference clk_init_data after registrationdrivers/rtc/rtc-sun6i.c+1 -14 replies
4/4clk: qcom: Remove error prints from DFS registrationdrivers/clk/qcom/clk-rcg2.c+1 -72 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchChen-Yu TsaiTaniya DasAlexandre Belloni
1/4
2/4
3/4A-b A-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/4] Followup to "Make clk_hw::init NULL after clk registration"

I found some more cases where the init structure is referenced from within the clk_hw struct after clk_registration is called. I suspect the rtc driver fix is useful to avoid crashes on Allwinner devices, reported by kernel-ci.

Cc Sylwester Nawrocki <[email protected]>
Cc Alessandro Zummo <[email protected]>
Cc Alexandre Belloni <[email protected]>
Cc Chen-Yu Tsai <[email protected]>
Cc Jun Nie <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc Shawn Guo <[email protected]>
Cc Sugaya Taichi <[email protected]>
Cc Taniya Das <[email protected]>

Stephen Boyd (4):
clk: milbeaut: Don't reference clk_init_data after registration
clk: zx296718: Don't reference clk_init_data after registration
rtc: sun6i: Don't reference clk_init_data after registration
clk: qcom: Remove error prints from DFS registration

 drivers/clk/clk-milbeaut.c     |   2 +-
 drivers/clk/qcom/clk-rcg2.c    |   8 +--
 drivers/clk/zte/clk-zx296718.c | 109 +++++++++++++++------------------
 drivers/rtc/rtc-sun6i.c        |   2 +-
 4 files changed, 52 insertions(+), 69 deletions(-)
Signature · 1 line
Sent by a computer through tubes