]> git.karo-electronics.de Git - karo-tx-linux.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)
commite9be7dd62899194ebdd90d417fc6c07d5d157912
treee211ecf1e667ec73a271c95a094d481939b972fd
parentfb5d432722e186c656285ccc088e35dbe24f6fd1
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