[Updated][PATCH 5/5] PM: Clean up PM_TRACE dependencies and drop unnecessary Kconfig option

2011-02-10 Thread Rafael J. Wysocki
On Tuesday, February 08, 2011, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > CONFIG_PM_SLEEP_ADVANCED_DEBUG should depend on CONFIG_PM_SLEEP > and CONFIG_CAN_PM_TRACE need not depend on EXPERIMENTAL. Modify > kernel/power/Kconfig along those lines. It

Re: [PATCH] Remove CONFIG_PM altogether, enable power management all the time

2011-02-09 Thread Rafael J. Wysocki
On Wednesday, February 09, 2011, Mark Brown wrote: > On Tue, Feb 08, 2011 at 03:35:29PM -0800, Frank Rowand wrote: > > > For 2.6.38-rc4, x86_64, CONFIG_NR_CPUS=4: > > > size vmlinux > >text data bss dec hex filename > > > > 6553910 3555020 9994240 20103170 132c002

Re: [PATCH 1/5] ACPI / PM: Move references to pm_flags into sleep.c

2011-02-08 Thread Rafael J. Wysocki
On Wednesday, February 09, 2011, Linus Torvalds wrote: > On Tue, Feb 8, 2011 at 1:20 PM, Rafael J. Wysocki wrote: > > > > If direct references to pm_flags are moved from bus.c to sleep.c, > > CONFIG_ACPI will not need to depend on CONFIG_PM any more. > > The patch ma

[PATCH 3/5] PM: Reorder power management Kconfig options

2011-02-08 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Reorder configuration options in kernel/power/Kconfig so that the options depended on are at the top of the list. This patch doesn't introduce any functional changes. Signed-off-by: Rafael J. Wysocki --- kernel/power/Kconfig |

[PATCH 4/5] PM: Replace CONFIG_PM_OPS with CONFIG_PM

2011-02-08 Thread Rafael J. Wysocki
From: Rafael J. Wysocki After redefining CONFIG_PM to depend on (CONFIG_PM_SLEEP || CONFIG_PM_RUNTIME) the CONFIG_PM_OPS option is redundant and can be replaced with CONFIG_PM. Signed-off-by: Rafael J. Wysocki --- drivers/acpi/sleep.c |4 ++-- drivers/base/power/Makefile

[PATCH 2/5] PM: Make CONFIG_PM depend on (CONFIG_PM_SLEEP || CONFIG_PM_RUNTIME)

2011-02-08 Thread Rafael J. Wysocki
From: Rafael J. Wysocki >From the users' point of view CONFIG_PM is really only used for making it possible to set CONFIG_SUSPEND, CONFIG_HIBERNATION, CONFIG_PM_RUNTIME and (surprisingly enough) CONFIG_XEN_SAVE_RESTORE (CONFIG_PM_OPP also depends on CONFIG_PM, but quite artificially).

[PATCH 5/5] PM: Clean up Kconfig dependencies

2011-02-08 Thread Rafael J. Wysocki
From: Rafael J. Wysocki CONFIG_PM_SLEEP_ADVANCED_DEBUG should depend on CONFIG_PM_SLEEP and CONFIG_CAN_PM_TRACE need not depend on EXPERIMENTAL. Modify kernel/power/Kconfig along those lines. Signed-off-by: Rafael J. Wysocki --- kernel/power/Kconfig |4 ++-- 1 file changed, 2 insertions

[PATCH 1/5] ACPI / PM: Move references to pm_flags into sleep.c

2011-02-08 Thread Rafael J. Wysocki
From: Rafael J. Wysocki If direct references to pm_flags are moved from bus.c to sleep.c, CONFIG_ACPI will not need to depend on CONFIG_PM any more. Signed-off-by: Rafael J. Wysocki --- drivers/acpi/Kconfig|1 - drivers/acpi/bus.c |4 +--- drivers/acpi/internal.h |6

[PATCH 0/5] Re: Remove CONFIG_PM altogether, enable power management all the time

2011-02-08 Thread Rafael J. Wysocki
On Tuesday, February 08, 2011, Ingo Molnar wrote: > > * Rafael J. Wysocki wrote: > > > I'd appreciate it if people could review/test it and drop their comments. > > > > Thanks, > > Rafael > > > > --- > > arch/x86/xen/K

