Page MenuHomeFreeBSD

hwpstate_amd(4): Revamp the softc
ClosedPublic

Authored by olce on Jan 31 2026, 11:47 AM.
Tags
None
Referenced Files
F171162182: D55004.id170839.diff
Wed, Sep 9, 3:29 AM
Unknown Object (File)
Tue, Sep 8, 8:11 AM
Unknown Object (File)
Mon, Sep 7, 9:04 PM
Unknown Object (File)
Fri, Sep 4, 12:22 PM
Unknown Object (File)
Tue, Sep 1, 12:14 PM
Unknown Object (File)
Wed, Aug 26, 12:58 PM
Unknown Object (File)
Sun, Aug 23, 11:00 AM
Unknown Object (File)
Sat, Aug 22, 12:25 AM
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