summaryrefslogtreecommitdiffstats
path: root/arch/parisc/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig2018-06-19 09:04:55 +0200
committerHelge Deller2018-08-13 09:30:32 +0200
commitc1f59375b3782f478ac2c488889abdc00dd8e25f (patch)
tree618197af450d2db9600dfcfbc25dc6c2772462f4 /arch/parisc/Kconfig
parentparisc: always use flush_kernel_dcache_range for DMA cache maintainance (diff)
downloadkernel-qcow2-linux-c1f59375b3782f478ac2c488889abdc00dd8e25f.tar.gz
kernel-qcow2-linux-c1f59375b3782f478ac2c488889abdc00dd8e25f.tar.xz
kernel-qcow2-linux-c1f59375b3782f478ac2c488889abdc00dd8e25f.zip
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>
Diffstat (limited to 'arch/parisc/Kconfig')
-rw-r--r--arch/parisc/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig
index e7705dde953f..1fcdf1565b23 100644
--- a/arch/parisc/Kconfig
+++ b/arch/parisc/Kconfig
@@ -187,6 +187,10 @@ config PA20
config PA11
def_bool y
depends on PA7000 || PA7100LC || PA7200 || PA7300LC
+ select ARCH_HAS_SYNC_DMA_FOR_CPU
+ select ARCH_HAS_SYNC_DMA_FOR_DEVICE
+ select DMA_NONCOHERENT_OPS
+ select DMA_NONCOHERENT_CACHE_SYNC
config PREFETCH
def_bool y