Kconfig 8.52 KB
Newer Older
1
#
2
# For a description of the syntax of this configuration file,
3
# see Documentation/kbuild/kconfig-language.txt.
4
#
5

Matthew Wilcox's avatar
Matthew Wilcox committed
6 7 8
config 64BIT
	def_bool y

9 10 11 12
config MMU
	bool
	default y

13 14 15 16 17 18 19 20 21 22
config UID16
	bool

config RWSEM_GENERIC_SPINLOCK
	bool

config RWSEM_XCHGADD_ALGORITHM
	bool
	default y

23 24 25 26
config GENERIC_CALIBRATE_DELAY
	bool
	default y

27 28 29 30 31 32 33 34 35 36 37 38
config GENERIC_ISA_DMA
	bool
	default y

config HAVE_DEC_LOCK
	bool
	default y

config EARLY_PRINTK
	bool
	default y

39 40 41 42
config COMPAT
	bool
	default y

43 44 45 46
config FRAME_POINTER
	bool
	default y

47
# We optimistically allocate largepages from the VM, so make the limit
48 49
# large enough (16MB). This badly named config option is actually
# max order + 1
50 51
config FORCE_MAX_ZONEORDER
	int
52
	default "13"
53

54 55
source "init/Kconfig"

56 57 58 59
config SYSVIPC_COMPAT
	bool
	depends on COMPAT && SYSVIPC
	default y
60 61 62 63 64

menu "Platform support"

choice
	prompt "Platform Type"
65
	default PPC_MULTIPLATFORM
66 67

config PPC_ISERIES
68
	bool "IBM Legacy iSeries"
69

70 71
config PPC_MULTIPLATFORM
	bool "Generic"
72 73 74

endchoice

75 76 77 78 79 80 81 82 83 84
config PPC_PSERIES
	depends on PPC_MULTIPLATFORM
	bool "  IBM pSeries & new iSeries"
	default y

config PPC_PMAC
	depends on PPC_MULTIPLATFORM
	bool "  Apple G5 based machines"
	default y
	select ADB_PMU
85
	select U3_DART
86

87 88 89 90 91 92 93 94 95 96
config PPC_MAPLE
	depends on PPC_MULTIPLATFORM
	bool "  Maple 970FX Evaluation Board"
	select U3_DART
	select MPIC_BROKEN_U3
	default n
	help
          This option enables support for the Maple 970FX Evaluation Board.
	  For more informations, refer to http://www.970eval.com

97 98 99 100 101 102 103 104
config PPC
	bool
	default y

config PPC64
	bool
	default y

105
config PPC_OF
106
	depends on PPC_MULTIPLATFORM
107 108 109
	bool
	default y

110 111 112 113
# VMX is pSeries only for now until somebody writes the iSeries
# exception vectors for it
config ALTIVEC
	bool "Support for VMX (Altivec) vector unit"
114
	depends on PPC_MULTIPLATFORM
115 116
	default y

117 118 119 120 121 122 123 124 125 126
config PPC_SPLPAR
	depends on PPC_PSERIES
	bool "Support for shared-processor logical partitions"
	default n
	help
	  Enabling this option will make the kernel run more efficiently
	  on logically-partitioned pSeries systems which use shared
	  processors, that is, which share physical processors between
	  two or more partitions.

127 128 129 130 131
config IBMVIO
	depends on PPC_PSERIES || PPC_ISERIES
	bool
	default y

132 133 134
config U3_DART
	bool 
	depends on PPC_MULTIPLATFORM
135 136
	default n

137 138 139 140 141
config MPIC_BROKEN_U3
	bool
	depends on PPC_MAPLE
	default y

142 143 144 145 146 147 148 149 150 151 152 153
config PPC_PMAC64
	bool
	depends on PPC_PMAC
	default y

config BOOTX_TEXT
	bool "Support for early boot text console"
	depends PPC_OF
	help
	  Say Y here to see progress messages from the boot firmware in text
	  mode. Requires an Open Firmware compatible video card.

Andrew Morton's avatar
Andrew Morton committed
154 155 156 157 158 159 160 161
config POWER4_ONLY
	bool "Optimize for POWER4"
	default n
	---help---
	  Cause the compiler to optimize for POWER4 processors. The resulting
	  binary will not work on POWER3 or RS64 processors when compiled with
	  binutils 2.15 or later.

162 163 164 165 166 167 168 169 170 171 172 173
config IOMMU_VMERGE
	bool "Enable IOMMU virtual merging (EXPERIMENTAL)"
	depends on EXPERIMENTAL
	default n
	help
	  Cause IO segments sent to a device for DMA to be merged virtually
	  by the IOMMU when they happen to have been allocated contiguously.
	  This doesn't add pressure to the IOMMU allocator. However, some
	  drivers don't support getting large merged segments coming back
	  from *_map_sg(). Say Y if you know the drivers you are using are
	  properly handling this case.

174 175 176 177 178
config SMP
	bool "Symmetric multi-processing support"
	---help---
	  This enables support for systems with more than one CPU. If you have
	  a system with only one CPU, say N. If you have a system with more
179
	  than one CPU, say Y.
180 181 182 183 184 185 186

	  If you say N here, the kernel will run on single and multiprocessor
	  machines, but will use only one CPU of a multiprocessor machine. If
	  you say Y here, the kernel will run on single-processor machines.
	  On a single-processor machine, the kernel will run faster if you say
	  N here.

187
	  If you don't know what to do here, say Y.
188 189 190

config IRQ_ALL_CPUS
	bool "Distribute interrupts on all CPUs by default"
191
	depends on SMP && PPC_MULTIPLATFORM
