Page MenuHomeFreeBSD

hwpstate_amd: Support writable cpufreq interface in CPPC mode
Needs ReviewPublic

Authored by aokblast on Tue, Feb 24, 7:27 AM.
Tags
None
Referenced Files
F145891753: D55477.id172664.diff
Wed, Feb 25, 7:22 PM
F145890406: D55477.id172565.diff
Wed, Feb 25, 6:51 PM
F145877329: D55477.id.diff
Wed, Feb 25, 1:51 PM
F145869746: D55477.id172564.diff
Wed, Feb 25, 11:43 AM
F145869710: D55477.id172664.diff
Wed, Feb 25, 11:42 AM
F145867241: D55477.diff
Wed, Feb 25, 10:46 AM
F145864017: D55477.id.diff
Wed, Feb 25, 9:34 AM
F145862091: D55477.id172565.diff
Wed, Feb 25, 9:04 AM
Subscribers

Details

Reviewers
olce

Diff Detail

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

Event Timeline

Don't free when not possible

Set min max when something bad happens

Getting a couple conflicts after D55251 landed

sys/x86/cpufreq/hwpstate_amd.c
153

Is this supposed to be the same value as HWPFL_CPPC_REQUEST_NOT_READ?

827

Now conflicts since the line below (and others) switched to data->request

Have rebased to main. Thanks!

sys/x86/cpufreq/hwpstate_amd.c
153

NOT_READ is to flag if we have cached the request field.