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:[email protected]] 
Sent: Sunday, December 02, 2012 7:30 AM
To: Kinney, Steven
Cc: Joerg Roedel; Kukjin Kim; Stephen Warren; Jiri Kosina; 
[email protected]; [email protected]
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" <[email protected]>
> 
> Add Kernel configuration selection for AMD IOMMUv2 performance 
> counters.

How can the counters be used?


        Joerg




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to