]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: dma-mapping: Add maximum alignment order for dma iommu buffers
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 6 Feb 2013 04:21:14 +0000 (13:21 +0900)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 6 Feb 2013 09:20:59 +0000 (10:20 +0100)
commitd4e87bfbea4087cbd1747ce01aaa74abe6bac326
tree3ce96cbd76ebf623ec4f9049126c4a5969b43494
parentc69351414e8b68573accbe10dd28ddc7de368aa5
ARM: dma-mapping: Add maximum alignment order for dma iommu buffers

Alignment order for a dma iommu buffer is set by buffer size. For
large buffer, it is a waste of iommu address space. So configurable
parameter to limit maximum alignment order can reduce the waste.

Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Kyungmin.park <kyungmin.park@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
arch/arm/Kconfig
arch/arm/mm/dma-mapping.c