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)
Wed, Aug 12, 1:08 AM
Unknown Object (File)
Tue, Aug 11, 11:28 PM
Unknown Object (File)
Mon, Aug 10, 11:44 AM
Unknown Object (File)
Sun, Aug 9, 6:43 PM
Unknown Object (File)
Sat, Aug 8, 7:15 PM
Unknown Object (File)
Sat, Aug 8, 5:08 PM
Unknown Object (File)
Sat, Aug 8, 11:28 AM
Unknown Object (File)
Fri, Aug 7, 8:30 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.Feb 7 2026, 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.