summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2017-07-12 11:23:43 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2017-07-12 11:23:43 +0200
commit73519b35d8f2b87d83b8b841bbba722235082603 (patch)
tree6c5ab617e410857cd861b5d61ea7967934597b09
parent226389772e25c190f35312bf83c9ed6bb7691cd4 (diff)
downloadDistroKit-73519b35d8f2b87d83b8b841bbba722235082603.tar.gz
DistroKit-73519b35d8f2b87d83b8b841bbba722235082603.tar.xz
kernel: enable hang check detector
reason-ptxdist suggests: "The kernel lockup detector should be active, as it's low overhead and potentially provides useful debug output when the system is failing due to a lockup." Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
-rw-r--r--configs/platform-v7a/kernelconfig9
1 files changed, 7 insertions, 2 deletions
diff --git a/configs/platform-v7a/kernelconfig b/configs/platform-v7a/kernelconfig
index 2a01fa3..47afff2 100644
--- a/configs/platform-v7a/kernelconfig
+++ b/configs/platform-v7a/kernelconfig
@@ -2899,8 +2899,13 @@ CONFIG_ARCH_HAS_DEBUG_VIRTUAL=y
#
# Debug Lockups and Hangs
#
-# CONFIG_LOCKUP_DETECTOR is not set
-# CONFIG_DETECT_HUNG_TASK is not set
+CONFIG_LOCKUP_DETECTOR=y
+# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
+CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
+CONFIG_DETECT_HUNG_TASK=y
+CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120
+# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set
+CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0
# CONFIG_WQ_WATCHDOG is not set
# CONFIG_PANIC_ON_OOPS is not set
CONFIG_PANIC_ON_OOPS_VALUE=0