microblaze: use generic dma_noncoherent_ops
authorChristoph Hellwig <hch@lst.de>
Thu, 19 Jul 2018 12:54:39 +0000 (05:54 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 20 Jul 2018 12:29:47 +0000 (14:29 +0200)
commit5411ad27dba1e59923f3865f90ab756fd6b9ab3c
treefba184190c76cefbaf233b08dbce9cb88adc8353
parentbd05a58ddfd719015d66e8670af48feb386a3ca6
microblaze: use generic dma_noncoherent_ops

Switch to the generic noncoherent direct mapping implementation.

This removes the direction-based optimizations in
sync_{single,sg}_for_{cpu,device} which were marked untestested and
do not match the usually very well tested {un,}map_{single,sg}
implementations.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/Kconfig
arch/microblaze/include/asm/Kbuild
arch/microblaze/include/asm/dma-mapping.h [deleted file]
arch/microblaze/include/asm/pgtable.h
arch/microblaze/kernel/dma.c
arch/microblaze/mm/consistent.c