Commit:     7ee17466b6ac3b63ce87492d080e15e7f144f7d2
Parent:     837c54db21fc7047af75f3fe4295e32106449e34
Author:     Benjamin Herrenschmidt <[EMAIL PROTECTED]>
AuthorDate: Tue Dec 11 14:48:24 2007 +1100
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Tue Dec 11 15:43:35 2007 +1100

    [POWERPC] Early debug forces console log level to max
    This makes the early debug option force the console loglevel
    to the max.  The early debug option is meant to catch messages very
    early in the kernel boot process, in many cases, before the kernel
    has a chance to parse the "debug" command line argument.  Thus it
    makes sense when CONFIG_PPC_EARLY_DEBUG is set, to force the console
    log level to the max at boot time.
    Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
 arch/powerpc/Kconfig.debug |    7 +++++++
 arch/powerpc/kernel/udbg.c |    4 ++++
 2 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/Kconfig.debug b/arch/powerpc/Kconfig.debug
index 6a79fe4..d20ccf5 100644
--- a/arch/powerpc/Kconfig.debug
+++ b/arch/powerpc/Kconfig.debug
@@ -151,6 +151,13 @@ config BOOTX_TEXT
        bool "Early debugging (dangerous)"
+       help
+         Say Y to enable some early debugging facilities that may be available
+         for your processor/board combination. Those facilities are hacks
+         intended to debug problems early during boot, this should not be
+         enabled in a production kernel.
+         Note that enabling this will also cause the kernel default log level
+         to be pushed to max automatically very early during boot
        prompt "Early debugging console"
diff --git a/arch/powerpc/kernel/udbg.c b/arch/powerpc/kernel/udbg.c
index d723070..eba148f 100644
--- a/arch/powerpc/kernel/udbg.c
+++ b/arch/powerpc/kernel/udbg.c
@@ -57,6 +57,10 @@ void __init udbg_early_init(void)
+       console_loglevel = 10;
 /* udbg library, used by xmon et al */
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to