Re: [Patch v3 00/22] Arch-PEBS and PMU supports for Clearwater Forest and Panther Lake

Liang, Kan
2025-04-15T15:21:34Z

Hi Peter,

On 2025-04-15 7:44 a.m., Dapeng Mi wrote:
> Dapeng Mi (21):
> perf/x86/intel: Add PMU support for Clearwater Forest
>
> Kan Liang (1):
> perf/x86/intel: Add Panther Lake support

Could you please take a look and pick up the above two patches if they
look good to you?

The two patches are generic support for the Panther Lake and Clearwater
Forest. With them, at least the non-PEBS and topdown can work.
The ARCH PEBS will be temporarily disabled until this big patch set is
merged.

# dmesg | grep PMU
[ 0.095162] Performance Events: XSAVE Architectural LBR, AnyThread
deprecated, Pantherlake Hybrid events, 32-deep LBR, full-width counters,
Intel PMU driver.

# perf stat -e
"{slots,topdown-retiring,topdown-bad-spec,topdown-fe-bound,topdown-be-bound}"
-a
WARNING: events were regrouped to match PMUs
^C
Performance counter stats for 'system wide':

2,212,401 cpu_atom/topdown-retiring/
8,121,982 cpu_atom/topdown-bad-spec/
42,119,870 cpu_atom/topdown-fe-bound/
27,667,678 cpu_atom/topdown-be-bound/
496,377,056 cpu_core/slots/
2,058,926 cpu_core/topdown-retiring/
6,008,255 cpu_core/topdown-bad-spec/
265,352,356 cpu_core/topdown-fe-bound/
222,957,516 cpu_core/topdown-be-bound/

# perf record -e cycles:p sleep 1
Error:
cpu_atom/cycles/pH: PMU Hardware doesn't support
sampling/overflow-interrupts. Try 'perf stat'

Thanks,
Kan