Page MenuHomeFreeBSD

hwpstate_intel: Use 8bit scale instead of percentage scale
ClosedPublic

Authored by aokblast on Mar 3 2026, 10:17 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jul 6, 10:53 AM
Unknown Object (File)
Mon, Jul 6, 5:04 AM
Unknown Object (File)
Sun, Jul 5, 5:16 AM
Unknown Object (File)
Fri, Jun 26, 2:52 AM
Unknown Object (File)
Thu, Jun 25, 8:07 AM
Unknown Object (File)
Wed, Jun 24, 2:39 PM
Unknown Object (File)
Tue, Jun 16, 10:07 AM
Unknown Object (File)
Tue, Jun 16, 10:07 AM
Subscribers

Diff Detail

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

Event Timeline

Some suggested changes, looks good.

sys/x86/cpufreq/hwpstate_intel.c
223

In order to send [0;15] to the full [0;255] range (so that 255 is reported when EPB is set to 15), I'd rather use multiply by 17 (please add a small comment about that).

224
This revision is now accepted and ready to land.Wed, Jun 24, 3:52 PM