diff mbox series

[03/13,SRU,OEM-5.17] perf/x86: Add new Alder Lake and Raptor Lake support

Message ID 20220615082939.278128-4-koba.ko@canonical.com
State New
Headers show
Series Add support for Raptor Lake | expand

Commit Message

Koba Ko June 15, 2022, 8:29 a.m. UTC
From: Kan Liang <kan.liang@linux.intel.com>

BugLink: https://bugs.launchpad.net/bugs/1978794 

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
(cherry picked from commit c2a960f7c5741cc4f03b4e587afeb89ad53c32c5)
Signed-off-by: Koba Ko <koba.ko@canonical.com>
---
 arch/x86/events/intel/core.c  | 3 +++
 debian.oem/config/annotations | 1 -
 2 files changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/arch/x86/events/intel/core.c b/arch/x86/events/intel/core.c
index d87c9b246a8fa..fe77a6e7e4c0d 100644
--- a/arch/x86/events/intel/core.c
+++ b/arch/x86/events/intel/core.c
@@ -6195,6 +6195,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.
 		 *
diff --git a/debian.oem/config/annotations b/debian.oem/config/annotations
index 3f2f0214132fe..963d27088dec5 100644
--- a/debian.oem/config/annotations
+++ b/debian.oem/config/annotations
@@ -13867,7 +13867,6 @@  CONFIG_LEGACY_VSYSCALL_NONE                     policy<{'amd64': 'n'}>
 CONFIG_LEGACY_VSYSCALL_XONLY                    flag<REVIEW>
 
 # Menu: Security options
-CONFIG_SLS                                      policy<{'amd64': 'y'}>
 CONFIG_SECURITY_DMESG_RESTRICT                  policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 's390x': 'y'}>
 CONFIG_SECURITY_PERF_EVENTS_RESTRICT            policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 's390x': 'y'}>
 CONFIG_SECURITYFS                               policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 's390x': 'y'}>