Message ID | 20191127080215.203148-5-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 ddab9d68c1e9..48d2571e5863 100644 --- a/arch/x86/events/msr.c +++ b/arch/x86/events/msr.c @@ -92,6 +92,9 @@ static bool test_intel(int idx, void *data) case INTEL_FAM6_COMETLAKE_L: case INTEL_FAM6_COMETLAKE: case INTEL_FAM6_ICELAKE_MOBILE: + case INTEL_FAM6_ICELAKE_DESKTOP: + case INTEL_FAM6_ICELAKE_X: + case INTEL_FAM6_ICELAKE_XEON_D: if (idx == PERF_MSR_SMI || idx == PERF_MSR_PPERF) return true; break;