Skip to content

Commit 329f832

Browse files
zhang-ruigregkh
authored andcommitted
perf/x86/intel/cstate: Remove PC3 support from LunarLake
[ Upstream commit 4ba45f0 ] LunarLake doesn't support Package C3. Remove the PC3 residency counter support from LunarLake. Fixes: 2657986 ("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 Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent d1f424a commit 329f832

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

arch/x86/events/intel/cstate.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
* perf code: 0x01
7171
* Available model: NHM,WSM,SNB,IVB,HSW,BDW,SKL,KNL,
7272
* GLM,CNL,KBL,CML,ICL,TGL,TNT,RKL,
73-
* ADL,RPL,MTL,ARL,LNL
73+
* ADL,RPL,MTL,ARL
7474
* Scope: Package (physical package)
7575
* MSR_PKG_C6_RESIDENCY: Package C6 Residency Counter.
7676
* perf code: 0x02
@@ -521,7 +521,6 @@ static const struct cstate_model lnl_cstates __initconst = {
521521
BIT(PERF_CSTATE_CORE_C7_RES),
522522

523523
.pkg_events = BIT(PERF_CSTATE_PKG_C2_RES) |
524-
BIT(PERF_CSTATE_PKG_C3_RES) |
525524
BIT(PERF_CSTATE_PKG_C6_RES) |
526525
BIT(PERF_CSTATE_PKG_C10_RES),
527526
};

0 commit comments

Comments
 (0)