]> git.ipfire.org Git - thirdparty/linux.git/commit
perf/x86/intel: Update event constraints for PTL
authorDapeng Mi <dapeng1.mi@linux.intel.com>
Fri, 15 May 2026 06:11:40 +0000 (14:11 +0800)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 19 May 2026 11:49:04 +0000 (13:49 +0200)
commit65fd435095bb299b9c50d3285d4e6569b79b86e2
tree296b9ae474173e9aea9ae8341ec63255b32454e0
parent0073ed169226f4ed65e339f770118f54ce4e1370
perf/x86/intel: Update event constraints for PTL

Update perf hard-coded event constraints for Pantherlake according to
the latest PTL perfmon events (V1.05).

PTL has almost same perf event list as LNL except some PEBS event
constraints of E-core (exactly same on P-core). Define
intel_dkt_pebs_event_constraints[] to reflect the PTL E-core specific
PEBS event constraints.

PTL perfmon events:
https://github.com/intel/perfmon/blob/main/PTL/events/pantherlake_cougarcove_core.json
https://github.com/intel/perfmon/blob/main/PTL/events/pantherlake_darkmont_core.json

Signed-off-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260515061143.338553-9-dapeng1.mi@linux.intel.com
arch/x86/events/intel/core.c
arch/x86/events/intel/ds.c
arch/x86/events/perf_event.h