diff options
author | Len Brown <len.brown@intel.com> | 2017-05-01 23:06:08 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2017-05-11 21:27:53 -0400 |
commit | 3cedbc5a6d7f7c5539e139f89ec9f6e1ed668418 (patch) | |
tree | a00534027c4ac7a238791527a0a9ccc810ab87e9 /init | |
parent | 4beec1d7519691b4b6c6b764e75b4e694a09c5f7 (diff) | |
download | talos-obmc-linux-3cedbc5a6d7f7c5539e139f89ec9f6e1ed668418.tar.gz talos-obmc-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 'init')
0 files changed, 0 insertions, 0 deletions