Skip to content

Commit 95b0e65

Browse files
mszyprowtorvalds
authored andcommitted
ARM: mm: don't limit default CMA region only to low memory
DMA-mapping supports CMA regions places either in low or high memory, so there is no longer needed to limit default CMA regions only to low memory. The real limit is still defined by architecture specific DMA limit. Signed-off-by: Marek Szyprowski <[email protected]> Reported-by: Russell King - ARM Linux <[email protected]> Acked-by: Michal Nazarewicz <[email protected]> Cc: Daniel Drake <[email protected]> Cc: Minchan Kim <[email protected]> Cc: Joonsoo Kim <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent f7426b9 commit 95b0e65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/mm/init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ void __init arm_memblock_init(const struct machine_desc *mdesc)
322322
* reserve memory for DMA contigouos allocations,
323323
* must come from DMA area inside low memory
324324
*/
325-
dma_contiguous_reserve(min(arm_dma_limit, arm_lowmem_limit));
325+
dma_contiguous_reserve(arm_dma_limit);
326326

327327
arm_memblock_steal_permitted = false;
328328
memblock_dump_all();

0 commit comments

Comments
 (0)