Skip to content

Ensure that HiKey 970 won't hang during boot time

Mauro Carvalho Chehab linux-clk lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1clk: clk-hi3670: mark some clocks as CLK_IS_CRITICALdrivers/clk/hisilicon/clk-hi3670.c+12 -120 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH RESEND(2) 0/1] Ensure that HiKey 970 won't hang during boot time

Second resend attempt. Didn't get any feedback about this series yet.

During HiKey 970 boot, hundreds of clock lines are disabled, causing the device to hang.

There are actually two issues here:

1. The clk core doesn't wait enough time for the device drivers to be probed before agressively disabling "unused" clocks. This was noticed at the drivers built as modules;
2. Several HiKey 970 gates are essencial for the device to work, but they're not marked as such.

The first patch fixes the clk core issue, while second one marks the mandatory clocks as such.

Mauro Carvalho Chehab (1):
clk: clk-hi3670: mark some clocks as CLK_IS_CRITICAL

 drivers/clk/hisilicon/clk-hi3670.c | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)
Signature · 1 line
2.33.1