linux-stable/arch/powerpc/include/asm/book3s/32
Christoph Hellwig f2902a2fb4 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 <hch@lst.de>
Tested-by: Christophe Leroy <christophe.leroy@c-s.fr> # tested on 8xx
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190814132230.31874-2-hch@lst.de
2019-08-28 23:19:34 +10:00
..
hash.h Revert "powerpc/book3s32: Reorder _PAGE_XXX flags to simplify TLB handling" 2019-02-23 20:30:50 +11:00
kup.h powerpc/32s: Implement Kernel Userspace Access Protection 2019-04-21 23:11:47 +10:00
mmu-hash.h powerpc/mm: move pgtable_t in asm/mmu.h 2019-05-03 01:20:24 +10:00
pgalloc.h powerpc/mm: refactor pmd_pgtable() 2019-05-03 01:20:25 +10:00
pgtable.h powerpc: use the generic dma coherent remap allocator 2019-08-28 23:19:34 +10:00
tlbflush.h powerpc: split asm/tlbflush.h 2018-07-30 22:48:21 +10:00