Catalin Marinas 2d5a5612bc arm64: Limit the CMA buffer to 32-bit if ZONE_DMA
When the CMA buffer is allocated, it is too early to know whether
devices will require ZONE_DMA memory. This patch limits the CMA buffer
to (DMA_BIT_MASK(32) + 1) if CONFIG_ZONE_DMA is enabled.

In addition, it computes the dma_to_phys(DMA_BIT_MASK(32)) before the
increment (no current functional change).

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2014-06-18 12:40:56 +01:00
..
2012-09-17 13:41:58 +01:00
2013-06-07 17:58:30 +01:00
2014-04-07 16:36:15 -07:00
2013-06-07 17:58:30 +01:00
2013-07-10 18:11:34 -07:00
2014-02-05 10:45:07 +00:00