diff mbox series

[3/6] ARM: defconfig: lpc32xx: enable panic on oops option

Message ID 20190125220348.5357-4-vz@mleia.com (mailing list archive)
State Mainlined, archived
Commit d9bed635a090ac8b52c9514ad3d715490e0ddeb3
Headers show
Series ARM: defconfig: lpc32xx: update NXP LPC32xx defconfig | expand

Commit Message

Vladimir Zapolskiy Jan. 25, 2019, 10:03 p.m. UTC
Panic on oops option enabled by by default makes great sense both
for debugging and production.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
---
 arch/arm/configs/lpc32xx_defconfig | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/configs/lpc32xx_defconfig b/arch/arm/configs/lpc32xx_defconfig
index 4649cb04dec7..0504eee8632c 100644
--- a/arch/arm/configs/lpc32xx_defconfig
+++ b/arch/arm/configs/lpc32xx_defconfig
@@ -194,6 +194,8 @@  CONFIG_DEBUG_INFO=y
 CONFIG_GDB_SCRIPTS=y
 CONFIG_DEBUG_FS=y
 CONFIG_MAGIC_SYSRQ=y
+CONFIG_PANIC_ON_OOPS=y
+CONFIG_PANIC_TIMEOUT=5
 # CONFIG_SCHED_DEBUG is not set
 # CONFIG_DEBUG_PREEMPT is not set
 # CONFIG_FTRACE is not set