mako: debug: add pet_watchdog in the beginning of panic handler
sometimes kernel panic is treated as watchdog bark, because watchdog timer could be expired in the middle of panic handling. Change-Id: Ib9b434de2c8738ae6ce2ecf14c26ea356ca8c7a3
This commit is contained in:
committed by
Iliyan Malchev
parent
a907b9b419
commit
ecef2f66be
@@ -221,6 +221,7 @@ void set_ssr_magic_number(const char* subsys_name)
|
||||
|
||||
void set_kernel_crash_magic_number(void)
|
||||
{
|
||||
pet_watchdog();
|
||||
if (ssr_magic_number == 0)
|
||||
__raw_writel(0x6d630100, restart_reason);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user