Skip to content

Commit 18fb92c

Browse files
committed
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
2 parents cade818 + 8482716 commit 18fb92c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

arch/x86/events/amd/iommu.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,7 @@ static __init int _init_perf_amd_iommu(
474474

475475
static struct perf_amd_iommu __perf_iommu = {
476476
.pmu = {
477+
.task_ctx_nr = perf_invalid_context,
477478
.event_init = perf_iommu_event_init,
478479
.add = perf_iommu_add,
479480
.del = perf_iommu_del,

arch/x86/events/intel/core.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3637,6 +3637,8 @@ __init int intel_pmu_init(void)
36373637
pr_cont("Knights Landing events, ");
36383638
break;
36393639

3640+
case 142: /* 14nm Kabylake Mobile */
3641+
case 158: /* 14nm Kabylake Desktop */
36403642
case 78: /* 14nm Skylake Mobile */
36413643
case 94: /* 14nm Skylake Desktop */
36423644
case 85: /* 14nm Skylake Server */

0 commit comments

Comments
 (0)