From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: [PATCH 0/3] PM / sleep: Make it possible to change the labeling of sleep states Date: Fri, 23 May 2014 01:21:16 +0200 Message-ID: <1817539.9KW2IGGbDV@vostro.rjw.lan> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7Bit Return-path: Sender: linux-kernel-owner@vger.kernel.org To: Linux PM list Cc: Linux Kernel Mailing List List-Id: linux-pm@vger.kernel.org Hi, In accordance with the changelog of patch [3/3], there are systems where the only available sleep state is PM_SUSPEND_FREEZE, so neither "mem" nor "standby" are present in /sys/power/state. As a result, some user space frameworks are unable to use suspend on those systems even though the "freeze" sleep state is there to use. To address this issue, patch [3/3] adds a command line argument to switch the behavior so that sleep states are enumerated from the deepest to the shallowest available and the deepest one is always "mem". The default is the current behavior, of course. Patches [1-2/3] do some preparatory modifications that I think are better done separately. Thanks! -- I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.