]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf/x86/intel: Fix bitmask of OCR and FRONTEND events for LNC
authorKan Liang <kan.liang@linux.intel.com>
Mon, 16 Dec 2024 16:02:52 +0000 (08:02 -0800)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 20 Dec 2024 14:31:14 +0000 (15:31 +0100)
commitaa5d2ca7c179c40669edb5e96d931bf9828dea3d
treeb0dabfdc3b5ab17a37a7a3164505c853096b0197
parentb8c3a2502a205321fe66c356f4b70cabd8e1a5fc
perf/x86/intel: Fix bitmask of OCR and FRONTEND events for LNC

The released OCR and FRONTEND events utilized more bits on Lunar Lake
p-core. The corresponding mask in the extra_regs has to be extended to
unblock the extra bits.

Add a dedicated intel_lnc_extra_regs.

Fixes: a932aa0e868f ("perf/x86: Add Lunar Lake and Arrow Lake support")
Reported-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/20241216160252.430858-1-kan.liang@linux.intel.com
arch/x86/events/intel/core.c