aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2019-08-14 15:22:30 +0200
committerMichael Ellerman <[email protected]>2019-08-28 23:19:34 +1000
commitf2902a2fb40c589b886d21518ef8a1ee87f76b0c (patch)
tree950d047295b7ddb64ca2edcdeff04b222ab91aef /include/linux
parent555e28179d37e431e97d78d106fc917bec2c6f93 (diff)
powerpc: use the generic dma coherent remap allocator
This switches to using common code for the DMA allocations, including potential use of the CMA allocator if configured. Switching to the generic code enables DMA allocations from atomic context, which is required by the DMA API documentation, and also adds various other minor features drivers start relying upon. It also makes sure we have on tested code base for all architectures that require uncached pte bits for coherent DMA allocations. Another advantage is that consistent memory allocations now share the general vmalloc pool instead of needing an explicit careout from it. Signed-off-by: Christoph Hellwig <[email protected]> Tested-by: Christophe Leroy <[email protected]> # tested on 8xx Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions