From bb7d10aa8ec2ea947ad70b3341df59bfb973a1be Mon Sep 17 00:00:00 2001 From: Charan Teja Reddy Date: Thu, 13 Apr 2017 10:52:53 +0530 Subject: [PATCH] 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: Charan Teja Reddy Signed-off-by: Vijayanand Jitta Signed-off-by: Qingqing Zhou --- arch/arm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 377f503f3a23..1ba97dbe1d66 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -144,7 +144,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