]> err.no Git - linux-2.6/blobdiff - arch/sh/Kconfig.debug
x86: printk kernel version in WARN_ON and other dump_stack users
[linux-2.6] / arch / sh / Kconfig.debug
index 52f6a99c8ecc6064ebbe6b50dfd2d262d2d15cd5..722da6851f569abe5ee44bec961ac958a2f4ad33 100644 (file)
@@ -28,13 +28,17 @@ config EARLY_SCIF_CONSOLE
          serial I/O.
 
 config EARLY_SCIF_CONSOLE_PORT
          serial I/O.
 
 config EARLY_SCIF_CONSOLE_PORT
-       hex "SCIF port for early console"
+       hex
        depends on EARLY_SCIF_CONSOLE
        default "0xffe00000" if CPU_SUBTYPE_SH7780
        depends on EARLY_SCIF_CONSOLE
        default "0xffe00000" if CPU_SUBTYPE_SH7780
+       default "0xffea0000" if CPU_SUBTYPE_SH7785
        default "0xfffe9800" if CPU_SUBTYPE_SH7206
        default "0xf8420000" if CPU_SUBTYPE_SH7619
        default "0xa4400000" if CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7705
        default "0xfffe9800" if CPU_SUBTYPE_SH7206
        default "0xf8420000" if CPU_SUBTYPE_SH7619
        default "0xa4400000" if CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7705
+       default "0xa4430000" if CPU_SUBTYPE_SH7720
+       default "0xffc30000" if CPU_SUBTYPE_SHX3
        default "0xffe80000" if CPU_SH4
        default "0xffe80000" if CPU_SH4
+       default "0x00000000"
 
 config EARLY_PRINTK
        bool "Early printk support"
 
 config EARLY_PRINTK
        bool "Early printk support"
@@ -82,6 +86,14 @@ config 4KSTACKS
          on the VM subsystem for higher order allocations. This option
          will also use IRQ stacks to compensate for the reduced stackspace.
 
          on the VM subsystem for higher order allocations. This option
          will also use IRQ stacks to compensate for the reduced stackspace.
 
+config IRQSTACKS
+       bool "Use separate kernel stacks when processing interrupts"
+       depends on DEBUG_KERNEL
+       help
+         If you say Y here the kernel will use separate kernel stacks
+         for handling hard and soft interrupts.  This can help avoid
+         overflowing the process kernel stacks.
+
 config SH_KGDB
        bool "Include KGDB kernel debugger"
        select FRAME_POINTER
 config SH_KGDB
        bool "Include KGDB kernel debugger"
        select FRAME_POINTER
@@ -112,12 +124,13 @@ config KGDB_NMI
 
 config SH_KGDB_CONSOLE
        bool "Console messages through GDB"
 
 config SH_KGDB_CONSOLE
        bool "Console messages through GDB"
-       depends on !SERIAL_SH_SCI_CONSOLE
+       depends on !SERIAL_SH_SCI_CONSOLE && SERIAL_SH_SCI=y
        select SERIAL_CORE_CONSOLE
        default n
 
 config KGDB_SYSRQ
        bool "Allow SysRq 'G' to enter KGDB"
        select SERIAL_CORE_CONSOLE
        default n
 
 config KGDB_SYSRQ
        bool "Allow SysRq 'G' to enter KGDB"
+       depends on MAGIC_SYSRQ
        default y
 
 comment "Serial port setup"
        default y
 
 comment "Serial port setup"