rk: dma-mapping: Add support DMA allocate memory without mapping
authorCMY <cmy@rock-chips.com>
Thu, 26 Jun 2014 03:18:23 +0000 (11:18 +0800)
committerCMY <cmy@rock-chips.com>
Thu, 26 Jun 2014 06:42:20 +0000 (14:42 +0800)
commit862c97fb0260087cd166321a13a83105834eef35
tree3c575fdb85e1edaa2eebc7aae5ecc6b16c5cac1a
parent6e577310c9a2ae7fed263b93986c71dab2834012
rk: dma-mapping: Add support DMA allocate memory without mapping

reserved DMA(CMA) regions may be large than 512MB for devices, placed it
in the highmem zone is appropriate, but according to the existing
mechanism, memory allocation with mapping will cause vmalloc area not
enough.

Now we don't do mapping if the DMA_ATTR_NO_KERNEL_MAPPING is set.
arch/arm/mm/dma-mapping.c