From: "Kinney, Steven" <Steven.Kinney@amd.com>
To: Joerg Roedel <joro@8bytes.org>
Cc: Joerg Roedel <bhelgaas@google.com>,
Kukjin Kim <kgene.kim@samsung.com>,
Stephen Warren <swarren@wwwdotorg.org>,
Jiri Kosina <jkosina@suse.cz>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"iommu@lists.linux-foundation.org"
<iommu@lists.linux-foundation.org>,
"Hurwitz, Sherry" <sherry.hurwitz@amd.com>
Subject: RE: [PATCH 1/1] iommuv2/amd: Enable Performance Counters On Family 15h Models 10h-1Fh
Date: Sun, 2 Dec 2012 21:55:09 +0000 [thread overview]
Message-ID: <57D41218901B4442B4AFF404D215911636ABC6@sausexdag02.amd.com> (raw)
In-Reply-To: <20121202133026.GN30633@8bytes.org>
Hi Joerg,
I didn't want to expose the internals of the IOMMU, so I decided to export the function(s) so that the perf IOMMUv2 PMU can make call(s) into the IOMMU core to request PC resources. The perf_event_amd_iommuv2.h defines the prototype for the added PC functionality. I have the perf IOMMUv2 PMU working and counting IOMMUv2 PC events using this interface, but if you have a suggestion to make this implementation more robust, I will accommodate the suggestion. Also, if it would be helpful, I can submit the perf IOMMUv2 PMU patches.
BTW, I am resubmitting this patch since I caught a function signature error; was changing the code based on Boris's suggestion(s) and forgot to add the variable type (bool) concerning the 'is_write' parameter.
Hope all is well with you and the team; we miss you guys!
Regards,
Steve
-----Original Message-----
From: Joerg Roedel [mailto:joro@8bytes.org]
Sent: Sunday, December 02, 2012 7:30 AM
To: Kinney, Steven
Cc: Joerg Roedel; Kukjin Kim; Stephen Warren; Jiri Kosina; linux-kernel@vger.kernel.org; iommu@lists.linux-foundation.org
Subject: Re: [PATCH 1/1] iommuv2/amd: Enable Performance Counters On Family 15h Models 10h-1Fh
On Mon, Nov 26, 2012 at 04:00:25PM -0600, Steven Kinney wrote:
> From: "Steven L. Kinney" <steven.kinney@amd.com>
>
> Add Kernel configuration selection for AMD IOMMUv2 performance
> counters.
How can the counters be used?
Joerg
next prev parent reply other threads:[~2012-12-02 21:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-26 22:00 Steven Kinney
2012-12-02 13:30 ` Joerg Roedel
2012-12-02 21:55 ` Kinney, Steven [this message]
2012-12-04 22:19 Steven Kinney
2012-12-06 10:32 ` Joerg Roedel
2012-12-06 17:07 ` Kinney, Steven
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=57D41218901B4442B4AFF404D215911636ABC6@sausexdag02.amd.com \
--to=steven.kinney@amd.com \
--cc=bhelgaas@google.com \
--cc=iommu@lists.linux-foundation.org \
--cc=jkosina@suse.cz \
--cc=joro@8bytes.org \
--cc=kgene.kim@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sherry.hurwitz@amd.com \
--cc=swarren@wwwdotorg.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®