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
F154440380: D52705.id162887.diff
Tue, Apr 28, 2:05 PM
Unknown Object (File)
Mon, Apr 27, 12:20 PM
Unknown Object (File)
Mon, Apr 27, 7:26 AM
Unknown Object (File)
Sun, Apr 26, 7:25 AM
Unknown Object (File)
Sun, Apr 26, 6:45 AM
Unknown Object (File)
Sat, Apr 25, 6:57 AM
Unknown Object (File)
Tue, Apr 14, 10:31 AM
Unknown Object (File)
Sun, Apr 12, 3:43 PM
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 67272
Build 64155: 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.