diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-06 14:40:24 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-06 14:40:24 -0400 |
commit | 18fb92c30c766a5fb4593ecd0d9155b33d139e8e (patch) | |
tree | e644bd8491eddfec47ced2d3543c92fb84dfaee5 | |
parent | cade818463f8ae47e19466c2fe321fe30c3fe57e (diff) | |
parent | 8482716b9d865db34c55d4bf2fed19498e7195b9 (diff) |
Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull perf fixes from Ingo Molnar:
"This tree contains two fixes: new Intel CPU model numbers and an
AMD/iommu uncore PMU driver fix"
* 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
perf/x86/amd/iommu: Do not register a task ctx for uncore like PMUs
perf/x86: Add model numbers for Kabylake CPUs
-rw-r--r-- | arch/x86/events/amd/iommu.c | 1 | ||||
-rw-r--r-- | arch/x86/events/intel/core.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/events/amd/iommu.c b/arch/x86/events/amd/iommu.c index 40625ca7a190..6011a573dd64 100644 --- a/arch/x86/events/amd/iommu.c +++ b/arch/x86/events/amd/iommu.c | |||
@@ -474,6 +474,7 @@ static __init int _init_perf_amd_iommu( | |||
474 | 474 | ||
475 | static struct perf_amd_iommu __perf_iommu = { | 475 | static struct perf_amd_iommu __perf_iommu = { |
476 | .pmu = { | 476 | .pmu = { |
477 | .task_ctx_nr = perf_invalid_context, | ||
477 | .event_init = perf_iommu_event_init, | 478 | .event_init = perf_iommu_event_init, |
478 | .add = perf_iommu_add, | 479 | .add = perf_iommu_add, |
479 | .del = perf_iommu_del, | 480 | .del = perf_iommu_del, |
diff --git a/arch/x86/events/intel/core.c b/arch/x86/events/intel/core.c index aff79884e17d..a6fd4dbcf820 100644 --- a/arch/x86/events/intel/core.c +++ b/arch/x86/events/intel/core.c | |||
@@ -3637,6 +3637,8 @@ __init int intel_pmu_init(void) | |||
3637 | pr_cont("Knights Landing events, "); | 3637 | pr_cont("Knights Landing events, "); |
3638 | break; | 3638 | break; |
3639 | 3639 | ||
3640 | case 142: /* 14nm Kabylake Mobile */ | ||
3641 | case 158: /* 14nm Kabylake Desktop */ | ||
3640 | case 78: /* 14nm Skylake Mobile */ | 3642 | case 78: /* 14nm Skylake Mobile */ |
3641 | case 94: /* 14nm Skylake Desktop */ | 3643 | case 94: /* 14nm Skylake Desktop */ |
3642 | case 85: /* 14nm Skylake Server */ | 3644 | case 85: /* 14nm Skylake Server */ |