diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2011-11-21 09:59:08 -0500 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2011-12-12 09:19:03 -0500 |
commit | 22e266c79b5bd5441243863c89ea237e6e845295 (patch) | |
tree | 665f0dc9f3ebbd6c7bda7917eb1dbbfc78bb49d0 /drivers/iommu/amd_iommu_proto.h | |
parent | 52815b75682e25db45545911fd2b09ef5856e695 (diff) |
iommu/amd: Implement IOMMUv2 TLB flushing routines
The functions added with this patch allow to manage the
IOMMU and the device TLBs for all devices in an IOMMUv2
domain.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'drivers/iommu/amd_iommu_proto.h')
-rw-r--r-- | drivers/iommu/amd_iommu_proto.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/iommu/amd_iommu_proto.h b/drivers/iommu/amd_iommu_proto.h index d207b1d951b2..a92dc6117e2f 100644 --- a/drivers/iommu/amd_iommu_proto.h +++ b/drivers/iommu/amd_iommu_proto.h | |||
@@ -40,6 +40,9 @@ extern int amd_iommu_register_ppr_notifier(struct notifier_block *nb); | |||
40 | extern int amd_iommu_unregister_ppr_notifier(struct notifier_block *nb); | 40 | extern int amd_iommu_unregister_ppr_notifier(struct notifier_block *nb); |
41 | extern void amd_iommu_domain_direct_map(struct iommu_domain *dom); | 41 | extern void amd_iommu_domain_direct_map(struct iommu_domain *dom); |
42 | extern int amd_iommu_domain_enable_v2(struct iommu_domain *dom, int pasids); | 42 | extern int amd_iommu_domain_enable_v2(struct iommu_domain *dom, int pasids); |
43 | extern int amd_iommu_flush_page(struct iommu_domain *dom, int pasid, | ||
44 | u64 address); | ||
45 | extern int amd_iommu_flush_tlb(struct iommu_domain *dom, int pasid); | ||
43 | 46 | ||
44 | #ifndef CONFIG_AMD_IOMMU_STATS | 47 | #ifndef CONFIG_AMD_IOMMU_STATS |
45 | 48 | ||