Skip to content

Fixes for hang on MT8195-Tomato during mediatek-cpufreq-hw init

Nícolas F. R. A. Prado linux-arm-kernel linux-devicetree linux-mediatek linux-pm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 7 repliesIn review

Changes in v2 from the cover letter

- 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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2arm64: dts: mediatek: cherry: Describe CPU suppliesarch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi+32 -04 replies
2/2cpufreq: mediatek-hw: Wait for CPU supplies before probingdrivers/cpufreq/mediatek-cpufreq-hw.c+18 -13 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAngeloGioacchino Del RegnoMatthias Brugger
1/2R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Fixes for hang on MT8195-Tomato during mediatek-cpufreq-hw init

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(-)
Signature · 1 line
2.43.0