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