Skip to content

RFC allow idle state to be found as deepest state for s2idle only

[email protected] linux-devicetree linux-pm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2cpuidle: allow idle state to be found as deepest state for s2idle onlydrivers/cpuidle/cpuidle.c drivers/cpuidle/dt_idle_states.c include/linux/cpuidle.h+6 -13 replies
2/2dt-bindings: arm: Add description to the new property for-s2idle-onlyDocumentation/devicetree/bindings/arm/idle-states.yaml+9 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH v1 0/2] allow idle state to be found as deepest state for s2idle only

From: Chunyan Zhang <[email protected]>

We can add a new c-state to let system suspend enter into the same deep state as s2ram when using s2idle, but we don't want other cases to use that c-state, such as play_idle() which would find the deepest state by invoking find_deepest_state() as well. This patch-set provides users an option which can restrict c-state to be found as deepest state for s2idle only.

Chunyan Zhang (2):
cpuidle: allow idle state to be found as deepest state for s2idle only
dt-bindings: arm: Add description to the new property for-s2idle-only

 Documentation/devicetree/bindings/arm/idle-states.yaml | 10 +++++++++-
 drivers/cpuidle/cpuidle.c                              |  3 ++-
 drivers/cpuidle/dt_idle_states.c                       |  3 +++
 include/linux/cpuidle.h                                |  1 +
 4 files changed, 15 insertions(+), 2 deletions(-)
Signature · 1 line
2.20.1