]> Git Repo - J-linux.git/commitdiff
perf/x86/intel/cstate: Add Emerald Rapids
authorKan Liang <[email protected]>
Fri, 6 Jan 2023 16:04:47 +0000 (08:04 -0800)
committerIngo Molnar <[email protected]>
Wed, 18 Jan 2023 11:42:49 +0000 (12:42 +0100)
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 <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
arch/x86/events/intel/cstate.c

index 3019fb1926e358ad12d50ba2fe1392bbbf235069..551741e79e038a20b2d7b519dd2a6a560b86d1f6 100644 (file)
@@ -677,6 +677,7 @@ static const struct x86_cpu_id intel_cstates_match[] __initconst = {
        X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_X,           &icx_cstates),
        X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_D,           &icx_cstates),
        X86_MATCH_INTEL_FAM6_MODEL(SAPPHIRERAPIDS_X,    &icx_cstates),
+       X86_MATCH_INTEL_FAM6_MODEL(EMERALDRAPIDS_X,     &icx_cstates),
 
        X86_MATCH_INTEL_FAM6_MODEL(TIGERLAKE_L,         &icl_cstates),
        X86_MATCH_INTEL_FAM6_MODEL(TIGERLAKE,           &icl_cstates),
This page took 0.052548 seconds and 4 git commands to generate.