From 60db8e7b8ab6ae03d578acae85eada195a5c1121 Mon Sep 17 00:00:00 2001 From: Robert Schwebel Date: Mon, 4 Sep 2017 16:53:33 +0200 Subject: 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 Reviewed-by: Rouven Czerwinski --- configs/platform-v7a/kernelconfig | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'configs/platform-v7a/kernelconfig') 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 -- cgit v1.2.3