From 072d9f3eb0d8d503f3f4bb93dd4b20a057b7d187 Mon Sep 17 00:00:00 2001 From: Yixun Lan Date: Fri, 18 May 2018 17:28:39 +0800 Subject: [PATCH] reboot: make system reboot when panic occurs PD#166529: reboot: make system reboot when panic occurs CONFIG_PANIC_TIMEOUT=0 means no reboot when panic occurs, This will make VTS stuck forever, fix this by making the default reboot timeout as 5s. Change-Id: Ib8888a4f87c6c178891d7e7fed2f186a6bfed119 Signed-off-by: Yixun Lan --- arch/arm64/configs/meson64_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/meson64_defconfig b/arch/arm64/configs/meson64_defconfig index 1471ed4..1ca2f8f 100644 --- a/arch/arm64/configs/meson64_defconfig +++ b/arch/arm64/configs/meson64_defconfig @@ -565,6 +565,7 @@ CONFIG_DEBUG_INFO=y CONFIG_MAGIC_SYSRQ=y CONFIG_LOCKUP_DETECTOR=y CONFIG_WQ_WATCHDOG=y +CONFIG_PANIC_TIMEOUT=5 CONFIG_PANIC_ON_RT_THROTTLING=y CONFIG_SCHEDSTATS=y CONFIG_SCHED_STACK_END_CHECK=y -- 2.7.4