Merge tag 'mips_5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux
[linux-2.6-microblaze.git] / arch / mips / Kconfig
index 2f7c050..cc8e2b1 100644 (file)
@@ -45,6 +45,7 @@ config MIPS
        select HAVE_ARCH_SECCOMP_FILTER
        select HAVE_ARCH_TRACEHOOK
        select HAVE_ARCH_TRANSPARENT_HUGEPAGE if CPU_SUPPORTS_HUGEPAGES
+       select HAVE_ASM_MODVERSIONS
        select HAVE_EBPF_JIT if (!CPU_MICROMIPS)
        select HAVE_CONTEXT_TRACKING
        select HAVE_COPY_THREAD_TLS
@@ -1123,7 +1124,14 @@ config DMA_PERDEV_COHERENT
 
 config DMA_NONCOHERENT
        bool
-       select ARCH_HAS_DMA_MMAP_PGPROT
+       #
+       # MIPS allows mixing "slightly different" Cacheability and Coherency
+       # Attribute bits.  It is believed that the uncached access through
+       # KSEG1 and the implementation specific "uncached accelerated" used
+       # by pgprot_writcombine can be mixed, and the latter sometimes provides
+       # significant advantages.
+       #
+       select ARCH_HAS_DMA_WRITE_COMBINE
        select ARCH_HAS_SYNC_DMA_FOR_DEVICE
        select ARCH_HAS_UNCACHED_SEGMENT
        select NEED_DMA_MAP_STATE