Re: [PATCH 1/2] m68k: use the generic dma coherent remap allocator

2019-07-01 Thread Geert Uytterhoeven
Hi Christoph, On Tue, Jun 25, 2019 at 11:01 AM Christoph Hellwig wrote: > This switche to using common code for the DMA allocations, including switches m68k > potential use of the CMA allocator if configure. Also add a configured > comment where the existing behavior seems to be lacking. > >

[PATCH 1/2] m68k: use the generic dma coherent remap allocator

2019-06-25 Thread Christoph Hellwig
This switche to using common code for the DMA allocations, including potential use of the CMA allocator if configure. Also add a comment where the existing behavior seems to be lacking. Switching to the generic code enables DMA allocations from atomic context, which is required by the DMA API doc

[PATCH 1/2] m68k: use the generic dma coherent remap allocator

2019-06-14 Thread Christoph Hellwig
This switche to using common code for the DMA allocations, including potential use of the CMA allocator if configure. Also add a comment where the existing behavior seems to be lacking. Signed-off-by: Christoph Hellwig --- arch/m68k/Kconfig | 2 ++ arch/m68k/kernel/dma.c | 59