[PATCH v2 0/2] Fixes for hang on MT8195-Tomato during mediatek-cpufreq-hw init
Nícolas F. R. A. Prado
nfraprado at collabora.com
Wed Jan 10 06:23:00 PST 2024
These two patches fix 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.
Changes in v2:
- Moved supply phandles to CPU nodes in DT
- Added fixes tags
- Added patch to verify CPU supplies are available before proceeding in
the mediatek-cpufreq-hw driver
Nícolas F. R. A. Prado (2):
arm64: dts: mediatek: cherry: Describe CPU supplies
cpufreq: mediatek-hw: Wait for CPU supplies before probing
.../boot/dts/mediatek/mt8195-cherry.dtsi | 32 +++++++++++++++++++
drivers/cpufreq/mediatek-cpufreq-hw.c | 19 ++++++++++-
2 files changed, 50 insertions(+), 1 deletion(-)
--
2.43.0
More information about the linux-arm-kernel
mailing list