[PATCH] ppc64: support 64k pages
[safe/jmp/linux-2.6] / arch / powerpc / Kconfig
index 7f891eb..ca7acb0 100644 (file)
@@ -109,10 +109,6 @@ config 40x
 config 44x
        bool "AMCC 44x"
 
-config PPC64BRIDGE
-       select PPC_FPU
-       bool "POWER3, POWER4 and PPC970 (G5)"
-
 config 8xx
        bool "Freescale 8xx"
 
@@ -125,7 +121,7 @@ endchoice
 
 config POWER4_ONLY
        bool "Optimize for POWER4"
-       depends on PPC64 || PPC64BRIDGE
+       depends on PPC64
        default n
        ---help---
          Cause the compiler to optimize for POWER4/POWER5/PPC970 processors.
@@ -134,16 +130,16 @@ config POWER4_ONLY
 
 config POWER3
        bool
-       depends on PPC64 || PPC64BRIDGE
+       depends on PPC64
        default y if !POWER4_ONLY
 
 config POWER4
-       depends on PPC64 || PPC64BRIDGE
+       depends on PPC64
        def_bool y
 
 config PPC_FPU
-       depends on PPC32
-       def_bool y
+       bool
+       default y if PPC64
 
 config BOOKE
        bool
@@ -279,26 +275,39 @@ endchoice
 config PPC_PSERIES
        depends on PPC_MULTIPLATFORM && PPC64
        bool "  IBM pSeries & new (POWER5-based) iSeries"
+       select PPC_I8259
+       select PPC_RTAS
+       select RTAS_ERROR_LOGGING
        default y
 
 config PPC_CHRP
        bool "  Common Hardware Reference Platform (CHRP) based machines"
        depends on PPC_MULTIPLATFORM && PPC32
+       select PPC_I8259
+       select PPC_INDIRECT_PCI
+       select PPC_RTAS
+       select PPC_MPC106
        default y
 
 config PPC_PMAC
        bool "  Apple PowerMac based machines"
        depends on PPC_MULTIPLATFORM
+       select PPC_INDIRECT_PCI if PPC32
+       select PPC_MPC106 if PPC32
        default y
 
 config PPC_PMAC64
        bool
        depends on PPC_PMAC && POWER4
+       select U3_DART
+       select GENERIC_TBSYNC
        default y
 
 config PPC_PREP
        bool "  PowerPC Reference Platform (PReP) based machines"
        depends on PPC_MULTIPLATFORM && PPC32
+       select PPC_I8259
+       select PPC_INDIRECT_PCI
        default y
 
 config PPC_MAPLE
@@ -306,14 +315,17 @@ config PPC_MAPLE
        bool "  Maple 970FX Evaluation Board"
        select U3_DART
        select MPIC_BROKEN_U3
+       select GENERIC_TBSYNC
        default n
        help
           This option enables support for the Maple 970FX Evaluation Board.
          For more informations, refer to <http://www.970eval.com>
 
-config PPC_BPA
-       bool "  Broadband Processor Architecture"
+config PPC_CELL
+       bool "  Cell Broadband Processor Architecture"
        depends on PPC_MULTIPLATFORM && PPC64
+       select PPC_RTAS
+       select MMIO_NVRAM
 
 config PPC_OF
        bool
@@ -331,17 +343,39 @@ config U3_DART
        default n
 
 config MPIC
-       depends on PPC_PSERIES || PPC_PMAC || PPC_MAPLE
+       depends on PPC_PSERIES || PPC_PMAC || PPC_MAPLE || PPC_CHRP
+       bool
+       default y
+
+config PPC_RTAS
+       bool
+       default n
+
+config RTAS_ERROR_LOGGING
        bool
+       depends on PPC_RTAS
+       default n
+
+config RTAS_PROC
+       bool "Proc interface to RTAS"
+       depends on PPC_RTAS
        default y
 
+config RTAS_FLASH
+       tristate "Firmware flash interface"
+       depends on PPC64 && RTAS_PROC
+
+config MMIO_NVRAM
+       bool
+       default n
+
 config MPIC_BROKEN_U3
        bool
        depends on PPC_MAPLE
        default y
 
