[Bug 295793] powerd is unaware of new CPPC and EPP controls
Date: Tue, 02 Jun 2026 13:11:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295793
Bug ID: 295793
Summary: powerd is unaware of new CPPC and EPP controls
Product: Base System
Version: 16.0-CURRENT
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: chris.torek@gmail.com
The AMD-specific sys/x86/cpufreq/hwpstate_amd.c driver relatively recently grew
some new CPPC and EPP controls and, as of commit
https://cgit.freebsd.org/src/commit/?id=80d32a6b1d73e0c81303417fa280ac74ef1f417a,
started setting CPPC to the highest supported "desired performance" value.
On my desktop system this puts the system into high power mode (instead of
automatic adaptive mode), which is kind of a waste of electricity and overheats
my office. It's easy to override this with
dev.hwpstate_amd.0.desired_performance=0 later of course, but it seems as
though the general idea is to have powerd control this.
Right now powerd has no concept of either
dev.hwpstate_amd.0.desired_performance (setting this one sets all, even if
there are 32 of them as on my desktop) or dev.hwpstate_amd.0.epp settings. If
powerd is to control these AMD settings, it's going to need to learn the new
sysctl knobs and how to use them.
--
You are receiving this mail because:
You are the assignee for the bug.