From: Subject: [PATCH 0/2 V5] perf/x86/amd: IOMMU Performance Counter Support Date: Wed, 5 Jun 2013 16:11:47 -0500 Message-ID: <1370466709-3212-1-git-send-email-suravee.suthikulpanit@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, a.p.zijlstra-/NLkJaSkS4VmR6Xm/wNWPw@public.gmane.org, mingo-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.org List-Id: iommu@lists.linux-foundation.org From: Suravee Suthikulpanit 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