diff options
author | Len Brown <len.brown@intel.com> | 2014-08-15 02:39:52 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2015-02-09 16:44:24 -0500 |
commit | 3a9a941d0b9361eac81fb763a89fb465f70b1c28 (patch) | |
tree | f596891938916502c5ec83c5bfc2b8a228d06f60 /arch | |
parent | 98481e79b60a50d699b79292ff1b7e56e7fa8425 (diff) |
tools/power turbostat: decode MSR_*_PERF_LIMIT_REASONS
The Processor generation code-named Haswell
added MSR_{CORE | GFX | RING}_PERF_LIMIT_REASONS
to explain when and how the processor limits frequency.
turbostat -v
will now decode these bits.
Each MSR has an "Active" set of bits which describe
current conditions, and a "Logged" set of bits,
which describe what has happened since last cleared.
Turbostat currently doesn't clear the log bits.
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/include/uapi/asm/msr-index.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/include/uapi/asm/msr-index.h b/arch/x86/include/uapi/asm/msr-index.h index c8aa65d56027..f721330541cb 100644 --- a/arch/x86/include/uapi/asm/msr-index.h +++ b/arch/x86/include/uapi/asm/msr-index.h | |||
@@ -152,6 +152,10 @@ | |||
152 | #define MSR_CC6_DEMOTION_POLICY_CONFIG 0x00000668 | 152 | #define MSR_CC6_DEMOTION_POLICY_CONFIG 0x00000668 |
153 | #define MSR_MC6_DEMOTION_POLICY_CONFIG 0x00000669 | 153 | #define MSR_MC6_DEMOTION_POLICY_CONFIG 0x00000669 |
154 | 154 | ||
155 | #define MSR_CORE_PERF_LIMIT_REASONS 0x00000690 | ||
156 | #define MSR_GFX_PERF_LIMIT_REASONS 0x000006B0 | ||
157 | #define MSR_RING_PERF_LIMIT_REASONS 0x000006B1 | ||
158 | |||
155 | /* Hardware P state interface */ | 159 | /* Hardware P state interface */ |
156 | #define MSR_PPERF 0x0000064e | 160 | #define MSR_PPERF 0x0000064e |
157 | #define MSR_PERF_LIMIT_REASONS 0x0000064f | 161 | #define MSR_PERF_LIMIT_REASONS 0x0000064f |