Skip to content

Commit 193c888

Browse files
Kan LiangPeter Zijlstra
authored andcommitted
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 <kan.liang@linux.intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/20220928153331.3757388-2-kan.liang@linux.intel.com
1 parent 50b0c97 commit 193c888

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/x86/events/msr.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ static bool test_intel(int idx, void *data)
106106
case INTEL_FAM6_ALDERLAKE_N:
107107
case INTEL_FAM6_RAPTORLAKE:
108108
case INTEL_FAM6_RAPTORLAKE_P:
109+
case INTEL_FAM6_RAPTORLAKE_S:
109110
if (idx == PERF_MSR_SMI || idx == PERF_MSR_PPERF)
110111
return true;
111112
break;

0 commit comments

Comments
 (0)