Re: [PATCH 0/4] PM: Use CONFIG_PM instead of CONFIG_PM_RUNTIME in core code

2014-12-01 Thread Kevin Hilman
"Rafael J. Wysocki" writes: > Hi, > > After commit b2b49ccbdd54 "PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is > selected" (currently in Linux next) CONFIG_PM_RUNTIME is set whenever > CONFIG_PM is set, so CONFIG_PM can be used in #ifdefs instead of > CONFIG_PM_RUNTIME which simplifies things in qui

Re: [PATCH 0/4] PM: Use CONFIG_PM instead of CONFIG_PM_RUNTIME in core code

2014-11-28 Thread Rafael J. Wysocki
On Thursday, November 27, 2014 11:34:03 PM Ulf Hansson wrote: > [...] > > > That said whether or not it is ever useful to set PM_RUNTIME alone is a good > > question. In my opinion it is useful today, at least on some platforms that > > don't really support system suspend or hibernation in any fo

Re: [PATCH 0/4] PM: Use CONFIG_PM instead of CONFIG_PM_RUNTIME in core code

2014-11-27 Thread Ulf Hansson
[...] > That said whether or not it is ever useful to set PM_RUNTIME alone is a good > question. In my opinion it is useful today, at least on some platforms that > don't really support system suspend or hibernation in any form. However, it > may not be the case any more when suspend-to-idle bec

Re: [PATCH 0/4] PM: Use CONFIG_PM instead of CONFIG_PM_RUNTIME in core code

2014-11-27 Thread Rafael J. Wysocki
On Thursday, November 27, 2014 12:18:23 PM Alan Stern wrote: > On Thu, 27 Nov 2014, Geert Uytterhoeven wrote: > > > Hi Rafael, > > > > On Thu, Nov 27, 2014 at 5:52 PM, Rafael J. Wysocki > > wrote: > > >> I have also tested the two Kconfig options; CONFIG_PM_SLEEP (which > > >> selects CONFIG_PM

Re: [PATCH 0/4] PM: Use CONFIG_PM instead of CONFIG_PM_RUNTIME in core code

2014-11-27 Thread Alan Stern
On Thu, 27 Nov 2014, Geert Uytterhoeven wrote: > Hi Rafael, > > On Thu, Nov 27, 2014 at 5:52 PM, Rafael J. Wysocki wrote: > >> I have also tested the two Kconfig options; CONFIG_PM_SLEEP (which > >> selects CONFIG_PM_RUNTIME) and for CONFIG_PM_RUNTIME (with > >> CONFIG_PM_SLEEP unset). > >> > >>

Re: [PATCH 0/4] PM: Use CONFIG_PM instead of CONFIG_PM_RUNTIME in core code

2014-11-27 Thread Geert Uytterhoeven
Hi Rafael, On Thu, Nov 27, 2014 at 5:52 PM, Rafael J. Wysocki wrote: >> I have also tested the two Kconfig options; CONFIG_PM_SLEEP (which >> selects CONFIG_PM_RUNTIME) and for CONFIG_PM_RUNTIME (with >> CONFIG_PM_SLEEP unset). >> >> That brings me to a raise a question; why do we need to keep th

Re: [PATCH 0/4] PM: Use CONFIG_PM instead of CONFIG_PM_RUNTIME in core code

2014-11-27 Thread Rafael J. Wysocki
On Thursday, November 27, 2014 09:57:33 AM Ulf Hansson wrote: > On 27 November 2014 at 01:37, Rafael J. Wysocki wrote: > > Hi, > > > > After commit b2b49ccbdd54 "PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is > > selected" (currently in Linux next) CONFIG_PM_RUNTIME is set whenever > > CONFIG_PM is se

Re: [PATCH 0/4] PM: Use CONFIG_PM instead of CONFIG_PM_RUNTIME in core code

2014-11-27 Thread Ulf Hansson
On 27 November 2014 at 09:57, Ulf Hansson wrote: > On 27 November 2014 at 01:37, Rafael J. Wysocki wrote: >> Hi, >> >> After commit b2b49ccbdd54 "PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is >> selected" (currently in Linux next) CONFIG_PM_RUNTIME is set whenever >> CONFIG_PM is set, so CONFIG_PM c

Re: [PATCH 0/4] PM: Use CONFIG_PM instead of CONFIG_PM_RUNTIME in core code

2014-11-27 Thread Ulf Hansson
On 27 November 2014 at 01:37, Rafael J. Wysocki wrote: > Hi, > > After commit b2b49ccbdd54 "PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is > selected" (currently in Linux next) CONFIG_PM_RUNTIME is set whenever > CONFIG_PM is set, so CONFIG_PM can be used in #ifdefs instead of > CONFIG_PM_RUNTIME whic