]> git.baikalelectronics.ru Git - kernel.git/commit
tools/power turbostat: correctly decode of ENERGY_PERFORMANCE_BIAS
authorLen Brown <len.brown@intel.com>
Tue, 26 May 2015 16:19:37 +0000 (12:19 -0400)
committerLen Brown <len.brown@intel.com>
Wed, 27 May 2015 22:04:00 +0000 (18:04 -0400)
commit0a7c7817568370fb989fda6bd8105fd303748ac1
treee211ecf1e667ec73a271c95a094d481939b972fd
parent65aa4b4202f96c8fad20265921b2b0056df52336
tools/power turbostat: correctly decode of ENERGY_PERFORMANCE_BIAS

When EPB is 0xF, turbosat was incorrectly describing it as "custom"
instead of calling it "powersave":

< cpu0: MSR_IA32_ENERGY_PERF_BIAS: 0x0000000f (custom)
> cpu0: MSR_IA32_ENERGY_PERF_BIAS: 0x0000000f (powersave)

Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c