Page MenuHomeFreeBSD

hwpstate_amd(4): 'epp' sysctl leaf to operate on real EPP hardware values
ClosedPublic

Authored by olce on Jan 31 2026, 11:49 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Feb 28, 5:45 PM
Unknown Object (File)
Fri, Feb 27, 12:44 AM
Unknown Object (File)
Wed, Feb 25, 4:49 AM
Unknown Object (File)
Wed, Feb 18, 6:26 AM
Unknown Object (File)
Mon, Feb 16, 2:24 PM
Unknown Object (File)
Thu, Feb 12, 6:59 AM
Unknown Object (File)
Thu, Feb 12, 4:59 AM
Unknown Object (File)
Tue, Feb 3, 10:55 PM
Subscribers

Details

Summary

We were using percents, for compatibility with hwpstate_intel(4), but
this looses granularity that might be important in some scenarios or
with specific CPU models.

For consistency, hwpstate_intel(4) should be changed accordingly, at the
expense of breaking compatibility.

PR: 292615
Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

olce requested review of this revision.Jan 31 2026, 11:49 AM

LGTM for me but I think we should merge the intel's one at the same time.

This revision is now accepted and ready to land.Sat, Feb 7, 3:05 AM

LGTM for me but I think we should merge the intel's one at the same time.

I agree, but unfortunately in the immediate I cannot dedicate more time to revamping the Intel driver, and I don't want to hold back these changes for a long while. Perhaps I'll leave that to you when you come back, let's talk about it then.