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

Commit 761240d9 authored by Charan Teja Reddy's avatar Charan Teja Reddy
Browse files

arm: make default iova alignment as 2mb



To get the 2MB aligned IOVA section mappings, set
ARM_DMA_IOMMU_ALIGNMENT to 9.

Change-Id: I3254c39e4864c32d6f25a4d416b1b7aec6756ecd
Signed-off-by: default avatarCharan Teja Reddy <charante@codeaurora.org>
parent 2d7dfcc3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -117,7 +117,7 @@ if ARM_DMA_USE_IOMMU
config ARM_DMA_IOMMU_ALIGNMENT
	int "Maximum PAGE_SIZE order of alignment for DMA IOMMU buffers"
	range 4 9
	default 8
	default 9
	help
	  DMA mapping framework by default aligns all buffers to the smallest
	  PAGE_SIZE order which is greater than or equal to the requested buffer