diff options
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 17 |
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 | ||
174 | config 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 | |||
184 | config 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 | |||
174 | config BOOTPARAM_SOFTLOCKUP_PANIC | 191 | config 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 |