perf/x86: Enable DRAM RAPL support on Intel Haswell
authorVince Weaver <vincent.weaver@maine.edu>
Wed, 2 Apr 2014 04:49:55 +0000 (00:49 -0400)
committerIngo Molnar <mingo@kernel.org>
Wed, 2 Apr 2014 05:16:27 +0000 (07:16 +0200)
commite69af4657e7764d03ad555f0b583d9c4217bcefa
treee64d70ed420992f121c4b828af6ebb43a18f9b1c
parent683b6c6f82a60fabf47012581c2cfbf1b037ab95
perf/x86: Enable DRAM RAPL support on Intel Haswell

It turns out all Haswell processors (including the Desktop
variant)  support RAPL DRAM readings in addition to package,
pp0, and pp1.

I've confirmed RAPL DRAM readings on my model 60 Haswell
desktop.

See the 4th-gen-core-family-desktop-vol-2-datasheet.pdf
available from the Intel website for confirmation.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Cc: Stephane Eranian <eranian@gmail.com>
Link: http://lkml.kernel.org/r/alpine.DEB.2.10.1404020045290.17889@vincent-weaver-1.um.maine.edu
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event_intel_rapl.c