Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8aa6b7de authored by Kyle Yan's avatar Kyle Yan Committed by Gerrit - the friendly Code Review server
Browse files

Merge "iommu: msm: Provide the IOMMU_NOEXEC flag explicitly during mapping" into msm-4.8

parents d75475f6 c256bd48
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1305,7 +1305,7 @@ __iommu_create_mapping(struct device *dev, struct page **pages, size_t size)

		len = (j - i) << PAGE_SHIFT;
		ret = iommu_map(mapping->domain, iova, phys, len,
				IOMMU_READ|IOMMU_WRITE);
				IOMMU_READ|IOMMU_WRITE|IOMMU_NOEXEC);
		if (ret < 0)
			goto fail;
		iova += len;