[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1637064075.git.mchehab+huawei@kernel.org>
Date: Tue, 16 Nov 2021 12:05:42 +0000
From: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
To: Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>
Cc: linuxarm@...wei.com, mauro.chehab@...wei.com,
Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
Wei Xu <xuwei5@...ilicon.com>, linux-clk@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH RESEND 0/2] Ensure that HiKey 970 won't hang during boot time
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 (2):
clk: wait for extra time before disabling unused clocks
clk: clk-hi3670: mark some clocks as CLK_IS_CRITICAL
drivers/clk/clk.c | 51 +++++++++++++++++++-----------
drivers/clk/hisilicon/clk-hi3670.c | 24 +++++++-------
2 files changed, 44 insertions(+), 31 deletions(-)
--
2.33.1
Powered by blists - more mailing lists