From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752867AbcLFKNi (ORCPT ); Tue, 6 Dec 2016 05:13:38 -0500 Received: from terminus.zytor.com ([198.137.202.10]:46026 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751609AbcLFKNb (ORCPT ); Tue, 6 Dec 2016 05:13:31 -0500 Date: Tue, 6 Dec 2016 02:11:20 -0800 From: tip-bot for Piotr Luc Message-ID: Cc: linux-kernel@vger.kernel.org, tglx@linutronix.de, jolsa@redhat.com, torvalds@linux-foundation.org, acme@kernel.org, acme@redhat.com, eranian@google.com, alexander.shishkin@linux.intel.com, mingo@kernel.org, hpa@zytor.com, piotr.luc@intel.com, vincent.weaver@maine.edu, peterz@infradead.org Reply-To: peterz@infradead.org, piotr.luc@intel.com, vincent.weaver@maine.edu, acme@redhat.com, torvalds@linux-foundation.org, acme@kernel.org, eranian@google.com, alexander.shishkin@linux.intel.com, hpa@zytor.com, mingo@kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, jolsa@redhat.com In-Reply-To: <20161201000853.18260-1-piotr.luc@intel.com> References: <20161201000853.18260-1-piotr.luc@intel.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/urgent] perf/x86/intel: Enable C-state residency events for Knights Mill Git-Commit-ID: 1dba23b12f49d7cf3d4504171c62541122b55141 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 1dba23b12f49d7cf3d4504171c62541122b55141 Gitweb: http://git.kernel.org/tip/1dba23b12f49d7cf3d4504171c62541122b55141 Author: Piotr Luc AuthorDate: Thu, 1 Dec 2016 01:08:53 +0100 Committer: Ingo Molnar 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 Signed-off-by: Peter Zijlstra (Intel) Cc: Alexander Shishkin Cc: Arnaldo Carvalho de Melo Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Thomas Gleixner Cc: Vince Weaver Link: http://lkml.kernel.org/r/20161201000853.18260-1-piotr.luc@intel.com Signed-off-by: Ingo Molnar --- 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);