microblaze: use the generic dma coherent remap allocator
authorChristoph Hellwig <hch@lst.de>
Wed, 14 Aug 2019 14:03:48 +0000 (16:03 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 30 Aug 2019 09:47:16 +0000 (11:47 +0200)
commit04e3543e228fcbb000de922ec5d366f398bdd9ae
treee074ce510288dc315e7ea1f6eb15a5d5221d45bf
parentd3b9f659fac6e5f74f857364c5ed08b94e7f94ae
microblaze: 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.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/Kconfig
arch/microblaze/mm/consistent.c