commit | 4f894b99a7e2408d1bc656bf79eb68e8833cdc9a | [log] [tgz] |
---|---|---|
author | Vinayak Menon <vinmenon@codeaurora.org> | Wed Jun 21 11:17:39 2017 +0530 |
committer | Vinayak Menon <vinmenon@codeaurora.org> | Wed Aug 02 19:15:01 2017 +0530 |
tree | 80de93d3930a7848c385af0fd95bd3deea8fd467 | |
parent | 70be28c9d8067d077f5975c64216ee274e37510f [diff] |
arm64: dma-mapping: fix aliasing issues with non-CMA alloc Cache flush and clearing of logical mapping is done right now only when the allocation is from CMA, for allocation requests with DMA_ATTR_STRONGLY_ORDERED or DMA_ATTR_NO_KERNEL_MAPPING set. Extend this to non-CMA allocations too, to avoid cache aliasing issues. Change-Id: I133d34d79665ee7159fe384121e933d7768748c2 Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>