Re: [PATCH] PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is selected (was: Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled)

2014-11-18 Thread Rafael J. Wysocki
On Tuesday, November 18, 2014 09:34:11 AM Pavel Machek wrote: > On Tue 2014-11-18 01:39:06, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > The number of and dependencies between high-level power management > > Kconfig options make life much harder than necessary. Several > >

Re: [PATCH] PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is selected (was: Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled)

2014-11-18 Thread Pavel Machek
On Tue 2014-11-18 01:39:06, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The number of and dependencies between high-level power management > Kconfig options make life much harder than necessary. Several > conbinations of them have to be tested and supported, even though > some of

Re: [PATCH] PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is selected (was: Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled)

2014-11-18 Thread Rafael J. Wysocki
On Tuesday, November 18, 2014 09:34:11 AM Pavel Machek wrote: On Tue 2014-11-18 01:39:06, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com The number of and dependencies between high-level power management Kconfig options make life much harder than necessary.

Re: [PATCH] PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is selected (was: Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled)

2014-11-18 Thread Pavel Machek
On Tue 2014-11-18 01:39:06, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com The number of and dependencies between high-level power management Kconfig options make life much harder than necessary. Several conbinations of them have to be tested and supported, even

[PATCH] PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is selected (was: Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled)

2014-11-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The number of and dependencies between high-level power management Kconfig options make life much harder than necessary. Several conbinations of them have to be tested and supported, even though some of those combinations are very rarely used in practice (it they are

Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-17 Thread Kevin Hilman
"Rafael J. Wysocki" writes: > On Saturday, November 15, 2014 01:32:01 PM Geert Uytterhoeven wrote: >> Hi Kevin, >> >> On Fri, Nov 14, 2014 at 6:36 PM, Kevin Hilman wrote: >> >> On Thu, Nov 13, 2014 at 11:28 PM, Kevin Hilman wrote: >> >>> It makes little sense to use generic power domains

Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-17 Thread Geert Uytterhoeven
On Mon, Nov 17, 2014 at 2:22 AM, Rafael J. Wysocki wrote: > On Saturday, November 15, 2014 01:32:01 PM Geert Uytterhoeven wrote: >> On Fri, Nov 14, 2014 at 6:36 PM, Kevin Hilman wrote: >> >> On Thu, Nov 13, 2014 at 11:28 PM, Kevin Hilman wrote: >> >>> It makes little sense to use generic power

Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-17 Thread Geert Uytterhoeven
On Mon, Nov 17, 2014 at 2:22 AM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Saturday, November 15, 2014 01:32:01 PM Geert Uytterhoeven wrote: On Fri, Nov 14, 2014 at 6:36 PM, Kevin Hilman khil...@kernel.org wrote: On Thu, Nov 13, 2014 at 11:28 PM, Kevin Hilman khil...@kernel.org wrote:

Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-17 Thread Kevin Hilman
Rafael J. Wysocki r...@rjwysocki.net writes: On Saturday, November 15, 2014 01:32:01 PM Geert Uytterhoeven wrote: Hi Kevin, On Fri, Nov 14, 2014 at 6:36 PM, Kevin Hilman khil...@kernel.org wrote: On Thu, Nov 13, 2014 at 11:28 PM, Kevin Hilman khil...@kernel.org wrote: It makes little

[PATCH] PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is selected (was: Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled)

2014-11-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com The number of and dependencies between high-level power management Kconfig options make life much harder than necessary. Several conbinations of them have to be tested and supported, even though some of those combinations are very rarely used in

Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-16 Thread Rafael J. Wysocki
On Saturday, November 15, 2014 01:32:01 PM Geert Uytterhoeven wrote: > Hi Kevin, > > On Fri, Nov 14, 2014 at 6:36 PM, Kevin Hilman wrote: > >> On Thu, Nov 13, 2014 at 11:28 PM, Kevin Hilman wrote: > >>> It makes little sense to use generic power domains without runtime PM. > >> > >> Does it? >

Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-16 Thread Rafael J. Wysocki
On Saturday, November 15, 2014 01:32:01 PM Geert Uytterhoeven wrote: Hi Kevin, On Fri, Nov 14, 2014 at 6:36 PM, Kevin Hilman khil...@kernel.org wrote: On Thu, Nov 13, 2014 at 11:28 PM, Kevin Hilman khil...@kernel.org wrote: It makes little sense to use generic power domains without runtime

Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-15 Thread Pavel Machek
On Fri 2014-11-14 23:41:15, Rafael J. Wysocki wrote: > On Friday, November 14, 2014 09:36:17 AM Kevin Hilman wrote: > > Geert Uytterhoeven writes: > > > > > Hi Kevin, > > > > > > On Thu, Nov 13, 2014 at 11:28 PM, Kevin Hilman wrote: > > >> It makes little sense to use generic power domains

Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-15 Thread Geert Uytterhoeven
Hi Kevin, On Fri, Nov 14, 2014 at 6:36 PM, Kevin Hilman wrote: >> On Thu, Nov 13, 2014 at 11:28 PM, Kevin Hilman wrote: >>> It makes little sense to use generic power domains without runtime PM. >> >> Does it? >> It still powers down the PM domains on system suspend (at least on my >> boards

Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-15 Thread Geert Uytterhoeven
Hi Kevin, On Fri, Nov 14, 2014 at 6:36 PM, Kevin Hilman khil...@kernel.org wrote: On Thu, Nov 13, 2014 at 11:28 PM, Kevin Hilman khil...@kernel.org wrote: It makes little sense to use generic power domains without runtime PM. Does it? It still powers down the PM domains on system suspend (at

Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-15 Thread Pavel Machek
On Fri 2014-11-14 23:41:15, Rafael J. Wysocki wrote: On Friday, November 14, 2014 09:36:17 AM Kevin Hilman wrote: Geert Uytterhoeven ge...@linux-m68k.org writes: Hi Kevin, On Thu, Nov 13, 2014 at 11:28 PM, Kevin Hilman khil...@kernel.org wrote: It makes little sense to use

Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-14 Thread Rafael J. Wysocki
On Friday, November 14, 2014 09:36:17 AM Kevin Hilman wrote: > Geert Uytterhoeven writes: > > > Hi Kevin, > > > > On Thu, Nov 13, 2014 at 11:28 PM, Kevin Hilman wrote: > >> It makes little sense to use generic power domains without runtime PM. > > > > Does it? > > It still powers down the PM

Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-14 Thread Rafael J. Wysocki
On Friday, November 14, 2014 09:27:41 AM Kevin Hilman wrote: > Hi Ulf, > > Ulf Hansson writes: > > > On 13 November 2014 23:28, Kevin Hilman wrote: > >> From: Kevin Hilman > >> > >> It makes little sense to use generic power domains without runtime PM. > >> Also, since the complexities of

Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-14 Thread Kevin Hilman
Geert Uytterhoeven writes: > Hi Kevin, > > On Thu, Nov 13, 2014 at 11:28 PM, Kevin Hilman wrote: >> It makes little sense to use generic power domains without runtime PM. > > Does it? > It still powers down the PM domains on system suspend (at least on my > boards ;-) Sure, but your devices

Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-14 Thread Kevin Hilman
Hi Ulf, Ulf Hansson writes: > On 13 November 2014 23:28, Kevin Hilman wrote: >> From: Kevin Hilman >> >> It makes little sense to use generic power domains without runtime PM. >> Also, since the complexities of handling the !PM_RUNTIME case are >> causing more trouble and confusion than

Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-14 Thread Kevin Hilman
Hi Ulf, Ulf Hansson ulf.hans...@linaro.org writes: On 13 November 2014 23:28, Kevin Hilman khil...@kernel.org wrote: From: Kevin Hilman khil...@linaro.org It makes little sense to use generic power domains without runtime PM. Also, since the complexities of handling the !PM_RUNTIME case are

Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-14 Thread Kevin Hilman
Geert Uytterhoeven ge...@linux-m68k.org writes: Hi Kevin, On Thu, Nov 13, 2014 at 11:28 PM, Kevin Hilman khil...@kernel.org wrote: It makes little sense to use generic power domains without runtime PM. Does it? It still powers down the PM domains on system suspend (at least on my boards

Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-14 Thread Rafael J. Wysocki
On Friday, November 14, 2014 09:27:41 AM Kevin Hilman wrote: Hi Ulf, Ulf Hansson ulf.hans...@linaro.org writes: On 13 November 2014 23:28, Kevin Hilman khil...@kernel.org wrote: From: Kevin Hilman khil...@linaro.org It makes little sense to use generic power domains without runtime

Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-14 Thread Rafael J. Wysocki
On Friday, November 14, 2014 09:36:17 AM Kevin Hilman wrote: Geert Uytterhoeven ge...@linux-m68k.org writes: Hi Kevin, On Thu, Nov 13, 2014 at 11:28 PM, Kevin Hilman khil...@kernel.org wrote: It makes little sense to use generic power domains without runtime PM. Does it? It still

Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-13 Thread Geert Uytterhoeven
Hi Kevin, On Thu, Nov 13, 2014 at 11:28 PM, Kevin Hilman wrote: > It makes little sense to use generic power domains without runtime PM. Does it? It still powers down the PM domains on system suspend (at least on my boards ;-) > Also, since the complexities of handling the !PM_RUNTIME case are

Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-13 Thread Ulf Hansson
On 14 November 2014 08:26, Ulf Hansson wrote: > On 13 November 2014 23:28, Kevin Hilman wrote: >> From: Kevin Hilman >> >> It makes little sense to use generic power domains without runtime PM. >> Also, since the complexities of handling the !PM_RUNTIME case are >> causing more trouble and

Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-13 Thread Ulf Hansson
On 13 November 2014 23:28, Kevin Hilman wrote: > From: Kevin Hilman > > It makes little sense to use generic power domains without runtime PM. > Also, since the complexities of handling the !PM_RUNTIME case are > causing more trouble and confusion than they're worth, let's simplify > the world

[PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-13 Thread Kevin Hilman
From: Kevin Hilman It makes little sense to use generic power domains without runtime PM. Also, since the complexities of handling the !PM_RUNTIME case are causing more trouble and confusion than they're worth, let's simplify the world by making genpd always enable runtime PM. Cc: Ulf Hansson

[PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-13 Thread Kevin Hilman
From: Kevin Hilman khil...@linaro.org It makes little sense to use generic power domains without runtime PM. Also, since the complexities of handling the !PM_RUNTIME case are causing more trouble and confusion than they're worth, let's simplify the world by making genpd always enable runtime PM.

Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-13 Thread Ulf Hansson
On 13 November 2014 23:28, Kevin Hilman khil...@kernel.org wrote: From: Kevin Hilman khil...@linaro.org It makes little sense to use generic power domains without runtime PM. Also, since the complexities of handling the !PM_RUNTIME case are causing more trouble and confusion than they're

Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-13 Thread Ulf Hansson
On 14 November 2014 08:26, Ulf Hansson ulf.hans...@linaro.org wrote: On 13 November 2014 23:28, Kevin Hilman khil...@kernel.org wrote: From: Kevin Hilman khil...@linaro.org It makes little sense to use generic power domains without runtime PM. Also, since the complexities of handling the

Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-13 Thread Geert Uytterhoeven
Hi Kevin, On Thu, Nov 13, 2014 at 11:28 PM, Kevin Hilman khil...@kernel.org wrote: It makes little sense to use generic power domains without runtime PM. Does it? It still powers down the PM domains on system suspend (at least on my boards ;-) Also, since the complexities of handling the