Commit 6c2b685c authored by Anji Jonnala's avatar Anji Jonnala
Browse files

msm: pm: Add power collapse debug counters support.



Add platform device for PC debug counters. These counter stores the
warmboot entry/exit counters for each core on a non-cacheable always
on IMEM memory. This is a useful feature during debug to understand if
the system has correctly warmbooted after a power collapse.

Usage for core0 debug counters:-
counters at address 0x2A03F664 represent no of times PC attempted.
counters at address 0x2A03F66C represent no of times PC failed.
counters at address 0x2A03F668 represent no of times warm boot happened.
no of PC attemps = PC failures + warm boot entries.

Change-Id: I569341f87d7bfc1b2b5698201929583de380c378
Signed-off-by: default avatarAnji Jonnala <anjir@codeaurora.org>
parent f6619303
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment