summaryrefslogtreecommitdiff
path: root/Documentation/power
diff options
context:
space:
mode:
authorNĂ­colas F. R. A. Prado <nfraprado@collabora.com>2024-01-10 17:23:02 +0300
committerViresh Kumar <viresh.kumar@linaro.org>2024-01-23 09:09:14 +0300
commit788715b5f21c6455264fe00a1779e61bec407fe2 (patch)
tree515a8c0a9ff930189bc8b3d01ed729e8f2b51474 /Documentation/power
parentf661017e6d326ee187db24194cabb013d81bc2a6 (diff)
downloadlinux-788715b5f21c6455264fe00a1779e61bec407fe2.tar.xz
cpufreq: mediatek-hw: Wait for CPU supplies before probing
Before proceeding with the probe and enabling frequency scaling for the CPUs, make sure that all supplies feeding the CPUs have probed. This fixes an issue observed on MT8195-Tomato where if the mediatek-cpufreq-hw driver enabled the hardware (by writing to REG_FREQ_ENABLE) before the SPMI controller driver (spmi-mtk-pmif), behind which lies the big CPU supply, probed the platform would hang shortly after with "rcu: INFO: rcu_preempt detected stalls on CPUs/tasks" being printed in the log. Fixes: 4855e26bcf4d ("cpufreq: mediatek-hw: Add support for CPUFREQ HW") Signed-off-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'Documentation/power')
0 files changed, 0 insertions, 0 deletions