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

You-Sheng Yang vicamo.yang at canonical.com
Thu Nov 21 08:15:32 UTC 2019


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(-)

-- 
2.24.0




More information about the kernel-team mailing list