parisc: use generic dma_noncoherent_ops
authorChristoph Hellwig <hch@lst.de>
Tue, 19 Jun 2018 07:04:55 +0000 (09:04 +0200)
committerHelge Deller <deller@gmx.de>
Mon, 13 Aug 2018 07:30:32 +0000 (09:30 +0200)
commitc1f59375b3782f478ac2c488889abdc00dd8e25f
tree618197af450d2db9600dfcfbc25dc6c2772462f4
parent7f1501053811414ddeff63db8f5d41bdbe38068f
parisc: use generic dma_noncoherent_ops

Switch to the generic noncoherent direct mapping implementation.

Fix sync_single_for_cpu to do skip the cache flush unless the transfer
is to the device to match the more tested unmap_single path which should
have the same cache coherency implications.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/Kconfig
arch/parisc/include/asm/dma-mapping.h
arch/parisc/kernel/pci-dma.c
arch/parisc/kernel/setup.c