Page MenuHomeFreeBSD

Add support for ACPI thermal control to power_profile
Needs ReviewPublic

Authored by crahman_gmail.com on Jul 29 2022, 6:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 11, 9:02 AM
Unknown Object (File)
Sat, Oct 11, 9:02 AM
Unknown Object (File)
Sat, Oct 11, 1:32 AM
Unknown Object (File)
Sep 10 2025, 2:12 PM
Unknown Object (File)
Aug 4 2025, 4:36 AM
Unknown Object (File)
Aug 2 2025, 8:44 PM
Unknown Object (File)
Jul 30 2025, 8:38 AM
Unknown Object (File)
Jul 22 2025, 8:18 AM
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

The acpi_thermal module provides support for thermal regulation using ACPI and
various ACPI-defined thresholds, such as _PSV, _CR3, _HOT, and _CRT.

The correct setting of these thresholds may depend upon the A/C power condition;
fans might be more useful while A/C power is present, passive cooling more useful
without A/C power.

The acpi_thermal module resets the values of these thresholds to the ACPI defaults
after each A/C power transition, and they should be reset to appropriate values
after these events.

Using power_profile provides a flexible means of implementing various thermal and power
managment strategies that are appropriate for different hardware configurations.

Test Plan

Set the desired configuration up by editing /etc/rc.conf and disconnecting/reconnecting
A/C power.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46670
Build 43559: arc lint + arc unit

Event Timeline

Having this work spread between different patches for such a long time has made it hard for me to track and maintain it. I'm going to merge it with D35704.