mbox series

[SRU,E,0/6] Add perf support for Comet Lake/Ice Lake CPU

Message ID 20191121081538.3443236-1-vicamo.yang@canonical.com
Headers show
Series Add perf support for Comet Lake/Ice Lake CPU | expand

Message

You-Sheng Yang Nov. 21, 2019, 8:15 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1848978

[Impact]
There is no complete perf support for Comet Lake CPU. For Ice Lake, some
changes has been included in v5.3, but still misses CPU IDs.

[Fix]
perf support for Comet Lake is based on previous works for Ice Lake, so
changes for both have to be backported.

[Test Case]
On platforms with Comet Lake/Ice Lake CPUs, one should find new
cstate_pkg events c{8,9,10}-residency appear in output of `perf list`
for use.

[Regression Potential]
Low. This backports perf support for previously incompletedly supported
cpu models.

Kan Liang (5):
  perf/x86/intel: Add Comet Lake CPU support
  perf/x86/msr: Add Comet Lake CPU support
  perf/x86/cstate: Add Comet Lake CPU support
  perf/x86/msr: Add new CPU model numbers for Ice Lake
  perf/x86/cstate: Update C-state counters for Ice Lake

Peter Zijlstra (1):
  perf/x86: Support constraint ranges

 arch/x86/events/intel/core.c   |  2 ++
 arch/x86/events/intel/cstate.c | 42 ++++++++++++++++++++++++----------
 arch/x86/events/msr.c          |  5 ++++
 arch/x86/events/perf_event.h   |  3 +++
 4 files changed, 40 insertions(+), 12 deletions(-)