Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fa47f043 authored by Satyajit Desai's avatar Satyajit Desai Committed by Runmin Wang
Browse files

soc: qcom: watchdog_v2: Add support to trigger watchdog bite on panic



In certain cases during a kernel panic, interrupts on non-panicking
CPUs are disabled. Since CPU context cannot be collected by sending IPIs
to those CPUs, it impacts debugging the problem. Forcing a watchdog bite
during kernel panic will ensure us getting the proper CPU context. Hence
adding support for the same.

Change-Id: I53b4029bac23d723f4eb07e53534ea526bcd245f
Signed-off-by: default avatarSatyajit Desai <sadesai@codeaurora.org>
Signed-off-by: default avatarRunmin Wang <runminw@codeaurora.org>
parent 33ba9737
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -145,6 +145,14 @@ config QCOM_WATCHDOG_V2
	  deadlocks. It does not run during the bootup process, so it will
	  not catch any early lockups.

config QCOM_FORCE_WDOG_BITE_ON_PANIC
	bool "QCOM force watchdog bite"
	depends on QCOM_WATCHDOG_V2
	help
	  This forces a watchdog bite when the device restarts due to a
	  kernel panic. On certain MSM SoCs, this provides us
	  additional debugging information.

config QCOM_SMEM_STATE
	bool