]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdad9d046f8a34cd435d24b2318103559aa5e19a7
treee074ce510288dc315e7ea1f6eb15a5d5221d45bf
parent2a3d613a38f5571ee2ad6b19237f395d13e57baf
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