diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig.debug | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 25c3ed594c54..f80b67e72aa0 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -170,6 +170,19 @@ config DETECT_SOFTLOCKUP | |||
170 | can be detected via the NMI-watchdog, on platforms that | 170 | can be detected via the NMI-watchdog, on platforms that |
171 | support it.) | 171 | support it.) |
172 | 172 | ||
173 | config NMI_WATCHDOG | ||
174 | bool "Detect Hard Lockups with an NMI Watchdog" | ||
175 | depends on DEBUG_KERNEL && PERF_EVENTS | ||
176 | default y | ||
177 | help | ||
178 | Say Y here to enable the kernel to use the NMI as a watchdog | ||
179 | to detect hard lockups. This is useful when a cpu hangs for no | ||
180 | reason but can still respond to NMIs. A backtrace is displayed | ||
181 | for reviewing and reporting. | ||
182 | |||
183 | The overhead should be minimal, just an extra NMI every few | ||
184 | seconds. | ||
185 | |||
173 | config BOOTPARAM_SOFTLOCKUP_PANIC | 186 | config BOOTPARAM_SOFTLOCKUP_PANIC |
174 | bool "Panic (Reboot) On Soft Lockups" | 187 | bool "Panic (Reboot) On Soft Lockups" |
175 | depends on DETECT_SOFTLOCKUP | 188 | depends on DETECT_SOFTLOCKUP |