aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/intel-iommu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/intel-iommu.h')
-rw-r--r--include/linux/intel-iommu.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/include/linux/intel-iommu.h b/include/linux/intel-iommu.h
index 06349fd5871b..07973c4e4acc 100644
--- a/include/linux/intel-iommu.h
+++ b/include/linux/intel-iommu.h
@@ -330,15 +330,17 @@ extern int qi_flush_iotlb(struct intel_iommu *iommu, u16 did, u64 addr,
330 330
331extern void qi_submit_sync(struct qi_desc *desc, struct intel_iommu *iommu); 331extern void qi_submit_sync(struct qi_desc *desc, struct intel_iommu *iommu);
332 332
333void intel_iommu_domain_exit(struct dmar_domain *domain); 333struct dmar_domain *intel_iommu_alloc_domain(void);
334struct dmar_domain *intel_iommu_domain_alloc(struct pci_dev *pdev); 334void intel_iommu_free_domain(struct dmar_domain *domain);
335int intel_iommu_context_mapping(struct dmar_domain *domain, 335int intel_iommu_attach_device(struct dmar_domain *domain,
336 struct pci_dev *pdev); 336 struct pci_dev *pdev);
337int intel_iommu_page_mapping(struct dmar_domain *domain, dma_addr_t iova, 337void intel_iommu_detach_device(struct dmar_domain *domain,
338 u64 hpa, size_t size, int prot); 338 struct pci_dev *pdev);
339void intel_iommu_detach_dev(struct dmar_domain *domain, u8 bus, u8 devfn); 339int intel_iommu_map_address(struct dmar_domain *domain, dma_addr_t iova,
340struct dmar_domain *intel_iommu_find_domain(struct pci_dev *pdev); 340 u64 hpa, size_t size, int prot);
341u64 intel_iommu_iova_to_pfn(struct dmar_domain *domain, u64 iova); 341void intel_iommu_unmap_address(struct dmar_domain *domain,
342 dma_addr_t iova, size_t size);
343u64 intel_iommu_iova_to_phys(struct dmar_domain *domain, u64 iova);
342 344
343#ifdef CONFIG_DMAR 345#ifdef CONFIG_DMAR
344int intel_iommu_found(void); 346int intel_iommu_found(void);