summaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2017-09-04 16:53:33 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2017-10-11 15:16:31 +0200
commit60db8e7b8ab6ae03d578acae85eada195a5c1121 (patch)
tree62ee6ddd71b7a9fd9e47df4c494cdb4fcf4909b1 /configs
parent243f5ccf529219e60711b50c324dced03c589bd8 (diff)
downloadDistroKit-60db8e7b8ab6ae03d578acae85eada195a5c1121.tar.gz
DistroKit-60db8e7b8ab6ae03d578acae85eada195a5c1121.tar.xz
platform-v7a: kernel: enable lockup detector, as suggested by reason
"Reason" suggests that 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. This patch does the necessary changes for the kernel configuration. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Reviewed-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Diffstat (limited to 'configs')
-rw-r--r--configs/platform-v7a/kernelconfig9
1 files changed, 6 insertions, 3 deletions
diff --git a/configs/platform-v7a/kernelconfig b/configs/platform-v7a/kernelconfig
index dd9795d..79e3d26 100644
--- a/configs/platform-v7a/kernelconfig
+++ b/configs/platform-v7a/kernelconfig
@@ -2989,11 +2989,14 @@ CONFIG_ARCH_HAS_DEBUG_VIRTUAL=y
#
# Debug Lockups and Hangs
#
-# CONFIG_SOFTLOCKUP_DETECTOR is not set
+CONFIG_LOCKUP_DETECTOR=y
+CONFIG_SOFTLOCKUP_DETECTOR=y
+CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC=y
+CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=1
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_BOOTPARAM_HUNG_TASK_PANIC=y
+CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=1
# CONFIG_WQ_WATCHDOG is not set
# CONFIG_PANIC_ON_OOPS is not set
CONFIG_PANIC_ON_OOPS_VALUE=0