perf/x86: Add new Alder Lake and Raptor Lake support
authorKan Liang <kan.liang@linux.intel.com>
Wed, 4 May 2022 19:44:09 +0000 (12:44 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 11 May 2022 14:27:08 +0000 (16:27 +0200)
From PMU's perspective, there is no difference for the new Alder Lake N
and Raptor Lake P.

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/20220504194413.1003071-1-kan.liang@linux.intel.com
arch/x86/events/intel/core.c

index fc7f458..955ae91 100644 (file)
@@ -6216,7 +6216,9 @@ __init int intel_pmu_init(void)
 
        case INTEL_FAM6_ALDERLAKE:
        case INTEL_FAM6_ALDERLAKE_L:
+       case INTEL_FAM6_ALDERLAKE_N:
        case INTEL_FAM6_RAPTORLAKE:
+       case INTEL_FAM6_RAPTORLAKE_P:
                /*
                 * Alder Lake has 2 types of CPU, core and atom.
                 *