From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: Re: [PATCH 3/3][update] PM / sleep: Introduce command line argument for sleep state enumeration Date: Tue, 10 Jun 2014 17:25:19 +0200 Message-ID: <1814823.xvzHxSUnQU@vostro.rjw.lan> References: <1817539.9KW2IGGbDV@vostro.rjw.lan> <20140610131206.GA7626@amd.pavel.ucw.cz> <1848200.GDD9x0Rptb@vostro.rjw.lan> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7Bit Return-path: Received: from v094114.home.net.pl ([79.96.170.134]:51369 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1750743AbaFJPIA (ORCPT ); Tue, 10 Jun 2014 11:08:00 -0400 In-Reply-To: <1848200.GDD9x0Rptb@vostro.rjw.lan> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Pavel Machek Cc: Linux PM list , Linux Kernel Mailing List On Tuesday, June 10, 2014 05:23:24 PM Rafael J. Wysocki wrote: > On Tuesday, June 10, 2014 03:12:06 PM Pavel Machek wrote: > > Hi! > > > > > From: Rafael J. Wysocki > > > > > > On some systems the platform doesn't support neither > > > PM_SUSPEND_MEM nor PM_SUSPEND_STANDBY, so PM_SUSPEND_FREEZE is the > > > only available system sleep state. However, some user space frameworks > > > only use the "mem" and (sometimes) "standby" sleep state labels, so > > > the users of those systems need to modify user space in order to be > > > able to use system suspend at all and that is not always possible. > > > > I'd say we should fix the frameworks, not add option to change kernel > > interfaces. > > > > Because, as you mentioned, if we add this, we are probably going to > > get stuck with it forever :-(. > > Unfortunately, fixing the frameworks is rather less than realistic in any > reasonable time frame, since Android. :-) Android is one of them. (sorry for sending prematurely). Rafael