]> 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)
commit3483ca4fd64eb4591501b6a0e36c832c449a5087
treee074ce510288dc315e7ea1f6eb15a5d5221d45bf
parenta66fe29d408ab2d88f43f4df869cd643756f56bc
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