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

From: zhang . lyra
Date: Mon Apr 13 2020 - 03:00:44 EST


From: Chunyan Zhang <chunyan.zhang@xxxxxxxxxx>

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(-)

--
2.20.1