Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1536824

[tip:perf/urgent] perf/x86/intel: Enable C-state residency events for Knights Mill

From tip-bot for Piotr Luc <tipbot@zytor.com>
Newsgroups linux.kernel
Subject [tip:perf/urgent] perf/x86/intel: Enable C-state residency events for Knights Mill
Date 2016-12-06 11:20 +0100
Message-ID <sLl0R-L2-11@gated-at.bofh.it> (permalink)
References <sJn6N-4Ja-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Commit-ID:  1dba23b12f49d7cf3d4504171c62541122b55141
Gitweb:     http://git.kernel.org/tip/1dba23b12f49d7cf3d4504171c62541122b55141
Author:     Piotr Luc <piotr.luc@intel.com>
AuthorDate: Thu, 1 Dec 2016 01:08:53 +0100
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Tue, 6 Dec 2016 09:44:27 +0100

perf/x86/intel: Enable C-state residency events for Knights Mill

The Knights Mill is enough close to Knights Landing so the path reuses
C-state residency support of the latter.

Signed-off-by: Piotr Luc <piotr.luc@intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Link: http://lkml.kernel.org/r/20161201000853.18260-1-piotr.luc@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 arch/x86/events/intel/cstate.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/events/intel/cstate.c b/arch/x86/events/intel/cstate.c
index 4f5ac72..da51e5a 100644
--- a/arch/x86/events/intel/cstate.c
+++ b/arch/x86/events/intel/cstate.c
@@ -540,6 +540,7 @@ static const struct x86_cpu_id intel_cstates_match[] __initconst = {
 	X86_CSTATES_MODEL(INTEL_FAM6_SKYLAKE_DESKTOP, snb_cstates),
 
 	X86_CSTATES_MODEL(INTEL_FAM6_XEON_PHI_KNL, knl_cstates),
+	X86_CSTATES_MODEL(INTEL_FAM6_XEON_PHI_KNM, knl_cstates),
 	{ },
 };
 MODULE_DEVICE_TABLE(x86cpu, intel_cstates_match);

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] perf/x86/intel: Enable C-state residency events for Knights Mill Piotr Luc <piotr.luc@intel.com> - 2016-12-01 00:50 +0100
  [RESEND PATCH] perf/x86/intel: Enable C-state residency events for Knights Mill Piotr Luc <piotr.luc@intel.com> - 2016-12-01 01:10 +0100
    [tip:perf/urgent] perf/x86/intel: Enable C-state residency events  for Knights Mill tip-bot for Piotr Luc <tipbot@zytor.com> - 2016-12-06 11:20 +0100

csiph-web