-config BPA_IIC
-       depends on PPC_BPA
+config CELL_IIC
+       depends on PPC_CELL
        bool
        default y
 
@@ -350,6 +384,15 @@ config IBMVIO
        bool
        default y
 
+config PPC_MPC106
+       bool
+       default n
+
+config GENERIC_TBSYNC
+       bool
+       default y if CONFIG_PPC32 && CONFIG_SMP
+       default n
+
 source "drivers/cpufreq/Kconfig"
 
 config CPU_FREQ_PMAC
@@ -516,6 +559,11 @@ config IRQ_ALL_CPUS
 
 source "arch/powerpc/platforms/pseries/Kconfig"
 
+config NUMA
+       bool "NUMA support"
+       depends on PPC64
+       default y if SMP && PPC_PSERIES
+
 config ARCH_SELECT_MEMORY_MODEL
        def_bool y
        depends on PPC64
@@ -532,10 +580,6 @@ config ARCH_DISCONTIGMEM_DEFAULT
        def_bool y
        depends on ARCH_DISCONTIGMEM_ENABLE
 
-config ARCH_FLATMEM_ENABLE
-       def_bool y
-       depends on PPC64
-
 config ARCH_SPARSEMEM_ENABLE
        def_bool y
        depends on ARCH_DISCONTIGMEM_ENABLE
@@ -559,9 +603,14 @@ config NODES_SPAN_OTHER_NODES
        def_bool y
        depends on NEED_MULTIPLE_NODES
 
-config NUMA
-       bool "NUMA support"
-       default y if DISCONTIGMEM || SPARSEMEM
+config PPC_64K_PAGES
+       bool "64k page size"
+       help
+         This option changes the kernel logical page size to 64k. On machines
+          without processor support for 64k pages, the kernel will simulate
+          them by loading each individual 4k page on demand transparently,
+          while on hardware with such support, it will be used to map
+          normal application pages.
 
 config SCHED_SMT
        bool "SMT (Hyperthreading) scheduler support"
@@ -573,12 +622,12 @@ config SCHED_SMT
          overhead in some places. If unsure say N here.
 
 config PROC_DEVICETREE
-       bool "Support for Open Firmware device tree in /proc"
-       depends on PPC_OF && PROC_FS
+       bool "Support for device tree in /proc"
+       depends on PROC_FS
        help
          This option adds a device-tree directory under /proc which contains
          an image of the device tree that the kernel copies from Open
-         Firmware. If unsure, say Y here.
+         Firmware or other boot firmware. If unsure, say Y here.
 
 source "arch/powerpc/platforms/prep/Kconfig"
 
@@ -628,6 +677,7 @@ menu "Bus options"
 config ISA
        bool "Support for ISA-bus hardware"
        depends on PPC_PREP || PPC_CHRP
+       select PPC_I8259
        help
          Find out whether you have ISA slots on your motherboard.  ISA is the
          name of a bus system, i.e. the way the CPU talks to the other stuff
@@ -640,6 +690,17 @@ config GENERIC_ISA_DMA
        depends on PPC64 || POWER4 || 6xx && !CPM2
        default y
 
+config PPC_I8259
+       bool
+       default y if 85xx
+       default n
+
+config PPC_INDIRECT_PCI
+       bool
+       depends on PCI
+       default y if 40x || 44x || 85xx || 83xx
+       default n
+
 config EISA
        bool
 
@@ -673,6 +734,7 @@ config MPC83xx_PCI2
 config PCI_QSPAN
        bool "QSpan PCI"
        depends on !4xx && !CPM2 && 8xx
+       select PPC_I8259
        help
          Say Y here if you have a system based on a Motorola 8xx-series
          embedded processor with a QSPAN PCI interface, otherwise say N.
@@ -680,6 +742,7 @@ config PCI_QSPAN
 config PCI_8260
        bool
        depends on PCI && 8260
+       select PPC_INDIRECT_PCI
        default y
 
 config 8260_PCI9
@@ -836,7 +899,7 @@ endmenu
 if PPC64
 config KERNEL_START
        hex
-       default "0xc0000000"
+       default "0xc000000000000000"
 endif
 
 source "net/Kconfig"