]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: always use flush_kernel_dcache_range for DMA cache maintainance
authorChristoph Hellwig <hch@lst.de>
Tue, 19 Jun 2018 07:04:54 +0000 (09:04 +0200)
committerHelge Deller <deller@gmx.de>
Mon, 13 Aug 2018 07:30:23 +0000 (09:30 +0200)
commit2754b49b81e2b68a7fa9d9fe15284dd6ea4407ba
tree8a14a4695f1188d7dc545c7290a5e9ba63ab8645
parent0c4644acf1c26251fd13292447941776b90371b9
parisc: always use flush_kernel_dcache_range for DMA cache maintainance

Current the S/G list based DMA ops use flush_kernel_vmap_range which
contains a few UP optimizations, while the rest of the DMA operations
uses flush_kernel_dcache_range.  The single vs sg operations are supposed
to have the same effect, so they should use the same routines.  Use
the more conservation version for now, but if people more familiar with
parisc think the vmap version is generally fine for DMA we should switch
all interfaces over to it.

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