Re: [PATCH 02/10] clk: qcom: gcc-msm8998: leave the MMSS QM clocks on
From: Konrad Dybcio
Date: Tue Oct 20 2026 - 02:31:35 EST
On 10/19/26 3:41 PM, Dmitry Baryshkov wrote:
> Booting MSM8998 without clk_ignore_unused, the SoC resets while the
> modem is being started: restarting it in a loop takes the board down
> within a few dozen cycles. Nothing references gcc_mmss_qm_core_clk, so
> it gets gated, and keeping just that clock on is enough to survive.
>
> Downstream never registered gcc_mmss_qm_core_clk, and dropped
> gcc_mmss_qm_ahb_clk because XBL controls it ("clk: msm: clock: Remove
> support for the gcc_mmss_qm_ahb_clk clock"). Treat both like the GPU
> BIMC source and SNOC DVM clocks: stop registering them and enable them
> at probe.
[...]
> static const u32 gcc_msm8998_critical_cbcrs[] = {
> 0x7100c, /* GCC_GPU_BIMC_GFX_SRC_CLK */
> 0x71018, /* GCC_GPU_SNOC_DVM_GFX_CLK */
> + 0x9030, /* GCC_MMSS_QM_AHB_CLK */
> + 0x900c, /* GCC_MMSS_QM_CORE_CLK */
> };
ideally this list could be sorted
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
Konrad