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