Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757514Ab3E1WpZ (ORCPT ); Tue, 28 May 2013 18:45:25 -0400 Received: from va3ehsobe001.messaging.microsoft.com ([216.32.180.11]:43953 "EHLO va3outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756794Ab3E1WpY (ORCPT ); Tue, 28 May 2013 18:45:24 -0400 X-Forefront-Antispam-Report: CIP:163.181.249.109;KIP:(null);UIP:(null);IPV:NLI;H:ausb3twp02.amd.com;RD:none;EFVD:NLI X-SpamScore: 0 X-BigFish: VPS0(zzzz1f42h1ee6h1de0h1fdah1202h1e76h1d1ah1d2ah1fc6hzz8275bhz2dh668h839hd24he5bhf0ah1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h1504h1537h162dh1631h1758h1898h18e1h1946h19b5h1ad9h1b0ah1d0ch1d2eh1d3fh1dc1h1155h) X-WSS-ID: 0MNJ5VJ-02-4PA-02 X-M-MSG: From: To: , , , , CC: Suravee Suthikulpanit Subject: [PATCH 0/2 V4] perf/x86/amd: IOMMU Performance Counter Support Date: Tue, 28 May 2013 17:45:10 -0500 Message-ID: <1369781112-2198-1-git-send-email-suravee.suthikulpanit@amd.com> X-Mailer: git-send-email 1.7.10.4 MIME-Version: 1.0 Content-Type: text/plain X-OriginatorOrg: amd.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1385 Lines: 37 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 -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/