]> git.ipfire.org Git - thirdparty/linux.git/commit
perf/x86/intel: Enable auto counter reload for DMR
authorDapeng Mi <dapeng1.mi@linux.intel.com>
Thu, 30 Apr 2026 00:25:57 +0000 (08:25 +0800)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 5 May 2026 10:47:22 +0000 (12:47 +0200)
commitaa4384bc8f4360167f3c3d5322121fe892289ea2
tree8740cdef546ccc837c01f247ed8817cfb229f487
parent1271aeccc307066315b2d3b0d5af2510e27018b5
perf/x86/intel: Enable auto counter reload for DMR

Panther cove µarch starts to support auto counter reload (ACR), but the
static_call intel_pmu_enable_acr_event() is not updated for the Panther
Cove µarch used by DMR. It leads to the auto counter reload is not
really enabled on DMR.

Update static_call intel_pmu_enable_acr_event() in intel_pmu_init_pnc().

Fixes: d345b6bb8860 ("perf/x86/intel: Add core PMU support for DMR")
Signed-off-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20260430002558.712334-5-dapeng1.mi@linux.intel.com
arch/x86/events/intel/core.c