arm: dma-mapping: support DMA_ATTR_ALLOC_EXACT_SIZE
authorVandana Salve <vsalve@nvidia.com>
Thu, 21 Nov 2013 11:18:20 +0000 (16:18 +0530)
committerHiroshi Doyu <hdoyu@nvidia.com>
Fri, 29 Nov 2013 07:02:26 +0000 (23:02 -0800)
commit13b56806367136be7ad32214469dfe8778a1dc16
tree9b269a83fbad3b4e76696b25cd1b224b921d6069
parentf5427b266fe43a53997dcaf7ec19b5e87a84033a
arm: dma-mapping: support DMA_ATTR_ALLOC_EXACT_SIZE

This new attribute can handle allocation & release of
memory of exact sizes by making call to attr version
of dma_alloc_from_coherent/dma_release_from_coherent

bug 1380639

Change-Id: I2af8c8131ff552ae5e0ac3a628139318b3395a73
Signed-off-by: Vandana Salve <vsalve@nvidia.com>
Reviewed-on: http://git-master/r/334000
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
Tested-by: Hiroshi Doyu <hdoyu@nvidia.com>
arch/arm/mm/dma-mapping.c