tools/power turbostat: decode Baytrail CC6 and MC6 demotion configuration
authorLen Brown <len.brown@intel.com>
Sun, 8 Jan 2017 03:37:48 +0000 (22:37 -0500)
committerLen Brown <len.brown@intel.com>
Sat, 25 Feb 2017 21:52:30 +0000 (16:52 -0500)
commit71616c8e936a6dd541f0627d7bf4ff09971d8ccb
tree3dfb3d65bfb969ea99468a2e6e7ab3b6a4c6ec8f
parentcf4cbe5314884c3123fe4ca137e9d750b6e2b8c9
tools/power turbostat: decode Baytrail CC6 and MC6 demotion configuration

with --debug, see:

cpu0: MSR_CC6_DEMOTION_POLICY_CONFIG: 0x00000000 (DISable-CC6-Demotion)
cpu0: MSR_MC6_DEMOTION_POLICY_CONFIG: 0x00000000 (DISable-MC6-Demotion)

Note that the hardware default is to enable demotion,
and Linux started clearing these registers in 3.17.

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