Page MenuHomeFreeBSD

power: Add power_resume_check eventhandler
Needs ReviewPublic

Authored by obiwac on Wed, Sep 16, 6:50 PM.

Details

Reviewers
olce
Summary

Thsi is intended to be used on resuming to check that everything that
happened during suspend was expected.

It is not meant to check for errors we should hard-fail from, rather it
should be used as an opportunity for drivers such as amdsmu(4) to check
e.g. whether the previous suspend-to-idle actually entered a deep sleep
state (S0i3).

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 76994
Build 73877: arc lint + arc unit