]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
perf/x86/intel: Fix event constraints for LNC
authorKan Liang <kan.liang@linux.intel.com>
Wed, 19 Feb 2025 14:10:05 +0000 (06:10 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Feb 2025 12:30:23 +0000 (04:30 -0800)
commit562d40ff3d23d22999e863d8863a811ca50d5cc6
treec85e6dc98b6ba497326003b6c6778a083d0af9c6
parent82ac99303dd5a989e134a1f2a211fd35ffc5866a
perf/x86/intel: Fix event constraints for LNC

commit 782cffeec9ad96daa64ffb2d527b2a052fb02552 upstream.

According to the latest event list, update the event constraint tables
for Lion Cove core.

The general rule (the event codes < 0x90 are restricted to counters
0-3.) has been removed. There is no restriction for most of the
performance monitoring events.

Fixes: a932aa0e868f ("perf/x86: Add Lunar Lake and Arrow Lake support")
Reported-by: Amiri Khalil <amiri.khalil@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/20250219141005.2446823-1-kan.liang@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/events/intel/core.c
arch/x86/events/intel/ds.c