forked from wight554/kernel_xiaomi_sm6250
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
soc: qcom: Also dump watchdog data in bite cases
Add a pet observer, set to expire every 13 seconds, to dump watchdog data in case the bark irq cannot be received by the kernel. Here are the current watchdog-related timers and their expiring times: Timer Expires What it does -------------------------------------------------------------- Pet: 9 seconds Pets the watchdog, resetting all timers Bark: 11 seconds Sends IRQ to kernel to reset system Observer: 13 seconds Print watchdog data and wait for bite Bite: 14 seconds Sends FIQ to TZ to reset system Pet observer design was based on: commit 035a444803c1 ("soc: watchdog: Dump debugging info. before timeout") from android-msm-bluecross-4.9. Bug: 127696088 Change-Id: I915015e4983c73f61f3dc03c62b844c7157b1eac Signed-off-by: Jonglin Lee <[email protected]>
- Loading branch information
1 parent
16382e9
commit 4f51750
Showing
1 changed file
with
67 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters