mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
VT-d: adapt device attach and detach functions for IOMMU API
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
This commit is contained in:
parent
5d450806eb
commit
4c5478c94e
2 changed files with 15 additions and 16 deletions
|
@ -330,10 +330,6 @@ extern int qi_flush_iotlb(struct intel_iommu *iommu, u16 did, u64 addr,
|
|||
|
||||
extern void qi_submit_sync(struct qi_desc *desc, struct intel_iommu *iommu);
|
||||
|
||||
int intel_iommu_attach_device(struct dmar_domain *domain,
|
||||
struct pci_dev *pdev);
|
||||
void intel_iommu_detach_device(struct dmar_domain *domain,
|
||||
struct pci_dev *pdev);
|
||||
int intel_iommu_map_address(struct dmar_domain *domain, dma_addr_t iova,
|
||||
u64 hpa, size_t size, int prot);
|
||||
void intel_iommu_unmap_address(struct dmar_domain *domain,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue