You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE] dump PM stats on suspend-resume rtcwake error #898
Is your feature request related to a problem? Please describe.
we routinely have suspend/resume failures with rtcwake reporting a write error
I believe this case happens when we see the error in dmesg
"Some devices failed to suspend, or early wake event detected"
I will make the conjecture that 90% of the current 'errors' are related to this message. Since it's cryptic, we would need additional information to figure out if issues are audio-related or not, and in the latter case investigate if they are severe or not.
Describe the solution you'd like
dump all the information provided in /sys/power/susped_stats, and check if the numbers reported in failed_suspend/failed_resume increase during cycles
Activity
plbossart commentedon Apr 29, 2022
@marc-hb @keqiaozhang @ranj063 @XiaoyunWu6666 @fredoh9 comments?
marc-hb commentedon May 3, 2022
Shouldn't be too hard, I can take a stab at this. However please help review cleanup #899 first so I can start from a clean base.
EDIT: submitted in #900
suspend-resume: check /sys/power/suspend_stats/*fail* at every step
suspend-resume: check /sys/power/suspend_stats/*fail* at every step
suspend-resume: check /sys/power/suspend_stats/*fail* at every step
suspend-resume: check /sys/power/suspend_stats/*fail* at every step
suspend-resume: check /sys/power/suspend_stats/*fail* at every step
marc-hb commentedon Jul 25, 2022
@plbossart are recent sof-test changes enough, close as done?