diff options
author | Len Brown <len.brown@intel.com> | 2017-05-02 06:06:08 +0300 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2017-05-12 04:27:53 +0300 |
commit | 3cedbc5a6d7f7c5539e139f89ec9f6e1ed668418 (patch) | |
tree | a00534027c4ac7a238791527a0a9ccc810ab87e9 /arch/tile | |
parent | 4beec1d7519691b4b6c6b764e75b4e694a09c5f7 (diff) | |
download | linux-3cedbc5a6d7f7c5539e139f89ec9f6e1ed668418.tar.xz |
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 'arch/tile')
0 files changed, 0 insertions, 0 deletions