192 193 194
	help
	  This option gives the kernel permission to distribute IRQs across
	  multiple CPUs.  Saying N here will route all IRQs to the first
195
	  CPU.
196 197

config NR_CPUS
198
	int "Maximum number of CPUs (2-128)"
199
	range 2 128
200 201 202 203 204 205 206 207 208 209 210 211 212 213 214
	depends on SMP
	default "32"

config HMT
	bool "Hardware multithreading"
	depends on SMP && PPC_PSERIES

config DISCONTIGMEM
	bool "Discontiguous Memory Support"
	depends on SMP && PPC_PSERIES

config NUMA
	bool "NUMA support"
	depends on DISCONTIGMEM

215 216 217 218 219 220 221 222 223
config SCHED_SMT
	bool "SMT (Hyperthreading) scheduler support"
	depends on SMP
	default off
	help
	  SMT scheduler support improves the CPU scheduler's decision making
	  when dealing with POWER5 cpus at a cost of slightly increased
	  overhead in some places. If unsure say N here.

224
config PREEMPT
225
	bool "Preemptible Kernel"
226 227 228 229 230 231 232 233
	help
	  This option reduces the latency of the kernel when reacting to
	  real-time or interactive events by allowing a low priority process to
	  be preempted even if it is in kernel mode executing a system call.

	  Say Y here if you are building a kernel for a desktop, embedded
	  or real-time system.  Say N if you are unsure.

234
#
235
# Use the generic interrupt handling code in kernel/irq/:
236 237 238 239 240
#
config GENERIC_HARDIRQS
	bool
	default y

241 242 243 244 245
config MSCHUNKS
	bool
	depends on PPC_ISERIES
	default y

Todd Inglett's avatar
Todd Inglett committed
246

247 248
config PPC_RTAS
	bool "Proc interface to RTAS"
David Gibson's avatar
David Gibson committed
249
	depends on PPC_PSERIES
250

251 252 253 254 255 256 257
config RTAS_FLASH
	tristate "Firmware flash interface"
	depends on PPC_RTAS

config SCANLOG
	tristate "Scanlog dump interface"
	depends on PPC_RTAS
258 259

config LPARCFG
260
	tristate "LPAR Configuration Data"
David Gibson's avatar
David Gibson committed
261
	depends on PPC_PSERIES || PPC_ISERIES
262
	help
263
	Provide system capacity information via human readable
264 265
	<key word>=<value> pairs through a /proc/ppc64/lparcfg interface.

266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297
endmenu


menu "General setup"

config ISA
	bool
	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
	  inside your box.  If you have an Apple machine, say N here; if you
	  have an IBM RS/6000 or pSeries machine or a PReP machine, say Y.  If
	  you have an embedded board, consult your board documentation.

config SBUS
	bool

config MCA
	bool

config EISA
	bool

config PCI
	bool
	default y
	help
	  Find out whether your system includes a PCI bus. PCI is the name of
	  a bus system, i.e. the way the CPU talks to the other stuff inside
	  your box.  If you say Y here, the kernel will include drivers and
	  infrastructure code to support PCI bus devices.

298 299 300 301
config PCI_DOMAINS
	bool
	default PCI

302
source "fs/Kconfig.binfmt"
303 304 305

source "drivers/pci/Kconfig"

306 307
config HOTPLUG_CPU
	bool "Support for hot-pluggable CPUs"
David Gibson's avatar
David Gibson committed
308
	depends on SMP && HOTPLUG && EXPERIMENTAL && PPC_PSERIES
309 310 311 312 313
	---help---
	  Say Y here to be able to turn CPUs off and on.

	  Say N if you are unsure.

314 315
source "drivers/pcmcia/Kconfig"

316
source "drivers/pci/hotplug/Kconfig"
317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341

config PROC_DEVICETREE
	bool "Support for Open Firmware device tree in /proc"
	depends on !PPC_ISERIES
	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.

config CMDLINE_BOOL
	bool "Default bootloader kernel arguments"
	depends on !PPC_ISERIES

config CMDLINE
	string "Initial kernel command string"
	depends on CMDLINE_BOOL
	default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
	help
	  On some platforms, there is currently no way for the boot loader to
	  pass arguments to the kernel. For these platforms, you can supply
	  some command-line options at build time by entering them here.  In
	  most cases you will need to specify the root device here.

endmenu

342
source "drivers/Kconfig"
343 344 345 346 347 348 349 350 351 352 353

source "fs/Kconfig"

menu "iSeries device drivers"
	depends on PPC_ISERIES

config VIOCONS
	tristate "iSeries Virtual Console Support"

config VIODASD
	tristate "iSeries Virtual I/O disk support"
354 355 356
	help
	  If you are running on an iSeries system and you want to use
 	  virtual disks created and managed by OS/400, say Y.
357 358 359

config VIOCD
	tristate "iSeries Virtual I/O CD support"
360 361 362
	help
	  If you are running Linux on an IBM iSeries system and you want to
	  read a CD drive owned by OS/400, say Y here.
363 364 365

config VIOTAPE
	tristate "iSeries Virtual Tape Support"
366 367 368
	help
	  If you are running Linux on an iSeries system and you want Linux
	  to read and/or write a tape drive owned by OS/400, say Y here.
369 370 371 372 373

endmenu

config VIOPATH
	bool
374
	depends on VIOCONS || VIODASD || VIOCD || VIOTAPE || VETH
375 376
	default y

377
source "arch/ppc64/oprofile/Kconfig"
378

379
source "arch/ppc64/Kconfig.debug"
380

381 382
source "security/Kconfig"

383 384 385 386 387
config KEYS_COMPAT
	bool
	depends on COMPAT && KEYS
	default y

388 389 390
source "crypto/Kconfig"

source "lib/Kconfig"