Merge "msm: pcie: add IOMMU_DEVICE for MMIO mapping"

This commit is contained in:
Linux Build Service Account 2017-05-26 00:10:27 -07:00 committed by Gerrit - the friendly Code Review server
commit cf2d68fe6a

View file

@ -5857,7 +5857,7 @@ static int msm_pcie_map_qgic_addr(struct msm_pcie_dev_t *dev,
}
ret = iommu_map(domain, iova, rounddown(dev->msi_gicm_addr, PAGE_SIZE),
PAGE_SIZE, IOMMU_READ | IOMMU_WRITE);
PAGE_SIZE, IOMMU_READ | IOMMU_WRITE | IOMMU_DEVICE);
if (ret < 0) {
PCIE_ERR(dev,
"PCIe: RC%d: ret: %d: Could not do iommu map for QGIC address\n",