From: Suravee Suthikulanit Subject: Re: [PATCH 0/2 V4] perf/x86/amd: IOMMU Performance Counter Support Date: Fri, 31 May 2013 18:08:53 -0500 Message-ID: <51A92D85.9040901@amd.com> References: <1369781112-2198-1-git-send-email-suravee.suthikulpanit@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1369781112-2198-1-git-send-email-suravee.suthikulpanit-5C7GfCeVMHo@public.gmane.org> 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: suravee.suthikulpanit-5C7GfCeVMHo@public.gmane.org, joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.org Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, mingo-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, a.p.zijlstra-/NLkJaSkS4VmR6Xm/wNWPw@public.gmane.org List-Id: iommu@lists.linux-foundation.org Jorge, Please let me know if you have any other questions/concerns. Thanks, Suravee On 5/28/2013 5:45 PM, suravee.suthikulpanit-5C7GfCeVMHo@public.gmane.org wrote: > From: Suravee Suthikulpanit > > 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 | 500 ++++++++++++++++++++++++++++ > 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, 694 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 >