linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH v1 0/2] allow idle state to be found as deepest state for s2idle only
@ 2020-04-13  7:00 zhang.lyra
  2020-04-13  7:00 ` [RFC PATCH v1 1/2] cpuidle: " zhang.lyra
  2020-04-13  7:00 ` [RFC PATCH v1 2/2] dt-bindings: arm: Add description to the new property for-s2idle-only zhang.lyra
  0 siblings, 2 replies; 7+ messages in thread
From: zhang.lyra @ 2020-04-13  7:00 UTC (permalink / raw)
  To: Rafael J . Wysocki, Daniel Lezcano, Rob Herring, Mark Rutland
  Cc: linux-pm, devicetree, linux-kernel, Chunyan Zhang, Chunyan Zhang

From: Chunyan Zhang <chunyan.zhang@unisoc.com>

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-04-21  7:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-13  7:00 [RFC PATCH v1 0/2] allow idle state to be found as deepest state for s2idle only zhang.lyra
2020-04-13  7:00 ` [RFC PATCH v1 1/2] cpuidle: " zhang.lyra
2020-04-20  9:36   ` Chunyan Zhang
2020-04-20 11:42   ` Mark Rutland
2020-04-21  7:31     ` Chunyan Zhang
2020-04-13  7:00 ` [RFC PATCH v1 2/2] dt-bindings: arm: Add description to the new property for-s2idle-only zhang.lyra
2020-04-20 11:44   ` Mark Rutland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).