Messages in this thread | | | From | <> | Subject | [PATCH 0/2 V5] perf/x86/amd: IOMMU Performance Counter Support | Date | Wed, 5 Jun 2013 16:11:47 -0500 |
| |
From: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
NOTE: Please see individual patch for changes list.
These patches implement the AMD IOMMU Performance Counter functionality via custom perf PMU and implement static counting for various IOMMU translations.
1) Extend the AMD IOMMU initialization to include performance counter enablement.
2) The perf AMD IOMMU PMU to manage performance counters, which interface with the AMD IOMMU core driver.
Steven L Kinney (1): perf/x86/amd: Adding IOMMU PC resource management
Suravee Suthikulpanit (1): perf/x86/amd: AMD IOMMU PC PERF uncore PMU implementation
arch/x86/kernel/cpu/Makefile | 4 + arch/x86/kernel/cpu/perf_event_amd_iommu.c | 504 ++++++++++++++++++++++++++++ arch/x86/kernel/cpu/perf_event_amd_iommu.h | 40 +++ drivers/iommu/amd_iommu_init.c | 140 +++++++- drivers/iommu/amd_iommu_proto.h | 7 + drivers/iommu/amd_iommu_types.h | 15 +- 6 files changed, 698 insertions(+), 12 deletions(-) create mode 100644 arch/x86/kernel/cpu/perf_event_amd_iommu.c create mode 100644 arch/x86/kernel/cpu/perf_event_amd_iommu.h
-- 1.7.10.4
| |