lkml.org 
[lkml]   [2020]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC PATCH v1 0/2] allow idle state to be found as deepest state for s2idle only
Date
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

\
 
 \ /
  Last update: 2020-04-13 09:00    [W:0.065 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site