diff options
| -rw-r--r-- | arch/x86/events/msr.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/events/msr.c b/arch/x86/events/msr.c index 83cf13e368cd..50b3a056f96b 100644 --- a/arch/x86/events/msr.c +++ b/arch/x86/events/msr.c | |||
| @@ -40,6 +40,7 @@ static bool test_intel(int idx) | |||
| 40 | case INTEL_FAM6_NEHALEM_EX: | 40 | case INTEL_FAM6_NEHALEM_EX: |
| 41 | 41 | ||
| 42 | case INTEL_FAM6_WESTMERE: | 42 | case INTEL_FAM6_WESTMERE: |
| 43 | case INTEL_FAM6_WESTMERE2: | ||
| 43 | case INTEL_FAM6_WESTMERE_EP: | 44 | case INTEL_FAM6_WESTMERE_EP: |
| 44 | case INTEL_FAM6_WESTMERE_EX: | 45 | case INTEL_FAM6_WESTMERE_EX: |
| 45 | 46 | ||
| @@ -68,6 +69,9 @@ static bool test_intel(int idx) | |||
| 68 | 69 | ||
| 69 | case INTEL_FAM6_SKYLAKE_MOBILE: | 70 | case INTEL_FAM6_SKYLAKE_MOBILE: |
| 70 | case INTEL_FAM6_SKYLAKE_DESKTOP: | 71 | case INTEL_FAM6_SKYLAKE_DESKTOP: |
| 72 | case INTEL_FAM6_SKYLAKE_X: | ||
| 73 | case INTEL_FAM6_KABYLAKE_MOBILE: | ||
| 74 | case INTEL_FAM6_KABYLAKE_DESKTOP: | ||
| 71 | if (idx == PERF_MSR_SMI || idx == PERF_MSR_PPERF) | 75 | if (idx == PERF_MSR_SMI || idx == PERF_MSR_PPERF) |
| 72 | return true; | 76 | return true; |
| 73 | break; | 77 | break; |
