diff options
author | 2017-05-01 23:06:08 -0400 | |
---|---|---|
committer | 2017-05-11 21:27:53 -0400 | |
commit | 3cedbc5a6d7f7c5539e139f89ec9f6e1ed668418 (patch) | |
tree | a00534027c4ac7a238791527a0a9ccc810ab87e9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tools/power x86_energy_perf_policy: support HWP.EPP (diff) | |
download | wireguard-linux-3cedbc5a6d7f7c5539e139f89ec9f6e1ed668418.tar.xz wireguard-linux-3cedbc5a6d7f7c5539e139f89ec9f6e1ed668418.zip |
intel_pstate: use updated msr-index.h HWP.EPP values
intel_pstate exports sysfs attributes for setting and observing HWP.EPP.
These attributes use strings to describe 4 operating states, and
inside the driver, these strings are mapped to numerical register
values.
The authorative mapping between the strings and numerical HWP.EPP values
are now globally defined in msr-index.h, replacing the out-dated
mapping that were open-coded into intel_pstate.c
new old string
--- --- ------
0 0 performance
128 64 balance_performance
192 128 balance_power
255 192 power
Note that the HW and BIOS default value on most system is 128,
which intel_pstate will now call "balance_performance"
while it used to call it "balance_power".
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions