Message ID | 20191121081538.3443236-4-vicamo.yang@canonical.com |
---|---|
State | New |
Headers | show |
Series | Add perf support for Comet Lake/Ice Lake CPU | expand |
diff --git a/arch/x86/events/msr.c b/arch/x86/events/msr.c index 9431447541e9..ddab9d68c1e9 100644 --- a/arch/x86/events/msr.c +++ b/arch/x86/events/msr.c @@ -89,6 +89,8 @@ static bool test_intel(int idx, void *data) case INTEL_FAM6_SKYLAKE_X: case INTEL_FAM6_KABYLAKE_MOBILE: case INTEL_FAM6_KABYLAKE_DESKTOP: + case INTEL_FAM6_COMETLAKE_L: + case INTEL_FAM6_COMETLAKE: case INTEL_FAM6_ICELAKE_MOBILE: if (idx == PERF_MSR_SMI || idx == PERF_MSR_PPERF) return true;