Page MenuHomeFreeBSD

acpi: Use sleep types defined in sys/power.h
ClosedPublic

Authored by obiwac on Sep 24 2025, 11:42 AM.
Tags
None
Referenced Files
F157549751: D52705.id162731.diff
Fri, May 22, 5:32 PM
F157546411: D52705.diff
Fri, May 22, 4:38 PM
Unknown Object (File)
Tue, May 19, 8:37 PM
Unknown Object (File)
Mon, May 18, 12:15 PM
Unknown Object (File)
Mon, May 18, 12:08 PM
Unknown Object (File)
Sat, May 16, 7:30 AM
Unknown Object (File)
Fri, May 15, 6:13 AM
Unknown Object (File)
Thu, May 14, 12:55 AM
Subscribers

Details

Summary

This is as opposed to using ACPI sleep states directly
(ACPI_STATE_S*). We now use POWER_STYPE_* added in D52036.

This is in preparation for adding support for s2idle, which is not an
ACPI sleep state, but needs to be handled specially by
acpi_EnterSleepState.

These are the changes in D52043 + the fixes in D52545 and D52598 already applied.

Diff Detail

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

Event Timeline

obiwac created this revision.
cy added a subscriber: cy.

Works.

This revision is now accepted and ready to land.Sep 24 2025, 4:51 PM
This revision was automatically updated to reflect the committed changes.