diff options
author | Laura Abbott <lauraa@codeaurora.org> | 2014-10-09 15:26:40 -0700 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-01-22 21:51:55 +0000 |
commit | dd403c2d2cf5c25eb82310bfe70704c0ea8452b7 (patch) | |
tree | 5afd65b4757422d82447f743c3aff1b8eb40d73b /arch/powerpc/kernel/signal_32.c | |
parent | e4d45c70b7bad66ada07b19edcc1ffa692c1845b (diff) |
common: dma-mapping: introduce common remapping functionsv3.10/topic/dma-mapping
For architectures without coherent DMA, memory for DMA may need to be
remapped with coherent attributes. Factor out the the remapping code from
arm and put it in a common location to reduce code duplication.
As part of this, the arm APIs are now migrated away from
ioremap_page_range to the common APIs which use map_vm_area for remapping.
This should be an equivalent change and using map_vm_area is more correct
as ioremap_page_range is intended to bring in io addresses into the cpu
space and not regular kernel managed memory.
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: David Riley <davidriley@chromium.org>
Cc: Olof Johansson <olof@lixom.net>
Cc: Ritesh Harjain <ritesh.harjani@gmail.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Laura Abbott <lauraa@codeaurora.org>
Cc: Mitchel Humpherys <mitchelh@codeaurora.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 513510ddba9650fc7da456eefeb0ead7632324f6)
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'arch/powerpc/kernel/signal_32.c')
0 files changed, 0 insertions, 0 deletions