Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

perf/x86/intel/cstate: Remove PC3 support from LunarLake

LunarLake doesn't support Package C3. Remove the PC3 residency counter
support from LunarLake.

Fixes: 26579860fbd5 ("perf/x86/intel/cstate: Add Lunarlake support")
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Kan Liang <kan.liang@linux.intel.com>
Reviewed-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Link: https://patch.msgid.link/20251023223754.1743928-3-zide.chen@intel.com

authored by

Zhang Rui and committed by
Peter Zijlstra
4ba45f04 e39b82f6

+1 -2
+1 -2
arch/x86/events/intel/cstate.c
··· 70 70 * perf code: 0x01 71 71 * Available model: NHM,WSM,SNB,IVB,HSW,BDW,SKL,KNL, 72 72 * GLM,CNL,KBL,CML,ICL,TGL,TNT,RKL, 73 - * ADL,RPL,MTL,ARL,LNL 73 + * ADL,RPL,MTL,ARL 74 74 * Scope: Package (physical package) 75 75 * MSR_PKG_C6_RESIDENCY: Package C6 Residency Counter. 76 76 * perf code: 0x02 ··· 522 522 BIT(PERF_CSTATE_CORE_C7_RES), 523 523 524 524 .pkg_events = BIT(PERF_CSTATE_PKG_C2_RES) | 525 - BIT(PERF_CSTATE_PKG_C3_RES) | 526 525 BIT(PERF_CSTATE_PKG_C6_RES) | 527 526 BIT(PERF_CSTATE_PKG_C10_RES), 528 527 };