Blackfin: implement nmi_watchdog for SMP on BF561
[sfrench/cifs-2.6.git] / arch / blackfin / Kconfig.debug
index 87f195ee2e06234e50399566b25243e8ca821bda..1460d7b5edc15d2dfffd61c5ab4c07abcf3ce2c2 100644 (file)
@@ -238,6 +238,15 @@ config EARLY_PRINTK
          all of this lives in the init section and is thrown away after the
          kernel boots completely.
 
          all of this lives in the init section and is thrown away after the
          kernel boots completely.
 
+config NMI_WATCHDOG
+       bool "Enable NMI watchdog to help debugging lockup on SMP"
+       default n
+       depends on (SMP && !BFIN_SCRATCH_REG_RETN)
+       help
+         If any CPU in the system does not execute the period local timer
+         interrupt for more than 5 seconds, then the NMI handler dumps debug
+         information. This information can be used to debug the lockup.
+
 config CPLB_INFO
        bool "Display the CPLB information"
        help
 config CPLB_INFO
        bool "Display the CPLB information"
        help