perf/x86/intel: Enable C-state residency events for Knights Mill
authorPiotr Luc <piotr.luc@intel.com>
Thu, 1 Dec 2016 00:08:53 +0000 (01:08 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 6 Dec 2016 08:44:27 +0000 (09:44 +0100)
commit1dba23b12f49d7cf3d4504171c62541122b55141
treed9d7b10bd8f16f52717b6e3cffb5a81a4e1af609
parentd9d04527c79f0f7d9186272866526e871ef4ac6f
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