Skip to content

Commit 872d280

Browse files
dedekindPeter Zijlstra
authored andcommitted
perf/x86/cstate: Add Granite Rapids support
Granite Rapids Xeon is successor or Emerald Rapids Xeon, and it will use the same C-state residency counters as Emerald Rapids (and previous Xeons, all the way back to Ice Lake Xeon). Add Granite Rapids Xeon support. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/20230314170041.2967712-3-kan.liang@linux.intel.com
1 parent 5a796d5 commit 872d280

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

arch/x86/events/intel/cstate.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -678,6 +678,8 @@ static const struct x86_cpu_id intel_cstates_match[] __initconst = {
678678
X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_D, &icx_cstates),
679679
X86_MATCH_INTEL_FAM6_MODEL(SAPPHIRERAPIDS_X, &icx_cstates),
680680
X86_MATCH_INTEL_FAM6_MODEL(EMERALDRAPIDS_X, &icx_cstates),
681+
X86_MATCH_INTEL_FAM6_MODEL(GRANITERAPIDS_X, &icx_cstates),
682+
X86_MATCH_INTEL_FAM6_MODEL(GRANITERAPIDS_D, &icx_cstates),
681683

682684
X86_MATCH_INTEL_FAM6_MODEL(TIGERLAKE_L, &icl_cstates),
683685
X86_MATCH_INTEL_FAM6_MODEL(TIGERLAKE, &icl_cstates),

0 commit comments

Comments
 (0)