powerpc/mm: Split mmu_context handling
[pandora-kernel.git] / arch / powerpc / platforms / Kconfig.cputype
index 7f65127..db61daf 100644 (file)
@@ -50,6 +50,7 @@ config 44x
        select PPC_UDBG_16550
        select 4xx_SOC
        select PPC_PCI_CHOICE
+       select PHYS_64BIT
 
 config E200
        bool "Freescale e200"
@@ -128,18 +129,19 @@ config FSL_EMB_PERFMON
 
 config PTE_64BIT
        bool
-       depends on 44x || E500
-       default y if 44x
-       default y if E500 && PHYS_64BIT
+       depends on 44x || E500 || PPC_86xx
+       default y if PHYS_64BIT
 
 config PHYS_64BIT
-       bool 'Large physical address support' if E500
-       depends on 44x || E500
-       select RESOURCES_64BIT
-       default y if 44x
+       bool 'Large physical address support' if E500 || PPC_86xx
+       depends on (44x || E500 || PPC_86xx) && !PPC_83xx && !PPC_82xx
        ---help---
          This option enables kernel support for larger than 32-bit physical
-         addresses.  This features is not be available on all e500 cores.
+         addresses.  This feature may not be available on all cores.
+
+         If you have more than 3.5GB of RAM or so, you also need to enable
+         SWIOTLB under Kernel Options for this to work.  The actual number
+         is platform-dependent.
 
          If in doubt, say N here.
 
@@ -193,13 +195,21 @@ config SPE
 
 config PPC_STD_MMU
        bool
-       depends on 6xx || POWER3 || POWER4 || PPC64
+       depends on 6xx || PPC64
        default y
 
 config PPC_STD_MMU_32
        def_bool y
        depends on PPC_STD_MMU && PPC32
 
+config PPC_STD_MMU_64
+       def_bool y
+       depends on PPC_STD_MMU && PPC64
+
+config PPC_MMU_NOHASH
+       def_bool y
+       depends on !PPC_STD_MMU
+
 config PPC_MM_SLICES
        bool
        default y if HUGETLB_PAGE || PPC_64K_PAGES