[PATCH 2/4] perf/x86/msr: Add new Raptor Lake S support
From: kan . liang
Date: Tue Aug 23 2022 - 17:02:00 EST
From: Kan Liang <kan.liang@xxxxxxxxxxxxxxx>
The same as the other {ALDER,RAPTOP}LAKE, the new Raptor Lake S also
supports the PPERF and SMI_COUNT MSRs.
Signed-off-by: Kan Liang <kan.liang@xxxxxxxxxxxxxxx>
---
arch/x86/events/msr.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/events/msr.c b/arch/x86/events/msr.c
index ac542f98c070..ecced3a52668 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;
--
2.35.1