From: Konrad Rzeszutek Wilk <konrad.wilk-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
To: "Steven L. Kinney" <steven.kinney-5C7GfCeVMHo@public.gmane.org>
Cc: Kukjin Kim <kgene.kim-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>,
Peter Zijlstra
<a.p.zijlstra-/NLkJaSkS4VmR6Xm/wNWPw@public.gmane.org>,
Myron Stowe <myron.stowe-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>,
Greg Kroah-Hartman
<gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>,
x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Andi Kleen <ak-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>,
iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org,
Ingo Molnar <mingo-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
Paul Mackerras <paulus-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>,
Arnaldo Carvalho de Melo
<acme-f8uhVLnGfZaxAyOMLChx1axOck334EZe@public.gmane.org>,
"H. Peter Anvin" <hpa-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>,
Cyrill Gorcunov
<gorcunov-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>,
Jiri Kosina <jkosina-AlSwsSmVLrQ@public.gmane.org>,
Thomas Gleixner <tglx-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>,
Bjorn Helgaas <bhelgaas-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>,
Thomas Renninger <trenn-l3A5Bk7waGM@public.gmane.org>,
Sebastian Andrzej Siewior
<sebastian-E0PNVn5OA6ohrxcnuTQ+TQ@public.gmane.org>
Subject: Re: [PATCH 0/3] AMD IOMMUv2 Performance Counter patches
Date: Tue, 22 Jan 2013 12:48:03 -0500 [thread overview]
Message-ID: <20130122174803.GF8365@phenom.dumpdata.com> (raw)
In-Reply-To: <1358799658-6236-1-git-send-email-steven.kinney-5C7GfCeVMHo@public.gmane.org>
On Mon, Jan 21, 2013 at 02:20:55PM -0600, Steven L. Kinney wrote:
> From: "Steven L. Kinney" <steven.kinney-5C7GfCeVMHo@public.gmane.org>
>
> These patches implement the AMD IOMMUv2.5 Performance Counter functionality
> via custom perf PMU and implement static counting for various IOMMU
> translations. The patches address three areas of functionality:
>
> 1) Add a PCI quirk for the enablement of IOMMUv2 EFR PC within a specific
> AMD family/model in which BIOS has not enabled. Based on code
> implemented by Andreas Herrmann at AMD Dresden.
> 2) Extend the AMD IOMMU initialization to include IOMMUv2 PC enablement
> and access to IOMMUv2 counter registers. For all AMD family/models
> that implement IOMMUv2.5 functionality.
> 3) Code the perf IOMMUv2 PMU to manage IOMMUv2 perf events, which call
> the function(s) extending the AMD IOMMU core driver. For all AMD
> family/models that implement IOMMUv2.5 functionality.
>
> The command-line, to invoke the iommuv2 PMU, is:
>
> perf stat -e iommuv2/config=[data],config1=[data]/{u,r} [command]
>
> For information regarding AMD IOMMU v2.5 PC configuration, see the public
> specification.
Is there a name for it? I see
http://support.amd.com/us/Processor_TechDocs/48882.pdf
but that looks to be for v2.0?
>
> Steven L. Kinney (3):
> AMD x86 quirks: Quirk for enabling IOMMUv2 PC feature
> AMD IOMMUv2 PC resource management hooks
> AMD IOMMUv2 PC perf PMU implementation
>
> arch/x86/kernel/cpu/Makefile | 1 +
> arch/x86/kernel/cpu/perf_event_amd_iommuv2.c | 429 ++++++++++++++++++++++++++
> arch/x86/kernel/cpu/perf_event_amd_iommuv2.h | 42 +++
> arch/x86/kernel/quirks.c | 17 +
> drivers/iommu/Kconfig | 10 +
> drivers/iommu/amd_iommu_init.c | 99 ++++++
> drivers/iommu/amd_iommu_types.h | 12 +
> include/linux/pci_ids.h | 2 +
> 8 files changed, 612 insertions(+)
> create mode 100644 arch/x86/kernel/cpu/perf_event_amd_iommuv2.c
> create mode 100644 arch/x86/kernel/cpu/perf_event_amd_iommuv2.h
>
> --
> 1.7.9.5
>
>
> _______________________________________________
> iommu mailing list
> iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
> https://lists.linuxfoundation.org/mailman/listinfo/iommu
WARNING: multiple messages have this Message-ID (diff)
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: "Steven L. Kinney" <steven.kinney@amd.com>
Cc: Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
x86@kernel.org, Joerg Roedel <joro@8bytes.org>,
Kukjin Kim <kgene.kim@samsung.com>,
Peter Zijlstra <a.p.zijlstra@chello.nl>,
Stephen Warren <swarren@wwwdotorg.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org,
Cyrill Gorcunov <gorcunov@openvz.org>,
Sebastian Andrzej Siewior <sebastian@breakpoint.cc>,
Andi Kleen <ak@linux.intel.com>,
Paul Mackerras <paulus@samba.org>,
Arnaldo Carvalho de Melo <acme@ghostprotocols.net>,
Jiri Kosina <jkosina@suse.cz>,
Bjorn Helgaas <bhelgaas@google.com>,
Myron Stowe <myron.stowe@redhat.com>,
Thomas Renninger <trenn@suse.de>
Subject: Re: [PATCH 0/3] AMD IOMMUv2 Performance Counter patches
Date: Tue, 22 Jan 2013 12:48:03 -0500 [thread overview]
Message-ID: <20130122174803.GF8365@phenom.dumpdata.com> (raw)
In-Reply-To: <1358799658-6236-1-git-send-email-steven.kinney@amd.com>
On Mon, Jan 21, 2013 at 02:20:55PM -0600, Steven L. Kinney wrote:
> From: "Steven L. Kinney" <steven.kinney@amd.com>
>
> These patches implement the AMD IOMMUv2.5 Performance Counter functionality
> via custom perf PMU and implement static counting for various IOMMU
> translations. The patches address three areas of functionality:
>
> 1) Add a PCI quirk for the enablement of IOMMUv2 EFR PC within a specific
> AMD family/model in which BIOS has not enabled. Based on code
> implemented by Andreas Herrmann at AMD Dresden.
> 2) Extend the AMD IOMMU initialization to include IOMMUv2 PC enablement
> and access to IOMMUv2 counter registers. For all AMD family/models
> that implement IOMMUv2.5 functionality.
> 3) Code the perf IOMMUv2 PMU to manage IOMMUv2 perf events, which call
> the function(s) extending the AMD IOMMU core driver. For all AMD
> family/models that implement IOMMUv2.5 functionality.
>
> The command-line, to invoke the iommuv2 PMU, is:
>
> perf stat -e iommuv2/config=[data],config1=[data]/{u,r} [command]
>
> For information regarding AMD IOMMU v2.5 PC configuration, see the public
> specification.
Is there a name for it? I see
http://support.amd.com/us/Processor_TechDocs/48882.pdf
but that looks to be for v2.0?
>
> Steven L. Kinney (3):
> AMD x86 quirks: Quirk for enabling IOMMUv2 PC feature
> AMD IOMMUv2 PC resource management hooks
> AMD IOMMUv2 PC perf PMU implementation
>
> arch/x86/kernel/cpu/Makefile | 1 +
> arch/x86/kernel/cpu/perf_event_amd_iommuv2.c | 429 ++++++++++++++++++++++++++
> arch/x86/kernel/cpu/perf_event_amd_iommuv2.h | 42 +++
> arch/x86/kernel/quirks.c | 17 +
> drivers/iommu/Kconfig | 10 +
> drivers/iommu/amd_iommu_init.c | 99 ++++++
> drivers/iommu/amd_iommu_types.h | 12 +
> include/linux/pci_ids.h | 2 +
> 8 files changed, 612 insertions(+)
> create mode 100644 arch/x86/kernel/cpu/perf_event_amd_iommuv2.c
> create mode 100644 arch/x86/kernel/cpu/perf_event_amd_iommuv2.h
>
> --
> 1.7.9.5
>
>
> _______________________________________________
> iommu mailing list
> iommu@lists.linux-foundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/iommu
next prev parent reply other threads:[~2013-01-22 17:48 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-21 20:20 [PATCH 0/3] AMD IOMMUv2 Performance Counter patches Steven L. Kinney
2013-01-21 20:20 ` Steven L. Kinney
[not found] ` <1358799658-6236-1-git-send-email-steven.kinney-5C7GfCeVMHo@public.gmane.org>
2013-01-21 20:20 ` [PATCH 1/3] AMD x86 quirks: Quirk for enabling IOMMUv2 PC feature Steven L. Kinney
2013-01-21 20:20 ` Steven L. Kinney
[not found] ` <1358799658-6236-2-git-send-email-steven.kinney-5C7GfCeVMHo@public.gmane.org>
2013-01-28 14:29 ` Joerg Roedel
2013-01-28 14:29 ` Joerg Roedel
2013-01-28 14:59 ` Kinney, Steven
[not found] ` <57D41218901B4442B4AFF404D21591163C2D4E-Vo+W8YXarribnmZ2XWmV+UEOCMrvLtNR@public.gmane.org>
2013-01-28 15:36 ` Joerg Roedel
2013-01-28 15:36 ` Joerg Roedel
2013-01-21 20:20 ` [PATCH 2/3] AMD IOMMUv2 PC resource management hooks Steven L. Kinney
2013-01-21 20:20 ` Steven L. Kinney
2013-01-21 21:32 ` Cyrill Gorcunov
2013-01-21 21:47 ` Kinney, Steven
2013-01-21 21:47 ` Kinney, Steven
2013-01-21 21:52 ` Cyrill Gorcunov
2013-01-21 20:20 ` [PATCH 3/3] AMD IOMMUv2 PC perf PMU implementation Steven L. Kinney
2013-01-21 20:20 ` Steven L. Kinney
2013-01-22 17:48 ` Konrad Rzeszutek Wilk [this message]
2013-01-22 17:48 ` [PATCH 0/3] AMD IOMMUv2 Performance Counter patches Konrad Rzeszutek Wilk
[not found] ` <20130122174803.GF8365-6K5HmflnPlqSPmnEAIUT9EEOCMrvLtNR@public.gmane.org>
2013-01-22 18:26 ` Kinney, Steven
2013-01-22 18:26 ` Kinney, Steven
-- strict thread matches above, loose matches on Subject: below --
2013-01-21 20:18 Steven L. Kinney
2013-01-21 20:18 ` Steven L. Kinney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130122174803.GF8365@phenom.dumpdata.com \
--to=konrad.wilk-qhclzuegtsvqt0dzr+alfa@public.gmane.org \
--cc=a.p.zijlstra-/NLkJaSkS4VmR6Xm/wNWPw@public.gmane.org \
--cc=acme-f8uhVLnGfZaxAyOMLChx1axOck334EZe@public.gmane.org \
--cc=ak-VuQAYsv1563Yd54FQh9/CA@public.gmane.org \
--cc=bhelgaas-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org \
--cc=gorcunov-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org \
--cc=gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org \
--cc=hpa-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org \
--cc=iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
--cc=jkosina-AlSwsSmVLrQ@public.gmane.org \
--cc=kgene.kim-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mingo-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=myron.stowe-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=paulus-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org \
--cc=sebastian-E0PNVn5OA6ohrxcnuTQ+TQ@public.gmane.org \
--cc=steven.kinney-5C7GfCeVMHo@public.gmane.org \
--cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org \
--cc=tglx-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org \
--cc=trenn-l3A5Bk7waGM@public.gmane.org \
--cc=x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.