summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2023-10-21 10:52:05 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2023-10-21 10:52:05 +0200
commit5b3855bd676a2470d39118fdad4f582ba63f5128 (patch)
tree3714b2f1a678fa88dc1f15248730cc0084f33549 /configs/platform-v7a
parentfcd6e760d33e011d9c4c3808953e5e3b2d79d04c (diff)
downloadDistroKit-5b3855bd676a2470d39118fdad4f582ba63f5128.tar.gz
DistroKit-5b3855bd676a2470d39118fdad4f582ba63f5128.tar.xz
platform-v7a/v8a: kernel: enable hardlockup detector
Enable the hard lockup detector and panic on trigger. An embedded system has probably nothing better to do than to reboot if the kernel locks up. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'configs/platform-v7a')
-rw-r--r--configs/platform-v7a/kernelconfig7
1 files changed, 6 insertions, 1 deletions
diff --git a/configs/platform-v7a/kernelconfig b/configs/platform-v7a/kernelconfig
index cd38b20..15e9428 100644
--- a/configs/platform-v7a/kernelconfig
+++ b/configs/platform-v7a/kernelconfig
@@ -4283,7 +4283,12 @@ CONFIG_LOCKUP_DETECTOR=y
CONFIG_SOFTLOCKUP_DETECTOR=y
CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC=y
CONFIG_HAVE_HARDLOCKUP_DETECTOR_BUDDY=y
-# CONFIG_HARDLOCKUP_DETECTOR is not set
+CONFIG_HARDLOCKUP_DETECTOR=y
+# CONFIG_HARDLOCKUP_DETECTOR_PERF is not set
+CONFIG_HARDLOCKUP_DETECTOR_BUDDY=y
+# CONFIG_HARDLOCKUP_DETECTOR_ARCH is not set
+CONFIG_HARDLOCKUP_DETECTOR_COUNTS_HRTIMER=y
+CONFIG_BOOTPARAM_HARDLOCKUP_PANIC=y
CONFIG_DETECT_HUNG_TASK=y
CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120
CONFIG_BOOTPARAM_HUNG_TASK_PANIC=y