tools/power turbostat: decode MSR_*_PERF_LIMIT_REASONS
authorLen Brown <len.brown@intel.com>
Fri, 15 Aug 2014 06:39:52 +0000 (02:39 -0400)
committerLen Brown <len.brown@intel.com>
Mon, 9 Feb 2015 21:44:24 +0000 (16:44 -0500)
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>
arch/x86/include/uapi/asm/msr-index.h
tools/power/x86/turbostat/turbostat.c

Simple merge
Simple merge