Re: [PATCH] PM: Hide CONFIG_PM from users

2011-02-08 Thread Rafael J. Wysocki
On Tuesday, February 08, 2011, Dmitry Torokhov wrote: > On Tue, Feb 08, 2011 at 12:05:40AM +0100, Rafael J. Wysocki wrote: > > On Monday, February 07, 2011, Dmitry Torokhov wrote: > > > On Mon, Feb 07, 2011 at 11:00:03PM +0100, Rafael J. Wysocki wrote: > > > > On Mon

Re: [PATCH] PM: Hide CONFIG_PM from users

2011-02-07 Thread Rafael J. Wysocki
On Monday, February 07, 2011, Dmitry Torokhov wrote: > On Mon, Feb 07, 2011 at 11:00:03PM +0100, Rafael J. Wysocki wrote: > > On Monday, February 07, 2011, Dmitry Torokhov wrote: > > > On Mon, Feb 07, 2011 at 10:15:59PM +0100, Rafael J. Wysocki wrote: > > > > On M

Re: [PATCH] PM: Hide CONFIG_PM from users

2011-02-07 Thread Rafael J. Wysocki
On Monday, February 07, 2011, Dmitry Torokhov wrote: > On Mon, Feb 07, 2011 at 10:15:59PM +0100, Rafael J. Wysocki wrote: > > On Monday, February 07, 2011, Mark Brown wrote: > > > > > > Yeah, but some people seem very keen on removing the pointers to the PM > >

Re: [PATCH] PM: Hide CONFIG_PM from users

2011-02-07 Thread Rafael J. Wysocki
On Monday, February 07, 2011, Mark Brown wrote: > On Mon, Feb 07, 2011 at 08:46:48PM +0100, Rafael J. Wysocki wrote: > > On Monday, February 07, 2011, Mark Brown wrote: > > > On Mon, Feb 07, 2011 at 08:14:03PM +0100, Rafael J. Wysocki wrote: > > > > > I think it

Re: [PATCH] PM: Hide CONFIG_PM from users

2011-02-07 Thread Rafael J. Wysocki
On Monday, February 07, 2011, Mark Brown wrote: > On Mon, Feb 07, 2011 at 08:14:03PM +0100, Rafael J. Wysocki wrote: > > On Monday, February 07, 2011, Mark Brown wrote: > > > > config PM_DEBUG > > > bool "Power Management Debug Support" > >

Re: [PATCH] PM: Hide CONFIG_PM from users

2011-02-07 Thread Rafael J. Wysocki
On Monday, February 07, 2011, Mark Brown wrote: > On Mon, Feb 07, 2011 at 10:36:31AM -0500, Alan Stern wrote: > > On Mon, 7 Feb 2011, Mark Brown wrote: > > > > I'd not be so sure - since it's a bool without an explicit default set > > > Kconfig will default to disabling it and if anything enabling

Re: [PATCH] PM: Hide CONFIG_PM from users

2011-02-07 Thread Rafael J. Wysocki
On Monday, February 07, 2011, Mark Brown wrote: > It is very rare to find a current system which is both sufficiently > resource constrained to want to compile out power management support > and sufficiently power insensitive to be able to tolerate doing so. > Since having the configuration option

Re: [PATCH 2/6] Container Freezer: Make refrigerator always available

2008-08-02 Thread Rafael J. Wysocki
On Saturday, 2 of August 2008, Matt Helsley wrote: > > On Sat, 2008-08-02 at 00:53 +0200, Rafael J. Wysocki wrote: > > On Friday, 1 of August 2008, Matt Helsley wrote: > > > > > > On Fri, 2008-08-01 at 16:27 +0200, Thomas Petazzoni wrote: > > > > Hi, >

Re: [PATCH 2/6] Container Freezer: Make refrigerator always available

2008-08-01 Thread Rafael J. Wysocki
On Friday, 1 of August 2008, Matt Helsley wrote: > > On Fri, 2008-08-01 at 16:27 +0200, Thomas Petazzoni wrote: > > Hi, > > > > Le Thu, 31 Jul 2008 22:07:01 -0700, > > Matt Helsley <[EMAIL PROTECTED]> a écrit : > > > > > --- a/kernel/Makefile > > > +++ b/kernel/Makefile > > > @@ -5,7 +5,7 @@ > >