Skip to content

Add Diamond Rapids uncore support

Zide Chen linux-perf-users lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7perf/x86/intel/uncore: Add dual PCI/MSR discovery supportarch/x86/events/intel/uncore.c arch/x86/events/intel/uncore_discovery.c arch/x86/events/intel/uncore_discovery.h+34 -401 reply
2/7perf/x86/intel/uncore: Add IMH PMON support for Diamond Rapidsarch/x86/events/intel/uncore.c arch/x86/events/intel/uncore.h arch/x86/events/intel/uncore_discovery.h +1 more+241 -01 reply
3/7perf/x86/intel/uncore: Add CBB PMON support for Diamond Rapidsarch/x86/events/intel/uncore.c arch/x86/events/intel/uncore_discovery.h arch/x86/events/intel/uncore_snbep.c+48 -31 reply
4/7perf/x86/intel/uncore: Add freerunning event descriptor helper macroarch/x86/events/intel/uncore_snbep.c+28 -671 reply
5/7perf/x86/intel/uncore: Support IIO free-running counters on DMRarch/x86/events/intel/uncore_snbep.c+115 -52 replies
6/7perf/x86/intel/uncore: Update DMR uncore constraints preliminarilyarch/x86/events/intel/uncore_snbep.c+81 -02 replies
7/7perf pmu: Relax uncore wildcard matching to allow numeric suffixtools/perf/util/pmu.c+8 -61 reply

Reviews trailers per patch

3 of 7 patches have a Reviewed-by or Acked-by.

PatchDapeng Mi
1/7R-b
2/7
3/7
4/7R-b
5/7
6/7
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] Add Diamond Rapids uncore support

Similar to Intel Sapphire Rapids, Diamond Rapids relies on discovery tables for uncore enumeration. Key differences and additions include:

- DMR may have two Integrated I/O and Memory Hub (IMH) dies, which are separate from the compute tile (CBB) dies. Each CBB die and each IMH die has its own dedicated discovery table.

- Unlike prior CPUs that retrieve the global discovery table portal exclusively through either PCI or MSR, DMR uses PCI for IMH PMON discovery and MSR for CBB PMON discovery

- DMR introduces several new PMON types, including SCA, HAMVF, D2D_ULA, UBR, PCIE4, CRS, CPC, ITC, OTC, CMS, and PCIE6.

- Unlike SPR, IIO free-running counters in DMR are MMIO-based.

Zide Chen (7):
perf/x86/intel/uncore: Add dual PCI/MSR discovery support perf/x86/intel/uncore: Add IMH PMON support for Diamond Rapids perf/x86/intel/uncore: Add CBB PMON support for Diamond Rapids perf/x86/intel/uncore: Add freerunning event descriptor helper macro perf/x86/intel/uncore: Support IIO free-running counters on DMR perf/x86/intel/uncore: Update DMR uncore constraints preliminarily perf pmu: Relax uncore wildcard matching to allow numeric suffix

 arch/x86/events/intel/uncore.c           |  39 +-
 arch/x86/events/intel/uncore.h           |   3 +
 arch/x86/events/intel/uncore_discovery.c |  42 +-
 arch/x86/events/intel/uncore_discovery.h |   6 +-
 arch/x86/events/intel/uncore_snbep.c     | 558 ++++++++++++++++++++---
 tools/perf/util/pmu.c                    |  14 +-
 6 files changed, 548 insertions(+), 114 deletions(-)
Signature · 1 line
2.52.0