aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorHauke Mehrtens <hmehrtens@maxlinear.com>2023-03-08 21:31:20 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2023-03-19 18:44:46 +0100
commitb844716158dc8060d53785cbf4ecb022ebb255a2 (patch)
tree35237c53078a9e2dd6e756554a1c55411b56806e /config
parent0f5ba147916601bcf3a60e27daa8a237ca579b94 (diff)
downloadupstream-b844716158dc8060d53785cbf4ecb022ebb255a2.tar.gz
upstream-b844716158dc8060d53785cbf4ecb022ebb255a2.tar.bz2
upstream-b844716158dc8060d53785cbf4ecb022ebb255a2.zip
kernel: Add CONFIG_KERNEL_HARDLOCKUP_DETECTOR
Make it possible to change the kernel configuration option CONFIG_HARDLOCKUP_DETECTOR from OpenWrt. Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com>
Diffstat (limited to 'config')
-rw-r--r--config/Config-kernel.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index ad23b21479..c7b1864235 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -541,6 +541,18 @@ config KERNEL_SOFTLOCKUP_DETECTOR
chance to run. The current stack trace is displayed upon
detection and the system will stay locked up.
+config KERNEL_HARDLOCKUP_DETECTOR
+ bool "Compile the kernel with detect Hard Lockups"
+ depends on KERNEL_DEBUG_KERNEL
+ help
+ Say Y here to enable the kernel to act as a watchdog to detect
+ hard lockups.
+
+ Hardlockups are bugs that cause the CPU to loop in kernel mode
+ for more than 10 seconds, without letting other interrupts have a
+ chance to run. The current stack trace is displayed upon detection
+ and the system will stay locked up.
+
config KERNEL_DETECT_HUNG_TASK
bool "Compile the kernel with detect Hung Tasks"
depends on KERNEL_DEBUG_KERNEL