aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 191c5c4c89fc..fb0afeff9436 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -171,6 +171,23 @@ config HARDLOCKUP_DETECTOR
171 def_bool LOCKUP_DETECTOR && PERF_EVENTS && HAVE_PERF_EVENTS_NMI && \ 171 def_bool LOCKUP_DETECTOR && PERF_EVENTS && HAVE_PERF_EVENTS_NMI && \
172 !ARCH_HAS_NMI_WATCHDOG 172 !ARCH_HAS_NMI_WATCHDOG
173 173
174config BOOTPARAM_HARDLOCKUP_PANIC
175 bool "Panic (Reboot) On Hard Lockups"
176 depends on LOCKUP_DETECTOR
177 help
178 Say Y here to enable the kernel to panic on "hard lockups",
179 which are bugs that cause the kernel to loop in kernel
180 mode with interrupts disabled for more than 60 seconds.
181
182 Say N if unsure.
183
184config BOOTPARAM_HARDLOCKUP_PANIC_VALUE
185 int
186 depends on LOCKUP_DETECTOR
187 range 0 1
188 default 0 if !BOOTPARAM_HARDLOCKUP_PANIC
189 default 1 if BOOTPARAM_HARDLOCKUP_PANIC
190
174config BOOTPARAM_SOFTLOCKUP_PANIC 191config BOOTPARAM_SOFTLOCKUP_PANIC
175 bool "Panic (Reboot) On Soft Lockups" 192 bool "Panic (Reboot) On Soft Lockups"
176 depends on LOCKUP_DETECTOR 193 depends on LOCKUP_DETECTOR