perf/x86/cstate: Add new Raptor Lake S support
authorKan Liang <kan.liang@linux.intel.com>
Wed, 28 Sep 2022 15:33:30 +0000 (08:33 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 29 Sep 2022 10:20:53 +0000 (12:20 +0200)
From the perspective of Intel cstate residency counters, the new
Raptor Lake S is the same as the other hybrid {ALDER,RAPTOP}LAKE.

Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220928153331.3757388-3-kan.liang@linux.intel.com
arch/x86/events/intel/cstate.c

index 8ec23f47fee9a7a4dd10632c76528d4c61549a7c..a2834bc93149a735295706e2599e5f4b5b667678 100644 (file)
@@ -685,6 +685,7 @@ static const struct x86_cpu_id intel_cstates_match[] __initconst = {
        X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_N,         &adl_cstates),
        X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE,          &adl_cstates),
        X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_P,        &adl_cstates),
+       X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_S,        &adl_cstates),
        { },
 };
 MODULE_DEVICE_TABLE(x86cpu, intel_cstates_match);