Skip to content

Commit 6887a4d

Browse files
Kan LiangIngo Molnar
authored andcommitted
perf/x86/msr: Add Meteor Lake support
Meteor Lake is Intel's successor to Raptor lake. PPERF and SMI_COUNT MSRs are also supported. Signed-off-by: Kan Liang <kan.liang@linux.intel.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Reviewed-by: Andi Kleen <ak@linux.intel.com> Link: https://lore.kernel.org/r/20230104201349.1451191-7-kan.liang@linux.intel.com
1 parent 01f2ea5 commit 6887a4d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/x86/events/msr.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ static bool test_intel(int idx, void *data)
107107
case INTEL_FAM6_RAPTORLAKE:
108108
case INTEL_FAM6_RAPTORLAKE_P:
109109
case INTEL_FAM6_RAPTORLAKE_S:
110+
case INTEL_FAM6_METEORLAKE:
111+
case INTEL_FAM6_METEORLAKE_L:
110112
if (idx == PERF_MSR_SMI || idx == PERF_MSR_PPERF)
111113
return true;
112114
break;

0 commit comments

Comments
 (0)