From: Reza Kurniawan <imkyufie@gmail.com>
To: Mark Rutland <mark.rutland@arm.com>,
Lorenzo Pieralisi <lpieralisi@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Ulf Hansson <ulfh@kernel.org>,
"Rafael J. Wysocki" <rafael@kernel.org>,
Daniel Lezcano <daniel.lezcano@kernel.org>,
Christian Loehle <christian.loehle@arm.com>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Abel Vesa <abelvesa@kernel.org>, Val Packett <val@packett.cool>
Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org,
linux-arm-msm@vger.kernel.org,
Alejandro Tafalla <atafalla@dnyon.com>,
Reza Kurniawan <imkyufie@gmail.com>,
Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Subject: [PATCH v3 0/4] Fix PSCI on MSM8917 and MSM8937
Date: Thu, 22 Oct 2026 09:41:09 +0000 [thread overview]
Message-ID: <20261022-psci-fix-v3-0-9ce2133c5659@gmail.com> (raw)
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@gmail.com
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@gmail.com
---
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@gmail.com>
next reply other threads:[~2026-10-22 9:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-22 9:41 Reza Kurniawan [this message]
2026-10-22 9:41 ` [PATCH v3 1/4] dt-bindings: arm: psci: Add skip-suspend-mode-switch property Reza Kurniawan
2026-10-22 9:41 ` [PATCH v3 2/4] cpuidle: psci: Allow skipping the suspend mode switch Reza Kurniawan
2026-10-22 9:41 ` [PATCH v3 3/4] arm64: dts: qcom: msm8917: Use a shallower cluster state to fix unresponsive idle Reza Kurniawan
2026-10-22 10:14 ` Konrad Dybcio
2026-10-22 9:41 ` [PATCH v3 4/4] arm64: dts: qcom: Skip suspend mode switch on MSM8917 and MSM8937 Reza Kurniawan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261022-psci-fix-v3-0-9ce2133c5659@gmail.com \
--to=imkyufie@gmail.com \
--cc=abelvesa@kernel.org \
--cc=andersson@kernel.org \
--cc=atafalla@dnyon.com \
--cc=christian.loehle@arm.com \
--cc=conor+dt@kernel.org \
--cc=daniel.lezcano@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=lpieralisi@kernel.org \
--cc=mark.rutland@arm.com \
--cc=rafael@kernel.org \
--cc=robh@kernel.org \
--cc=ulfh@kernel.org \
--cc=val@packett.cool \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®