]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
clk: spacemit: k3: set hdma clock as critical
authorYixun Lan <dlan@kernel.org>
Tue, 30 Jun 2026 08:53:19 +0000 (08:53 +0000)
committerYixun Lan <dlan@kernel.org>
Mon, 6 Jul 2026 19:45:17 +0000 (19:45 +0000)
commiteb525edd48907795c0d4e498ff57ad168070b289
tree7ca66c967e9b16d2fdaaa343777621e2026f2144
parent51ed53630915c9cc290036fe4f430849e23bbf8e
clk: spacemit: k3: set hdma clock as critical

HDMA clock is responsible for the internal TCM access path of X100 RISC-V
core, so set the clock flag as critical to prevent it from being shut off,
otherwise the Linux system will hang, for example in the case of a vector
instruction access generates a page fault.

Fixes: e371a77255b8 ("clk: spacemit: k3: add the clock tree")
Reported-by: Han Gao <gaohan@iscas.ac.cn>
Tested-by: Aurelien Jarno <aurelien@aurel32.net>
Link: https://patch.msgid.link/20260630-06-clk-hdma-critial-v1-1-443c0ac88c5f@kernel.org
Signed-off-by: Yixun Lan <dlan@kernel.org>
drivers/clk/spacemit/ccu-k3.c