This is a note to let you know that I've just added the patch titled clk: qcom: mmcc-msm8998: Set bimc_smmu_gdsc always on to the 5.10-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: clk-qcom-mmcc-msm8998-set-bimc_smmu_gdsc-always-on.patch and it can be found in the queue-5.10 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. commit 76be519bab5c6ca6a6ad9402401996fb6a0955b5 Author: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxxx> Date: Thu Jan 14 23:10:57 2021 +0100 clk: qcom: mmcc-msm8998: Set bimc_smmu_gdsc always on [ Upstream commit 68e1d106eb4dceb61bc2818d829786b364fd502b ] 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@xxxxxxxxxxxxxx> Link: https://lore.kernel.org/r/20210114221059.483390-10-angelogioacchino.delregno@xxxxxxxxxxxxxx Signed-off-by: Stephen Boyd <sboyd@xxxxxxxxxx> Stable-dep-of: 1fc62c834739 ("clk: qcom: mmcc-msm8998: Fix the SMMU GDSC") Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx> diff --git a/drivers/clk/qcom/mmcc-msm8998.c b/drivers/clk/qcom/mmcc-msm8998.c index c0bdefcbb2946..8768cdcf0aa3c 100644 --- a/drivers/clk/qcom/mmcc-msm8998.c +++ b/drivers/clk/qcom/mmcc-msm8998.c @@ -2666,7 +2666,7 @@ static struct gdsc bimc_smmu_gdsc = { .name = "bimc_smmu", }, .pwrsts = PWRSTS_OFF_ON, - .flags = HW_CTRL, + .flags = HW_CTRL | ALWAYS_ON, }; static struct clk_regmap *mmcc_msm8998_clocks[] = {