]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
perf/x86/intel/uncore: Add Panther Lake support
authorKan Liang <kan.liang@linux.intel.com>
Mon, 7 Jul 2025 20:17:49 +0000 (13:17 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 9 Jul 2025 11:40:19 +0000 (13:40 +0200)
commit64ad6d6ede0cff2997e707dcb051bd4987508c27
tree355530710d8d6d8b7fce215175b972a1922222a2
parentfca24bf2b6b619770d7f1222c0284791d7766239
perf/x86/intel/uncore: Add Panther Lake support

The Panther Lake supports CBOX, MC, sNCU, and HBO uncore PMON.

The CBOX is similar to Lunar Lake. The only difference is the number of
CBOX.

The other three uncore PMON can be retrieved from the discovery table.
The global control register resides in the sNCU. The global freeze bit
is set by default. It must be cleared before monitoring any uncore
counters.

Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Link: https://lore.kernel.org/r/20250707201750.616527-4-kan.liang@linux.intel.com
arch/x86/events/intel/uncore.c
arch/x86/events/intel/uncore.h
arch/x86/events/intel/uncore_discovery.h
arch/x86/events/intel/uncore_snb.c
arch/x86/events/intel/uncore_snbep.c