linux_dsm_epyc7002/arch/powerpc/include/asm/nohash/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
..
hugetlb-8xx.h powerpc/mm: cleanup ifdef mess in add_huge_page_size() 2019-05-03 01:20:23 +10:00
kup-8xx.h powerpc/8xx: Add Kernel Userspace Access Protection 2019-04-21 23:11:46 +10:00
mmu-8xx.h powerpc/8xx: get rid of #ifdef CONFIG_HUGETLB_PAGE for slices 2019-05-03 01:20:23 +10:00
mmu-40x.h powerpc/mm: move platform specific mmu-xxx.h in platform directories 2018-12-04 19:45:01 +11:00
mmu-44x.h powerpc/44x: use patch_sites for TLB handlers patching 2018-12-19 18:56:32 +11:00
pgalloc.h powerpc/mm: refactor pgd_alloc() and pgd_free() on nohash 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
pte-8xx.h powerpc/8xx: Remove PTE_ATOMIC_UPDATES 2018-12-04 19:45:01 +11:00
pte-40x.h powerpc: Typo s/use use/use/ 2018-11-25 17:11:22 +11:00
pte-44x.h powerpc/mm: Make pte_pgprot return all pte bits 2018-10-19 00:56:17 +11:00
pte-fsl-booke.h powerpc/mm: Make pte_pgprot return all pte bits 2018-10-19 00:56:17 +11:00
slice.h powerpc/mm: define subarch SLB_ADDR_LIMIT_DEFAULT 2019-05-03 01:20:23 +10:00