Page MenuHomeFreeBSD

Emulated S3 with s0ix (not currently working)
Needs ReviewPublic

Authored by bwidawsk on Oct 23 2018, 10:20 PM.
Tags
None
Referenced Files
F132475707: D17676.id49532.diff
Fri, Oct 17, 6:01 AM
F132461010: D17676.id49532.diff
Fri, Oct 17, 3:15 AM
Unknown Object (File)
Thu, Oct 16, 9:10 AM
Unknown Object (File)
Wed, Oct 15, 12:02 AM
Unknown Object (File)
Sat, Oct 11, 2:10 AM
Unknown Object (File)
Fri, Oct 10, 2:59 AM
Unknown Object (File)
Fri, Oct 10, 2:54 AM
Unknown Object (File)
Sat, Sep 27, 10:37 AM

Details

Reviewers
jhb
Summary

These were developed on github:
https://github.com/bwidawsk/freebsd/tree/s0ix

S0ix is the name of Intel's implementation of Low Power Idle states as described
in ACPI spec via LPIT, and SPMC. It can be thought of as a hardware managed
suspend state whereby all software needs to do is sufficiently idle the system,
and hardware will go into the lower power state until woken by a specified set
of events.

Newer laptops with Intel CPUs prefer a sleep state known as s0ix (where x can be
1, 2, or 3). s0ix entry and benefits are explained in the patches found on
github.

Test Plan

Test suspend to idle on a machine supporting s0ix. Use residency
counters to determine if successful.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 20436
Build 19874: arc lint + arc unit

Event Timeline

The hunks for the idle suspend stuff were some WIP that I hadn't finished. They can be ignored.

Small fix for systems which don't have a pm device