Skip to content
Commit 39f78e70 authored by Chris Brand's avatar Chris Brand Committed by Marek Szyprowski
Browse files

ARM: mm: fix MMU mapping of CMA regions



Fix dma_contiguous_remap() so that it continues through all the
regions, even after encountering one that is outside lowmem.
Without this change, if you have two CMA regions, the first outside
lowmem and the seocnd inside lowmem, only the second one will get
set up in the MMU. Data written to that region then doesn't get
automatically flushed from the cache into memory.

Signed-off-by: default avatarChris Brand <cbrand@broadcom.com>
[extended patch subject with 'fix' word]
Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
parent 0d7614f0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment