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

Skip to content
Commit 89083757 authored by Maulik Shah's avatar Maulik Shah
Browse files

drivers: soc: qcom: Add support to display RPMH master stats



Individual subsystem maintains stats on system sleep like sleep
counts, sleep last entered at, sleep last exited at, and accumulated
sleep duration.

Provide support to display it through sysfs.

Below command will display stats for each master available.
	cat /sys/power/rpmh_stats/master_stats

Sample output on SDM670.

MPSS
        Version:0x1
        Sleep Count:0x0
        Sleep Last Entered At:0x0
        Sleep Last Exited At:0x0
        Sleep Accumulated Duration:0x0

CDSP
        Version:0x1
        Sleep Count:0x2e
        Sleep Last Entered At:0x4aee0370
        Sleep Last Exited At:0x4aed513b
        Sleep Accumulated Duration:0x251c7019

Change-Id: I5224feed252e105c045ee028e4f56cbd244a101b
Signed-off-by: default avatarMaulik Shah <mkshah@codeaurora.org>
parent d94ac719
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment