Skip to contentSkip to conversation

perf/x86/intel/cstate: Add Clearwater Forest support

PATCH Superseded Zide Chen 1 participant 1 message Aug 26, 2025

Subsystems (2)
lore
Share & tools
lore

Zide Chen

author
#0 lore raw

PATCH 1/1 perf/x86/intel/cstate: Add Clearwater Forest support

From: Zhenyu Wang <[email protected]>

Clearwater Forest is based on the Darkmont Atom microarchitecture. From the perspective of C-state residency profiling, it supports the same residency counters as Sierra Forest: CC1/CC6, PC2/PC6, and MC6.

---
 arch/x86/events/intel/cstate.c | 1 +
 1 file changed, 1 insertion(+)
arch/x86/events/intel/cstate.c +1 -0
index ae4ec16156bb..028557210e23 100644
@@ -627,6 +627,7 @@ static const struct x86_cpu_id intel_cstates_match[] __initconst = {
 	X86_MATCH_VFM(INTEL_ATOM_GRACEMONT,	&adl_cstates),
 	X86_MATCH_VFM(INTEL_ATOM_CRESTMONT_X,	&srf_cstates),
 	X86_MATCH_VFM(INTEL_ATOM_CRESTMONT,	&grr_cstates),
+	X86_MATCH_VFM(INTEL_ATOM_DARKMONT_X,	&srf_cstates),
 
 	X86_MATCH_VFM(INTEL_ICELAKE_L,		&icl_cstates),
 	X86_MATCH_VFM(INTEL_ICELAKE,		&icl_cstates),
Signature · 1 line
2.34.1