From 73519b35d8f2b87d83b8b841bbba722235082603 Mon Sep 17 00:00:00 2001 From: Robert Schwebel Date: Wed, 12 Jul 2017 11:23:43 +0200 Subject: 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 --- configs/platform-v7a/kernelconfig | 9 +++++++-- 1 file 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 -- cgit v1.2.3