From: Kan Liang Date: Wed, 28 Sep 2022 15:33:29 +0000 (-0700) Subject: perf/x86/msr: Add new Raptor Lake S support X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=193c888b7ffe4da97346950c0e98dd77cc629f24;p=linux.git perf/x86/msr: Add new Raptor Lake S support The same as the other hybrid {ALDER,RAPTOP}LAKE, the new Raptor Lake S also support PPERF and SMI_COUNT MSRs. Signed-off-by: Kan Liang Signed-off-by: Peter Zijlstra (Intel) Link: https://lore.kernel.org/r/20220928153331.3757388-2-kan.liang@linux.intel.com --- diff --git a/arch/x86/events/msr.c b/arch/x86/events/msr.c index ac542f98c0705..ecced3a52668a 100644 --- a/arch/x86/events/msr.c +++ b/arch/x86/events/msr.c @@ -106,6 +106,7 @@ static bool test_intel(int idx, void *data) case INTEL_FAM6_ALDERLAKE_N: case INTEL_FAM6_RAPTORLAKE: case INTEL_FAM6_RAPTORLAKE_P: + case INTEL_FAM6_RAPTORLAKE_S: if (idx == PERF_MSR_SMI || idx == PERF_MSR_PPERF) return true; break;