ARM: MMU: fix arch_remap_range() across section boundaries
Fixes: e3e54c6441 ARM: mmu: Implement on-demand PTE allocation

PGD_FLAGS_WC_V7 lacks the PMD_TYPE_SECT and PMD_SECT_BUFFERABLE flags.
Without them a dma_alloc_writecombine() creates an invalid section when
it crosses a section boundary.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
1 parent 1c1121f commit 4996ed5efbb2d7cd38a17fe456f8da820f1a1ef3
@Sascha Hauer Sascha Hauer authored on 10 Jul 2018
Lucas Stach committed on 27 Jul 2018
Showing 1 changed file
View
arch/arm/cpu/mmu.c