]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf/x86/intel: Add PMU support for ArrowLake-H
authorDapeng Mi <dapeng1.mi@linux.intel.com>
Tue, 20 Aug 2024 07:38:53 +0000 (07:38 +0000)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 7 Oct 2024 07:28:43 +0000 (09:28 +0200)
commitd3fe6f0a4372702e2cdabf19e03b815811671c7a
treeaaa26fffb89fd9db3d38b1f74340fd785942f89c
parent9f4a39757c81d532f64232702537c53ad4092a5e
perf/x86/intel: Add PMU support for ArrowLake-H

ArrowLake-H contains 3 different uarchs, LionCove, Skymont and Crestmont.
It is different with previous hybrid processors which only contains two
kinds of uarchs.

This patch adds PMU support for ArrowLake-H processor, adds ARL-H
specific events which supports the 3 kinds of uarchs, such as
td_retiring_arl_h, and extends some existed format attributes like
offcore_rsp to make them be available to support ARL-H as well. Althrough
these format attributes like offcore_rsp have been extended to support
ARL-H, they can still support the regular hybrid platforms with 2 kinds
of uarchs since the helper hybrid_format_is_visible() would filter PMU
types and only show the format attribute for available PMUs.

Signed-off-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Kan Liang <kan.liang@linux.intel.com>
Tested-by: Yongwei Ma <yongwei.ma@intel.com>
Link: https://lkml.kernel.org/r/20240820073853.1974746-5-dapeng1.mi@linux.intel.com
arch/x86/events/intel/core.c
arch/x86/events/intel/ds.c
arch/x86/events/perf_event.h