Messages in this thread | | | From | "Kinney, Steven" <> | 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 |
| |
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
| |