[tip: perf/core] perf/x86: Add new Raptor Lake S support

From: tip-bot2 for Kan Liang
Date: Fri Sep 30 2022 - 05:32:12 EST


The following commit has been merged into the perf/core branch of tip:

Commit-ID: 50b0c97bf00e4815aee09cace28b940ebb060e69
Gitweb: https://git.kernel.org/tip/50b0c97bf00e4815aee09cace28b940ebb060e69
Author: Kan Liang <kan.liang@xxxxxxxxxxxxxxx>
AuthorDate: Wed, 28 Sep 2022 08:33:28 -07:00
Committer: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
CommitterDate: Thu, 29 Sep 2022 12:20:52 +02:00

perf/x86: Add new Raptor Lake S support

>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@xxxxxxxxxxxxxxx>
Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
Link: https://lore.kernel.org/r/20220928153331.3757388-1-kan.liang@xxxxxxxxxxxxxxx
---
arch/x86/events/intel/core.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/x86/events/intel/core.c b/arch/x86/events/intel/core.c
index b2d8def..3939deb 100644
--- a/arch/x86/events/intel/core.c
+++ b/arch/x86/events/intel/core.c
@@ -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.
*