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
F156957450: D35981.diff
Sun, May 17, 3:40 PM
Unknown Object (File)
Wed, Apr 29, 6:32 PM
Unknown Object (File)
Wed, Apr 29, 12:24 AM
Unknown Object (File)
Tue, Apr 28, 11:27 AM
Unknown Object (File)
Mon, Apr 27, 11:24 PM
Unknown Object (File)
Sat, Apr 25, 7:26 AM
Unknown Object (File)
Thu, Apr 23, 2:27 AM
Unknown Object (File)
Mar 16 2026, 6:57 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.