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


Groups > linux.kernel > #1533696

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

From Piotr Luc <piotr.luc@intel.com>
Newsgroups linux.kernel
Subject [RESEND PATCH] perf/x86/intel: Enable C-state residency events for Knights Mill
Date 2016-12-01 01:10 +0100
Message-ID <sJn6N-4Ja-5@gated-at.bofh.it> (permalink)
References <sJmNr-4n7-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: x86@kernel.org
Cc: linux-kernel@vger.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);
-- 
2.10.1

Fixed CC list.

+ Cc: Peter Zijlstra <peterz@infradead.org>
+ Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
+ Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
- Cc: Thomas Gleixner <tglx@linutronix.de>
- Cc: "H. Peter Anvin" <hpa@zytor.com>

Back to linux.kernel | Previous | NextPrevious in thread | Next 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