perf/x86: Add Intel Raptor Lake support
authorKan Liang <kan.liang@linux.intel.com>
Tue, 15 Mar 2022 17:45:57 +0000 (10:45 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 5 Apr 2022 07:59:43 +0000 (09:59 +0200)
From PMU's perspective, Raptor Lake is the same as the Alder Lake. The
only difference is the event list, which will be supported in the perf
tool later.

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/1647366360-82824-1-git-send-email-kan.liang@linux.intel.com
arch/x86/events/intel/core.c

index e88791b..28f075e 100644 (file)
@@ -6212,6 +6212,7 @@ __init int intel_pmu_init(void)
 
        case INTEL_FAM6_ALDERLAKE:
        case INTEL_FAM6_ALDERLAKE_L:
+       case INTEL_FAM6_RAPTORLAKE:
                /*
                 * Alder Lake has 2 types of CPU, core and atom.
                 *