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)
Mon, Apr 22, 8:18 AM
Unknown Object (File)
Mar 2 2024, 6:57 AM
Unknown Object (File)
Dec 20 2023, 5:37 AM
Unknown Object (File)
Dec 13 2023, 5:15 AM
Unknown Object (File)
Nov 10 2023, 8:59 PM
Unknown Object (File)
Oct 9 2023, 2:58 PM
Unknown Object (File)
Jun 24 2023, 7:36 AM
Unknown Object (File)
May 3 2023, 5:33 PM
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.