[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <175198385024.26233.3929868919272228663.b4-ty@gentoo.org>
Date: Tue, 8 Jul 2025 22:13:35 +0800
From: Yixun Lan <dlan@...too.org>
To: mturquette@...libre.com,
sboyd@...nel.org,
Alex Elder <elder@...cstar.com>
Cc: Yixun Lan <dlan@...too.org>,
heylenay@....org,
inochiama@...look.com,
guodong@...cstar.com,
linux-clk@...r.kernel.org,
spacemit@...ts.linux.dev,
linux-riscv@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] clk: spacemit: mark K1 pll1_d8 as critical
On Thu, 12 Jun 2025 17:48:55 -0500, Alex Elder wrote:
> The pll1_d8 clock is enabled by the boot loader, and is ultimately a
> parent for numerous clocks, including those used by APB and AXI buses.
> Guodong Xu discovered that this clock got disabled while responding to
> getting -EPROBE_DEFER when requesting a reset controller.
>
> The needed clock (CLK_DMA, along with its parents) had already been
> enabled. To respond to the probe deferral return, the CLK_DMA clock
> was disabled, and this led to parent clocks also reducing their enable
> count. When the enable count for pll1_d8 was decremented it became 0,
> which caused it to be disabled. This led to a system hang.
>
> [...]
Applied, thanks!
[1/1] clk: spacemit: mark K1 pll1_d8 as critical
https://github.com/spacemit-com/linux/commit/7554729de27daf6d54bcf8689d863bbe267828bf
Best regards,
--
Yixun Lan
Powered by blists - more mailing lists