linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] perf/x86/intel: Enable C-state residency events for Knights Mill
@ 2016-11-30 23:39 Piotr Luc
  2016-11-30 23:39 ` Thomas Gleixner
  2016-12-01  0:08 ` [RESEND PATCH] " Piotr Luc
  0 siblings, 2 replies; 5+ messages in thread
From: Piotr Luc @ 2016-11-30 23:39 UTC (permalink / raw)
  To: x86; +Cc: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, linux-kernel

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: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-12-06 10:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-30 23:39 [PATCH] perf/x86/intel: Enable C-state residency events for Knights Mill Piotr Luc
2016-11-30 23:39 ` Thomas Gleixner
2016-11-30 23:57   ` Luc, Piotr
2016-12-01  0:08 ` [RESEND PATCH] " Piotr Luc
2016-12-06 10:11   ` [tip:perf/urgent] " tip-bot for Piotr Luc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).