Page MenuHomeFreeBSD

hwpstate_amd(4): Revamp the softc
ClosedPublic

Authored by olce on Jan 31 2026, 11:47 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 6, 4:07 PM
Unknown Object (File)
Thu, Apr 30, 6:05 AM
Unknown Object (File)
Wed, Apr 29, 6:15 AM
Unknown Object (File)
Wed, Apr 29, 6:08 AM
Unknown Object (File)
Tue, Apr 28, 11:26 PM
Unknown Object (File)
Tue, Apr 28, 11:21 PM
Unknown Object (File)
Tue, Apr 28, 6:20 PM
Unknown Object (File)
Tue, Apr 28, 6:12 PM
Subscribers

Details

Summary

As the new CPPC and old P-states modes are exclusive, put their
respective data in a union.

Rename the field containing the content of the CPPC_REQUEST register.
It it now to be accessed using 'cppc.request'.

Use an 'unsigned int' instead of 'uint32_t' for 'flags'. This is an
internal field whose width could be changed at will. We only have one
flag at the moment.

No functional change intended.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 70276
Build 67159: arc lint + arc unit