diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2023-10-21 10:52:05 +0200 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2023-10-21 10:52:05 +0200 |
commit | 5b3855bd676a2470d39118fdad4f582ba63f5128 (patch) | |
tree | 3714b2f1a678fa88dc1f15248730cc0084f33549 /configs/platform-v7a | |
parent | fcd6e760d33e011d9c4c3808953e5e3b2d79d04c (diff) | |
download | DistroKit-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/kernelconfig | 7 |
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 |