diff options
| author | Patrick Delaunay <patrick.delaunay@foss.st.com> | 2026-11-12 17:22:42 +0100 |
|---|---|---|
| committer | Ulf Hansson <ulfh@kernel.org> | 2026-11-14 12:47:21 +0100 |
| commit | 6cb66a7c4897f5011b954c7ed15ffa43c9a49bf9 (patch) | |
| tree | 18a2ae156c427cf40ff55b46a429b2a46b24c884 /tools/lib/python | |
| parent | c671660ea0afeada9b6694a5a25a276bbb81e2dc (diff) | |
cpuidle: psci: Skip SET_SUSPEND_MODE when OSI is unsupported
The PSCI cpuidle domain probe calls psci_set_osi_mode(use_osi) after
creating the power domains. When OSI is unsupported, this still calls
SET_SUSPEND_MODE to select platform-coordinated mode. Firmware that
does not implement this optional function may return NOT_SUPPORTED,
causing the probe to fail with -EOPNOTSUPP.
When OSI is unsupported, the PSCI specification allows the OS to assume
platform-coordinated mode. Skip the call in that case, and request OSI
mode only when psci_has_osi_support() is true.
Fixes: 12acb348fa45 ("cpuidle: psci: Move enabling OSI mode after power domains creation")
Cc: stable@vger.kernel.org
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Signed-off-by: Ulf Hansson <ulfh@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
