summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2025-10-23 15:37:52 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-12-18 14:02:42 +0100
commit75446d62696c9cf486074e49844922e1de732381 (patch)
tree5dff09662df811c60f100dd8ee38215099ebe118 /arch
parent4669a8db976c8cbd5427fe9945f12c5fa5168ff3 (diff)
downloadlinux-75446d62696c9cf486074e49844922e1de732381.tar.gz
linux-75446d62696c9cf486074e49844922e1de732381.tar.bz2
linux-75446d62696c9cf486074e49844922e1de732381.zip
perf/x86/intel/cstate: Remove PC3 support from LunarLake
[ Upstream commit 4ba45f041abe60337fdeeb68553b9ee1217d544e ] 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 Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/events/intel/cstate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/events/intel/cstate.c b/arch/x86/events/intel/cstate.c
index ec753e39b007..6f5286a99e0c 100644
--- a/arch/x86/events/intel/cstate.c
+++ b/arch/x86/events/intel/cstate.c
@@ -70,7 +70,7 @@
* perf code: 0x01
* Available model: NHM,WSM,SNB,IVB,HSW,BDW,SKL,KNL,
* GLM,CNL,KBL,CML,ICL,TGL,TNT,RKL,
- * ADL,RPL,MTL,ARL,LNL
+ * ADL,RPL,MTL,ARL
* Scope: Package (physical package)
* MSR_PKG_C6_RESIDENCY: Package C6 Residency Counter.
* perf code: 0x02
@@ -522,7 +522,6 @@ static const struct cstate_model lnl_cstates __initconst = {
BIT(PERF_CSTATE_CORE_C7_RES),
.pkg_events = BIT(PERF_CSTATE_PKG_C2_RES) |
- BIT(PERF_CSTATE_PKG_C3_RES) |
BIT(PERF_CSTATE_PKG_C6_RES) |
BIT(PERF_CSTATE_PKG_C10_RES),
};