Merge branches 'amd/fixes', 'debug/dma-api', 'arm/omap', 'arm/msm', 'core', 'iommu/fault-reporting' and 'api/iommu-ops-per-bus' into next
Conflicts: drivers/iommu/amd_iommu.c drivers/iommu/iommu.c
This commit is contained in:
@@ -1283,7 +1283,7 @@ static int alloc_new_range(struct dma_ops_domain *dma_dom,
|
||||
if (!pte || !IOMMU_PTE_PRESENT(*pte))
|
||||
continue;
|
||||
|
||||
dma_ops_reserve_addresses(dma_dom, i << PAGE_SHIFT, 1);
|
||||
dma_ops_reserve_addresses(dma_dom, i >> PAGE_SHIFT, 1);
|
||||
}
|
||||
|
||||
update_domain(&dma_dom->domain);
|
||||
@@ -2495,7 +2495,7 @@ static unsigned device_dma_ops_init(void)
|
||||
|
||||
void __init amd_iommu_init_api(void)
|
||||
{
|
||||
register_iommu(&amd_iommu_ops);
|
||||
bus_set_iommu(&pci_bus_type, &amd_iommu_ops);
|
||||
}
|
||||
|
||||
int __init amd_iommu_init_dma_ops(void)
|
||||
|
Reference in New Issue
Block a user