Skip to content

Commit fe121bf

Browse files
kholkbebarino
authored andcommitted
clk: qcom: gcc-sdm660: Mark MMSS NoC CFG AHB clock as critical
Similarly to MSM8998, any access to the MMSS depends on this clock. Gating it will crash the system when RPMCC inits mmssnoc_axi_rpm_clk. Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org> Link: https://lore.kernel.org/r/20210113183817.447866-2-angelogioacchino.delregno@somainline.org Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 5374834 commit fe121bf

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

drivers/clk/qcom/gcc-sdm660.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1684,6 +1684,12 @@ static struct clk_branch gcc_mmss_noc_cfg_ahb_clk = {
16841684
.hw.init = &(struct clk_init_data){
16851685
.name = "gcc_mmss_noc_cfg_ahb_clk",
16861686
.ops = &clk_branch2_ops,
1687+
/*
1688+
* Any access to mmss depends on this clock.
1689+
* Gating this clock has been shown to crash the system
1690+
* when mmssnoc_axi_rpm_clk is inited in rpmcc.
1691+
*/
1692+
.flags = CLK_IS_CRITICAL,
16871693
},
16881694
},
16891695
};

0 commit comments

Comments
 (0)