diff options
| author | Linux Build Service Account <lnxbuild@quicinc.com> | 2017-05-26 00:10:27 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-05-26 00:10:27 -0700 |
| commit | cf2d68fe6a147a76ceb61d322dc667eebf07fbbd (patch) | |
| tree | 8f3719670e12a2715d7ea6401a1467f9d3da7953 | |
| parent | a24cba4428afd86aa94a15c96dec341e6d3ade9a (diff) | |
| parent | 327affb35fd3da94c4442340ac5020c1be40e617 (diff) | |
Merge "msm: pcie: add IOMMU_DEVICE for MMIO mapping"
| -rw-r--r-- | drivers/pci/host/pci-msm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/host/pci-msm.c b/drivers/pci/host/pci-msm.c index 8bb759d10074..1aebd49220b0 100644 --- a/drivers/pci/host/pci-msm.c +++ b/drivers/pci/host/pci-msm.c @@ -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", |
