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>
Showing
- arch/parisc/Kconfig 4 additions, 0 deletionsarch/parisc/Kconfig
- arch/parisc/include/asm/dma-mapping.h 0 additions, 4 deletionsarch/parisc/include/asm/dma-mapping.h
- arch/parisc/kernel/pci-dma.c 11 additions, 134 deletionsarch/parisc/kernel/pci-dma.c
- arch/parisc/kernel/setup.c 1 addition, 1 deletionarch/parisc/kernel/setup.c
Loading
Please register or sign in to comment