]> 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)
commit8f350f25d1d868349ad0b43a20bf725b7a5027e2
tree618197af450d2db9600dfcfbc25dc6c2772462f4
parent2754b49b81e2b68a7fa9d9fe15284dd6ea4407ba
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