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>
Mon, 25 Feb 2013 14:30:43 +0000 (15:30 +0100)
commit60460abffc71523d65774f43ce1252972eeb0629
tree07c55cb6ad9d203c95a2fae8a2de4e0ea25e9a3e
parentf8669bef11fadfe811a5d7d59cb327499edac088
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