[PATCH v3 0/4] Fix PSCI on MSM8917 and MSM8937
From: Reza Kurniawan
Date: Thu Oct 22 2026 - 05:48:09 EST
PSCI on Qualcomm MSM8917 and MSM8937 advertises support for OS-initiated
mode through PSCI_FEATURES, but rejects every PSCI_SET_SUSPEND_MODE call
with NOT_SUPPORTED. The cpuidle-psci-domain driver treats this as a
fatal error, so probe fails and the CPU PM domain topology is never
registered:
psci-cpuidle-domain psci: probe with driver psci-cpuidle-domain failed
with error -95
This series adds a "skip-suspend-mode-switch" property to the PSCI node.
When present, cpuidle-psci-domain does not call psci_set_osi_mode() and
continues with the topology it has already built.
Skipping the switch is expected to be safe on these platforms since it
matches the behavior of the downstream kernel, which manages the
cluster power level in addition to the CPU power level, just as Linux
does when OSI is supported.
Additionally, it also adds the property to the PSCI node for both
platforms. For MSM8917, additional change is added to fix the system
being unresponsive at idle.
---
Changes in v3:
- Swap ordering (patch #3 <-> patch #4)
- Link to v2: https://patch.msgid.link/20261018-psci-fix-v2-0-35f65b59eb9a@xxxxxxxxx
Changes in v2:
- Small phrase change in the property description
- Added property check in psci_1_0_init()
- Link to v1: https://patch.msgid.link/20261017-psci-fix-v1-0-dedae27e4a31@xxxxxxxxx
---
Alejandro Tafalla (2):
dt-bindings: arm: psci: Add skip-suspend-mode-switch property
cpuidle: psci: Allow skipping the suspend mode switch
Reza Kurniawan (2):
arm64: dts: qcom: msm8917: Use a shallower cluster state to fix unresponsive idle
arm64: dts: qcom: Skip suspend mode switch on MSM8917 and MSM8937
Documentation/devicetree/bindings/arm/psci.yaml | 13 +++++++++++++
arch/arm64/boot/dts/qcom/msm8917.dtsi | 9 +++++----
arch/arm64/boot/dts/qcom/msm8937.dtsi | 1 +
drivers/cpuidle/cpuidle-psci-domain.c | 16 ++++++++++------
drivers/firmware/psci/psci.c | 6 ++++--
5 files changed, 33 insertions(+), 12 deletions(-)
---
base-commit: 9a482184d910775cf648863148944945b74e2815
change-id: 20261013-psci-fix-8a2c0d6266fa
Best regards,
--
Reza Kurniawan <imkyufie@xxxxxxxxx>