-
- Downloads
perf/x86/intel: Add Icelake support
Add Icelake core PMU perf code, including constraint tables and the main enable code. Icelake expanded the generic counters to always 8 even with HT on, but a range of events cannot be scheduled on the extra 4 counters. Add new constraint ranges to describe this to the scheduler. The number of constraints that need to be checked is larger now than with earlier CPUs. At some point we may need a new data structure to look them up more efficiently than with linear search. So far it still seems to be acceptable however. Icelake added a new fixed counter SLOTS. Full support for it is added later in the patch series. The cache events table is identical to Skylake. Compare to PEBS instruction event on generic counter, fixed counter 0 has less skid. Force instruction:ppp always in fixed counter 0. Originally-by:Andi Kleen <ak@linux.intel.com> Signed-off-by:
Kan Liang <kan.liang@linux.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@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 Cc: jolsa@kernel.org Link: https://lkml.kernel.org/r/20190402194509.2832-9-kan.liang@linux.intel.com Signed-off-by:
Ingo Molnar <mingo@kernel.org>
Showing
- arch/x86/events/intel/core.c 111 additions, 0 deletionsarch/x86/events/intel/core.c
- arch/x86/events/intel/ds.c 23 additions, 2 deletionsarch/x86/events/intel/ds.c
- arch/x86/events/perf_event.h 2 additions, 0 deletionsarch/x86/events/perf_event.h
- arch/x86/include/asm/intel_ds.h 1 addition, 1 deletionarch/x86/include/asm/intel_ds.h
- arch/x86/include/asm/perf_event.h 1 addition, 1 deletionarch/x86/include/asm/perf_event.h
Loading
-
mentioned in commit 7fc5f60a
-
mentioned in commit 9356e4dc
-
mentioned in commit d42683c2
-
mentioned in commit ecc2123e
-
mentioned in commit 86dca369
-
mentioned in commit acc5568b
-
mentioned in commit 7de3fe6a
-
mentioned in commit 6ffa4815
-
mentioned in commit 98f6e7c3
-
mentioned in commit c8389d42
Please register or sign in to comment