Skip to content

Commit 68e1d10

Browse files
kholkbebarino
authored andcommitted
clk: qcom: mmcc-msm8998: Set bimc_smmu_gdsc always on
This GDSC enables (or cuts!) power to the Multimedia Subsystem IOMMU (mmss smmu), which has bootloader pre-set secure contexts. In the event of a complete power loss, the secure contexts will be reset and the hypervisor will crash the SoC. To prevent this, and get a working multimedia subsystem, set this GDSC as always on. Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org> Link: https://lore.kernel.org/r/20210114221059.483390-10-angelogioacchino.delregno@somainline.org Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent fa92f3b commit 68e1d10

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/clk/qcom/mmcc-msm8998.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2663,7 +2663,7 @@ static struct gdsc bimc_smmu_gdsc = {
26632663
.name = "bimc_smmu",
26642664
},
26652665
.pwrsts = PWRSTS_OFF_ON,
2666-
.flags = HW_CTRL,
2666+
.flags = HW_CTRL | ALWAYS_ON,
26672667
};
26682668

26692669
static struct clk_regmap *mmcc_msm8998_clocks[] = {

0 commit comments

Comments
 (0)