]> git.baikalelectronics.ru Git - kernel.git/commit
perf/x86/intel: Add Goldmont Plus CPU PMU support
authorKan Liang <kan.liang@intel.com>
Wed, 12 Jul 2017 13:44:23 +0000 (09:44 -0400)
committerIngo Molnar <mingo@kernel.org>
Tue, 18 Jul 2017 12:13:40 +0000 (14:13 +0200)
commitc37020ef2d752e6bf18ea45fde4560852cc3ab92
tree4c764f3227e2d667a47aa7ca645e38b5589525ef
parentc6585cf01d86dec874f70ac22800944fb6453772
perf/x86/intel: Add Goldmont Plus CPU PMU support

Add perf core PMU support for Intel Goldmont Plus CPU cores:

 - The init code is based on Goldmont.
 - There is a new cache event list, based on the Goldmont cache event
   list.
 - All four general-purpose performance counters support PEBS.
 - The first general-purpose performance counter is for reduced skid
   PEBS mechanism. Using :ppp to indicate the event which want to do
   reduced skid PEBS.
 - Goldmont Plus has 4-wide pipeline for Topdown

Signed-off-by: Kan Liang <kan.liang@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
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>
Cc: acme@kernel.org
Link: http://lkml.kernel.org/r/20170712134423.17766-1-kan.liang@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/events/intel/core.c
arch/x86/events/intel/ds.c
arch/x86/events/perf_event.h