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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux