All of lore.kernel.org
 help / color / mirror / Atom feed
* [tip:perf/urgent] perf/x86: Fix Broadwell-EP DRAM RAPL events
@ 2017-05-03 12:50 tip-bot for Vince Weaver
  0 siblings, 0 replies; only message in thread
From: tip-bot for Vince Weaver @ 2017-05-03 12:50 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: eranian, peterz, alexander.shishkin, torvalds, jolsa, acme,
	vincent.weaver, kan.liang, eranian, hpa, mingo, stable, tglx

Commit-ID:  33b88e708e7dfa58dc896da2a98f5719d2eb315c
Gitweb:     http://git.kernel.org/tip/33b88e708e7dfa58dc896da2a98f5719d2eb315c
Author:     Vince Weaver <vincent.weaver@maine.edu>
AuthorDate: Tue, 2 May 2017 14:08:50 -0400
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Wed, 3 May 2017 14:40:37 +0200

perf/x86: Fix Broadwell-EP DRAM RAPL events

It appears as though the Broadwell-EP DRAM units share the special
units quirk with Haswell-EP/KNL.

Without this patch, you get really high results (a single DRAM using 20W
of power).

The powercap driver in drivers/powercap/intel_rapl.c already has this
change.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Kan Liang <kan.liang@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@gmail.com>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Cc: <stable@vger.kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 arch/x86/events/intel/rapl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/events/intel/rapl.c b/arch/x86/events/intel/rapl.c
index 9d05c7e..a45e211 100644
--- a/arch/x86/events/intel/rapl.c
+++ b/arch/x86/events/intel/rapl.c
@@ -761,7 +761,7 @@ static const struct x86_cpu_id rapl_cpu_match[] __initconst = {
 
 	X86_RAPL_MODEL_MATCH(INTEL_FAM6_BROADWELL_CORE,   hsw_rapl_init),
 	X86_RAPL_MODEL_MATCH(INTEL_FAM6_BROADWELL_GT3E,   hsw_rapl_init),
-	X86_RAPL_MODEL_MATCH(INTEL_FAM6_BROADWELL_X,	  hsw_rapl_init),
+	X86_RAPL_MODEL_MATCH(INTEL_FAM6_BROADWELL_X,	  hsx_rapl_init),
 	X86_RAPL_MODEL_MATCH(INTEL_FAM6_BROADWELL_XEON_D, hsw_rapl_init),
 
 	X86_RAPL_MODEL_MATCH(INTEL_FAM6_XEON_PHI_KNL, knl_rapl_init),

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-05-03 12:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-03 12:50 [tip:perf/urgent] perf/x86: Fix Broadwell-EP DRAM RAPL events tip-bot for Vince Weaver

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.