Skip to content

Commit 2237527

Browse files
zhenywbhe4
authored andcommitted
perf/x86/intel/cstate: Add Clearwater Forrest support
Clearwater Forrest has same c-state residency counters like Sierra Forrest. So this simply adds cpu model id for it. Cc: Artem Bityutskiy <[email protected]> Cc: Kan Liang <[email protected]> Reviewed-by: Kan Liang <[email protected]> Signed-off-by: Zhenyu Wang <[email protected]>
1 parent f6f9db5 commit 2237527

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/x86/events/intel/cstate.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,7 @@ static const struct x86_cpu_id intel_cstates_match[] __initconst = {
742742
X86_MATCH_INTEL_FAM6_MODEL(ATOM_GRACEMONT, &adl_cstates),
743743
X86_MATCH_INTEL_FAM6_MODEL(ATOM_CRESTMONT_X, &srf_cstates),
744744
X86_MATCH_INTEL_FAM6_MODEL(ATOM_CRESTMONT, &grr_cstates),
745+
X86_MATCH_INTEL_FAM6_MODEL(ATOM_DARKMONT_X, &srf_cstates),
745746

746747
X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_L, &icl_cstates),
747748
X86_MATCH_INTEL_FAM6_MODEL(ICELAKE, &icl_cstates),

0 commit comments

Comments
 (0)