]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9ea3eeb3151fe661576d4825948f4d73da30bbcd
tree618197af450d2db9600dfcfbc25dc6c2772462f4
parent98f4e7ed99bde02aec62467cdaa865a97a7fc82e
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