clk: qcom: gcc-msm8998: Mark gpu_cfg_ahb_clk as critical
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Thu, 14 Jan 2021 22:10:53 +0000 (23:10 +0100)
committerStephen Boyd <sboyd@kernel.org>
Mon, 8 Feb 2021 18:17:49 +0000 (10:17 -0800)
commitf86114913085e33716e183c51ecd6849701f3ac2
tree2f39bd9c141fbc44f10847c1d139364a068f2426
parentb791620cf4b4f9fcfd2c1ea660e79f9539bee2d8
clk: qcom: gcc-msm8998: Mark gpu_cfg_ahb_clk as critical

The GPU IOMMU depends on this clock and the hypervisor will crash
the SoC if this clock gets disabled because the secure contexts
that have been set on this IOMMU by the bootloader will become
unaccessible (or they get reset).
Mark this clock as critical to avoid this issue when the Adreno
GPU is enabled.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Link: https://lore.kernel.org/r/20210114221059.483390-6-angelogioacchino.delregno@somainline.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/gcc-msm8998.c