Re: [PATCH] clk: sunxi-ng: h6: Reparent CPUX during PLL CPUX rate change
From: Chen-Yu Tsai
Date: Sat Mar 02 2024 - 06:42:33 EST
On Sat, Oct 14, 2023 at 2:17 AM Jernej Skrabec <jernej.skrabec@xxxxxxxxx> wrote:
>
> While PLL CPUX clock rate change when CPU is running from it works in
> vast majority of cases, now and then it causes instability. This leads
> to system crashes and other undefined behaviour. After a lot of testing
> (30+ hours) while also doing a lot of frequency switches, we can't
> observe any instability issues anymore when doing reparenting to stable
> clock like 24 MHz oscillator.
>
> Fixes: 524353ea480b ("clk: sunxi-ng: add support for the Allwinner H6 CCU")
> Reported-by: Chad Wagner <wagnerch42@xxxxxxxxx>
> Link: https://forum.libreelec.tv/thread/27295-orange-pi-3-lts-freezes/
> Tested-by: Chad Wagner <wagnerch42@xxxxxxxxx>
> Signed-off-by: Jernej Skrabec <jernej.skrabec@xxxxxxxxx>
Reviewed-by: Chen-Yu Tsai <wens@xxxxxxxx>