4 select HAVE_GENERIC_DMA_COHERENT
8 select HAVE_PERF_EVENTS
9 select PERF_USE_VMALLOC
11 select HAVE_FUNCTION_TRACER
12 select HAVE_FUNCTION_TRACE_MCOUNT_TEST
13 select HAVE_DYNAMIC_FTRACE
14 select HAVE_FTRACE_MCOUNT_RECORD
15 select HAVE_C_RECORDMCOUNT
16 select HAVE_FUNCTION_GRAPH_TRACER
18 select HAVE_KRETPROBES
19 select RTC_LIB if !MACH_LOONGSON
20 select GENERIC_ATOMIC64 if !64BIT
22 select HAVE_DMA_API_DEBUG
23 select HAVE_GENERIC_HARDIRQS
24 select GENERIC_IRQ_PROBE
25 select GENERIC_IRQ_SHOW
26 select HAVE_ARCH_JUMP_LABEL
27 select IRQ_FORCED_THREADING
29 menu "Machine selection"
39 bool "Alchemy processor based machines"
40 select 64BIT_PHYS_ADDR
44 select SYS_HAS_CPU_MIPS32_R1
45 select SYS_SUPPORTS_32BIT_KERNEL
46 select SYS_SUPPORTS_APM_EMULATION
48 select ARCH_WANT_OPTIONAL_GPIOLIB
49 select SYS_SUPPORTS_ZBOOT
50 select USB_ARCH_HAS_OHCI
51 select USB_ARCH_HAS_EHCI
54 bool "Texas Instruments AR7"
56 select DMA_NONCOHERENT
62 select SYS_HAS_CPU_MIPS32_R1
63 select SYS_HAS_EARLY_PRINTK
64 select SYS_SUPPORTS_32BIT_KERNEL
65 select SYS_SUPPORTS_LITTLE_ENDIAN
66 select SYS_SUPPORTS_ZBOOT_UART16550
67 select ARCH_REQUIRE_GPIOLIB
71 Support for the Texas Instruments AR7 System-on-a-Chip
72 family: TNETD7100, 7200 and 7300.
75 bool "Atheros AR71XX/AR724X/AR913X based boards"
76 select ARCH_REQUIRE_GPIOLIB
80 select DMA_NONCOHERENT
83 select SYS_HAS_CPU_MIPS32_R2
84 select SYS_HAS_EARLY_PRINTK
85 select SYS_SUPPORTS_32BIT_KERNEL
86 select SYS_SUPPORTS_BIG_ENDIAN
88 Support for the Atheros AR71XX/AR724X/AR913X SoCs.
91 bool "Broadcom BCM47XX based boards"
94 select DMA_NONCOHERENT
97 select SYS_HAS_CPU_MIPS32_R1
98 select SYS_SUPPORTS_32BIT_KERNEL
99 select SYS_SUPPORTS_LITTLE_ENDIAN
101 select SSB_DRIVER_MIPS
102 select SSB_DRIVER_EXTIF
104 select SSB_B43_PCI_BRIDGE if PCI
105 select SSB_PCICORE_HOSTMODE if PCI
107 select SYS_HAS_EARLY_PRINTK
110 Support for BCM47XX based boards
113 bool "Broadcom BCM63XX based boards"
116 select DMA_NONCOHERENT
118 select SYS_HAS_CPU_MIPS32_R1
119 select SYS_SUPPORTS_32BIT_KERNEL
120 select SYS_SUPPORTS_BIG_ENDIAN
121 select SYS_HAS_EARLY_PRINTK
123 select ARCH_REQUIRE_GPIOLIB
125 Support for BCM63XX based boards
132 select DMA_NONCOHERENT
138 select PCI_GT64XXX_PCI0
140 select SYS_HAS_CPU_NEVADA
141 select SYS_HAS_EARLY_PRINTK
142 select SYS_SUPPORTS_32BIT_KERNEL
143 select SYS_SUPPORTS_64BIT_KERNEL
144 select SYS_SUPPORTS_LITTLE_ENDIAN
146 config MACH_DECSTATION
153 select CPU_DADDI_WORKAROUNDS if 64BIT
154 select CPU_R4000_WORKAROUNDS if 64BIT
155 select CPU_R4400_WORKAROUNDS if 64BIT
156 select DMA_NONCOHERENT
159 select SYS_HAS_CPU_R3000
160 select SYS_HAS_CPU_R4X00
161 select SYS_SUPPORTS_32BIT_KERNEL
162 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
163 select SYS_SUPPORTS_LITTLE_ENDIAN
164 select SYS_SUPPORTS_128HZ
165 select SYS_SUPPORTS_256HZ
166 select SYS_SUPPORTS_1024HZ
168 This enables support for DEC's MIPS based workstations. For details
169 see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
170 DECstation porting pages on <http://decstation.unix-ag.org/>.
172 If you have one of the following DECstation Models you definitely
173 want to choose R4xx0 for the CPU Type:
180 otherwise choose R3000.
183 bool "Jazz family of machines"
186 select ARCH_MAY_HAVE_PC_FDC
189 select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
190 select GENERIC_ISA_DMA
191 select HAVE_PCSPKR_PLATFORM
196 select SYS_HAS_CPU_R4X00
197 select SYS_SUPPORTS_32BIT_KERNEL
198 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
199 select SYS_SUPPORTS_100HZ
201 This a family of machines based on the MIPS R4030 chipset which was
202 used by several vendors to build RISC/os and Windows NT workstations.
203 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
204 Olivetti M700-10 workstations.
207 bool "Ingenic JZ4740 based machines"
208 select SYS_HAS_CPU_MIPS32_R1
209 select SYS_SUPPORTS_32BIT_KERNEL
210 select SYS_SUPPORTS_LITTLE_ENDIAN
211 select DMA_NONCOHERENT
214 select ARCH_REQUIRE_GPIOLIB
215 select SYS_HAS_EARLY_PRINTK
218 select GENERIC_IRQ_CHIP
221 bool "Lantiq based platforms"
222 select DMA_NONCOHERENT
226 select SYS_HAS_CPU_MIPS32_R1
227 select SYS_HAS_CPU_MIPS32_R2
228 select SYS_SUPPORTS_BIG_ENDIAN
229 select SYS_SUPPORTS_32BIT_KERNEL
230 select SYS_SUPPORTS_MULTITHREADING
231 select SYS_HAS_EARLY_PRINTK
232 select ARCH_REQUIRE_GPIOLIB
239 bool "LASAT Networks platforms"
242 select DMA_NONCOHERENT
243 select SYS_HAS_EARLY_PRINTK
246 select PCI_GT64XXX_PCI0
248 select R5000_CPU_SCACHE
249 select SYS_HAS_CPU_R5000
250 select SYS_SUPPORTS_32BIT_KERNEL
251 select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
252 select SYS_SUPPORTS_LITTLE_ENDIAN
255 bool "Loongson family of machines"
256 select SYS_SUPPORTS_ZBOOT
258 This enables the support of Loongson family of machines.
260 Loongson is a family of general-purpose MIPS-compatible CPUs.
261 developed at Institute of Computing Technology (ICT),
262 Chinese Academy of Sciences (CAS) in the People's Republic
263 of China. The chief architect is Professor Weiwu Hu.
266 bool "MIPS Malta board"
267 select ARCH_MAY_HAVE_PC_FDC
272 select DMA_NONCOHERENT
273 select GENERIC_ISA_DMA
274 select HAVE_PCSPKR_PLATFORM
280 select MIPS_BOARDS_GEN
282 select MIPS_CPU_SCACHE
283 select PCI_GT64XXX_PCI0
286 select SYS_HAS_CPU_MIPS32_R1
287 select SYS_HAS_CPU_MIPS32_R2
288 select SYS_HAS_CPU_MIPS64_R1
289 select SYS_HAS_CPU_NEVADA
290 select SYS_HAS_CPU_RM7000
291 select SYS_HAS_EARLY_PRINTK
292 select SYS_SUPPORTS_32BIT_KERNEL
293 select SYS_SUPPORTS_64BIT_KERNEL
294 select SYS_SUPPORTS_BIG_ENDIAN
295 select SYS_SUPPORTS_LITTLE_ENDIAN
296 select SYS_SUPPORTS_MIPS_CMP
297 select SYS_SUPPORTS_MULTITHREADING
298 select SYS_SUPPORTS_SMARTMIPS
299 select SYS_SUPPORTS_ZBOOT
301 This enables support for the MIPS Technologies Malta evaluation
305 bool 'MIPS simulator (MIPSsim)'
308 select DMA_NONCOHERENT
309 select SYS_HAS_EARLY_PRINTK
312 select SYS_HAS_CPU_MIPS32_R1
313 select SYS_HAS_CPU_MIPS32_R2
314 select SYS_HAS_EARLY_PRINTK
315 select SYS_SUPPORTS_32BIT_KERNEL
316 select SYS_SUPPORTS_BIG_ENDIAN
317 select SYS_SUPPORTS_MULTITHREADING
318 select SYS_SUPPORTS_LITTLE_ENDIAN
320 This option enables support for MIPS Technologies MIPSsim software
324 bool "NEC EMMA2RH Mark-eins board"
328 This enables support for the NEC Electronics Mark-eins boards.
331 bool "NEC VR4100 series based machines"
334 select SYS_HAS_CPU_VR41XX
335 select ARCH_REQUIRE_GPIOLIB
338 bool "NXP STB220 board"
341 Support for NXP Semiconductors STB220 Development Board.
348 Support for NXP Semiconductors STB225 Development Board.
351 bool "NXP PNX8550 based JBS board"
353 select SYS_SUPPORTS_LITTLE_ENDIAN
355 config PNX8550_STB810
356 bool "NXP PNX8550 based STB810 board"
358 select SYS_SUPPORTS_LITTLE_ENDIAN
361 bool "PMC-Sierra MSP chipsets"
362 depends on EXPERIMENTAL
365 select DMA_NONCOHERENT
367 select NO_EXCEPT_FILL
369 select SYS_HAS_CPU_MIPS32_R1
370 select SYS_HAS_CPU_MIPS32_R2
371 select SYS_SUPPORTS_32BIT_KERNEL
372 select SYS_SUPPORTS_BIG_ENDIAN
375 select SERIAL_8250_CONSOLE
377 This adds support for the PMC-Sierra family of Multi-Service
378 Processor System-On-A-Chips. These parts include a number
379 of integrated peripherals, interfaces and DSPs in addition to
380 a variety of MIPS cores.
383 bool "PMC-Sierra Yosemite eval board"
392 select SYS_HAS_CPU_RM9000
393 select SYS_HAS_EARLY_PRINTK
394 select SYS_SUPPORTS_32BIT_KERNEL
395 select SYS_SUPPORTS_64BIT_KERNEL
396 select SYS_SUPPORTS_BIG_ENDIAN
397 select SYS_SUPPORTS_HIGHMEM
398 select SYS_SUPPORTS_SMP
400 Yosemite is an evaluation board for the RM9000x2 processor
401 manufactured by PMC-Sierra.
407 select CPU_MIPSR2_IRQ_VI
408 select CPU_MIPSR2_IRQ_EI
410 select DMA_NONCOHERENT
412 select SYS_HAS_EARLY_PRINTK
413 select SYS_HAS_CPU_MIPS32_R2
414 select SYS_SUPPORTS_32BIT_KERNEL
415 select SYS_SUPPORTS_BIG_ENDIAN
416 select SYS_SUPPORTS_HIGHMEM
417 select USB_OHCI_LITTLE_ENDIAN
419 This enables support for the Cisco PowerTV Platform.
422 bool "SGI IP22 (Indy/Indigo2)"
428 select DEFAULT_SGI_PARTITION
429 select DMA_NONCOHERENT
433 select IP22_CPU_SCACHE
435 select GENERIC_ISA_DMA_SUPPORT_BROKEN
437 select SGI_HAS_INDYDOG
443 select SYS_HAS_CPU_R4X00
444 select SYS_HAS_CPU_R5000
446 # Disable EARLY_PRINTK for now since it leads to overwritten prom
447 # memory during early boot on some machines.
449 # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
450 # for a more details discussion
452 # select SYS_HAS_EARLY_PRINTK
453 select SYS_SUPPORTS_32BIT_KERNEL
454 select SYS_SUPPORTS_64BIT_KERNEL
455 select SYS_SUPPORTS_BIG_ENDIAN
457 This are the SGI Indy, Challenge S and Indigo2, as well as certain
458 OEM variants like the Tandem CMN B006S. To compile a Linux kernel
459 that runs on these, say Y here.
462 bool "SGI IP27 (Origin200/2000)"
466 select DEFAULT_SGI_PARTITION
468 select SYS_HAS_EARLY_PRINTK
470 select NR_CPUS_DEFAULT_64
471 select SYS_HAS_CPU_R10000
472 select SYS_SUPPORTS_64BIT_KERNEL
473 select SYS_SUPPORTS_BIG_ENDIAN
474 select SYS_SUPPORTS_NUMA
475 select SYS_SUPPORTS_SMP
477 This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
478 workstations. To compile a Linux kernel that runs on these, say Y
482 bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
483 depends on EXPERIMENTAL
489 select DEFAULT_SGI_PARTITION
490 select DMA_NONCOHERENT
491 select GENERIC_ISA_DMA_SUPPORT_BROKEN
497 select SGI_HAS_INDYDOG
503 select SYS_HAS_CPU_R10000
505 # Disable EARLY_PRINTK for now since it leads to overwritten prom
506 # memory during early boot on some machines.
508 # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
509 # for a more details discussion
511 # select SYS_HAS_EARLY_PRINTK
512 select SYS_SUPPORTS_64BIT_KERNEL
513 select SYS_SUPPORTS_BIG_ENDIAN
515 This is the SGI Indigo2 with R10000 processor. To compile a Linux
516 kernel that runs on these, say Y here.
525 select DMA_NONCOHERENT
528 select R5000_CPU_SCACHE
529 select RM7000_CPU_SCACHE
530 select SYS_HAS_CPU_R5000
531 select SYS_HAS_CPU_R10000 if BROKEN
532 select SYS_HAS_CPU_RM7000
533 select SYS_HAS_CPU_NEVADA
534 select SYS_SUPPORTS_64BIT_KERNEL
535 select SYS_SUPPORTS_BIG_ENDIAN
537 If you want this kernel to run on SGI O2 workstation, say Y here.
540 bool "Sibyte BCM91120C-CRhine"
541 depends on EXPERIMENTAL
544 select SIBYTE_BCM1120
546 select SYS_HAS_CPU_SB1
547 select SYS_SUPPORTS_BIG_ENDIAN
548 select SYS_SUPPORTS_LITTLE_ENDIAN
551 bool "Sibyte BCM91120x-Carmel"
552 depends on EXPERIMENTAL
555 select SIBYTE_BCM1120
557 select SYS_HAS_CPU_SB1
558 select SYS_SUPPORTS_BIG_ENDIAN
559 select SYS_SUPPORTS_LITTLE_ENDIAN
562 bool "Sibyte BCM91125C-CRhone"
563 depends on EXPERIMENTAL
566 select SIBYTE_BCM1125
568 select SYS_HAS_CPU_SB1
569 select SYS_SUPPORTS_BIG_ENDIAN
570 select SYS_SUPPORTS_HIGHMEM
571 select SYS_SUPPORTS_LITTLE_ENDIAN
574 bool "Sibyte BCM91125E-Rhone"
575 depends on EXPERIMENTAL
578 select SIBYTE_BCM1125H
580 select SYS_HAS_CPU_SB1
581 select SYS_SUPPORTS_BIG_ENDIAN
582 select SYS_SUPPORTS_LITTLE_ENDIAN
585 bool "Sibyte BCM91250A-SWARM"
588 select HAVE_PATA_PLATFORM
589 select NR_CPUS_DEFAULT_2
592 select SYS_HAS_CPU_SB1
593 select SYS_SUPPORTS_BIG_ENDIAN
594 select SYS_SUPPORTS_HIGHMEM
595 select SYS_SUPPORTS_LITTLE_ENDIAN
596 select ZONE_DMA32 if 64BIT
598 config SIBYTE_LITTLESUR
599 bool "Sibyte BCM91250C2-LittleSur"
600 depends on EXPERIMENTAL
603 select HAVE_PATA_PLATFORM
604 select NR_CPUS_DEFAULT_2
607 select SYS_HAS_CPU_SB1
608 select SYS_SUPPORTS_BIG_ENDIAN
609 select SYS_SUPPORTS_HIGHMEM
610 select SYS_SUPPORTS_LITTLE_ENDIAN
612 config SIBYTE_SENTOSA
613 bool "Sibyte BCM91250E-Sentosa"
614 depends on EXPERIMENTAL
617 select NR_CPUS_DEFAULT_2
620 select SYS_HAS_CPU_SB1
621 select SYS_SUPPORTS_BIG_ENDIAN
622 select SYS_SUPPORTS_LITTLE_ENDIAN
625 bool "Sibyte BCM91480B-BigSur"
628 select NR_CPUS_DEFAULT_4
629 select SIBYTE_BCM1x80
631 select SYS_HAS_CPU_SB1
632 select SYS_SUPPORTS_BIG_ENDIAN
633 select SYS_SUPPORTS_HIGHMEM
634 select SYS_SUPPORTS_LITTLE_ENDIAN
635 select ZONE_DMA32 if 64BIT
638 bool "SNI RM200/300/400"
639 select ARC if CPU_LITTLE_ENDIAN
640 select ARC32 if CPU_LITTLE_ENDIAN
641 select SNIPROM if CPU_BIG_ENDIAN
642 select ARCH_MAY_HAVE_PC_FDC
646 select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
647 select DMA_NONCOHERENT
648 select GENERIC_ISA_DMA
649 select HAVE_PCSPKR_PLATFORM
656 select SWAP_IO_SPACE if CPU_BIG_ENDIAN
657 select SYS_HAS_CPU_R4X00
658 select SYS_HAS_CPU_R5000
659 select SYS_HAS_CPU_R10000
660 select R5000_CPU_SCACHE
661 select SYS_HAS_EARLY_PRINTK
662 select SYS_SUPPORTS_32BIT_KERNEL
663 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
664 select SYS_SUPPORTS_BIG_ENDIAN
665 select SYS_SUPPORTS_HIGHMEM
666 select SYS_SUPPORTS_LITTLE_ENDIAN
668 The SNI RM200/300/400 are MIPS-based machines manufactured by
669 Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
670 Technology and now in turn merged with Fujitsu. Say Y here to
671 support this machine type.
674 bool "Toshiba TX39 series based machines"
677 bool "Toshiba TX49 series based machines"
679 config MIKROTIK_RB532
680 bool "Mikrotik RB532 boards"
683 select DMA_NONCOHERENT
686 select SYS_HAS_CPU_MIPS32_R1
687 select SYS_SUPPORTS_32BIT_KERNEL
688 select SYS_SUPPORTS_LITTLE_ENDIAN
691 select ARCH_REQUIRE_GPIOLIB
693 Support the Mikrotik(tm) RouterBoard 532 series,
694 based on the IDT RC32434 SoC.
697 bool "Wind River PPMC board"
702 select DMA_NONCOHERENT
704 select PCI_GT64XXX_PCI0
706 select SYS_HAS_CPU_MIPS32_R1
707 select SYS_HAS_CPU_MIPS32_R2
708 select SYS_HAS_CPU_MIPS64_R1
709 select SYS_HAS_CPU_NEVADA
710 select SYS_HAS_CPU_RM7000
711 select SYS_SUPPORTS_32BIT_KERNEL
712 select SYS_SUPPORTS_64BIT_KERNEL
713 select SYS_SUPPORTS_BIG_ENDIAN
714 select SYS_SUPPORTS_LITTLE_ENDIAN
716 This enables support for the Wind River MIPS32 4KC PPMC evaluation
717 board, which is based on GT64120 bridge chip.
719 config CAVIUM_OCTEON_SIMULATOR
720 bool "Cavium Networks Octeon Simulator"
722 select 64BIT_PHYS_ADDR
724 select SYS_SUPPORTS_64BIT_KERNEL
725 select SYS_SUPPORTS_BIG_ENDIAN
726 select SYS_SUPPORTS_HIGHMEM
727 select SYS_SUPPORTS_HOTPLUG_CPU
728 select SYS_HAS_CPU_CAVIUM_OCTEON
731 The Octeon simulator is software performance model of the Cavium
732 Octeon Processor. It supports simulating Octeon processors on x86
735 config CAVIUM_OCTEON_REFERENCE_BOARD
736 bool "Cavium Networks Octeon reference board"
738 select 64BIT_PHYS_ADDR
740 select SYS_SUPPORTS_64BIT_KERNEL
741 select SYS_SUPPORTS_BIG_ENDIAN
742 select SYS_SUPPORTS_HIGHMEM
743 select SYS_SUPPORTS_HOTPLUG_CPU
744 select SYS_HAS_EARLY_PRINTK
745 select SYS_HAS_CPU_CAVIUM_OCTEON
748 select ARCH_SUPPORTS_MSI
750 select USB_ARCH_HAS_OHCI
751 select USB_ARCH_HAS_EHCI
754 This option supports all of the Octeon reference boards from Cavium
755 Networks. It builds a kernel that dynamically determines the Octeon
756 CPU type and supports all known board reference implementations.
757 Some of the supported boards are:
764 Say Y here for most Octeon reference boards.
767 bool "Netlogic XLR/XLS based systems"
768 depends on EXPERIMENTAL
772 select SYS_HAS_CPU_XLR
773 select SYS_SUPPORTS_SMP
776 select SYS_SUPPORTS_32BIT_KERNEL
777 select SYS_SUPPORTS_64BIT_KERNEL
778 select 64BIT_PHYS_ADDR
779 select SYS_SUPPORTS_BIG_ENDIAN
780 select SYS_SUPPORTS_HIGHMEM
782 select NR_CPUS_DEFAULT_32
786 select ZONE_DMA if 64BIT
788 select SYS_HAS_EARLY_PRINTK
790 Support for systems based on Netlogic XLR and XLS processors.
791 Say Y here if you have a XLR or XLS based board.
795 source "arch/mips/alchemy/Kconfig"
796 source "arch/mips/ath79/Kconfig"
797 source "arch/mips/bcm63xx/Kconfig"
798 source "arch/mips/jazz/Kconfig"
799 source "arch/mips/jz4740/Kconfig"
800 source "arch/mips/lantiq/Kconfig"
801 source "arch/mips/lasat/Kconfig"
802 source "arch/mips/pmc-sierra/Kconfig"
803 source "arch/mips/powertv/Kconfig"
804 source "arch/mips/sgi-ip27/Kconfig"
805 source "arch/mips/sibyte/Kconfig"
806 source "arch/mips/txx9/Kconfig"
807 source "arch/mips/vr41xx/Kconfig"
808 source "arch/mips/cavium-octeon/Kconfig"
809 source "arch/mips/loongson/Kconfig"
810 source "arch/mips/netlogic/Kconfig"
814 config RWSEM_GENERIC_SPINLOCK
818 config RWSEM_XCHGADD_ALGORITHM
821 config ARCH_HAS_ILOG2_U32
825 config ARCH_HAS_ILOG2_U64
829 config ARCH_SUPPORTS_OPROFILE
831 default y if !MIPS_MT_SMTC
833 config GENERIC_HWEIGHT
837 config GENERIC_CALIBRATE_DELAY
841 config GENERIC_CLOCKEVENTS
845 config GENERIC_CMOS_UPDATE
849 config SCHED_OMIT_FRAME_POINTER
854 # Select some configuration options automatically based on user selections.
859 config ARCH_MAY_HAVE_PC_FDC
908 select ARCH_REQUIRE_GPIOLIB
914 config ARCH_DMA_ADDR_T_64BIT
915 def_bool (HIGHMEM && 64BIT_PHYS_ADDR) || 64BIT
920 config DMA_NONCOHERENT
922 select NEED_DMA_MAP_STATE
924 config NEED_DMA_MAP_STATE
927 config SYS_HAS_EARLY_PRINTK
931 bool "Support for hot-pluggable CPUs"
932 depends on SMP && HOTPLUG && SYS_SUPPORTS_HOTPLUG_CPU
934 Say Y here to allow turning CPUs off and on. CPUs can be
935 controlled through /sys/devices/system/cpu.
936 (Note: power management support will enable this option
937 automatically on SMP systems. )
938 Say N if you want to disable CPU hotplug.
940 config SYS_SUPPORTS_HOTPLUG_CPU
955 config MIPS_DISABLE_OBSOLETE_IDE
967 config GENERIC_ISA_DMA
969 select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
972 config GENERIC_ISA_DMA_SUPPORT_BROKEN
974 select GENERIC_ISA_DMA
986 # Endianess selection. Sufficiently obscure so many users don't know what to
987 # answer,so we try hard to limit the available choices. Also the use of a
988 # choice statement should be more obvious to the user.
991 prompt "Endianess selection"
993 Some MIPS machines can be configured for either little or big endian
994 byte order. These modes require different kernels and a different
995 Linux distribution. In general there is one preferred byteorder for a
996 particular system but some systems are just as commonly used in the
997 one or the other endianness.
999 config CPU_BIG_ENDIAN
1001 depends on SYS_SUPPORTS_BIG_ENDIAN
1003 config CPU_LITTLE_ENDIAN
1004 bool "Little endian"
1005 depends on SYS_SUPPORTS_LITTLE_ENDIAN
1013 config SYS_SUPPORTS_APM_EMULATION
1016 config SYS_SUPPORTS_BIG_ENDIAN
1019 config SYS_SUPPORTS_LITTLE_ENDIAN
1022 config SYS_SUPPORTS_HUGETLBFS
1024 depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
1051 config MIPS_BOARDS_GEN
1054 config PCI_GT64XXX_PCI0
1057 config NO_EXCEPT_FILL
1062 select SERIAL_RM9000
1068 select DMA_NONCOHERENT
1070 select SWAP_IO_SPACE
1071 select SYS_HAS_CPU_R5500
1072 select SYS_SUPPORTS_32BIT_KERNEL
1073 select SYS_SUPPORTS_64BIT_KERNEL
1074 select SYS_SUPPORTS_BIG_ENDIAN
1081 select DMA_NONCOHERENT
1082 select SYS_HAS_CPU_MIPS32_R2
1083 select SYS_SUPPORTS_32BIT_KERNEL
1084 select SYS_SUPPORTS_LITTLE_ENDIAN
1085 select SYS_SUPPORTS_BIG_ENDIAN
1087 select CPU_MIPSR2_IRQ_VI
1099 select DMA_NONCOHERENT
1101 select SYS_HAS_CPU_MIPS32_R1
1102 select SYS_HAS_EARLY_PRINTK
1103 select SYS_SUPPORTS_32BIT_KERNEL
1106 config SWAP_IO_SPACE
1109 config SERIAL_RM9000
1112 config SGI_HAS_INDYDOG
1124 config SGI_HAS_ZILOG
1127 config SGI_HAS_I8042
1130 config DEFAULT_SGI_PARTITION
1142 config MIPS_L1_CACHE_SHIFT
1144 default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL
1145 default "6" if MIPS_CPU_SCACHE
1146 default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
1149 config HAVE_STD_PC_SERIAL_PORT
1153 bool "ARC console support"
1154 depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
1158 depends on MACH_JAZZ || SNI_RM || SGI_IP32
1163 depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
1172 menu "CPU selection"
1178 config CPU_LOONGSON2E
1180 depends on SYS_HAS_CPU_LOONGSON2E
1181 select CPU_LOONGSON2
1183 The Loongson 2E processor implements the MIPS III instruction set
1184 with many extensions.
1186 It has an internal FPGA northbridge, which is compatible to
1189 config CPU_LOONGSON2F
1191 depends on SYS_HAS_CPU_LOONGSON2F
1192 select CPU_LOONGSON2
1194 select ARCH_REQUIRE_GPIOLIB
1196 The Loongson 2F processor implements the MIPS III instruction set
1197 with many extensions.
1199 Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
1200 have a similar programming interface with FPGA northbridge used in
1203 config CPU_MIPS32_R1
1204 bool "MIPS32 Release 1"
1205 depends on SYS_HAS_CPU_MIPS32_R1
1206 select CPU_HAS_PREFETCH
1207 select CPU_SUPPORTS_32BIT_KERNEL
1208 select CPU_SUPPORTS_HIGHMEM
1210 Choose this option to build a kernel for release 1 or later of the
1211 MIPS32 architecture. Most modern embedded systems with a 32-bit
1212 MIPS processor are based on a MIPS32 processor. If you know the
1213 specific type of processor in your system, choose those that one
1214 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1215 Release 2 of the MIPS32 architecture is available since several
1216 years so chances are you even have a MIPS32 Release 2 processor
1217 in which case you should choose CPU_MIPS32_R2 instead for better
1220 config CPU_MIPS32_R2
1221 bool "MIPS32 Release 2"
1222 depends on SYS_HAS_CPU_MIPS32_R2
1223 select CPU_HAS_PREFETCH
1224 select CPU_SUPPORTS_32BIT_KERNEL
1225 select CPU_SUPPORTS_HIGHMEM
1227 Choose this option to build a kernel for release 2 or later of the
1228 MIPS32 architecture. Most modern embedded systems with a 32-bit
1229 MIPS processor are based on a MIPS32 processor. If you know the
1230 specific type of processor in your system, choose those that one
1231 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1233 config CPU_MIPS64_R1
1234 bool "MIPS64 Release 1"
1235 depends on SYS_HAS_CPU_MIPS64_R1
1236 select CPU_HAS_PREFETCH
1237 select CPU_SUPPORTS_32BIT_KERNEL
1238 select CPU_SUPPORTS_64BIT_KERNEL
1239 select CPU_SUPPORTS_HIGHMEM
1240 select CPU_SUPPORTS_HUGEPAGES
1242 Choose this option to build a kernel for release 1 or later of the
1243 MIPS64 architecture. Many modern embedded systems with a 64-bit
1244 MIPS processor are based on a MIPS64 processor. If you know the
1245 specific type of processor in your system, choose those that one
1246 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
1247 Release 2 of the MIPS64 architecture is available since several
1248 years so chances are you even have a MIPS64 Release 2 processor
1249 in which case you should choose CPU_MIPS64_R2 instead for better
1252 config CPU_MIPS64_R2
1253 bool "MIPS64 Release 2"
1254 depends on SYS_HAS_CPU_MIPS64_R2
1255 select CPU_HAS_PREFETCH
1256 select CPU_SUPPORTS_32BIT_KERNEL
1257 select CPU_SUPPORTS_64BIT_KERNEL
1258 select CPU_SUPPORTS_HIGHMEM
1259 select CPU_SUPPORTS_HUGEPAGES
1261 Choose this option to build a kernel for release 2 or later of the
1262 MIPS64 architecture. Many modern embedded systems with a 64-bit
1263 MIPS processor are based on a MIPS64 processor. If you know the
1264 specific type of processor in your system, choose those that one
1265 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
1269 depends on SYS_HAS_CPU_R3000
1271 select CPU_SUPPORTS_32BIT_KERNEL
1272 select CPU_SUPPORTS_HIGHMEM
1274 Please make sure to pick the right CPU type. Linux/MIPS is not
1275 designed to be generic, i.e. Kernels compiled for R3000 CPUs will
1276 *not* work on R4000 machines and vice versa. However, since most
1277 of the supported machines have an R4000 (or similar) CPU, R4x00
1278 might be a safe bet. If the resulting kernel does not work,
1279 try to recompile with R3000.
1283 depends on SYS_HAS_CPU_TX39XX
1284 select CPU_SUPPORTS_32BIT_KERNEL
1288 depends on SYS_HAS_CPU_VR41XX
1289 select CPU_SUPPORTS_32BIT_KERNEL
1290 select CPU_SUPPORTS_64BIT_KERNEL
1292 The options selects support for the NEC VR4100 series of processors.
1293 Only choose this option if you have one of these processors as a
1294 kernel built with this option will not run on any other type of
1295 processor or vice versa.
1299 depends on SYS_HAS_CPU_R4300
1300 select CPU_SUPPORTS_32BIT_KERNEL
1301 select CPU_SUPPORTS_64BIT_KERNEL
1303 MIPS Technologies R4300-series processors.
1307 depends on SYS_HAS_CPU_R4X00
1308 select CPU_SUPPORTS_32BIT_KERNEL
1309 select CPU_SUPPORTS_64BIT_KERNEL
1311 MIPS Technologies R4000-series processors other than 4300, including
1312 the R4000, R4400, R4600, and 4700.
1316 depends on SYS_HAS_CPU_TX49XX
1317 select CPU_HAS_PREFETCH
1318 select CPU_SUPPORTS_32BIT_KERNEL
1319 select CPU_SUPPORTS_64BIT_KERNEL
1323 depends on SYS_HAS_CPU_R5000
1324 select CPU_SUPPORTS_32BIT_KERNEL
1325 select CPU_SUPPORTS_64BIT_KERNEL
1327 MIPS Technologies R5000-series processors other than the Nevada.
1331 depends on SYS_HAS_CPU_R5432
1332 select CPU_SUPPORTS_32BIT_KERNEL
1333 select CPU_SUPPORTS_64BIT_KERNEL
1337 depends on SYS_HAS_CPU_R5500
1338 select CPU_SUPPORTS_32BIT_KERNEL
1339 select CPU_SUPPORTS_64BIT_KERNEL
1340 select CPU_SUPPORTS_HUGEPAGES
1342 NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
1347 depends on EXPERIMENTAL
1348 depends on SYS_HAS_CPU_R6000
1349 select CPU_SUPPORTS_32BIT_KERNEL
1351 MIPS Technologies R6000 and R6000A series processors. Note these
1352 processors are extremely rare and the support for them is incomplete.
1356 depends on SYS_HAS_CPU_NEVADA
1357 select CPU_SUPPORTS_32BIT_KERNEL
1358 select CPU_SUPPORTS_64BIT_KERNEL
1360 QED / PMC-Sierra RM52xx-series ("Nevada") processors.
1364 depends on EXPERIMENTAL
1365 depends on SYS_HAS_CPU_R8000
1366 select CPU_HAS_PREFETCH
1367 select CPU_SUPPORTS_64BIT_KERNEL
1369 MIPS Technologies R8000 processors. Note these processors are
1370 uncommon and the support for them is incomplete.
1374 depends on SYS_HAS_CPU_R10000
1375 select CPU_HAS_PREFETCH
1376 select CPU_SUPPORTS_32BIT_KERNEL
1377 select CPU_SUPPORTS_64BIT_KERNEL
1378 select CPU_SUPPORTS_HIGHMEM
1380 MIPS Technologies R10000-series processors.
1384 depends on SYS_HAS_CPU_RM7000
1385 select CPU_HAS_PREFETCH
1386 select CPU_SUPPORTS_32BIT_KERNEL
1387 select CPU_SUPPORTS_64BIT_KERNEL
1388 select CPU_SUPPORTS_HIGHMEM
1392 depends on SYS_HAS_CPU_RM9000
1393 select CPU_HAS_PREFETCH
1394 select CPU_SUPPORTS_32BIT_KERNEL
1395 select CPU_SUPPORTS_64BIT_KERNEL
1396 select CPU_SUPPORTS_HIGHMEM
1397 select WEAK_ORDERING
1401 depends on SYS_HAS_CPU_SB1
1402 select CPU_SUPPORTS_32BIT_KERNEL
1403 select CPU_SUPPORTS_64BIT_KERNEL
1404 select CPU_SUPPORTS_HIGHMEM
1405 select WEAK_ORDERING
1407 config CPU_CAVIUM_OCTEON
1408 bool "Cavium Octeon processor"
1409 depends on SYS_HAS_CPU_CAVIUM_OCTEON
1410 select CPU_HAS_PREFETCH
1411 select CPU_SUPPORTS_64BIT_KERNEL
1412 select SYS_SUPPORTS_SMP
1413 select NR_CPUS_DEFAULT_16
1414 select WEAK_ORDERING
1415 select CPU_SUPPORTS_HIGHMEM
1416 select CPU_SUPPORTS_HUGEPAGES
1418 The Cavium Octeon processor is a highly integrated chip containing
1419 many ethernet hardware widgets for networking tasks. The processor
1420 can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
1421 Full details can be found at http://www.caviumnetworks.com.
1423 config CPU_BMIPS3300
1425 depends on SYS_HAS_CPU_BMIPS3300
1426 select DMA_NONCOHERENT
1428 select SWAP_IO_SPACE
1429 select SYS_SUPPORTS_32BIT_KERNEL
1430 select WEAK_ORDERING
1432 Broadcom BMIPS3300 processors.
1434 config CPU_BMIPS4350
1436 depends on SYS_HAS_CPU_BMIPS4350
1437 select CPU_SUPPORTS_32BIT_KERNEL
1438 select DMA_NONCOHERENT
1440 select SWAP_IO_SPACE
1441 select SYS_SUPPORTS_SMP
1442 select SYS_SUPPORTS_HOTPLUG_CPU
1443 select WEAK_ORDERING
1445 Broadcom BMIPS4350 ("VIPER") processors.
1447 config CPU_BMIPS4380
1449 depends on SYS_HAS_CPU_BMIPS4380
1450 select CPU_SUPPORTS_32BIT_KERNEL
1451 select DMA_NONCOHERENT
1453 select SWAP_IO_SPACE
1454 select SYS_SUPPORTS_SMP
1455 select SYS_SUPPORTS_HOTPLUG_CPU
1456 select WEAK_ORDERING
1458 Broadcom BMIPS4380 processors.
1460 config CPU_BMIPS5000
1462 depends on SYS_HAS_CPU_BMIPS5000
1463 select CPU_SUPPORTS_32BIT_KERNEL
1464 select CPU_SUPPORTS_HIGHMEM
1465 select DMA_NONCOHERENT
1467 select SWAP_IO_SPACE
1468 select SYS_SUPPORTS_SMP
1469 select SYS_SUPPORTS_HOTPLUG_CPU
1470 select WEAK_ORDERING
1472 Broadcom BMIPS5000 processors.
1475 bool "Netlogic XLR SoC"
1476 depends on SYS_HAS_CPU_XLR
1477 select CPU_SUPPORTS_32BIT_KERNEL
1478 select CPU_SUPPORTS_64BIT_KERNEL
1479 select CPU_SUPPORTS_HIGHMEM
1480 select WEAK_ORDERING
1481 select WEAK_REORDERING_BEYOND_LLSC
1482 select CPU_SUPPORTS_HUGEPAGES
1484 Netlogic Microsystems XLR/XLS processors.
1488 config CPU_NOP_WORKAROUNDS
1491 config CPU_JUMP_WORKAROUNDS
1494 config CPU_LOONGSON2F_WORKAROUNDS
1495 bool "Loongson 2F Workarounds"
1497 select CPU_NOP_WORKAROUNDS
1498 select CPU_JUMP_WORKAROUNDS
1500 Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which
1501 require workarounds. Without workarounds the system may hang
1502 unexpectedly. For more information please refer to the gas
1503 -mfix-loongson2f-nop and -mfix-loongson2f-jump options.
1505 Loongson 2F03 and later have fixed these issues and no workarounds
1506 are needed. The workarounds have no significant side effect on them
1507 but may decrease the performance of the system so this option should
1508 be disabled unless the kernel is intended to be run on 2F01 or 2F02
1511 If unsure, please say Y.
1512 endif # CPU_LOONGSON2F
1514 config SYS_SUPPORTS_ZBOOT
1516 select HAVE_KERNEL_GZIP
1517 select HAVE_KERNEL_BZIP2
1518 select HAVE_KERNEL_LZMA
1519 select HAVE_KERNEL_LZO
1521 config SYS_SUPPORTS_ZBOOT_UART16550
1523 select SYS_SUPPORTS_ZBOOT
1525 config CPU_LOONGSON2
1527 select CPU_SUPPORTS_32BIT_KERNEL
1528 select CPU_SUPPORTS_64BIT_KERNEL
1529 select CPU_SUPPORTS_HIGHMEM
1531 config SYS_HAS_CPU_LOONGSON2E
1534 config SYS_HAS_CPU_LOONGSON2F
1536 select CPU_SUPPORTS_CPUFREQ
1537 select CPU_SUPPORTS_ADDRWINCFG if 64BIT
1538 select CPU_SUPPORTS_UNCACHED_ACCELERATED
1540 config SYS_HAS_CPU_MIPS32_R1
1543 config SYS_HAS_CPU_MIPS32_R2
1546 config SYS_HAS_CPU_MIPS64_R1
1549 config SYS_HAS_CPU_MIPS64_R2
1552 config SYS_HAS_CPU_R3000
1555 config SYS_HAS_CPU_TX39XX
1558 config SYS_HAS_CPU_VR41XX
1561 config SYS_HAS_CPU_R4300
1564 config SYS_HAS_CPU_R4X00
1567 config SYS_HAS_CPU_TX49XX
1570 config SYS_HAS_CPU_R5000
1573 config SYS_HAS_CPU_R5432
1576 config SYS_HAS_CPU_R5500
1579 config SYS_HAS_CPU_R6000
1582 config SYS_HAS_CPU_NEVADA
1585 config SYS_HAS_CPU_R8000
1588 config SYS_HAS_CPU_R10000
1591 config SYS_HAS_CPU_RM7000
1594 config SYS_HAS_CPU_RM9000
1597 config SYS_HAS_CPU_SB1
1600 config SYS_HAS_CPU_CAVIUM_OCTEON
1603 config SYS_HAS_CPU_BMIPS3300
1606 config SYS_HAS_CPU_BMIPS4350
1609 config SYS_HAS_CPU_BMIPS4380
1612 config SYS_HAS_CPU_BMIPS5000
1615 config SYS_HAS_CPU_XLR
1619 # CPU may reorder R->R, R->W, W->R, W->W
1620 # Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
1622 config WEAK_ORDERING
1626 # CPU may reorder reads and writes beyond LL/SC
1627 # CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
1629 config WEAK_REORDERING_BEYOND_LLSC
1634 # These two indicate any level of the MIPS32 and MIPS64 architecture
1638 default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
1642 default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
1645 # These two indicate the revision of the architecture, either Release 1 or Release 2
1649 default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
1653 default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
1655 config SYS_SUPPORTS_32BIT_KERNEL
1657 config SYS_SUPPORTS_64BIT_KERNEL
1659 config CPU_SUPPORTS_32BIT_KERNEL
1661 config CPU_SUPPORTS_64BIT_KERNEL
1663 config CPU_SUPPORTS_CPUFREQ
1665 config CPU_SUPPORTS_ADDRWINCFG
1667 config CPU_SUPPORTS_HUGEPAGES
1669 config CPU_SUPPORTS_UNCACHED_ACCELERATED
1671 config MIPS_PGD_C0_CONTEXT
1673 default y if 64BIT && CPU_MIPSR2
1676 # Set to y for ptrace access to watch registers.
1678 config HARDWARE_WATCHPOINTS
1680 default y if CPU_MIPSR1 || CPU_MIPSR2
1686 prompt "Kernel code model"
1688 You should only select this option if you have a workload that
1689 actually benefits from 64-bit processing or if your machine has
1690 large memory. You will only be presented a single option in this
1691 menu if your system does not support both 32-bit and 64-bit kernels.
1694 bool "32-bit kernel"
1695 depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
1698 Select this option if you want to build a 32-bit kernel.
1700 bool "64-bit kernel"
1701 depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
1702 select HAVE_SYSCALL_WRAPPERS
1704 Select this option if you want to build a 64-bit kernel.
1709 prompt "Kernel page size"
1710 default PAGE_SIZE_4KB
1712 config PAGE_SIZE_4KB
1714 depends on !CPU_LOONGSON2
1716 This option select the standard 4kB Linux page size. On some
1717 R3000-family processors this is the only available page size. Using
1718 4kB page size will minimize memory consumption and is therefore
1719 recommended for low memory systems.
1721 config PAGE_SIZE_8KB
1723 depends on (EXPERIMENTAL && CPU_R8000) || CPU_CAVIUM_OCTEON
1725 Using 8kB page size will result in higher performance kernel at
1726 the price of higher memory consumption. This option is available
1727 only on R8000 and cnMIPS processors. Note that you will need a
1728 suitable Linux distribution to support this.
1730 config PAGE_SIZE_16KB
1732 depends on !CPU_R3000 && !CPU_TX39XX
1734 Using 16kB page size will result in higher performance kernel at
1735 the price of higher memory consumption. This option is available on
1736 all non-R3000 family processors. Note that you will need a suitable
1737 Linux distribution to support this.
1739 config PAGE_SIZE_32KB
1741 depends on CPU_CAVIUM_OCTEON
1743 Using 32kB page size will result in higher performance kernel at
1744 the price of higher memory consumption. This option is available
1745 only on cnMIPS cores. Note that you will need a suitable Linux
1746 distribution to support this.
1748 config PAGE_SIZE_64KB
1750 depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
1752 Using 64kB page size will result in higher performance kernel at
1753 the price of higher memory consumption. This option is available on
1754 all non-R3000 family processor. Not that at the time of this
1755 writing this option is still high experimental.
1759 config FORCE_MAX_ZONEORDER
1760 int "Maximum zone order"
1761 range 13 64 if SYS_SUPPORTS_HUGETLBFS && PAGE_SIZE_32KB
1762 default "13" if SYS_SUPPORTS_HUGETLBFS && PAGE_SIZE_32KB
1763 range 12 64 if SYS_SUPPORTS_HUGETLBFS && PAGE_SIZE_16KB
1764 default "12" if SYS_SUPPORTS_HUGETLBFS && PAGE_SIZE_16KB
1768 The kernel memory allocator divides physically contiguous memory
1769 blocks into "zones", where each zone is a power of two number of
1770 pages. This option selects the largest power of two that the kernel
1771 keeps in the memory allocator. If you need to allocate very large
1772 blocks of physically contiguous memory, then you may need to
1773 increase this value.
1775 This config option is actually maximum order plus one. For example,
1776 a value of 11 means that the largest free memory block is 2^10 pages.
1778 The page size is not necessarily 4KB. Keep this in mind
1779 when choosing a value for this option.
1784 config IP22_CPU_SCACHE
1789 # Support for a MIPS32 / MIPS64 style S-caches
1791 config MIPS_CPU_SCACHE
1795 config R5000_CPU_SCACHE
1799 config RM7000_CPU_SCACHE
1803 config SIBYTE_DMA_PAGEOPS
1804 bool "Use DMA to clear/copy pages"
1807 Instead of using the CPU to zero and copy pages, use a Data Mover
1808 channel. These DMA channels are otherwise unused by the standard
1809 SiByte Linux port. Seems to give a small performance benefit.
1811 config CPU_HAS_PREFETCH
1815 prompt "MIPS MT options"
1817 config MIPS_MT_DISABLED
1818 bool "Disable multithreading support."
1820 Use this option if your workload can't take advantage of
1821 MIPS hardware multithreading support. On systems that don't have
1822 the option of an MT-enabled processor this option will be the only
1823 option in this menu.
1826 bool "Use 1 TC on each available VPE for SMP"
1827 depends on SYS_SUPPORTS_MULTITHREADING
1828 select CPU_MIPSR2_IRQ_VI
1829 select CPU_MIPSR2_IRQ_EI
1831 select NR_CPUS_DEFAULT_2
1833 select SYS_SUPPORTS_SCHED_SMT if SMP
1834 select SYS_SUPPORTS_SMP
1837 This is a kernel model which is known a VSMP but lately has been
1838 marketesed into SMVP.
1839 Virtual SMP uses the processor's VPEs to implement virtual
1840 processors. In currently available configuration of the 34K processor
1841 this allows for a dual processor. Both processors will share the same
1842 primary caches; each will obtain the half of the TLB for it's own
1843 exclusive use. For a layman this model can be described as similar to
1844 what Intel calls Hyperthreading.
1846 For further information see http://www.linux-mips.org/wiki/34K#VSMP
1849 bool "SMTC: Use all TCs on all VPEs for SMP"
1850 depends on CPU_MIPS32_R2
1851 #depends on CPU_MIPS64_R2 # once there is hardware ...
1852 depends on SYS_SUPPORTS_MULTITHREADING
1853 select CPU_MIPSR2_IRQ_VI
1854 select CPU_MIPSR2_IRQ_EI
1856 select NR_CPUS_DEFAULT_8
1858 select SYS_SUPPORTS_SMP
1861 This is a kernel model which is known a SMTC or lately has been
1862 marketesed into SMVP.
1863 is presenting the available TC's of the core as processors to Linux.
1864 On currently available 34K processors this means a Linux system will
1865 see up to 5 processors. The implementation of the SMTC kernel differs
1866 significantly from VSMP and cannot efficiently coexist in the same
1867 kernel binary so the choice between VSMP and SMTC is a compile time
1870 For further information see http://www.linux-mips.org/wiki/34K#SMTC
1878 bool "SMT (multithreading) scheduler support"
1879 depends on SYS_SUPPORTS_SCHED_SMT
1882 SMT scheduler support improves the CPU scheduler's decision making
1883 when dealing with MIPS MT enabled cores at a cost of slightly
1884 increased overhead in some places. If unsure say N here.
1886 config SYS_SUPPORTS_SCHED_SMT
1890 config SYS_SUPPORTS_MULTITHREADING
1893 config MIPS_MT_FPAFF
1894 bool "Dynamic FPU affinity for FP-intensive threads"
1896 depends on MIPS_MT_SMP || MIPS_MT_SMTC
1898 config MIPS_VPE_LOADER
1899 bool "VPE loader support."
1900 depends on SYS_SUPPORTS_MULTITHREADING
1901 select CPU_MIPSR2_IRQ_VI
1902 select CPU_MIPSR2_IRQ_EI
1905 Includes a loader for loading an elf relocatable object
1906 onto another VPE and running it.
1908 config MIPS_MT_SMTC_IM_BACKSTOP
1909 bool "Use per-TC register bits as backstop for inhibited IM bits"
1910 depends on MIPS_MT_SMTC
1913 To support multiple TC microthreads acting as "CPUs" within
1914 a VPE, VPE-wide interrupt mask bits must be specially manipulated
1915 during interrupt handling. To support legacy drivers and interrupt
1916 controller management code, SMTC has a "backstop" to track and
1917 if necessary restore the interrupt mask. This has some performance
1918 impact on interrupt service overhead.
1920 config MIPS_MT_SMTC_IRQAFF
1921 bool "Support IRQ affinity API"
1922 depends on MIPS_MT_SMTC
1925 Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1926 for SMTC Linux kernel. Requires platform support, of which
1927 an example can be found in the MIPS kernel i8259 and Malta
1928 platform code. Adds some overhead to interrupt dispatch, and
1929 should be used only if you know what you are doing.
1931 config MIPS_VPE_LOADER_TOM
1932 bool "Load VPE program into memory hidden from linux"
1933 depends on MIPS_VPE_LOADER
1936 The loader can use memory that is present but has been hidden from
1937 Linux using the kernel command line option "mem=xxMB". It's up to
1938 you to ensure the amount you put in the option and the space your
1939 program requires is less or equal to the amount physically present.
1941 # this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1942 config MIPS_VPE_APSP_API
1943 bool "Enable support for AP/SP API (RTLX)"
1944 depends on MIPS_VPE_LOADER
1947 config MIPS_APSP_KSPD
1949 depends on MIPS_VPE_APSP_API
1952 KSPD is a kernel daemon that accepts syscall requests from the SP
1953 side, actions them and returns the results. It also handles the
1954 "exit" syscall notifying other kernel modules the SP program is
1955 exiting. You probably want to say yes here.
1958 bool "MIPS CMP framework support"
1959 depends on SYS_SUPPORTS_MIPS_CMP
1961 select SYS_SUPPORTS_SMP
1962 select SYS_SUPPORTS_SCHED_SMT if SMP
1963 select WEAK_ORDERING
1966 This is a placeholder option for the GCMP work. It will need to
1967 be handled differently...
1969 config SB1_PASS_1_WORKAROUNDS
1971 depends on CPU_SB1_PASS_1
1974 config SB1_PASS_2_WORKAROUNDS
1976 depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
1979 config SB1_PASS_2_1_WORKAROUNDS
1981 depends on CPU_SB1 && CPU_SB1_PASS_2
1984 config 64BIT_PHYS_ADDR
1987 config ARCH_PHYS_ADDR_T_64BIT
1988 def_bool 64BIT_PHYS_ADDR
1990 config CPU_HAS_SMARTMIPS
1991 depends on SYS_SUPPORTS_SMARTMIPS
1992 bool "Support for the SmartMIPS ASE"
1994 SmartMIPS is a extension of the MIPS32 architecture aimed at
1995 increased security at both hardware and software level for
1996 smartcards. Enabling this option will allow proper use of the
1997 SmartMIPS instructions by Linux applications. However a kernel with
1998 this option will not work on a MIPS core without SmartMIPS core. If
1999 you don't know you probably don't have SmartMIPS and should say N
2006 # Vectored interrupt mode is an R2 feature
2008 config CPU_MIPSR2_IRQ_VI
2012 # Extended interrupt mode is an R2 feature
2014 config CPU_MIPSR2_IRQ_EI
2019 depends on !CPU_R3000
2022 config GENERIC_CLOCKEVENTS_BROADCAST
2028 config CPU_DADDI_WORKAROUNDS
2031 config CPU_R4000_WORKAROUNDS
2033 select CPU_R4400_WORKAROUNDS
2035 config CPU_R4400_WORKAROUNDS
2039 # - Highmem only makes sense for the 32-bit kernel.
2040 # - The current highmem code will only work properly on physically indexed
2041 # caches such as R3000, SB1, R7000 or those that look like they're virtually
2042 # indexed such as R4000/R4400 SC and MC versions or R10000. So for the
2043 # moment we protect the user and offer the highmem option only on machines
2044 # where it's known to be safe. This will not offer highmem on a few systems
2045 # such as MIPS32 and MIPS64 CPUs which may have virtual and physically
2046 # indexed CPUs but we're playing safe.
2047 # - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
2048 # know they might have memory configurations that could make use of highmem
2052 bool "High Memory Support"
2053 depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
2055 config CPU_SUPPORTS_HIGHMEM
2058 config SYS_SUPPORTS_HIGHMEM
2061 config SYS_SUPPORTS_SMARTMIPS
2064 config ARCH_FLATMEM_ENABLE
2066 depends on !NUMA && !CPU_LOONGSON2
2068 config ARCH_DISCONTIGMEM_ENABLE
2070 default y if SGI_IP27
2072 Say Y to support efficient handling of discontiguous physical memory,
2073 for architectures which are either NUMA (Non-Uniform Memory Access)
2074 or have huge holes in the physical address space for other reasons.
2075 See <file:Documentation/vm/numa> for more.
2077 config ARCH_POPULATES_NODE_MAP
2080 config ARCH_SPARSEMEM_ENABLE
2082 select SPARSEMEM_STATIC
2086 depends on SYS_SUPPORTS_NUMA
2088 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
2089 Access). This option improves performance on systems with more
2090 than two nodes; on two node systems it is generally better to
2091 leave it disabled; on single node systems disable this option
2094 config SYS_SUPPORTS_NUMA
2100 depends on NEED_MULTIPLE_NODES
2102 config HW_PERF_EVENTS
2103 bool "Enable hardware performance counter support for perf events"
2104 depends on PERF_EVENTS && !MIPS_MT_SMTC && OPROFILE=n && CPU_MIPS32
2107 Enable hardware performance counter support for perf events. If
2108 disabled, perf events will use software events only.
2113 bool "Multi-Processing support"
2114 depends on SYS_SUPPORTS_SMP
2116 select USE_GENERIC_SMP_HELPERS
2118 This enables support for systems with more than one CPU. If you have
2119 a system with only one CPU, like most personal computers, say N. If
2120 you have a system with more than one CPU, say Y.
2122 If you say N here, the kernel will run on single and multiprocessor
2123 machines, but will use only one CPU of a multiprocessor machine. If
2124 you say Y here, the kernel will run on many, but not all,
2125 singleprocessor machines. On a singleprocessor machine, the kernel
2126 will run faster if you say N here.
2128 People using multiprocessor machines who say Y here should also say
2129 Y to "Enhanced Real Time Clock Support", below.
2131 See also the SMP-HOWTO available at
2132 <http://www.tldp.org/docs.html#howto>.
2134 If you don't know what to do here, say N.
2139 config SYS_SUPPORTS_MIPS_CMP
2142 config SYS_SUPPORTS_SMP
2145 config NR_CPUS_DEFAULT_1
2148 config NR_CPUS_DEFAULT_2
2151 config NR_CPUS_DEFAULT_4
2154 config NR_CPUS_DEFAULT_8
2157 config NR_CPUS_DEFAULT_16
2160 config NR_CPUS_DEFAULT_32
2163 config NR_CPUS_DEFAULT_64
2167 int "Maximum number of CPUs (2-64)"
2168 range 1 64 if NR_CPUS_DEFAULT_1
2170 default "1" if NR_CPUS_DEFAULT_1
2171 default "2" if NR_CPUS_DEFAULT_2
2172 default "4" if NR_CPUS_DEFAULT_4
2173 default "8" if NR_CPUS_DEFAULT_8
2174 default "16" if NR_CPUS_DEFAULT_16
2175 default "32" if NR_CPUS_DEFAULT_32
2176 default "64" if NR_CPUS_DEFAULT_64
2178 This allows you to specify the maximum number of CPUs which this
2179 kernel will support. The maximum supported value is 32 for 32-bit
2180 kernel and 64 for 64-bit kernels; the minimum value which makes
2181 sense is 1 for Qemu (useful only for kernel debugging purposes)
2182 and 2 for all others.
2184 This is purely to save memory - each supported CPU adds
2185 approximately eight kilobytes to the kernel image. For best
2186 performance should round up your number of processors to the next
2189 source "kernel/time/Kconfig"
2192 # Timer Interrupt Frequency Configuration
2196 prompt "Timer frequency"
2199 Allows the configuration of the timer frequency.
2202 bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
2205 bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
2208 bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
2211 bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
2214 bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
2217 bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
2220 bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
2224 config SYS_SUPPORTS_48HZ
2227 config SYS_SUPPORTS_100HZ
2230 config SYS_SUPPORTS_128HZ
2233 config SYS_SUPPORTS_250HZ
2236 config SYS_SUPPORTS_256HZ
2239 config SYS_SUPPORTS_1000HZ
2242 config SYS_SUPPORTS_1024HZ
2245 config SYS_SUPPORTS_ARBIT_HZ
2247 default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
2248 !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
2249 !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
2250 !SYS_SUPPORTS_1024HZ
2255 default 100 if HZ_100
2256 default 128 if HZ_128
2257 default 250 if HZ_250
2258 default 256 if HZ_256
2259 default 1000 if HZ_1000
2260 default 1024 if HZ_1024
2262 source "kernel/Kconfig.preempt"
2264 config MIPS_INSANE_LARGE
2265 bool "Support for large 64-bit configurations"
2266 depends on CPU_R10000 && 64BIT
2268 MIPS R10000 does support a 44 bit / 16TB address space as opposed to
2269 previous 64-bit processors which only supported 40 bit / 1TB. If you
2270 need processes of more than 1TB virtual address space, say Y here.
2271 This will result in additional memory usage, so it is not
2272 recommended for normal users.
2275 bool "Kexec system call (EXPERIMENTAL)"
2276 depends on EXPERIMENTAL
2278 kexec is a system call that implements the ability to shutdown your
2279 current kernel, and to start another kernel. It is like a reboot
2280 but it is independent of the system firmware. And like a reboot
2281 you can start any kernel with it, not just Linux.
2283 The name comes from the similarity to the exec system call.
2285 It is an ongoing process to be certain the hardware in a machine
2286 is properly shutdown, so do not be surprised if this code does not
2287 initially work for you. It may help to enable device hotplugging
2288 support. As of this writing the exact hardware interface is
2289 strongly in flux, so no good recommendation can be made.
2292 bool "Enable seccomp to safely compute untrusted bytecode"
2296 This kernel feature is useful for number crunching applications
2297 that may need to compute untrusted bytecode during their
2298 execution. By using pipes or other transports made available to
2299 the process as file descriptors supporting the read/write
2300 syscalls, it's possible to isolate those applications in
2301 their own address space using seccomp. Once seccomp is
2302 enabled via /proc/<pid>/seccomp, it cannot be disabled
2303 and the task is only allowed to execute a few safe syscalls
2304 defined by each seccomp mode.
2306 If unsure, say Y. Only embedded should say N here.
2309 bool "Flattened Device Tree support"
2311 select OF_EARLY_FLATTREE
2313 Include support for flattened device tree machine descriptions.
2317 config LOCKDEP_SUPPORT
2321 config STACKTRACE_SUPPORT
2325 source "init/Kconfig"
2327 source "kernel/Kconfig.freezer"
2329 menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
2337 bool "Support for PCI controller"
2338 depends on HW_HAS_PCI
2341 Find out whether you have a PCI motherboard. PCI is the name of a
2342 bus system, i.e. the way the CPU talks to the other stuff inside
2343 your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
2349 source "drivers/pci/Kconfig"
2352 # ISA support is now enabled via select. Too many systems still have the one
2353 # or other ISA chip on the board that users don't know about so don't expect
2354 # users to choose the right thing ...
2361 depends on HW_HAS_EISA
2363 select GENERIC_ISA_DMA
2365 The Extended Industry Standard Architecture (EISA) bus was
2366 developed as an open alternative to the IBM MicroChannel bus.
2368 The EISA bus provided some of the features of the IBM MicroChannel
2369 bus while maintaining backward compatibility with cards made for
2370 the older ISA bus. The EISA bus saw limited use between 1988 and
2371 1995 when it was made obsolete by the PCI bus.
2373 Say Y here if you are building a kernel for an EISA-based machine.
2377 source "drivers/eisa/Kconfig"
2380 bool "TURBOchannel support"
2381 depends on MACH_DECSTATION
2383 TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
2384 processors. TURBOchannel programming specifications are available
2386 <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/>
2388 <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/>
2389 Linux driver support status is documented at:
2390 <http://www.linux-mips.org/wiki/DECstation>
2393 # bool "Access.Bus support"
2404 select MIPS_EXTERNAL_TIMER
2409 source "drivers/pcmcia/Kconfig"
2411 source "drivers/pci/hotplug/Kconfig"
2414 bool "RapidIO support"
2418 If you say Y here, the kernel will include drivers and
2419 infrastructure code to support RapidIO interconnect devices.
2421 source "drivers/rapidio/Kconfig"
2425 menu "Executable file formats"
2427 source "fs/Kconfig.binfmt"
2432 config MIPS32_COMPAT
2433 bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
2436 Select this option if you want Linux/MIPS 32-bit binary
2437 compatibility. Since all software available for Linux/MIPS is
2438 currently 32-bit you should say Y here.
2442 depends on MIPS32_COMPAT
2445 config SYSVIPC_COMPAT
2447 depends on COMPAT && SYSVIPC
2451 bool "Kernel support for o32 binaries"
2452 depends on MIPS32_COMPAT
2454 Select this option if you want to run o32 binaries. These are pure
2455 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
2456 existing binaries are in this format.
2461 bool "Kernel support for n32 binaries"
2462 depends on MIPS32_COMPAT
2464 Select this option if you want to run n32 binaries. These are
2465 64-bit binaries using 32-bit quantities for addressing and certain
2466 data that would normally be 64-bit. They are used in special
2473 default y if MIPS32_O32 || MIPS32_N32
2477 menu "Power management options"
2479 config ARCH_HIBERNATION_POSSIBLE
2481 depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
2483 config ARCH_SUSPEND_POSSIBLE
2485 depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
2487 source "kernel/power/Kconfig"
2491 source "arch/mips/kernel/cpufreq/Kconfig"
2493 source "net/Kconfig"
2495 source "drivers/Kconfig"
2499 source "arch/mips/Kconfig.debug"
2501 source "security/Kconfig"
2503 source "crypto/Kconfig"
2505 source "lib/Kconfig"