perf/x86: Add new Raptor Lake S support
authorKan Liang <kan.liang@linux.intel.com>
Wed, 28 Sep 2022 15:33:28 +0000 (08:33 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 29 Sep 2022 10:20:52 +0000 (12:20 +0200)
From PMU's perspective, the new Raptor Lake S is the same as the other
of 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-1-kan.liang@linux.intel.com
arch/x86/events/intel/core.c

index b2d8def..3939deb 100644 (file)
@@ -6344,6 +6344,7 @@ __init int intel_pmu_init(void)
        case INTEL_FAM6_ALDERLAKE_N:
        case INTEL_FAM6_RAPTORLAKE:
        case INTEL_FAM6_RAPTORLAKE_P:
+       case INTEL_FAM6_RAPTORLAKE_S:
                /*
                 * Alder Lake has 2 types of CPU, core and atom.
                 *