[MIPS] tlbex.c: cleanup debug code
[linux-2.6-block.git] / arch / mips / Kconfig
CommitLineData
1da177e4
LT
1config MIPS
2 bool
3 default y
4 # Horrible source of confusion. Die, die, die ...
5 select EMBEDDED
90b02340 6 select RTC_LIB
1da177e4 7
875d43e7
RB
8mainmenu "Linux/MIPS Kernel Configuration"
9
1da177e4
LT
10menu "Machine selection"
11
5ac6da66
CL
12config ZONE_DMA
13 bool
5ac6da66 14
5e83d430
RB
15choice
16 prompt "System type"
17 default SGI_IP22
1da177e4 18
c3543e25
YY
19config MACH_ALCHEMY
20 bool "Alchemy processor based machines"
1da177e4 21
35189fad 22config BASLER_EXCITE
be91589e 23 bool "Basler eXcite smart camera"
42f77542 24 select CEVT_R4K
940f6b48 25 select CSRC_R4K
35189fad
RB
26 select DMA_COHERENT
27 select HW_HAS_PCI
28 select IRQ_CPU
29 select IRQ_CPU_RM7K
30 select IRQ_CPU_RM9K
663c3d90 31 select MIPS_RM9122
35189fad
RB
32 select SYS_HAS_CPU_RM9000
33 select SYS_SUPPORTS_32BIT_KERNEL
35189fad 34 select SYS_SUPPORTS_BIG_ENDIAN
cc801077 35 select SYS_SUPPORTS_KGDB
35189fad
RB
36 help
37 The eXcite is a smart camera platform manufactured by
be91589e 38 Basler Vision Technologies AG.
35189fad
RB
39
40config BASLER_EXCITE_PROTOTYPE
41 bool "Support for pre-release units"
42 depends on BASLER_EXCITE
43 default n
44 help
45 Pre-series (prototype) units are different from later ones in
46 some ways. Select this option if you have one of these. Please
47 note that a kernel built with this option selected will not be
48 able to run on normal units.
49
1c0c13eb
AJ
50config BCM47XX
51 bool "BCM47XX based boards"
42f77542 52 select CEVT_R4K
940f6b48 53 select CSRC_R4K
1c0c13eb
AJ
54 select DMA_NONCOHERENT
55 select HW_HAS_PCI
56 select IRQ_CPU
57 select SYS_HAS_CPU_MIPS32_R1
58 select SYS_SUPPORTS_32BIT_KERNEL
59 select SYS_SUPPORTS_LITTLE_ENDIAN
60 select SSB
61 select SSB_DRIVER_MIPS
2f02c15a
AJ
62 select SSB_DRIVER_EXTIF
63 select SSB_PCICORE_HOSTMODE if PCI
1c0c13eb 64 select GENERIC_GPIO
25e5fb97
AJ
65 select SYS_HAS_EARLY_PRINTK
66 select CFE
1c0c13eb
AJ
67 help
68 Support for BCM47XX based boards
69
1da177e4 70config MIPS_COBALT
3fa986fa 71 bool "Cobalt Server"
42f77542 72 select CEVT_R4K
940f6b48 73 select CSRC_R4K
1097c6ac 74 select CEVT_GT641XX
1da177e4
LT
75 select DMA_NONCOHERENT
76 select HW_HAS_PCI
d865bea4 77 select I8253
1da177e4
LT
78 select I8259
79 select IRQ_CPU
d5ab1a69 80 select IRQ_GT641XX
252161ec 81 select PCI_GT64XXX_PCI0
7cf8053b 82 select SYS_HAS_CPU_NEVADA
0a22e0d4 83 select SYS_HAS_EARLY_PRINTK
ed5ba2fb
YY
84 select SYS_SUPPORTS_32BIT_KERNEL
85 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
5e83d430 86 select SYS_SUPPORTS_LITTLE_ENDIAN
9fd32cfb 87 select GENERIC_HARDIRQS_NO__DO_IRQ
1da177e4
LT
88
89config MACH_DECSTATION
3fa986fa 90 bool "DECstations"
1da177e4 91 select BOOT_ELF32
42f77542 92 select CEVT_R4K
940f6b48 93 select CSRC_R4K
20d60d99
MR
94 select CPU_DADDI_WORKAROUNDS if 64BIT
95 select CPU_R4000_WORKAROUNDS if 64BIT
96 select CPU_R4400_WORKAROUNDS if 64BIT
1da177e4 97 select DMA_NONCOHERENT
d388d685 98 select NO_IOPORT
1da177e4 99 select IRQ_CPU
7cf8053b
RB
100 select SYS_HAS_CPU_R3000
101 select SYS_HAS_CPU_R4X00
ed5ba2fb
YY
102 select SYS_SUPPORTS_32BIT_KERNEL
103 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
5e83d430 104 select SYS_SUPPORTS_LITTLE_ENDIAN
1723b4a3
AN
105 select SYS_SUPPORTS_128HZ
106 select SYS_SUPPORTS_256HZ
107 select SYS_SUPPORTS_1024HZ
5e83d430 108 help
1da177e4
LT
109 This enables support for DEC's MIPS based workstations. For details
110 see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
111 DECstation porting pages on <http://decstation.unix-ag.org/>.
112
113 If you have one of the following DECstation Models you definitely
114 want to choose R4xx0 for the CPU Type:
115
9308816c
RB
116 DECstation 5000/50
117 DECstation 5000/150
118 DECstation 5000/260
119 DECsystem 5900/260
1da177e4
LT
120
121 otherwise choose R3000.
122
5e83d430 123config MACH_JAZZ
3fa986fa 124 bool "Jazz family of machines"
5e83d430
RB
125 select ARC
126 select ARC32
127 select ARCH_MAY_HAVE_PC_FDC
42f77542 128 select CEVT_R4K
940f6b48 129 select CSRC_R4K
5e83d430 130 select GENERIC_ISA_DMA
ea202c63 131 select IRQ_CPU
d865bea4 132 select I8253
5e83d430
RB
133 select I8259
134 select ISA
de61b542 135 select PCSPEAKER
7cf8053b 136 select SYS_HAS_CPU_R4X00
5e83d430
RB
137 select SYS_SUPPORTS_32BIT_KERNEL
138 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1723b4a3 139 select SYS_SUPPORTS_100HZ
9fd32cfb 140 select GENERIC_HARDIRQS_NO__DO_IRQ
1da177e4 141 help
5e83d430
RB
142 This a family of machines based on the MIPS R4030 chipset which was
143 used by several vendors to build RISC/os and Windows NT workstations.
144 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millenium and
145 Olivetti M700-10 workstations.
146
1f21d2bd
BM
147config LASAT
148 bool "LASAT Networks platforms"
42f77542 149 select CEVT_R4K
940f6b48 150 select CSRC_R4K
1f21d2bd
BM
151 select DMA_NONCOHERENT
152 select SYS_HAS_EARLY_PRINTK
153 select HW_HAS_PCI
a5ccfe5c 154 select IRQ_CPU
1f21d2bd
BM
155 select PCI_GT64XXX_PCI0
156 select MIPS_NILE4
157 select R5000_CPU_SCACHE
158 select SYS_HAS_CPU_R5000
159 select SYS_SUPPORTS_32BIT_KERNEL
160 select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
161 select SYS_SUPPORTS_LITTLE_ENDIAN
162 select GENERIC_HARDIRQS_NO__DO_IRQ
163
ade299d8
YY
164config LEMOTE_FULONG
165 bool "Lemote Fulong mini-PC"
166 select ARCH_SPARSEMEM_ENABLE
42f77542 167 select CEVT_R4K
940f6b48 168 select CSRC_R4K
ade299d8
YY
169 select SYS_HAS_CPU_LOONGSON2
170 select DMA_NONCOHERENT
171 select BOOT_ELF32
172 select BOARD_SCACHE
173 select HAVE_STD_PC_SERIAL_PORT
174 select HW_HAS_PCI
175 select I8259
176 select ISA
177 select IRQ_CPU
178 select SYS_SUPPORTS_32BIT_KERNEL
179 select SYS_SUPPORTS_64BIT_KERNEL
180 select SYS_SUPPORTS_LITTLE_ENDIAN
181 select SYS_SUPPORTS_HIGHMEM
182 select SYS_HAS_EARLY_PRINTK
183 select GENERIC_HARDIRQS_NO__DO_IRQ
23dd6d35 184 select GENERIC_ISA_DMA_SUPPORT_BROKEN
ade299d8
YY
185 select CPU_HAS_WB
186 help
187 Lemote Fulong mini-PC board based on the Chinese Loongson-2E CPU and
188 an FPGA northbridge
189
1da177e4 190config MIPS_ATLAS
3fa986fa 191 bool "MIPS Atlas board"
1da177e4 192 select BOOT_ELF32
42f77542 193 select CEVT_R4K
940f6b48 194 select CSRC_R4K
1da177e4 195 select DMA_NONCOHERENT
36a88530 196 select SYS_HAS_EARLY_PRINTK
5e83d430 197 select IRQ_CPU
1da177e4 198 select HW_HAS_PCI
5e83d430
RB
199 select MIPS_BOARDS_GEN
200 select MIPS_BONITO64
252161ec 201 select PCI_GT64XXX_PCI0
5e83d430 202 select MIPS_MSC
f4b7cdb4 203 select RM7000_CPU_SCACHE
1da177e4 204 select SWAP_IO_SPACE
7cf8053b
RB
205 select SYS_HAS_CPU_MIPS32_R1
206 select SYS_HAS_CPU_MIPS32_R2
207 select SYS_HAS_CPU_MIPS64_R1
208 select SYS_HAS_CPU_NEVADA
209 select SYS_HAS_CPU_RM7000
ed5ba2fb
YY
210 select SYS_SUPPORTS_32BIT_KERNEL
211 select SYS_SUPPORTS_64BIT_KERNEL
5e83d430
RB
212 select SYS_SUPPORTS_BIG_ENDIAN
213 select SYS_SUPPORTS_LITTLE_ENDIAN
f41ae0b2 214 select SYS_SUPPORTS_MULTITHREADING if EXPERIMENTAL
9693a853 215 select SYS_SUPPORTS_SMARTMIPS
e77c232c 216 select GENERIC_HARDIRQS_NO__DO_IRQ
1da177e4 217 help
f638d197 218 This enables support for the MIPS Technologies Atlas evaluation
1da177e4
LT
219 board.
220
221config MIPS_MALTA
3fa986fa 222 bool "MIPS Malta board"
61ed242d 223 select ARCH_MAY_HAVE_PC_FDC
1da177e4 224 select BOOT_ELF32
42f77542 225 select CEVT_R4K
940f6b48 226 select CSRC_R4K
1da177e4
LT
227 select DMA_NONCOHERENT
228 select GENERIC_ISA_DMA
aa414dff 229 select IRQ_CPU
1da177e4 230 select HW_HAS_PCI
d865bea4 231 select I8253
1da177e4 232 select I8259
5e83d430
RB
233 select MIPS_BOARDS_GEN
234 select MIPS_BONITO64
9318c51a 235 select MIPS_CPU_SCACHE
252161ec 236 select PCI_GT64XXX_PCI0
5e83d430 237 select MIPS_MSC
1da177e4 238 select SWAP_IO_SPACE
7cf8053b
RB
239 select SYS_HAS_CPU_MIPS32_R1
240 select SYS_HAS_CPU_MIPS32_R2
241 select SYS_HAS_CPU_MIPS64_R1
242 select SYS_HAS_CPU_NEVADA
243 select SYS_HAS_CPU_RM7000
36a88530 244 select SYS_HAS_EARLY_PRINTK
ed5ba2fb
YY
245 select SYS_SUPPORTS_32BIT_KERNEL
246 select SYS_SUPPORTS_64BIT_KERNEL
5e83d430
RB
247 select SYS_SUPPORTS_BIG_ENDIAN
248 select SYS_SUPPORTS_LITTLE_ENDIAN
f41ae0b2 249 select SYS_SUPPORTS_MULTITHREADING
9693a853 250 select SYS_SUPPORTS_SMARTMIPS
1da177e4 251 help
f638d197 252 This enables support for the MIPS Technologies Malta evaluation
1da177e4
LT
253 board.
254
255config MIPS_SEAD
d98cc84d 256 bool "MIPS SEAD board"
42f77542 257 select CEVT_R4K
940f6b48 258 select CSRC_R4K
1da177e4
LT
259 select IRQ_CPU
260 select DMA_NONCOHERENT
36a88530 261 select SYS_HAS_EARLY_PRINTK
5e83d430 262 select MIPS_BOARDS_GEN
7cf8053b
RB
263 select SYS_HAS_CPU_MIPS32_R1
264 select SYS_HAS_CPU_MIPS32_R2
265 select SYS_HAS_CPU_MIPS64_R1
ed5ba2fb 266 select SYS_SUPPORTS_32BIT_KERNEL
5e83d430
RB
267 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
268 select SYS_SUPPORTS_BIG_ENDIAN
269 select SYS_SUPPORTS_LITTLE_ENDIAN
9693a853 270 select SYS_SUPPORTS_SMARTMIPS
f638d197
MR
271 help
272 This enables support for the MIPS Technologies SEAD evaluation
273 board.
1da177e4 274
5e83d430 275config MIPS_SIM
3fa986fa 276 bool 'MIPS simulator (MIPSsim)'
42f77542 277 select CEVT_R4K
940f6b48 278 select CSRC_R4K
1da177e4 279 select DMA_NONCOHERENT
36a88530 280 select SYS_HAS_EARLY_PRINTK
1da177e4 281 select IRQ_CPU
9267a30d 282 select BOOT_RAW
7cf8053b
RB
283 select SYS_HAS_CPU_MIPS32_R1
284 select SYS_HAS_CPU_MIPS32_R2
36a88530 285 select SYS_HAS_EARLY_PRINTK
ed5ba2fb 286 select SYS_SUPPORTS_32BIT_KERNEL
5e83d430 287 select SYS_SUPPORTS_BIG_ENDIAN
f6e2373a 288 select SYS_SUPPORTS_MULTITHREADING
5e83d430 289 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 290 help
5e83d430
RB
291 This option enables support for MIPS Technologies MIPSsim software
292 emulator.
1da177e4 293
ade299d8
YY
294config MARKEINS
295 bool "NEC EMMA2RH Mark-eins"
42f77542 296 select CEVT_R4K
940f6b48 297 select CSRC_R4K
ade299d8
YY
298 select DMA_NONCOHERENT
299 select HW_HAS_PCI
300 select IRQ_CPU
301 select SWAP_IO_SPACE
302 select SYS_SUPPORTS_32BIT_KERNEL
303 select SYS_SUPPORTS_BIG_ENDIAN
304 select SYS_SUPPORTS_LITTLE_ENDIAN
305 select SYS_HAS_CPU_R5000
306 help
307 This enables support for the R5432-based NEC Mark-eins
308 boards with R5500 CPU.
309
5e83d430 310config MACH_VR41XX
74142d65 311 bool "NEC VR4100 series based machines"
42f77542 312 select CEVT_R4K
940f6b48 313 select CSRC_R4K
7cf8053b 314 select SYS_HAS_CPU_VR41XX
9fd32cfb 315 select GENERIC_HARDIRQS_NO__DO_IRQ
5e83d430 316
ade299d8
YY
317config PNX8550_JBS
318 bool "Philips PNX8550 based JBS board"
319 select PNX8550
320 select SYS_SUPPORTS_LITTLE_ENDIAN
321
322config PNX8550_STB810
323 bool "Philips PNX8550 based STB810 board"
324 select PNX8550
325 select SYS_SUPPORTS_LITTLE_ENDIAN
326
9267a30d
MSJ
327config PMC_MSP
328 bool "PMC-Sierra MSP chipsets"
329 depends on EXPERIMENTAL
330 select DMA_NONCOHERENT
331 select SWAP_IO_SPACE
332 select NO_EXCEPT_FILL
333 select BOOT_RAW
334 select SYS_HAS_CPU_MIPS32_R1
335 select SYS_HAS_CPU_MIPS32_R2
336 select SYS_SUPPORTS_32BIT_KERNEL
337 select SYS_SUPPORTS_BIG_ENDIAN
338 select SYS_SUPPORTS_KGDB
339 select IRQ_CPU
340 select SERIAL_8250
341 select SERIAL_8250_CONSOLE
342 help
343 This adds support for the PMC-Sierra family of Multi-Service
344 Processor System-On-A-Chips. These parts include a number
345 of integrated peripherals, interfaces and DSPs in addition to
346 a variety of MIPS cores.
347
5e83d430 348config PMC_YOSEMITE
3fa986fa 349 bool "PMC-Sierra Yosemite eval board"
42f77542 350 select CEVT_R4K
940f6b48 351 select CSRC_R4K
5e83d430
RB
352 select DMA_COHERENT
353 select HW_HAS_PCI
354 select IRQ_CPU
355 select IRQ_CPU_RM7K
356 select IRQ_CPU_RM9K
357 select SWAP_IO_SPACE
7cf8053b 358 select SYS_HAS_CPU_RM9000
36a88530 359 select SYS_HAS_EARLY_PRINTK
5e83d430
RB
360 select SYS_SUPPORTS_32BIT_KERNEL
361 select SYS_SUPPORTS_64BIT_KERNEL
362 select SYS_SUPPORTS_BIG_ENDIAN
363 select SYS_SUPPORTS_HIGHMEM
cc801077 364 select SYS_SUPPORTS_KGDB
e73ea273 365 select SYS_SUPPORTS_SMP
5e83d430
RB
366 help
367 Yosemite is an evaluation board for the RM9000x2 processor
368 manufactured by PMC-Sierra.
1da177e4 369
07119621 370config QEMU
3fa986fa 371 bool "Qemu"
42f77542 372 select CEVT_R4K
940f6b48 373 select CSRC_R4K
07119621
RB
374 select DMA_COHERENT
375 select GENERIC_ISA_DMA
376 select HAVE_STD_PC_SERIAL_PORT
d865bea4 377 select I8253
07119621 378 select I8259
7bcf7717 379 select IRQ_CPU
07119621 380 select ISA
de61b542 381 select PCSPEAKER
07119621 382 select SWAP_IO_SPACE
7cf8053b 383 select SYS_HAS_CPU_MIPS32_R1
a57c2289 384 select SYS_HAS_EARLY_PRINTK
07119621
RB
385 select SYS_SUPPORTS_32BIT_KERNEL
386 select SYS_SUPPORTS_BIG_ENDIAN
c8cc9618 387 select SYS_SUPPORTS_LITTLE_ENDIAN
9fd32cfb 388 select GENERIC_HARDIRQS_NO__DO_IRQ
72ede9b1
AN
389 select NR_CPUS_DEFAULT_1
390 select SYS_SUPPORTS_SMP
07119621 391 help
5e83d430
RB
392 Qemu is a software emulator which among other architectures also
393 can simulate a MIPS32 4Kc system. This patch adds support for the
394 system architecture that currently is being simulated by Qemu. It
395 will eventually be removed again when Qemu has the capability to
396 simulate actual MIPS hardware platforms. More information on Qemu
397 can be found at http://www.linux-mips.org/wiki/Qemu.
07119621 398
1da177e4 399config SGI_IP22
3fa986fa 400 bool "SGI IP22 (Indy/Indigo2)"
1da177e4
LT
401 select ARC
402 select ARC32
403 select BOOT_ELF32
42f77542 404 select CEVT_R4K
940f6b48 405 select CSRC_R4K
1da177e4 406 select DMA_NONCOHERENT
5e83d430 407 select HW_HAS_EISA
d865bea4 408 select I8253
68de4803 409 select I8259
1da177e4
LT
410 select IP22_CPU_SCACHE
411 select IRQ_CPU
aa414dff 412 select GENERIC_ISA_DMA_SUPPORT_BROKEN
1da177e4 413 select SWAP_IO_SPACE
7cf8053b
RB
414 select SYS_HAS_CPU_R4X00
415 select SYS_HAS_CPU_R5000
36a88530 416 select SYS_HAS_EARLY_PRINTK
ed5ba2fb
YY
417 select SYS_SUPPORTS_32BIT_KERNEL
418 select SYS_SUPPORTS_64BIT_KERNEL
5e83d430 419 select SYS_SUPPORTS_BIG_ENDIAN
1da177e4
LT
420 help
421 This are the SGI Indy, Challenge S and Indigo2, as well as certain
422 OEM variants like the Tandem CMN B006S. To compile a Linux kernel
423 that runs on these, say Y here.
424
425config SGI_IP27
3fa986fa 426 bool "SGI IP27 (Origin200/2000)"
1da177e4
LT
427 select ARC
428 select ARC64
5e83d430 429 select BOOT_ELF64
1da177e4 430 select DMA_IP27
36a88530 431 select SYS_HAS_EARLY_PRINTK
1da177e4 432 select HW_HAS_PCI
130e2fb7 433 select NR_CPUS_DEFAULT_64
7cf8053b 434 select SYS_HAS_CPU_R10000
ed5ba2fb 435 select SYS_SUPPORTS_64BIT_KERNEL
5e83d430 436 select SYS_SUPPORTS_BIG_ENDIAN
cc801077 437 select SYS_SUPPORTS_KGDB
d8cb4e11 438 select SYS_SUPPORTS_NUMA
1a5c5de1 439 select SYS_SUPPORTS_SMP
e77c232c 440 select GENERIC_HARDIRQS_NO__DO_IRQ
1da177e4
LT
441 help
442 This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
443 workstations. To compile a Linux kernel that runs on these, say Y
444 here.
445
1da177e4 446config SGI_IP32
cfd2afc0 447 bool "SGI IP32 (O2)"
1da177e4
LT
448 select ARC
449 select ARC32
450 select BOOT_ELF32
42f77542 451 select CEVT_R4K
940f6b48 452 select CSRC_R4K
1da177e4
LT
453 select DMA_NONCOHERENT
454 select HW_HAS_PCI
dd67b155 455 select IRQ_CPU
1da177e4
LT
456 select R5000_CPU_SCACHE
457 select RM7000_CPU_SCACHE
7cf8053b
RB
458 select SYS_HAS_CPU_R5000
459 select SYS_HAS_CPU_R10000 if BROKEN
460 select SYS_HAS_CPU_RM7000
dd2f18fe 461 select SYS_HAS_CPU_NEVADA
ed5ba2fb 462 select SYS_SUPPORTS_64BIT_KERNEL
23fbee9d 463 select SYS_SUPPORTS_BIG_ENDIAN
23fbee9d 464 help
5e83d430 465 If you want this kernel to run on SGI O2 workstation, say Y here.
1da177e4 466
ade299d8
YY
467config SIBYTE_CRHINE
468 bool "Sibyte BCM91120C-CRhine"
469 depends on EXPERIMENTAL
9a6dcea1
AI
470 select BOOT_ELF32
471 select DMA_COHERENT
ade299d8 472 select SIBYTE_BCM1120
9a6dcea1 473 select SWAP_IO_SPACE
7cf8053b 474 select SYS_HAS_CPU_SB1
9a6dcea1
AI
475 select SYS_SUPPORTS_BIG_ENDIAN
476 select SYS_SUPPORTS_LITTLE_ENDIAN
477
ade299d8
YY
478config SIBYTE_CARMEL
479 bool "Sibyte BCM91120x-Carmel"
480 depends on EXPERIMENTAL
5e83d430 481 select BOOT_ELF32
1da177e4 482 select DMA_COHERENT
ade299d8 483 select SIBYTE_BCM1120
5e83d430 484 select SWAP_IO_SPACE
7cf8053b 485 select SYS_HAS_CPU_SB1
81731f79 486 select SYS_SUPPORTS_BIG_ENDIAN
5e83d430 487 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 488
ade299d8
YY
489config SIBYTE_CRHONE
490 bool "Sibyte BCM91125C-CRhone"
5e83d430
RB
491 depends on EXPERIMENTAL
492 select BOOT_ELF32
493 select DMA_COHERENT
ade299d8 494 select SIBYTE_BCM1125
5e83d430 495 select SWAP_IO_SPACE
7cf8053b 496 select SYS_HAS_CPU_SB1
5e83d430 497 select SYS_SUPPORTS_BIG_ENDIAN
ade299d8 498 select SYS_SUPPORTS_HIGHMEM
5e83d430 499 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 500
5e83d430 501config SIBYTE_RHONE
3fa986fa 502 bool "Sibyte BCM91125E-Rhone"
5e83d430
RB
503 depends on EXPERIMENTAL
504 select BOOT_ELF32
505 select DMA_COHERENT
506 select SIBYTE_BCM1125H
507 select SWAP_IO_SPACE
7cf8053b 508 select SYS_HAS_CPU_SB1
5e83d430
RB
509 select SYS_SUPPORTS_BIG_ENDIAN
510 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 511
ade299d8
YY
512config SIBYTE_SWARM
513 bool "Sibyte BCM91250A-SWARM"
5e83d430 514 select BOOT_ELF32
26a940e2 515 select DMA_COHERENT
ade299d8
YY
516 select NR_CPUS_DEFAULT_2
517 select SIBYTE_SB1250
5e83d430 518 select SWAP_IO_SPACE
7cf8053b 519 select SYS_HAS_CPU_SB1
5e83d430 520 select SYS_SUPPORTS_BIG_ENDIAN
ade299d8
YY
521 select SYS_SUPPORTS_HIGHMEM
522 select SYS_SUPPORTS_KGDB
e3ad1c23 523 select SYS_SUPPORTS_LITTLE_ENDIAN
cce335ae 524 select ZONE_DMA32 if 64BIT
e3ad1c23 525
ade299d8
YY
526config SIBYTE_LITTLESUR
527 bool "Sibyte BCM91250C2-LittleSur"
5e83d430
RB
528 depends on EXPERIMENTAL
529 select BOOT_ELF32
530 select DMA_COHERENT
130e2fb7 531 select NR_CPUS_DEFAULT_2
5e83d430
RB
532 select SIBYTE_SB1250
533 select SWAP_IO_SPACE
7cf8053b 534 select SYS_HAS_CPU_SB1
5e83d430
RB
535 select SYS_SUPPORTS_BIG_ENDIAN
536 select SYS_SUPPORTS_HIGHMEM
537 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 538
ade299d8
YY
539config SIBYTE_SENTOSA
540 bool "Sibyte BCM91250E-Sentosa"
5e83d430
RB
541 depends on EXPERIMENTAL
542 select BOOT_ELF32
543 select DMA_COHERENT
130e2fb7 544 select NR_CPUS_DEFAULT_2
5e83d430
RB
545 select SIBYTE_SB1250
546 select SWAP_IO_SPACE
7cf8053b 547 select SYS_HAS_CPU_SB1
5e83d430 548 select SYS_SUPPORTS_BIG_ENDIAN
5e83d430 549 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 550
ade299d8
YY
551config SIBYTE_PTSWARM
552 bool "Sibyte BCM91250PT-PTSWARM"
5e83d430
RB
553 depends on EXPERIMENTAL
554 select BOOT_ELF32
555 select DMA_COHERENT
ade299d8
YY
556 select NR_CPUS_DEFAULT_2
557 select SIBYTE_SB1250
5e83d430 558 select SWAP_IO_SPACE
7cf8053b 559 select SYS_HAS_CPU_SB1
5e83d430 560 select SYS_SUPPORTS_BIG_ENDIAN
ade299d8 561 select SYS_SUPPORTS_HIGHMEM
5e83d430 562 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 563
ade299d8
YY
564config SIBYTE_BIGSUR
565 bool "Sibyte BCM91480B-BigSur"
5e83d430
RB
566 select BOOT_ELF32
567 select DMA_COHERENT
ade299d8 568 select NR_CPUS_DEFAULT_4
ade299d8 569 select SIBYTE_BCM1x80
5e83d430 570 select SWAP_IO_SPACE
7cf8053b 571 select SYS_HAS_CPU_SB1
5e83d430 572 select SYS_SUPPORTS_BIG_ENDIAN
651194f8 573 select SYS_SUPPORTS_HIGHMEM
5e83d430 574 select SYS_SUPPORTS_LITTLE_ENDIAN
cce335ae 575 select ZONE_DMA32 if 64BIT
1da177e4 576
14b36af4
TB
577config SNI_RM
578 bool "SNI RM200/300/400"
4a0312fc
TB
579 select ARC if CPU_LITTLE_ENDIAN
580 select ARC32 if CPU_LITTLE_ENDIAN
61ed242d 581 select ARCH_MAY_HAVE_PC_FDC
1da177e4 582 select BOOT_ELF32
42f77542 583 select CEVT_R4K
940f6b48 584 select CSRC_R4K
1da177e4
LT
585 select DMA_NONCOHERENT
586 select GENERIC_ISA_DMA
5e83d430 587 select HW_HAS_EISA
1da177e4 588 select HW_HAS_PCI
c066a32a 589 select IRQ_CPU
d865bea4 590 select I8253
1da177e4
LT
591 select I8259
592 select ISA
de61b542 593 select PCSPEAKER
4a0312fc 594 select SWAP_IO_SPACE if CPU_BIG_ENDIAN
7cf8053b 595 select SYS_HAS_CPU_R4X00
4a0312fc 596 select SYS_HAS_CPU_R5000
c066a32a 597 select SYS_HAS_CPU_R10000
4a0312fc 598 select R5000_CPU_SCACHE
36a88530 599 select SYS_HAS_EARLY_PRINTK
ed5ba2fb
YY
600 select SYS_SUPPORTS_32BIT_KERNEL
601 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
4a0312fc 602 select SYS_SUPPORTS_BIG_ENDIAN
797798c1 603 select SYS_SUPPORTS_HIGHMEM
5e83d430 604 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 605 help
14b36af4
TB
606 The SNI RM200/300/400 are MIPS-based machines manufactured by
607 Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
1da177e4
LT
608 Technology and now in turn merged with Fujitsu. Say Y here to
609 support this machine type.
610
5e83d430 611config TOSHIBA_JMR3927
3fa986fa 612 bool "Toshiba JMR-TX3927 board"
229f773e 613 select CEVT_TXX9
5e83d430
RB
614 select DMA_NONCOHERENT
615 select HW_HAS_PCI
616 select MIPS_TX3927
c87abd75 617 select IRQ_TXX9
5e83d430 618 select SWAP_IO_SPACE
7cf8053b 619 select SYS_HAS_CPU_TX39XX
5e83d430 620 select SYS_SUPPORTS_32BIT_KERNEL
6a2603a2 621 select SYS_SUPPORTS_LITTLE_ENDIAN
5e83d430 622 select SYS_SUPPORTS_BIG_ENDIAN
2127435e 623 select GENERIC_HARDIRQS_NO__DO_IRQ
5e83d430 624
1da177e4 625config TOSHIBA_RBTX4927
08a91283 626 bool "Toshiba RBTX49[23]7 board"
42f77542 627 select CEVT_R4K
940f6b48 628 select CSRC_R4K
229f773e 629 select CEVT_TXX9
1da177e4
LT
630 select DMA_NONCOHERENT
631 select HAS_TXX9_SERIAL
632 select HW_HAS_PCI
c87abd75
AN
633 select IRQ_CPU
634 select IRQ_TXX9
635 select I8259 if TOSHIBA_FPCIB0
1da177e4 636 select SWAP_IO_SPACE
7cf8053b 637 select SYS_HAS_CPU_TX49XX
ed5ba2fb
YY
638 select SYS_SUPPORTS_32BIT_KERNEL
639 select SYS_SUPPORTS_64BIT_KERNEL
6a2603a2 640 select SYS_SUPPORTS_LITTLE_ENDIAN
5e83d430 641 select SYS_SUPPORTS_BIG_ENDIAN
cc801077 642 select SYS_SUPPORTS_KGDB
9fd32cfb 643 select GENERIC_HARDIRQS_NO__DO_IRQ
1da177e4
LT
644 help
645 This Toshiba board is based on the TX4927 processor. Say Y here to
646 support this machine type
647
5e83d430 648config TOSHIBA_RBTX4938
3fa986fa 649 bool "Toshiba RBTX4938 board"
42f77542 650 select CEVT_R4K
940f6b48 651 select CSRC_R4K
229f773e 652 select CEVT_TXX9
5e83d430 653 select DMA_NONCOHERENT
5e83d430
RB
654 select HAS_TXX9_SERIAL
655 select HW_HAS_PCI
c87abd75
AN
656 select IRQ_CPU
657 select IRQ_TXX9
5e83d430 658 select SWAP_IO_SPACE
7cf8053b 659 select SYS_HAS_CPU_TX49XX
5e83d430
RB
660 select SYS_SUPPORTS_32BIT_KERNEL
661 select SYS_SUPPORTS_LITTLE_ENDIAN
662 select SYS_SUPPORTS_BIG_ENDIAN
cc801077 663 select SYS_SUPPORTS_KGDB
9fd32cfb 664 select GENERIC_HARDIRQS_NO__DO_IRQ
3896b054 665 select GENERIC_GPIO
5e83d430
RB
666 help
667 This Toshiba board is based on the TX4938 processor. Say Y here to
668 support this machine type
669
ade299d8
YY
670config WR_PPMC
671 bool "Wind River PPMC board"
42f77542 672 select CEVT_R4K
940f6b48 673 select CSRC_R4K
ade299d8
YY
674 select IRQ_CPU
675 select BOOT_ELF32
676 select DMA_NONCOHERENT
677 select HW_HAS_PCI
678 select PCI_GT64XXX_PCI0
679 select SWAP_IO_SPACE
680 select SYS_HAS_CPU_MIPS32_R1
681 select SYS_HAS_CPU_MIPS32_R2
682 select SYS_HAS_CPU_MIPS64_R1
683 select SYS_HAS_CPU_NEVADA
684 select SYS_HAS_CPU_RM7000
685 select SYS_SUPPORTS_32BIT_KERNEL
686 select SYS_SUPPORTS_64BIT_KERNEL
687 select SYS_SUPPORTS_BIG_ENDIAN
688 select SYS_SUPPORTS_LITTLE_ENDIAN
689 help
690 This enables support for the Wind River MIPS32 4KC PPMC evaluation
691 board, which is based on GT64120 bridge chip.
692
5e83d430 693endchoice
1da177e4 694
c3543e25 695source "arch/mips/au1000/Kconfig"
5e83d430 696source "arch/mips/jazz/Kconfig"
1f21d2bd 697source "arch/mips/lasat/Kconfig"
5e83d430 698source "arch/mips/pmc-sierra/Kconfig"
29c48699 699source "arch/mips/sgi-ip27/Kconfig"
38b18f72 700source "arch/mips/sibyte/Kconfig"
5e83d430 701source "arch/mips/tx4927/Kconfig"
23fbee9d 702source "arch/mips/tx4938/Kconfig"
5e83d430 703source "arch/mips/vr41xx/Kconfig"
38b18f72 704
5e83d430
RB
705endmenu
706
1da177e4
LT
707config RWSEM_GENERIC_SPINLOCK
708 bool
709 default y
710
711config RWSEM_XCHGADD_ALGORITHM
712 bool
713
f0d1b0b3
DH
714config ARCH_HAS_ILOG2_U32
715 bool
716 default n
717
718config ARCH_HAS_ILOG2_U64
719 bool
720 default n
721
00a58253
RB
722config ARCH_SUPPORTS_OPROFILE
723 bool
724 default y if !MIPS_MT_SMTC
725
3c9ee7ef
AM
726config GENERIC_FIND_NEXT_BIT
727 bool
728 default y
729
730config GENERIC_HWEIGHT
731 bool
732 default y
733
1da177e4
LT
734config GENERIC_CALIBRATE_DELAY
735 bool
736 default y
737
7bcf7717
RB
738config GENERIC_CLOCKEVENTS
739 bool
740 default y
741
8db02010
RB
742config GENERIC_TIME
743 bool
744 default y
745
f5ff0a28
RB
746config GENERIC_CMOS_UPDATE
747 bool
748 default y
749
1cc89038
AN
750config SCHED_NO_NO_OMIT_FRAME_POINTER
751 bool
752 default y
753
e77c232c
FBH
754config GENERIC_HARDIRQS_NO__DO_IRQ
755 bool
756 default n
757
1da177e4
LT
758#
759# Select some configuration options automatically based on user selections.
760#
761config ARC
762 bool
1da177e4 763
61ed242d
RB
764config ARCH_MAY_HAVE_PC_FDC
765 bool
766
9267a30d
MSJ
767config BOOT_RAW
768 bool
769
217dd11e
RB
770config CEVT_BCM1480
771 bool
772
1097c6ac
YY
773config CEVT_GT641XX
774 bool
775
42f77542
RB
776config CEVT_R4K
777 bool
778
217dd11e
RB
779config CEVT_SB1250
780 bool
781
229f773e
AN
782config CEVT_TXX9
783 bool
784
217dd11e
RB
785config CSRC_BCM1480
786 bool
787
940f6b48
RB
788config CSRC_R4K
789 bool
790
217dd11e
RB
791config CSRC_SB1250
792 bool
793
df78b5c8
AJ
794config CFE
795 bool
796
4ce588cd 797config DMA_COHERENT
1da177e4
LT
798 bool
799
4ce588cd 800config DMA_IP27
1da177e4
LT
801 bool
802
4ce588cd
RB
803config DMA_NONCOHERENT
804 bool
805 select DMA_NEED_PCI_MAP_STATE
806
807config DMA_NEED_PCI_MAP_STATE
1da177e4
LT
808 bool
809
810config EARLY_PRINTK
36a88530
RB
811 bool "Early printk" if EMBEDDED && DEBUG_KERNEL
812 depends on SYS_HAS_EARLY_PRINTK
813 default y
814 help
815 This option enables special console drivers which allow the kernel
816 to print messages very early in the bootup process.
817
818 This is useful for kernel debugging when your machine crashes very
490dcc4d
RD
819 early before the console code is initialized. For normal operation,
820 it is not recommended because it looks ugly on some machines and
821 doesn't cooperate with an X server. You should normally say N here,
36a88530
RB
822 unless you want to debug such a crash.
823
824config SYS_HAS_EARLY_PRINTK
1da177e4 825 bool
1da177e4 826
dbb74540
RB
827config HOTPLUG_CPU
828 bool
829 default n
830
1da177e4
LT
831config I8259
832 bool
1da177e4 833
1da177e4
LT
834config MIPS_BONITO64
835 bool
1da177e4
LT
836
837config MIPS_MSC
838 bool
1da177e4 839
1f21d2bd
BM
840config MIPS_NILE4
841 bool
842
1da177e4
LT
843config MIPS_DISABLE_OBSOLETE_IDE
844 bool
845
d388d685
MR
846config NO_IOPORT
847 def_bool n
848
8313da30
RB
849config GENERIC_ISA_DMA
850 bool
851 select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
852
aa414dff
RB
853config GENERIC_ISA_DMA_SUPPORT_BROKEN
854 bool
8313da30 855 select GENERIC_ISA_DMA
aa414dff 856
09663335
YY
857config GENERIC_GPIO
858 bool
859
5e83d430 860#
3cb2fccc 861# Endianess selection. Sufficiently obscure so many users don't know what to
5e83d430
RB
862# answer,so we try hard to limit the available choices. Also the use of a
863# choice statement should be more obvious to the user.
864#
865choice
866 prompt "Endianess selection"
1da177e4
LT
867 help
868 Some MIPS machines can be configured for either little or big endian
5e83d430 869 byte order. These modes require different kernels and a different
3cb2fccc 870 Linux distribution. In general there is one preferred byteorder for a
5e83d430 871 particular system but some systems are just as commonly used in the
3dde6ad8 872 one or the other endianness.
5e83d430
RB
873
874config CPU_BIG_ENDIAN
875 bool "Big endian"
876 depends on SYS_SUPPORTS_BIG_ENDIAN
877
878config CPU_LITTLE_ENDIAN
879 bool "Little endian"
880 depends on SYS_SUPPORTS_LITTLE_ENDIAN
881 help
882
883endchoice
884
2116245e
RB
885config SYS_SUPPORTS_APM_EMULATION
886 bool
887
5e83d430
RB
888config SYS_SUPPORTS_BIG_ENDIAN
889 bool
890
891config SYS_SUPPORTS_LITTLE_ENDIAN
892 bool
1da177e4
LT
893
894config IRQ_CPU
895 bool
896
897config IRQ_CPU_RM7K
898 bool
899
5e83d430
RB
900config IRQ_CPU_RM9K
901 bool
902
9267a30d
MSJ
903config IRQ_MSP_SLP
904 bool
905
906config IRQ_MSP_CIC
907 bool
908
8420fd00
AN
909config IRQ_TXX9
910 bool
911
d5ab1a69
YY
912config IRQ_GT641XX
913 bool
914
1da177e4
LT
915config MIPS_BOARDS_GEN
916 bool
1da177e4 917
252161ec 918config PCI_GT64XXX_PCI0
1da177e4 919 bool
1da177e4 920
9267a30d
MSJ
921config NO_EXCEPT_FILL
922 bool
923
1da177e4
LT
924config MIPS_TX3927
925 bool
1da177e4 926 select HAS_TXX9_SERIAL
1da177e4 927
663c3d90 928config MIPS_RM9122
929 bool
930 select SERIAL_RM9000
663c3d90 931
bdf21b18
PP
932config PNX8550
933 bool
934 select SOC_PNX8550
935
936config SOC_PNX8550
937 bool
bdf21b18
PP
938 select DMA_NONCOHERENT
939 select HW_HAS_PCI
b8c2a77c 940 select SYS_HAS_CPU_MIPS32_R1
36a88530 941 select SYS_HAS_EARLY_PRINTK
7cf8053b 942 select SYS_SUPPORTS_32BIT_KERNEL
e77c232c 943 select GENERIC_HARDIRQS_NO__DO_IRQ
cc801077 944 select SYS_SUPPORTS_KGDB
4ead1681 945 select GENERIC_GPIO
bdf21b18 946
1da177e4
LT
947config SWAP_IO_SPACE
948 bool
949
355c471f 950config EMMA2RH
951 bool
952 depends on MARKEINS
953 default y
954
663c3d90 955config SERIAL_RM9000
956 bool
957
5e83d430
RB
958config ARC32
959 bool
960
1da177e4
LT
961config BOOT_ELF32
962 bool
1da177e4
LT
963
964config MIPS_L1_CACHE_SHIFT
965 int
06cf5583
TB
966 default "4" if MACH_DECSTATION
967 default "7" if SGI_IP27 || SNI_RM
9267a30d 968 default "4" if PMC_MSP4200_EVAL
1da177e4
LT
969 default "5"
970
1da177e4
LT
971config HAVE_STD_PC_SERIAL_PORT
972 bool
973
1da177e4
LT
974config ARC_CONSOLE
975 bool "ARC console support"
36a88530 976 depends on SGI_IP22 || (SNI_RM && CPU_LITTLE_ENDIAN)
1da177e4
LT
977
978config ARC_MEMORY
979 bool
14b36af4 980 depends on MACH_JAZZ || SNI_RM || SGI_IP32
1da177e4
LT
981 default y
982
983config ARC_PROMLIB
984 bool
14b36af4 985 depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP32
1da177e4
LT
986 default y
987
988config ARC64
989 bool
1da177e4
LT
990
991config BOOT_ELF64
992 bool
1da177e4 993
1da177e4
LT
994menu "CPU selection"
995
996choice
997 prompt "CPU type"
998 default CPU_R4X00
999
2a21c730
FZ
1000config CPU_LOONGSON2
1001 bool "Loongson 2"
1002 depends on SYS_HAS_CPU_LOONGSON2
1003 select CPU_SUPPORTS_32BIT_KERNEL
1004 select CPU_SUPPORTS_64BIT_KERNEL
1005 select CPU_SUPPORTS_HIGHMEM
1006 help
1007 The Loongson 2E processor implements the MIPS III instruction set
1008 with many extensions.
1009
6e760c8d
RB
1010config CPU_MIPS32_R1
1011 bool "MIPS32 Release 1"
7cf8053b 1012 depends on SYS_HAS_CPU_MIPS32_R1
f7062ddb 1013 select CPU_HAS_LLSC
6e760c8d 1014 select CPU_HAS_PREFETCH
797798c1 1015 select CPU_SUPPORTS_32BIT_KERNEL
ec28f306 1016 select CPU_SUPPORTS_HIGHMEM
1e5f1caa 1017 help
5e83d430 1018 Choose this option to build a kernel for release 1 or later of the
1e5f1caa
RB
1019 MIPS32 architecture. Most modern embedded systems with a 32-bit
1020 MIPS processor are based on a MIPS32 processor. If you know the
1021 specific type of processor in your system, choose those that one
1022 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1023 Release 2 of the MIPS32 architecture is available since several
1024 years so chances are you even have a MIPS32 Release 2 processor
1025 in which case you should choose CPU_MIPS32_R2 instead for better
1026 performance.
1027
1028config CPU_MIPS32_R2
1029 bool "MIPS32 Release 2"
7cf8053b 1030 depends on SYS_HAS_CPU_MIPS32_R2
f7062ddb 1031 select CPU_HAS_LLSC
1e5f1caa 1032 select CPU_HAS_PREFETCH
797798c1 1033 select CPU_SUPPORTS_32BIT_KERNEL
ec28f306 1034 select CPU_SUPPORTS_HIGHMEM
6e760c8d 1035 help
5e83d430 1036 Choose this option to build a kernel for release 2 or later of the
6e760c8d
RB
1037 MIPS32 architecture. Most modern embedded systems with a 32-bit
1038 MIPS processor are based on a MIPS32 processor. If you know the
1039 specific type of processor in your system, choose those that one
1040 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1041
1042config CPU_MIPS64_R1
1043 bool "MIPS64 Release 1"
7cf8053b 1044 depends on SYS_HAS_CPU_MIPS64_R1
f7062ddb 1045 select CPU_HAS_LLSC
797798c1 1046 select CPU_HAS_PREFETCH
ed5ba2fb
YY
1047 select CPU_SUPPORTS_32BIT_KERNEL
1048 select CPU_SUPPORTS_64BIT_KERNEL
ec28f306 1049 select CPU_SUPPORTS_HIGHMEM
6e760c8d
RB
1050 help
1051 Choose this option to build a kernel for release 1 or later of the
1052 MIPS64 architecture. Many modern embedded systems with a 64-bit
1053 MIPS processor are based on a MIPS64 processor. If you know the
1054 specific type of processor in your system, choose those that one
1055 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
1e5f1caa
RB
1056 Release 2 of the MIPS64 architecture is available since several
1057 years so chances are you even have a MIPS64 Release 2 processor
1058 in which case you should choose CPU_MIPS64_R2 instead for better
1059 performance.
1060
1061config CPU_MIPS64_R2
1062 bool "MIPS64 Release 2"
7cf8053b 1063 depends on SYS_HAS_CPU_MIPS64_R2
f7062ddb 1064 select CPU_HAS_LLSC
797798c1 1065 select CPU_HAS_PREFETCH
1e5f1caa
RB
1066 select CPU_SUPPORTS_32BIT_KERNEL
1067 select CPU_SUPPORTS_64BIT_KERNEL
ec28f306 1068 select CPU_SUPPORTS_HIGHMEM
1e5f1caa
RB
1069 help
1070 Choose this option to build a kernel for release 2 or later of the
1071 MIPS64 architecture. Many modern embedded systems with a 64-bit
1072 MIPS processor are based on a MIPS64 processor. If you know the
1073 specific type of processor in your system, choose those that one
1074 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
1da177e4
LT
1075
1076config CPU_R3000
1077 bool "R3000"
7cf8053b 1078 depends on SYS_HAS_CPU_R3000
f7062ddb 1079 select CPU_HAS_WB
ed5ba2fb 1080 select CPU_SUPPORTS_32BIT_KERNEL
797798c1 1081 select CPU_SUPPORTS_HIGHMEM
1da177e4
LT
1082 help
1083 Please make sure to pick the right CPU type. Linux/MIPS is not
1084 designed to be generic, i.e. Kernels compiled for R3000 CPUs will
1085 *not* work on R4000 machines and vice versa. However, since most
1086 of the supported machines have an R4000 (or similar) CPU, R4x00
1087 might be a safe bet. If the resulting kernel does not work,
1088 try to recompile with R3000.
1089
1090config CPU_TX39XX
1091 bool "R39XX"
7cf8053b 1092 depends on SYS_HAS_CPU_TX39XX
ed5ba2fb 1093 select CPU_SUPPORTS_32BIT_KERNEL
1da177e4
LT
1094
1095config CPU_VR41XX
1096 bool "R41xx"
7cf8053b 1097 depends on SYS_HAS_CPU_VR41XX
ed5ba2fb
YY
1098 select CPU_SUPPORTS_32BIT_KERNEL
1099 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4 1100 help
5e83d430 1101 The options selects support for the NEC VR4100 series of processors.
1da177e4
LT
1102 Only choose this option if you have one of these processors as a
1103 kernel built with this option will not run on any other type of
1104 processor or vice versa.
1105
1106config CPU_R4300
1107 bool "R4300"
7cf8053b 1108 depends on SYS_HAS_CPU_R4300
f7062ddb 1109 select CPU_HAS_LLSC
ed5ba2fb
YY
1110 select CPU_SUPPORTS_32BIT_KERNEL
1111 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1112 help
1113 MIPS Technologies R4300-series processors.
1114
1115config CPU_R4X00
1116 bool "R4x00"
7cf8053b 1117 depends on SYS_HAS_CPU_R4X00
f7062ddb 1118 select CPU_HAS_LLSC
ed5ba2fb
YY
1119 select CPU_SUPPORTS_32BIT_KERNEL
1120 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1121 help
1122 MIPS Technologies R4000-series processors other than 4300, including
1123 the R4000, R4400, R4600, and 4700.
1124
1125config CPU_TX49XX
1126 bool "R49XX"
7cf8053b 1127 depends on SYS_HAS_CPU_TX49XX
f7062ddb 1128 select CPU_HAS_LLSC
de862b48 1129 select CPU_HAS_PREFETCH
ed5ba2fb
YY
1130 select CPU_SUPPORTS_32BIT_KERNEL
1131 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1132
1133config CPU_R5000
1134 bool "R5000"
7cf8053b 1135 depends on SYS_HAS_CPU_R5000
f7062ddb 1136 select CPU_HAS_LLSC
ed5ba2fb
YY
1137 select CPU_SUPPORTS_32BIT_KERNEL
1138 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1139 help
1140 MIPS Technologies R5000-series processors other than the Nevada.
1141
1142config CPU_R5432
1143 bool "R5432"
7cf8053b 1144 depends on SYS_HAS_CPU_R5432
f7062ddb 1145 select CPU_HAS_LLSC
5e83d430
RB
1146 select CPU_SUPPORTS_32BIT_KERNEL
1147 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1148
1149config CPU_R6000
1150 bool "R6000"
ed5ba2fb 1151 depends on EXPERIMENTAL
f7062ddb 1152 select CPU_HAS_LLSC
7cf8053b 1153 depends on SYS_HAS_CPU_R6000
ed5ba2fb 1154 select CPU_SUPPORTS_32BIT_KERNEL
1da177e4
LT
1155 help
1156 MIPS Technologies R6000 and R6000A series processors. Note these
c09b47d8 1157 processors are extremely rare and the support for them is incomplete.
1da177e4
LT
1158
1159config CPU_NEVADA
1160 bool "RM52xx"
7cf8053b 1161 depends on SYS_HAS_CPU_NEVADA
f7062ddb 1162 select CPU_HAS_LLSC
ed5ba2fb
YY
1163 select CPU_SUPPORTS_32BIT_KERNEL
1164 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1165 help
1166 QED / PMC-Sierra RM52xx-series ("Nevada") processors.
1167
1168config CPU_R8000
1169 bool "R8000"
ed5ba2fb 1170 depends on EXPERIMENTAL
7cf8053b 1171 depends on SYS_HAS_CPU_R8000
f7062ddb 1172 select CPU_HAS_LLSC
5e83d430 1173 select CPU_HAS_PREFETCH
ed5ba2fb 1174 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1175 help
1176 MIPS Technologies R8000 processors. Note these processors are
1177 uncommon and the support for them is incomplete.
1178
1179config CPU_R10000
1180 bool "R10000"
7cf8053b 1181 depends on SYS_HAS_CPU_R10000
f7062ddb 1182 select CPU_HAS_LLSC
5e83d430 1183 select CPU_HAS_PREFETCH
ed5ba2fb
YY
1184 select CPU_SUPPORTS_32BIT_KERNEL
1185 select CPU_SUPPORTS_64BIT_KERNEL
797798c1 1186 select CPU_SUPPORTS_HIGHMEM
1da177e4
LT
1187 help
1188 MIPS Technologies R10000-series processors.
1189
1190config CPU_RM7000
1191 bool "RM7000"
7cf8053b 1192 depends on SYS_HAS_CPU_RM7000
f7062ddb 1193 select CPU_HAS_LLSC
5e83d430 1194 select CPU_HAS_PREFETCH
ed5ba2fb
YY
1195 select CPU_SUPPORTS_32BIT_KERNEL
1196 select CPU_SUPPORTS_64BIT_KERNEL
797798c1 1197 select CPU_SUPPORTS_HIGHMEM
1da177e4
LT
1198
1199config CPU_RM9000
1200 bool "RM9000"
7cf8053b 1201 depends on SYS_HAS_CPU_RM9000
f7062ddb 1202 select CPU_HAS_LLSC
5e83d430 1203 select CPU_HAS_PREFETCH
ed5ba2fb
YY
1204 select CPU_SUPPORTS_32BIT_KERNEL
1205 select CPU_SUPPORTS_64BIT_KERNEL
797798c1 1206 select CPU_SUPPORTS_HIGHMEM
0004a9df 1207 select WEAK_ORDERING
1da177e4
LT
1208
1209config CPU_SB1
1210 bool "SB1"
7cf8053b 1211 depends on SYS_HAS_CPU_SB1
f7062ddb 1212 select CPU_HAS_LLSC
ed5ba2fb
YY
1213 select CPU_SUPPORTS_32BIT_KERNEL
1214 select CPU_SUPPORTS_64BIT_KERNEL
797798c1 1215 select CPU_SUPPORTS_HIGHMEM
0004a9df 1216 select WEAK_ORDERING
1da177e4
LT
1217
1218endchoice
1219
2a21c730
FZ
1220config SYS_HAS_CPU_LOONGSON2
1221 bool
1222
7cf8053b
RB
1223config SYS_HAS_CPU_MIPS32_R1
1224 bool
1225
1226config SYS_HAS_CPU_MIPS32_R2
1227 bool
1228
1229config SYS_HAS_CPU_MIPS64_R1
1230 bool
1231
1232config SYS_HAS_CPU_MIPS64_R2
1233 bool
1234
1235config SYS_HAS_CPU_R3000
1236 bool
1237
1238config SYS_HAS_CPU_TX39XX
1239 bool
1240
1241config SYS_HAS_CPU_VR41XX
1242 bool
1243
1244config SYS_HAS_CPU_R4300
1245 bool
1246
1247config SYS_HAS_CPU_R4X00
1248 bool
1249
1250config SYS_HAS_CPU_TX49XX
1251 bool
1252
1253config SYS_HAS_CPU_R5000
1254 bool
1255
1256config SYS_HAS_CPU_R5432
1257 bool
1258
1259config SYS_HAS_CPU_R6000
1260 bool
1261
1262config SYS_HAS_CPU_NEVADA
1263 bool
1264
1265config SYS_HAS_CPU_R8000
1266 bool
1267
1268config SYS_HAS_CPU_R10000
1269 bool
1270
1271config SYS_HAS_CPU_RM7000
1272 bool
1273
1274config SYS_HAS_CPU_RM9000
1275 bool
1276
1277config SYS_HAS_CPU_SB1
1278 bool
1279
17099b11
RB
1280#
1281# CPU may reorder R->R, R->W, W->R, W->W
1282# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
1283#
0004a9df
RB
1284config WEAK_ORDERING
1285 bool
17099b11
RB
1286
1287#
1288# CPU may reorder reads and writes beyond LL/SC
1289# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
1290#
1291config WEAK_REORDERING_BEYOND_LLSC
1292 bool
5e83d430
RB
1293endmenu
1294
1295#
c09b47d8 1296# These two indicate any level of the MIPS32 and MIPS64 architecture
5e83d430
RB
1297#
1298config CPU_MIPS32
1299 bool
1300 default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
1301
1302config CPU_MIPS64
1303 bool
1304 default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
1305
1306#
c09b47d8 1307# These two indicate the revision of the architecture, either Release 1 or Release 2
5e83d430
RB
1308#
1309config CPU_MIPSR1
1310 bool
1311 default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
1312
1313config CPU_MIPSR2
1314 bool
1315 default y if CPU_MIPS32_R2 || CPU_MIPS64_R2
1316
1317config SYS_SUPPORTS_32BIT_KERNEL
1318 bool
1319config SYS_SUPPORTS_64BIT_KERNEL
1320 bool
1321config CPU_SUPPORTS_32BIT_KERNEL
1322 bool
1323config CPU_SUPPORTS_64BIT_KERNEL
1324 bool
1325
1326menu "Kernel type"
1327
1328choice
1329
1330 prompt "Kernel code model"
1331 help
1332 You should only select this option if you have a workload that
1333 actually benefits from 64-bit processing or if your machine has
1334 large memory. You will only be presented a single option in this
1335 menu if your system does not support both 32-bit and 64-bit kernels.
1336
1337config 32BIT
1338 bool "32-bit kernel"
1339 depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
1340 select TRAD_SIGNALS
1341 help
1342 Select this option if you want to build a 32-bit kernel.
1343config 64BIT
1344 bool "64-bit kernel"
1345 depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
1346 help
1347 Select this option if you want to build a 64-bit kernel.
1348
1349endchoice
1350
1da177e4
LT
1351choice
1352 prompt "Kernel page size"
1353 default PAGE_SIZE_4KB
1354
1355config PAGE_SIZE_4KB
1356 bool "4kB"
1357 help
1358 This option select the standard 4kB Linux page size. On some
1359 R3000-family processors this is the only available page size. Using
1360 4kB page size will minimize memory consumption and is therefore
1361 recommended for low memory systems.
1362
1363config PAGE_SIZE_8KB
1364 bool "8kB"
1365 depends on EXPERIMENTAL && CPU_R8000
1366 help
1367 Using 8kB page size will result in higher performance kernel at
1368 the price of higher memory consumption. This option is available
1369 only on the R8000 processor. Not that at the time of this writing
1370 this option is still high experimental; there are also issues with
1371 compatibility of user applications.
1372
1373config PAGE_SIZE_16KB
1374 bool "16kB"
714bfad6 1375 depends on !CPU_R3000 && !CPU_TX39XX
1da177e4
LT
1376 help
1377 Using 16kB page size will result in higher performance kernel at
1378 the price of higher memory consumption. This option is available on
714bfad6
RB
1379 all non-R3000 family processors. Note that you will need a suitable
1380 Linux distribution to support this.
1da177e4
LT
1381
1382config PAGE_SIZE_64KB
1383 bool "64kB"
1384 depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
1385 help
1386 Using 64kB page size will result in higher performance kernel at
1387 the price of higher memory consumption. This option is available on
1388 all non-R3000 family processor. Not that at the time of this
714bfad6 1389 writing this option is still high experimental.
1da177e4
LT
1390
1391endchoice
1392
1393config BOARD_SCACHE
1394 bool
1395
1396config IP22_CPU_SCACHE
1397 bool
1398 select BOARD_SCACHE
1399
9318c51a
CD
1400#
1401# Support for a MIPS32 / MIPS64 style S-caches
1402#
1403config MIPS_CPU_SCACHE
1404 bool
1405 select BOARD_SCACHE
1406
1da177e4
LT
1407config R5000_CPU_SCACHE
1408 bool
1409 select BOARD_SCACHE
1410
1411config RM7000_CPU_SCACHE
1412 bool
1413 select BOARD_SCACHE
1414
1415config SIBYTE_DMA_PAGEOPS
1416 bool "Use DMA to clear/copy pages"
1417 depends on CPU_SB1
1418 help
1419 Instead of using the CPU to zero and copy pages, use a Data Mover
1420 channel. These DMA channels are otherwise unused by the standard
1421 SiByte Linux port. Seems to give a small performance benefit.
1422
1423config CPU_HAS_PREFETCH
c8094b53 1424 bool
1da177e4 1425
340ee4b9
RB
1426choice
1427 prompt "MIPS MT options"
f41ae0b2
RB
1428
1429config MIPS_MT_DISABLED
1430 bool "Disable multithreading support."
1431 help
1432 Use this option if your workload can't take advantage of
1433 MIPS hardware multithreading support. On systems that don't have
1434 the option of an MT-enabled processor this option will be the only
1435 option in this menu.
340ee4b9 1436
59d6ab86
RB
1437config MIPS_MT_SMP
1438 bool "Use 1 TC on each available VPE for SMP"
f41ae0b2 1439 depends on SYS_SUPPORTS_MULTITHREADING
f7062ddb 1440 select CPU_MIPSR2_IRQ_VI
d725cf38 1441 select CPU_MIPSR2_IRQ_EI
f41ae0b2 1442 select MIPS_MT
f510aa3b 1443 select NR_CPUS_DEFAULT_2
41c594ab 1444 select SMP
73b76c78 1445 select SYS_SUPPORTS_SMP
f41ae0b2 1446 help
59d6ab86
RB
1447 This is a kernel model which is also known a VSMP or lately
1448 has been marketesed into SMVP.
41c594ab 1449
59d6ab86
RB
1450config MIPS_MT_SMTC
1451 bool "SMTC: Use all TCs on all VPEs for SMP"
1452 depends on CPU_MIPS32_R2
1453 #depends on CPU_MIPS64_R2 # once there is hardware ...
f41ae0b2 1454 depends on SYS_SUPPORTS_MULTITHREADING
ea580401 1455 select GENERIC_CLOCKEVENTS_BROADCAST
f41ae0b2 1456 select CPU_MIPSR2_IRQ_VI
d725cf38 1457 select CPU_MIPSR2_IRQ_EI
f41ae0b2 1458 select MIPS_MT
130e2fb7 1459 select NR_CPUS_DEFAULT_8
340ee4b9 1460 select SMP
73b76c78 1461 select SYS_SUPPORTS_SMP
f41ae0b2 1462 help
59d6ab86
RB
1463 This is a kernel model which is known a SMTC or lately has been
1464 marketesed into SMVP.
340ee4b9 1465
340ee4b9
RB
1466endchoice
1467
f41ae0b2
RB
1468config MIPS_MT
1469 bool
1470
1471config SYS_SUPPORTS_MULTITHREADING
1472 bool
1473
f088fc84
RB
1474config MIPS_MT_FPAFF
1475 bool "Dynamic FPU affinity for FP-intensive threads"
f088fc84 1476 default y
07cc0c9e
RB
1477 depends on MIPS_MT_SMP || MIPS_MT_SMTC
1478
1479config MIPS_VPE_LOADER
1480 bool "VPE loader support."
1481 depends on SYS_SUPPORTS_MULTITHREADING
1482 select CPU_MIPSR2_IRQ_VI
1483 select CPU_MIPSR2_IRQ_EI
07cc0c9e
RB
1484 select MIPS_MT
1485 help
1486 Includes a loader for loading an elf relocatable object
1487 onto another VPE and running it.
f088fc84 1488
ac8be955
RB
1489config MIPS_MT_SMTC_INSTANT_REPLAY
1490 bool "Low-latency Dispatch of Deferred SMTC IPIs"
619af723 1491 depends on MIPS_MT_SMTC && !PREEMPT
ac8be955
RB
1492 default y
1493 help
1494 SMTC pseudo-interrupts between TCs are deferred and queued
1495 if the target TC is interrupt-inhibited (IXMT). In the first
1496 SMTC prototypes, these queued IPIs were serviced on return
1497 to user mode, or on entry into the kernel idle loop. The
1498 INSTANT_REPLAY option dispatches them as part of local_irq_restore()
1499 processing, which adds runtime overhead (hence the option to turn
1500 it off), but ensures that IPIs are handled promptly even under
1501 heavy I/O interrupt load.
1502
0db34215
KK
1503config MIPS_MT_SMTC_IM_BACKSTOP
1504 bool "Use per-TC register bits as backstop for inhibited IM bits"
1505 depends on MIPS_MT_SMTC
1506 default y
1507 help
1508 To support multiple TC microthreads acting as "CPUs" within
1509 a VPE, VPE-wide interrupt mask bits must be specially manipulated
1510 during interrupt handling. To support legacy drivers and interrupt
1511 controller management code, SMTC has a "backstop" to track and
1512 if necessary restore the interrupt mask. This has some performance
1513 impact on interrupt service overhead. Disable it only if you know
1514 what you are doing.
1515
f571eff0
KK
1516config MIPS_MT_SMTC_IRQAFF
1517 bool "Support IRQ affinity API"
1518 depends on MIPS_MT_SMTC
1519 default n
1520 help
1521 Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1522 for SMTC Linux kernel. Requires platform support, of which
1523 an example can be found in the MIPS kernel i8259 and Malta
1524 platform code. It is recommended that MIPS_MT_SMTC_INSTANT_REPLAY
1525 be enabled if MIPS_MT_SMTC_IRQAFF is used. Adds overhead to
1526 interrupt dispatch, and should be used only if you know what
1527 you are doing.
1528
e01402b1
RB
1529config MIPS_VPE_LOADER_TOM
1530 bool "Load VPE program into memory hidden from linux"
1531 depends on MIPS_VPE_LOADER
1532 default y
1533 help
1534 The loader can use memory that is present but has been hidden from
1535 Linux using the kernel command line option "mem=xxMB". It's up to
1536 you to ensure the amount you put in the option and the space your
1537 program requires is less or equal to the amount physically present.
1538
1539# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1540config MIPS_VPE_APSP_API
5e83d430
RB
1541 bool "Enable support for AP/SP API (RTLX)"
1542 depends on MIPS_VPE_LOADER
1543 help
e01402b1 1544
2600990e
RB
1545config MIPS_APSP_KSPD
1546 bool "Enable KSPD"
1547 depends on MIPS_VPE_APSP_API
1548 default y
1549 help
1550 KSPD is a kernel daemon that accepts syscall requests from the SP
1551 side, actions them and returns the results. It also handles the
1552 "exit" syscall notifying other kernel modules the SP program is
1553 exiting. You probably want to say yes here.
1554
1da177e4
LT
1555config SB1_PASS_1_WORKAROUNDS
1556 bool
1557 depends on CPU_SB1_PASS_1
1558 default y
1559
1560config SB1_PASS_2_WORKAROUNDS
1561 bool
1562 depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
1563 default y
1564
1565config SB1_PASS_2_1_WORKAROUNDS
1566 bool
1567 depends on CPU_SB1 && CPU_SB1_PASS_2
1568 default y
1569
1570config 64BIT_PHYS_ADDR
d806cb2b 1571 bool
1da177e4 1572
1da177e4 1573config CPU_HAS_LLSC
f7062ddb 1574 bool
1da177e4 1575
9693a853
FBH
1576config CPU_HAS_SMARTMIPS
1577 depends on SYS_SUPPORTS_SMARTMIPS
1578 bool "Support for the SmartMIPS ASE"
1579 help
1580 SmartMIPS is a extension of the MIPS32 architecture aimed at
1581 increased security at both hardware and software level for
1582 smartcards. Enabling this option will allow proper use of the
1583 SmartMIPS instructions by Linux applications. However a kernel with
1584 this option will not work on a MIPS core without SmartMIPS core. If
1585 you don't know you probably don't have SmartMIPS and should say N
1586 here.
1587
1da177e4 1588config CPU_HAS_WB
f7062ddb 1589 bool
e01402b1 1590
f41ae0b2
RB
1591#
1592# Vectored interrupt mode is an R2 feature
1593#
e01402b1 1594config CPU_MIPSR2_IRQ_VI
f41ae0b2 1595 bool
e01402b1 1596
f41ae0b2
RB
1597#
1598# Extended interrupt mode is an R2 feature
1599#
e01402b1 1600config CPU_MIPSR2_IRQ_EI
f41ae0b2 1601 bool
e01402b1 1602
1da177e4
LT
1603config CPU_HAS_SYNC
1604 bool
1605 depends on !CPU_R3000
1606 default y
1607
ea580401
RB
1608config GENERIC_CLOCKEVENTS_BROADCAST
1609 bool
1610
20d60d99
MR
1611#
1612# CPU non-features
1613#
1614config CPU_DADDI_WORKAROUNDS
1615 bool
1616
1617config CPU_R4000_WORKAROUNDS
1618 bool
1619 select CPU_R4400_WORKAROUNDS
1620
1621config CPU_R4400_WORKAROUNDS
1622 bool
1623
797798c1
RB
1624#
1625# Use the generic interrupt handling code in kernel/irq/:
1626#
1627config GENERIC_HARDIRQS
1628 bool
1629 default y
1630
1631config GENERIC_IRQ_PROBE
1632 bool
1633 default y
1634
0d7012a9 1635config IRQ_PER_CPU
0d7012a9 1636 bool
0d7012a9 1637
1da177e4
LT
1638#
1639# - Highmem only makes sense for the 32-bit kernel.
1640# - The current highmem code will only work properly on physically indexed
1641# caches such as R3000, SB1, R7000 or those that look like they're virtually
1642# indexed such as R4000/R4400 SC and MC versions or R10000. So for the
1643# moment we protect the user and offer the highmem option only on machines
1644# where it's known to be safe. This will not offer highmem on a few systems
1645# such as MIPS32 and MIPS64 CPUs which may have virtual and physically
1646# indexed CPUs but we're playing safe.
797798c1
RB
1647# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1648# know they might have memory configurations that could make use of highmem
1649# support.
1da177e4
LT
1650#
1651config HIGHMEM
1652 bool "High Memory Support"
797798c1
RB
1653 depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1654
1655config CPU_SUPPORTS_HIGHMEM
1656 bool
1657
1658config SYS_SUPPORTS_HIGHMEM
1659 bool
1da177e4 1660
9693a853
FBH
1661config SYS_SUPPORTS_SMARTMIPS
1662 bool
1663
b4819b59
YY
1664config ARCH_FLATMEM_ENABLE
1665 def_bool y
1666 depends on !NUMA
1667
d8cb4e11
RB
1668config ARCH_DISCONTIGMEM_ENABLE
1669 bool
1670 default y if SGI_IP27
1671 help
3dde6ad8 1672 Say Y to support efficient handling of discontiguous physical memory,
d8cb4e11
RB
1673 for architectures which are either NUMA (Non-Uniform Memory Access)
1674 or have huge holes in the physical address space for other reasons.
1675 See <file:Documentation/vm/numa> for more.
1676
cce335ae
RB
1677config ARCH_POPULATES_NODE_MAP
1678 def_bool y
1679
31473747
AN
1680config ARCH_SPARSEMEM_ENABLE
1681 bool
7de58fab 1682 select SPARSEMEM_STATIC
31473747 1683
d8cb4e11
RB
1684config NUMA
1685 bool "NUMA Support"
1686 depends on SYS_SUPPORTS_NUMA
1687 help
1688 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1689 Access). This option improves performance on systems with more
1690 than two nodes; on two node systems it is generally better to
1691 leave it disabled; on single node systems disable this option
1692 disabled.
1693
1694config SYS_SUPPORTS_NUMA
1695 bool
1696
c80d79d7
YG
1697config NODES_SHIFT
1698 int
1699 default "6"
1700 depends on NEED_MULTIPLE_NODES
1701
b4819b59
YY
1702source "mm/Kconfig"
1703
1da177e4
LT
1704config SMP
1705 bool "Multi-Processing support"
e73ea273 1706 depends on SYS_SUPPORTS_SMP
b4b30a5a 1707 select IRQ_PER_CPU
e73ea273 1708 help
1da177e4
LT
1709 This enables support for systems with more than one CPU. If you have
1710 a system with only one CPU, like most personal computers, say N. If
1711 you have a system with more than one CPU, say Y.
1712
1713 If you say N here, the kernel will run on single and multiprocessor
1714 machines, but will use only one CPU of a multiprocessor machine. If
1715 you say Y here, the kernel will run on many, but not all,
1716 singleprocessor machines. On a singleprocessor machine, the kernel
1717 will run faster if you say N here.
1718
1719 People using multiprocessor machines who say Y here should also say
1720 Y to "Enhanced Real Time Clock Support", below.
1721
1722 See also the <file:Documentation/smp.txt> and the SMP-HOWTO
1723 available at <http://www.tldp.org/docs.html#howto>.
1724
1725 If you don't know what to do here, say N.
1726
e73ea273
RB
1727config SYS_SUPPORTS_SMP
1728 bool
1729
72ede9b1
AN
1730config NR_CPUS_DEFAULT_1
1731 bool
1732
130e2fb7
RB
1733config NR_CPUS_DEFAULT_2
1734 bool
1735
1736config NR_CPUS_DEFAULT_4
1737 bool
1738
1739config NR_CPUS_DEFAULT_8
1740 bool
1741
1742config NR_CPUS_DEFAULT_16
1743 bool
1744
1745config NR_CPUS_DEFAULT_32
1746 bool
1747
1748config NR_CPUS_DEFAULT_64
1749 bool
1750
1da177e4
LT
1751config NR_CPUS
1752 int "Maximum number of CPUs (2-64)"
72ede9b1 1753 range 1 64 if NR_CPUS_DEFAULT_1
1da177e4 1754 depends on SMP
72ede9b1 1755 default "1" if NR_CPUS_DEFAULT_1
130e2fb7
RB
1756 default "2" if NR_CPUS_DEFAULT_2
1757 default "4" if NR_CPUS_DEFAULT_4
1758 default "8" if NR_CPUS_DEFAULT_8
1759 default "16" if NR_CPUS_DEFAULT_16
1760 default "32" if NR_CPUS_DEFAULT_32
1761 default "64" if NR_CPUS_DEFAULT_64
1da177e4
LT
1762 help
1763 This allows you to specify the maximum number of CPUs which this
1764 kernel will support. The maximum supported value is 32 for 32-bit
1765 kernel and 64 for 64-bit kernels; the minimum value which makes
72ede9b1
AN
1766 sense is 1 for Qemu (useful only for kernel debugging purposes)
1767 and 2 for all others.
1da177e4
LT
1768
1769 This is purely to save memory - each supported CPU adds
72ede9b1
AN
1770 approximately eight kilobytes to the kernel image. For best
1771 performance should round up your number of processors to the next
1772 power of two.
1da177e4 1773
c4eee283
AN
1774source "kernel/time/Kconfig"
1775
1723b4a3
AN
1776#
1777# Timer Interrupt Frequency Configuration
1778#
1779
1780choice
1781 prompt "Timer frequency"
1782 default HZ_250
1783 help
1784 Allows the configuration of the timer frequency.
1785
1786 config HZ_48
1787 bool "48 HZ" if SYS_SUPPORTS_48HZ
1788
1789 config HZ_100
1790 bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
1791
1792 config HZ_128
1793 bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
1794
1795 config HZ_250
1796 bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
1797
1798 config HZ_256
1799 bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
1800
1801 config HZ_1000
1802 bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
1803
1804 config HZ_1024
1805 bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
1806
1807endchoice
1808
1809config SYS_SUPPORTS_48HZ
1810 bool
1811
1812config SYS_SUPPORTS_100HZ
1813 bool
1814
1815config SYS_SUPPORTS_128HZ
1816 bool
1817
1818config SYS_SUPPORTS_250HZ
1819 bool
1820
1821config SYS_SUPPORTS_256HZ
1822 bool
1823
1824config SYS_SUPPORTS_1000HZ
1825 bool
1826
1827config SYS_SUPPORTS_1024HZ
1828 bool
1829
1830config SYS_SUPPORTS_ARBIT_HZ
1831 bool
1832 default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
1833 !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
1834 !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
1835 !SYS_SUPPORTS_1024HZ
1836
1837config HZ
1838 int
1839 default 48 if HZ_48
1840 default 100 if HZ_100
1841 default 128 if HZ_128
1842 default 250 if HZ_250
1843 default 256 if HZ_256
1844 default 1000 if HZ_1000
1845 default 1024 if HZ_1024
1846
e80de850 1847source "kernel/Kconfig.preempt"
1da177e4 1848
1da177e4
LT
1849config MIPS_INSANE_LARGE
1850 bool "Support for large 64-bit configurations"
875d43e7 1851 depends on CPU_R10000 && 64BIT
1da177e4
LT
1852 help
1853 MIPS R10000 does support a 44 bit / 16TB address space as opposed to
1854 previous 64-bit processors which only supported 40 bit / 1TB. If you
1855 need processes of more than 1TB virtual address space, say Y here.
1856 This will result in additional memory usage, so it is not
1857 recommended for normal users.
1858
ea6e942b
AN
1859config KEXEC
1860 bool "Kexec system call (EXPERIMENTAL)"
1861 depends on EXPERIMENTAL
1862 help
1863 kexec is a system call that implements the ability to shutdown your
1864 current kernel, and to start another kernel. It is like a reboot
3dde6ad8 1865 but it is independent of the system firmware. And like a reboot
ea6e942b
AN
1866 you can start any kernel with it, not just Linux.
1867
01dd2fbf 1868 The name comes from the similarity to the exec system call.
ea6e942b
AN
1869
1870 It is an ongoing process to be certain the hardware in a machine
1871 is properly shutdown, so do not be surprised if this code does not
1872 initially work for you. It may help to enable device hotplugging
1873 support. As of this writing the exact hardware interface is
1874 strongly in flux, so no good recommendation can be made.
1875
1876config SECCOMP
1877 bool "Enable seccomp to safely compute untrusted bytecode"
293c5bd1 1878 depends on PROC_FS
ea6e942b
AN
1879 default y
1880 help
1881 This kernel feature is useful for number crunching applications
1882 that may need to compute untrusted bytecode during their
1883 execution. By using pipes or other transports made available to
1884 the process as file descriptors supporting the read/write
1885 syscalls, it's possible to isolate those applications in
1886 their own address space using seccomp. Once seccomp is
1887 enabled via /proc/<pid>/seccomp, it cannot be disabled
1888 and the task is only allowed to execute a few safe syscalls
1889 defined by each seccomp mode.
1890
1891 If unsure, say Y. Only embedded should say N here.
1892
5e83d430
RB
1893endmenu
1894
1da177e4
LT
1895config RWSEM_GENERIC_SPINLOCK
1896 bool
1897 default y
1898
1df0f0ff
AN
1899config LOCKDEP_SUPPORT
1900 bool
1901 default y
1902
1903config STACKTRACE_SUPPORT
1904 bool
1905 default y
1906
b6c3539b
RB
1907source "init/Kconfig"
1908
1da177e4
LT
1909menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
1910
5e83d430
RB
1911config HW_HAS_EISA
1912 bool
1da177e4
LT
1913config HW_HAS_PCI
1914 bool
1915
1916config PCI
1917 bool "Support for PCI controller"
1918 depends on HW_HAS_PCI
abb4ae46 1919 select PCI_DOMAINS
1da177e4
LT
1920 help
1921 Find out whether you have a PCI motherboard. PCI is the name of a
1922 bus system, i.e. the way the CPU talks to the other stuff inside
1923 your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
1924 say Y, otherwise N.
1925
1926 The PCI-HOWTO, available from
1927 <http://www.tldp.org/docs.html#howto>, contains valuable
1928 information about which PCI hardware does work under Linux and which
1929 doesn't.
1930
1931config PCI_DOMAINS
1932 bool
1da177e4
LT
1933
1934source "drivers/pci/Kconfig"
1935
1936#
1937# ISA support is now enabled via select. Too many systems still have the one
1938# or other ISA chip on the board that users don't know about so don't expect
1939# users to choose the right thing ...
1940#
1941config ISA
1942 bool
1943
1944config EISA
1945 bool "EISA support"
5e83d430 1946 depends on HW_HAS_EISA
1da177e4 1947 select ISA
aa414dff 1948 select GENERIC_ISA_DMA
1da177e4
LT
1949 ---help---
1950 The Extended Industry Standard Architecture (EISA) bus was
1951 developed as an open alternative to the IBM MicroChannel bus.
1952
1953 The EISA bus provided some of the features of the IBM MicroChannel
1954 bus while maintaining backward compatibility with cards made for
1955 the older ISA bus. The EISA bus saw limited use between 1988 and
1956 1995 when it was made obsolete by the PCI bus.
1957
1958 Say Y here if you are building a kernel for an EISA-based machine.
1959
1960 Otherwise, say N.
1961
1962source "drivers/eisa/Kconfig"
1963
1964config TC
1965 bool "TURBOchannel support"
1966 depends on MACH_DECSTATION
1967 help
1968 TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
1969 processors. Documentation on writing device drivers for TurboChannel
1970 is available at:
1971 <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
1972
1973#config ACCESSBUS
1974# bool "Access.Bus support"
1975# depends on TC
1976
1977config MMU
1978 bool
1979 default y
1980
d865bea4
RB
1981config I8253
1982 bool
1983
de61b542 1984config PCSPEAKER
e5c6c8e4
MN
1985 bool
1986
cce335ae
RB
1987config ZONE_DMA32
1988 bool
1989
1da177e4
LT
1990source "drivers/pcmcia/Kconfig"
1991
1992source "drivers/pci/hotplug/Kconfig"
1993
1994endmenu
1995
1996menu "Executable file formats"
1997
1998source "fs/Kconfig.binfmt"
1999
2000config TRAD_SIGNALS
2001 bool
1da177e4 2002
1da177e4
LT
2003config BINFMT_IRIX
2004 bool "Include IRIX binary compatibility"
5e83d430 2005 depends on CPU_BIG_ENDIAN && 32BIT && BROKEN
1da177e4
LT
2006
2007config MIPS32_COMPAT
2008 bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
875d43e7 2009 depends on 64BIT
1da177e4
LT
2010 help
2011 Select this option if you want Linux/MIPS 32-bit binary
2012 compatibility. Since all software available for Linux/MIPS is
2013 currently 32-bit you should say Y here.
2014
2015config COMPAT
2016 bool
2017 depends on MIPS32_COMPAT
2018 default y
2019
05e43966
AN
2020config SYSVIPC_COMPAT
2021 bool
2022 depends on COMPAT && SYSVIPC
2023 default y
2024
1da177e4
LT
2025config MIPS32_O32
2026 bool "Kernel support for o32 binaries"
2027 depends on MIPS32_COMPAT
2028 help
2029 Select this option if you want to run o32 binaries. These are pure
2030 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
2031 existing binaries are in this format.
2032
2033 If unsure, say Y.
2034
2035config MIPS32_N32
2036 bool "Kernel support for n32 binaries"
2037 depends on MIPS32_COMPAT
2038 help
2039 Select this option if you want to run n32 binaries. These are
2040 64-bit binaries using 32-bit quantities for addressing and certain
2041 data that would normally be 64-bit. They are used in special
2042 cases.
2043
2044 If unsure, say N.
2045
2046config BINFMT_ELF32
2047 bool
2048 default y if MIPS32_O32 || MIPS32_N32
2049
2116245e
RB
2050endmenu
2051
2052menu "Power management options"
2053
2054source "kernel/power/Kconfig"
952fa954 2055
1da177e4
LT
2056endmenu
2057
d5950b43
SR
2058source "net/Kconfig"
2059
1da177e4
LT
2060source "drivers/Kconfig"
2061
2062source "fs/Kconfig"
2063
09cadedb 2064source "kernel/Kconfig.instrumentation"
5e83d430 2065
1da177e4
LT
2066source "arch/mips/Kconfig.debug"
2067
2068source "security/Kconfig"
2069
2070source "crypto/Kconfig"
2071
2072source "lib/Kconfig"