clk: qcom: Leave mmss noc on for 8998
Subsystems (3)
PATCH v2 1/1 clk: qcom: Leave mmss noc on for 8998
Similar to other qcom targets, gcc_mmss_noc_cfg_ahb_clk should not be disabled. Any mmss access depends on this clock, and its been observed that enabling mmssnoc_axi_rpm_clk with rpmcc results in an implicit access to mmss and will crash the system if gcc_mmss_noc_cfg_ahb_clk is disabled.
Signed-off-by Jeffrey Hugo <[email protected]>
---
v2:
-Switch to CLK_IS_CRITICAL and add comment per Stephen
drivers/clk/qcom/gcc-msm8998.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/clk/qcom/gcc-msm8998.c +6 -0
@@ -2027,6 +2027,12 @@ enum { .hw.init = &(struct clk_init_data){ .name ="gcc_mmss_noc_cfg_ahb_clk" , .ops = &clk_branch2_ops, +/* +* Any access to mmss depends on this clock. +* Gating this clock has been shown to crash the system +* when mmssnoc_axi_rpm_clk is inited in rpmcc. +*/ + .flags =CLK_IS_CRITICAL , }, }, };
Signature · 3 lines
Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.