]> git.karo-electronics.de Git - karo-tx-linux.git/commit
perf/x86/amd: Add IOMMU Performance Counter resource management
authorSteven L Kinney <Steven.Kinney@amd.com>
Wed, 5 Jun 2013 21:11:48 +0000 (16:11 -0500)
committerIngo Molnar <mingo@kernel.org>
Wed, 19 Jun 2013 11:04:52 +0000 (13:04 +0200)
commit30861ddc9cca479a7fc6a5efef4e5c69d6b274f4
tree69a11531b19c72b818c68a6b16e8854e563b7143
parentae0def05ed856343181bf1eca4fab3e09056df6d
perf/x86/amd: Add IOMMU Performance Counter resource management

Add functionality to check the availability of the AMD IOMMU Performance
Counters and export this functionality to other core drivers, such as in this
case, a perf AMD IOMMU PMU.  This feature is not bound to any specific AMD
family/model other than the presence of the IOMMU with P-C enabled.

The AMD IOMMU P-C support static counting only at this time.

Signed-off-by: Steven Kinney <steven.kinney@amd.com>
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1370466709-3212-2-git-send-email-suravee.suthikulpanit@amd.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/iommu/amd_iommu_init.c
drivers/iommu/amd_iommu_proto.h
drivers/iommu/amd_iommu_types.h