aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.debug12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 935248bdbc47..220ae6063b6f 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -171,6 +171,18 @@ config DETECT_SOFTLOCKUP
171 can be detected via the NMI-watchdog, on platforms that 171 can be detected via the NMI-watchdog, on platforms that
172 support it.) 172 support it.)
173 173
174config NMI_WATCHDOG
175 bool "Detect Hard Lockups with an NMI Watchdog"
176 depends on DEBUG_KERNEL && PERF_EVENTS && PERF_EVENTS_NMI
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
174config BOOTPARAM_SOFTLOCKUP_PANIC 186config BOOTPARAM_SOFTLOCKUP_PANIC
175 bool "Panic (Reboot) On Soft Lockups" 187 bool "Panic (Reboot) On Soft Lockups"
176 depends on DETECT_SOFTLOCKUP 188 depends on DETECT_SOFTLOCKUP