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: Add Clearwater Forest support

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.

Please note that the C1E residency counter can only be read via PMT,
not MSR. Therefore, tools relying on the perf_event framework cannot
access the C1E residency.

Signed-off-by: Zhenyu Wang <zhenyuw.linux@gmail.com>
Signed-off-by: Zide Chen <zide.chen@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-2-zide.chen@intel.com

authored by

Zide Chen and committed by
Peter Zijlstra
e39b82f6 45e1dccc

+1
+1
arch/x86/events/intel/cstate.c
··· 628 628 X86_MATCH_VFM(INTEL_ATOM_GRACEMONT, &adl_cstates), 629 629 X86_MATCH_VFM(INTEL_ATOM_CRESTMONT_X, &srf_cstates), 630 630 X86_MATCH_VFM(INTEL_ATOM_CRESTMONT, &grr_cstates), 631 + X86_MATCH_VFM(INTEL_ATOM_DARKMONT_X, &srf_cstates), 631 632 632 633 X86_MATCH_VFM(INTEL_ICELAKE_L, &icl_cstates), 633 634 X86_MATCH_VFM(INTEL_ICELAKE, &icl_cstates),