]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf/x86/intel/uncore: Add missing PMON units for Panther Lake
authorZide Chen <zide.chen@intel.com>
Wed, 31 Dec 2025 22:42:29 +0000 (14:42 -0800)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 6 Jan 2026 15:34:26 +0000 (16:34 +0100)
commit46da08a2bb4d07874990579235ff87b41911a412
tree64701b30bca6a532d68273fcb1f8fb41beb4a34e
parent2246c24426fbc1069cb2a47e0624ccffe5f2627b
perf/x86/intel/uncore: Add missing PMON units for Panther Lake

Besides CBOX, Panther Lake includes several legacy uncore PMON units
not enumerated via discovery tables, including cNCU, SANTA, and
ia_core_bridge.

The cNCU PMON is similar to Meteor Lake but has two boxes with two
counters each. SANTA and IA Core Bridge PMON units follow the legacy
model used on Lunar Lake, Meteor Lake, and others.

Panther Lake implements the Global Control Register; the freeze_all bit
must be cleared before programming counters.

Signed-off-by: Zide Chen <zide.chen@intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Link: https://patch.msgid.link/20251231224233.113839-13-zide.chen@intel.com
arch/x86/events/intel/uncore.c
arch/x86/events/intel/uncore_snb.c