Skip to content

Commit 5a8a05f

Browse files
Kan LiangIngo Molnar
authored andcommitted
perf/x86/intel/cstate: Add Emerald Rapids
From the perspective of Intel cstate residency counters, Emerald Rapids is the same as the Sapphire Rapids and Ice Lake. Add Emerald Rapids model. Signed-off-by: Kan Liang <kan.liang@linux.intel.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20230106160449.3566477-2-kan.liang@linux.intel.com
1 parent 6795e55 commit 5a8a05f

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
@@ -677,6 +677,7 @@ static const struct x86_cpu_id intel_cstates_match[] __initconst = {
677677
X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_X, &icx_cstates),
678678
X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_D, &icx_cstates),
679679
X86_MATCH_INTEL_FAM6_MODEL(SAPPHIRERAPIDS_X, &icx_cstates),
680+
X86_MATCH_INTEL_FAM6_MODEL(EMERALDRAPIDS_X, &icx_cstates),
680681

681682
X86_MATCH_INTEL_FAM6_MODEL(TIGERLAKE_L, &icl_cstates),
682683
X86_MATCH_INTEL_FAM6_MODEL(TIGERLAKE, &icl_cstates),

0 commit comments

Comments
 (0)