Merge tag 'arc-4.18-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc
[muen/linux.git] / arch / arc / Kconfig
index bc0bcf01ec98c054e455a19f0b54375a7f92990c..9cf59fc60eab80f5f7a74b846b0e3e8efbaac593 100644 (file)
@@ -9,11 +9,15 @@
 config ARC
        def_bool y
        select ARC_TIMERS
+       select ARCH_HAS_SYNC_DMA_FOR_CPU
+       select ARCH_HAS_SYNC_DMA_FOR_DEVICE
        select ARCH_HAS_SG_CHAIN
        select ARCH_SUPPORTS_ATOMIC_RMW if ARC_HAS_LLSC
        select BUILDTIME_EXTABLE_SORT
        select CLONE_BACKWARDS
        select COMMON_CLK
+       select DMA_NONCOHERENT_OPS
+       select DMA_NONCOHERENT_MMAP
        select GENERIC_ATOMIC64 if !ISA_ARCV2 || !(ARC_HAS_LL64 && ARC_HAS_LLSC)
        select GENERIC_CLOCKEVENTS
        select GENERIC_FIND_FIRST_BIT
@@ -44,6 +48,7 @@ config ARC
        select HAVE_GENERIC_DMA_COHERENT
        select HAVE_KERNEL_GZIP
        select HAVE_KERNEL_LZMA
+       select ARCH_HAS_PTE_SPECIAL
 
 config MIGHT_HAVE_PCI
        bool
@@ -453,16 +458,11 @@ config ARC_HAS_PAE40
        default n
        depends on ISA_ARCV2
        select HIGHMEM
+       select PHYS_ADDR_T_64BIT
        help
          Enable access to physical memory beyond 4G, only supported on
          ARC cores with 40 bit Physical Addressing support
 
-config ARCH_PHYS_ADDR_T_64BIT
-       def_bool ARC_HAS_PAE40
-
-config ARCH_DMA_ADDR_T_64BIT
-       bool
-
 config ARC_KVADDR_SIZE
        int "Kernel Virtual Address Space size (MB)"
        range 0 512