PM: Remove CONFIG_PM_VERBOSE
Subsystems (5)
PATCH 1/1 PM: Remove CONFIG_PM_VERBOSE
From: Rafael J. Wysocki <[email protected]>
Now that we have CONFIG_DYNAMIC_DEBUG there is no need for yet another flag causing dev_dbg() and pr_debug() statements in the core PM code to produce output. Moreover, CONFIG_PM_VERBOSE causes so much output to be generated that it's not really useful and almost no one sets it.
References: https://bugzilla.kernel.org/show_bug.cgi?id=23182
--- arch/sh/configs/apsh4ad0a_defconfig | 1 - arch/sh/configs/sdk7786_defconfig | 1 - drivers/base/power/Makefile | 3 +-- kernel/power/Kconfig | 6 ------ 4 files changed, 1 insertion(+), 10 deletions(-)
arch/sh/configs/apsh4ad0a_defconfig +0 -1
@@ -48,7 +48,6 @@ CONFIG_PREEMPT=y CONFIG_BINFMT_MISC=y CONFIG_PM=y CONFIG_PM_DEBUG=y -CONFIG_PM_VERBOSE=y CONFIG_PM_RUNTIME=y CONFIG_CPU_IDLE=y CONFIG_NET=y
arch/sh/configs/sdk7786_defconfig +0 -1
@@ -83,7 +83,6 @@ CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y CONFIG_BINFMT_MISC=y CONFIG_PM=y CONFIG_PM_DEBUG=y -CONFIG_PM_VERBOSE=y CONFIG_PM_RUNTIME=y CONFIG_CPU_IDLE=y CONFIG_NET=y
drivers/base/power/Makefile +1 -2
@@ -5,5 +5,4 @@ obj-$(CONFIG_PM_TRACE_RTC) += trace.o obj-$(CONFIG_PM_OPP) += opp.o obj-$(CONFIG_HAVE_CLK) += clock_ops.o -ccflags-$(CONFIG_DEBUG_DRIVER) := -DDEBUG -ccflags-$(CONFIG_PM_VERBOSE) += -DDEBUG +ccflags-$(CONFIG_DEBUG_DRIVER) := -DDEBUG
kernel/power/Kconfig +0 -6
@@ -125,12 +125,6 @@ config PM_DEBUG code. This is helpful when debugging and reporting PM bugs, like suspend support. -config PM_VERBOSE - bool "Verbose Power Management debugging" - depends on PM_DEBUG - ---help--- - This option enables verbose messages from the Power Management code. - config PM_ADVANCED_DEBUG bool "Extra PM attributes in sysfs for low-level debugging/testing" depends on PM_DEBUG
Quoted 10 lines · Rafael J. Wysocki
From: Rafael J. Wysocki <[email protected]>
Now that we have
CONFIG_DYNAMIC_DEBUGthere is no need for yet another flag causingdev_dbg()andpr_debug()statements in the core PM code to produce output. Moreover,CONFIG_PM_VERBOSEcauses so much output to be generated that it's not really useful and almost no one sets it.References: https://bugzilla.kernel.org/show_bug.cgi?id=23182
Signed-off-by Rafael J. Wysocki <[email protected]>
There are no comments, so my understanding is that no one has any objections to this patch. If that really is the case, I'm going to put it into suspend-2.6/linux-next for 2.6.40.
Thanks,
Rafael
Quoted 61 lines
--- arch/sh/configs/apsh4ad0a_defconfig | 1 - arch/sh/configs/sdk7786_defconfig | 1 - drivers/base/power/Makefile | 3 +-- kernel/power/Kconfig | 6 ------ 4 files changed, 1 insertion(+), 10 deletions(-)Index: linux-2.6/arch/sh/configs/apsh4ad0a_defconfig
===================================================================arch/sh/configs/apsh4ad0a_defconfig +0
-1@@ -48,7 +48,6 @@ CONFIG_PREEMPT=y CONFIG_BINFMT_MISC=y CONFIG_PM=y CONFIG_PM_DEBUG=y -CONFIG_PM_VERBOSE=y CONFIG_PM_RUNTIME=y CONFIG_CPU_IDLE=y CONFIG_NET=yIndex: linux-2.6/arch/sh/configs/sdk7786_defconfig
===================================================================arch/sh/configs/sdk7786_defconfig +0
-1@@ -83,7 +83,6 @@ CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y CONFIG_BINFMT_MISC=y CONFIG_PM=y CONFIG_PM_DEBUG=y -CONFIG_PM_VERBOSE=y CONFIG_PM_RUNTIME=y CONFIG_CPU_IDLE=y CONFIG_NET=yIndex: linux-2.6/drivers/base/power/Makefile
===================================================================drivers/base/power/Makefile +1
-2@@ -5,5 +5,4 @@ obj-$(CONFIG_PM_TRACE_RTC) += trace.o obj-$(CONFIG_PM_OPP) += opp.o obj-$(CONFIG_HAVE_CLK) += clock_ops.o -ccflags-$(CONFIG_DEBUG_DRIVER) := -DDEBUG -ccflags-$(CONFIG_PM_VERBOSE) += -DDEBUG +ccflags-$(CONFIG_DEBUG_DRIVER) := -DDEBUGIndex: linux-2.6/kernel/power/Kconfig
===================================================================kernel/power/Kconfig +0
-7@@ -125,12 +125,6 @@ config PM_DEBUG code. This is helpful when debugging and reporting PM bugs, like suspend support. -config PM_VERBOSE - bool "Verbose Power Management debugging" - depends on PM_DEBUG - ---help--- - This option enables verbose messages from the Power Management code. - config PM_ADVANCED_DEBUG bool "Extra PM attributes in sysfs for low-level debugging/testing" depends on PM_DEBUG --
Quoted 11 lines · Rafael J. Wysocki
Quoted 10 lines · Rafael J. Wysocki
From: Rafael J. Wysocki <[email protected]>
Now that we have
CONFIG_DYNAMIC_DEBUGthere is no need for yet another flag causingdev_dbg()andpr_debug()statements in the core PM code to produce output. Moreover,CONFIG_PM_VERBOSEcauses so much output to be generated that it's not really useful and almost no one sets it.References: https://bugzilla.kernel.org/show_bug.cgi?id=23182
Signed-off-by Rafael J. Wysocki <[email protected]>
ACK
Quoted 3 lines
There are no comments, so my understanding is that no one has any objections to this patch. If that really is the case, I'm going to put it into suspend-2.6/linux-next for 2.6.40.
And sorry for slow responses.
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Quoted 11 lines · Rafael J. Wysocki
Quoted 10 lines · Rafael J. Wysocki
From: Rafael J. Wysocki <[email protected]>
Now that we have
CONFIG_DYNAMIC_DEBUGthere is no need for yet another flag causingdev_dbg()andpr_debug()statements in the core PM code to produce output. Moreover,CONFIG_PM_VERBOSEcauses so much output to be generated that it's not really useful and almost no one sets it.References: https://bugzilla.kernel.org/show_bug.cgi?id=23182
Signed-off-by Rafael J. Wysocki <[email protected]>
ACK
Quoted 3 lines
There are no comments, so my understanding is that no one has any objections to this patch. If that really is the case, I'm going to put it into suspend-2.6/linux-next for 2.6.40.
And sorry for slow responses.
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Quoted 10 lines · Rafael J. Wysocki
From: Rafael J. Wysocki <[email protected]>
Now that we have
CONFIG_DYNAMIC_DEBUGthere is no need for yet another flag causingdev_dbg()andpr_debug()statements in the core PM code to produce output. Moreover,CONFIG_PM_VERBOSEcauses so much output to be generated that it's not really useful and almost no one sets it.References: https://bugzilla.kernel.org/show_bug.cgi?id=23182
Signed-off-by Rafael J. Wysocki <[email protected]>
There are no comments, so my understanding is that no one has any objections to this patch. If that really is the case, I'm going to put it into suspend-2.6/linux-next for 2.6.40.
Thanks,
Rafael
Quoted 61 lines
--- arch/sh/configs/apsh4ad0a_defconfig | 1 - arch/sh/configs/sdk7786_defconfig | 1 - drivers/base/power/Makefile | 3 +-- kernel/power/Kconfig | 6 ------ 4 files changed, 1 insertion(+), 10 deletions(-)Index: linux-2.6/arch/sh/configs/apsh4ad0a_defconfig
===================================================================arch/sh/configs/apsh4ad0a_defconfig +0
-1@@ -48,7 +48,6 @@ CONFIG_PREEMPT=y CONFIG_BINFMT_MISC=y CONFIG_PM=y CONFIG_PM_DEBUG=y -CONFIG_PM_VERBOSE=y CONFIG_PM_RUNTIME=y CONFIG_CPU_IDLE=y CONFIG_NET=yIndex: linux-2.6/arch/sh/configs/sdk7786_defconfig
===================================================================arch/sh/configs/sdk7786_defconfig +0
-1@@ -83,7 +83,6 @@ CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y CONFIG_BINFMT_MISC=y CONFIG_PM=y CONFIG_PM_DEBUG=y -CONFIG_PM_VERBOSE=y CONFIG_PM_RUNTIME=y CONFIG_CPU_IDLE=y CONFIG_NET=yIndex: linux-2.6/drivers/base/power/Makefile
===================================================================drivers/base/power/Makefile +1
-2@@ -5,5 +5,4 @@ obj-$(CONFIG_PM_TRACE_RTC) += trace.o obj-$(CONFIG_PM_OPP) += opp.o obj-$(CONFIG_HAVE_CLK) += clock_ops.o -ccflags-$(CONFIG_DEBUG_DRIVER) := -DDEBUG -ccflags-$(CONFIG_PM_VERBOSE) += -DDEBUG +ccflags-$(CONFIG_DEBUG_DRIVER) := -DDEBUGIndex: linux-2.6/kernel/power/Kconfig
===================================================================kernel/power/Kconfig +0
-7@@ -125,12 +125,6 @@ config PM_DEBUG code. This is helpful when debugging and reporting PM bugs, like suspend support. -config PM_VERBOSE - bool "Verbose Power Management debugging" - depends on PM_DEBUG - ---help--- - This option enables verbose messages from the Power Management code. - config PM_ADVANCED_DEBUG bool "Extra PM attributes in sysfs for low-level debugging/testing" depends on PM_DEBUG --