Merge "msm: pcie: add IOMMU_DEVICE for MMIO mapping"
This commit is contained in:
commit
cf2d68fe6a
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue