]> Pileus Git - ~andy/linux/blobdiff - drivers/iommu/amd_iommu_proto.h
Merge branch 'fix/asoc' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
[~andy/linux] / drivers / iommu / amd_iommu_proto.h
index a951a7090e357b96f1f1a61f6c7ccb81a07079bc..1a7f41c6cc66b4eff17092ef62d46a41f93d676d 100644 (file)
@@ -46,7 +46,14 @@ extern int amd_iommu_flush_tlb(struct iommu_domain *dom, int pasid);
 extern int amd_iommu_domain_set_gcr3(struct iommu_domain *dom, int pasid,
                                     unsigned long cr3);
 extern int amd_iommu_domain_clear_gcr3(struct iommu_domain *dom, int pasid);
+extern struct iommu_domain *amd_iommu_get_v2_domain(struct pci_dev *pdev);
 
+#define PPR_SUCCESS                    0x0
+#define PPR_INVALID                    0x1
+#define PPR_FAILURE                    0xf
+
+extern int amd_iommu_complete_ppr(struct pci_dev *pdev, int pasid,
+                                 int status, int tag);
 
 #ifndef CONFIG_AMD_IOMMU_STATS