summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/uapi/asm/msr-index.h
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2013-01-31 15:22:15 -0500
committerLen Brown <len.brown@intel.com>2013-02-08 19:26:16 -0500
commit679204183472af16e8e75d2b1479459ad19bc67c (patch)
tree0508a4b33d9bfbb608c854da62da02224e0c1aa1 /arch/x86/include/uapi/asm/msr-index.h
parent70b43400bc290764b49ff3497a9824604c66c409 (diff)
downloadop-kernel-dev-679204183472af16e8e75d2b1479459ad19bc67c.zip
op-kernel-dev-679204183472af16e8e75d2b1479459ad19bc67c.tar.gz
tools/power turbostat: decode MSR_IA32_POWER_CTL
When verbose is enabled, print the C1E-Enable bit in MSR_IA32_POWER_CTL. also delete some redundant tests on the verbose variable. Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'arch/x86/include/uapi/asm/msr-index.h')
-rw-r--r--arch/x86/include/uapi/asm/msr-index.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/uapi/asm/msr-index.h b/arch/x86/include/uapi/asm/msr-index.h
index 433a59f..7bdaf7c 100644
--- a/arch/x86/include/uapi/asm/msr-index.h
+++ b/arch/x86/include/uapi/asm/msr-index.h
@@ -103,6 +103,8 @@
#define DEBUGCTLMSR_BTS_OFF_USR (1UL << 10)
#define DEBUGCTLMSR_FREEZE_LBRS_ON_PMI (1UL << 11)
+#define MSR_IA32_POWER_CTL 0x000001fc
+
#define MSR_IA32_MC0_CTL 0x00000400
#define MSR_IA32_MC0_STATUS 0x00000401
#define MSR_IA32_MC0_ADDR 0x00000402
OpenPOWER on IntegriCloud