]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitdd0b06b551f6b14da19582e301814746d838965a
tree4c764f3227e2d667a47aa7ca645e38b5589525ef
parent5c10b048c37cc08a21fa97a0575eccf4948948ca
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