kernel_optimize_test/arch/x86/events/amd
Peter Zijlstra 8482716b9d perf/x86/amd/iommu: Do not register a task ctx for uncore like PMUs
The new sanity check introduced by:

  2665784850 ("perf/core: Verify we have a single perf_hw_context PMU")

... triggered on the AMD IOMMU driver.

IOMMUs are not per logical CPU, they cannot have per-task counters. Fix it.

Reported-by: Borislav Petkov <bp@alien8.de>
Tested-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Cc: jroedel@suse.de
Cc: suravee.suthikulpanit@amd.com
Link: http://lkml.kernel.org/r/20160423224255.GB3430@twins.programming.kicks-ass.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2016-05-05 10:11:28 +02:00
..
core.c perf/x86/amd: Set the size of event map array to PERF_COUNT_HW_MAX 2016-04-28 10:20:25 +02:00
ibs.c perf/x86/amd/ibs: Fix pmu::stop() nesting 2016-03-31 09:54:08 +02:00
iommu.c perf/x86/amd/iommu: Do not register a task ctx for uncore like PMUs 2016-05-05 10:11:28 +02:00
iommu.h
power.c perf/x86/amd/power: Add AMD accumulated power reporting mechanism 2016-03-21 09:37:15 +01:00
uncore.c