diff options
author | Shiraz Hashim <shashim@codeaurora.org> | 2015-06-05 20:11:40 +0530 |
---|---|---|
committer | Jeevan Shriram <jshriram@codeaurora.org> | 2016-05-18 13:37:50 -0700 |
commit | 0a5bb657737e3fae5cd18115c6ce7083f0b1f161 (patch) | |
tree | c5f44a2cb2979fb8b26a1d41d07cb2d520677332 /arch/mips/sgi-ip27 | |
parent | 8df0f9ec1df7b281f0a7a0f29321a90d19b3e381 (diff) |
arm64: mmu: dma remap fail with 1GB block mapping
The provision to map 1GB block, gives a problem during
dma_contiguous_remap when it attempts to remaps the dma
buffers into 4K. During this attempt to remap dma buffers
it overwrites pgd mapping for 1G block, thus leaving an
unmapped hole.
Managing remapping of dma regions with 1G block mapping is
difficult hence avoid mapping 1G block and switch to
SECTION_SIZE mapping (2MB) when memory region overlaps
with dma buffers range.
Change-Id: I2aa4119b3aeb328a2b95cf22656d2ec36012716f
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
Diffstat (limited to 'arch/mips/sgi-ip27')
0 files changed, 0 insertions, 0 deletions