Page MenuHomeFreeBSD

hwpstate_amd: Fix autonomous mode
Needs RevisionPublic

Authored by aokblast on Feb 26 2026, 7:14 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 15, 8:42 PM
Unknown Object (File)
Sat, Jun 6, 12:32 PM
Unknown Object (File)
May 22 2026, 7:28 PM
Unknown Object (File)
May 21 2026, 10:27 PM
Unknown Object (File)
May 21 2026, 10:27 PM
Unknown Object (File)
May 3 2026, 3:42 PM
Unknown Object (File)
May 3 2026, 3:30 PM
Unknown Object (File)
Apr 29 2026, 3:30 PM
Subscribers

Details

Reviewers
olce

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 71022
Build 67905: arc lint + arc unit

Event Timeline

olce requested changes to this revision.Mar 3 2026, 1:29 PM

Mmm, this change from D55253 is deliberate. Autonomous mode does not work on some AMD CPUs, where setting "desired performance" to 0 actually causes lowest performance to be selected. As long as we do not have a user-understandable way to choose a better default, such as PM profile in ACPI's FADT, let's do like all other CPU freq/power drivers do (except hwpstate_intel(4)) and select maximum performance. Let's revise this only as part of actually implementing one.

This revision now requires changes to proceed.Mar 3 2026, 1:29 PM