4 select HAVE_GENERIC_DMA_COHERENT
8 select HAVE_FUNCTION_TRACER
9 select HAVE_FUNCTION_TRACE_MCOUNT_TEST
10 select HAVE_DYNAMIC_FTRACE
11 select HAVE_FTRACE_MCOUNT_RECORD
12 select HAVE_FUNCTION_GRAPH_TRACER
13 select RTC_LIB if !MACH_LOONGSON
15 mainmenu "Linux/MIPS Kernel Configuration"
17 menu "Machine selection"
27 bool "Alchemy processor based machines"
28 select 64BIT_PHYS_ADDR
32 select SYS_HAS_CPU_MIPS32_R1
33 select SYS_SUPPORTS_32BIT_KERNEL
34 select SYS_SUPPORTS_APM_EMULATION
36 select ARCH_WANT_OPTIONAL_GPIOLIB
37 select SYS_SUPPORTS_ZBOOT
40 bool "Texas Instruments AR7"
42 select DMA_NONCOHERENT
48 select SYS_HAS_CPU_MIPS32_R1
49 select SYS_HAS_EARLY_PRINTK
50 select SYS_SUPPORTS_32BIT_KERNEL
51 select SYS_SUPPORTS_LITTLE_ENDIAN
52 select SYS_SUPPORTS_ZBOOT_UART16550
53 select ARCH_REQUIRE_GPIOLIB
57 Support for the Texas Instruments AR7 System-on-a-Chip
58 family: TNETD7100, 7200 and 7300.
61 bool "Broadcom BCM47XX based boards"
64 select DMA_NONCOHERENT
67 select SYS_HAS_CPU_MIPS32_R1
68 select SYS_SUPPORTS_32BIT_KERNEL
69 select SYS_SUPPORTS_LITTLE_ENDIAN
71 select SSB_DRIVER_MIPS
72 select SSB_DRIVER_EXTIF
74 select SSB_B43_PCI_BRIDGE if PCI
75 select SSB_PCICORE_HOSTMODE if PCI
77 select SYS_HAS_EARLY_PRINTK
80 Support for BCM47XX based boards
83 bool "Broadcom BCM63XX based boards"
86 select DMA_NONCOHERENT
88 select SYS_HAS_CPU_MIPS32_R1
89 select SYS_SUPPORTS_32BIT_KERNEL
90 select SYS_SUPPORTS_BIG_ENDIAN
91 select SYS_HAS_EARLY_PRINTK
93 select ARCH_REQUIRE_GPIOLIB
95 Support for BCM63XX based boards
102 select DMA_NONCOHERENT
108 select PCI_GT64XXX_PCI0
110 select SYS_HAS_CPU_NEVADA
111 select SYS_HAS_EARLY_PRINTK
112 select SYS_SUPPORTS_32BIT_KERNEL
113 select SYS_SUPPORTS_64BIT_KERNEL
114 select SYS_SUPPORTS_LITTLE_ENDIAN
116 config MACH_DECSTATION
123 select CPU_DADDI_WORKAROUNDS if 64BIT
124 select CPU_R4000_WORKAROUNDS if 64BIT
125 select CPU_R4400_WORKAROUNDS if 64BIT
126 select DMA_NONCOHERENT
129 select SYS_HAS_CPU_R3000
130 select SYS_HAS_CPU_R4X00
131 select SYS_SUPPORTS_32BIT_KERNEL
132 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
133 select SYS_SUPPORTS_LITTLE_ENDIAN
134 select SYS_SUPPORTS_128HZ
135 select SYS_SUPPORTS_256HZ
136 select SYS_SUPPORTS_1024HZ
138 This enables support for DEC's MIPS based workstations. For details
139 see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
140 DECstation porting pages on <http://decstation.unix-ag.org/>.
142 If you have one of the following DECstation Models you definitely
143 want to choose R4xx0 for the CPU Type:
150 otherwise choose R3000.
153 bool "Jazz family of machines"
156 select ARCH_MAY_HAVE_PC_FDC
159 select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
160 select GENERIC_ISA_DMA
165 select SYS_HAS_CPU_R4X00
166 select SYS_SUPPORTS_32BIT_KERNEL
167 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
168 select SYS_SUPPORTS_100HZ
170 This a family of machines based on the MIPS R4030 chipset which was
171 used by several vendors to build RISC/os and Windows NT workstations.
172 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
173 Olivetti M700-10 workstations.
176 bool "Ingenic JZ4740 based machines"
177 select SYS_HAS_CPU_MIPS32_R1
178 select SYS_SUPPORTS_32BIT_KERNEL
179 select SYS_SUPPORTS_LITTLE_ENDIAN
180 select DMA_NONCOHERENT
183 select ARCH_REQUIRE_GPIOLIB
184 select SYS_HAS_EARLY_PRINTK
188 bool "LASAT Networks platforms"
191 select DMA_NONCOHERENT
192 select SYS_HAS_EARLY_PRINTK
195 select PCI_GT64XXX_PCI0
197 select R5000_CPU_SCACHE
198 select SYS_HAS_CPU_R5000
199 select SYS_SUPPORTS_32BIT_KERNEL
200 select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
201 select SYS_SUPPORTS_LITTLE_ENDIAN
204 bool "Loongson family of machines"
205 select SYS_SUPPORTS_ZBOOT
207 This enables the support of Loongson family of machines.
209 Loongson is a family of general-purpose MIPS-compatible CPUs.
210 developed at Institute of Computing Technology (ICT),
211 Chinese Academy of Sciences (CAS) in the People's Republic
212 of China. The chief architect is Professor Weiwu Hu.
215 bool "MIPS Malta board"
216 select ARCH_MAY_HAVE_PC_FDC
221 select DMA_NONCOHERENT
222 select GENERIC_ISA_DMA
228 select MIPS_BOARDS_GEN
230 select MIPS_CPU_SCACHE
231 select PCI_GT64XXX_PCI0
234 select SYS_HAS_CPU_MIPS32_R1
235 select SYS_HAS_CPU_MIPS32_R2
236 select SYS_HAS_CPU_MIPS64_R1
237 select SYS_HAS_CPU_NEVADA
238 select SYS_HAS_CPU_RM7000
239 select SYS_HAS_EARLY_PRINTK
240 select SYS_SUPPORTS_32BIT_KERNEL
241 select SYS_SUPPORTS_64BIT_KERNEL
242 select SYS_SUPPORTS_BIG_ENDIAN
243 select SYS_SUPPORTS_LITTLE_ENDIAN
244 select SYS_SUPPORTS_MIPS_CMP
245 select SYS_SUPPORTS_MULTITHREADING
246 select SYS_SUPPORTS_SMARTMIPS
247 select SYS_SUPPORTS_ZBOOT
249 This enables support for the MIPS Technologies Malta evaluation
253 bool 'MIPS simulator (MIPSsim)'
256 select DMA_NONCOHERENT
257 select SYS_HAS_EARLY_PRINTK
260 select SYS_HAS_CPU_MIPS32_R1
261 select SYS_HAS_CPU_MIPS32_R2
262 select SYS_HAS_EARLY_PRINTK
263 select SYS_SUPPORTS_32BIT_KERNEL
264 select SYS_SUPPORTS_BIG_ENDIAN
265 select SYS_SUPPORTS_MULTITHREADING
266 select SYS_SUPPORTS_LITTLE_ENDIAN
268 This option enables support for MIPS Technologies MIPSsim software
272 bool "NEC EMMA2RH Mark-eins board"
276 This enables support for the NEC Electronics Mark-eins boards.
279 bool "NEC VR4100 series based machines"
282 select SYS_HAS_CPU_VR41XX
283 select ARCH_REQUIRE_GPIOLIB
286 bool "NXP STB220 board"
289 Support for NXP Semiconductors STB220 Development Board.
296 Support for NXP Semiconductors STB225 Development Board.
299 bool "NXP PNX8550 based JBS board"
301 select SYS_SUPPORTS_LITTLE_ENDIAN
303 config PNX8550_STB810
304 bool "NXP PNX8550 based STB810 board"
306 select SYS_SUPPORTS_LITTLE_ENDIAN
309 bool "PMC-Sierra MSP chipsets"
310 depends on EXPERIMENTAL
311 select DMA_NONCOHERENT
313 select NO_EXCEPT_FILL
315 select SYS_HAS_CPU_MIPS32_R1
316 select SYS_HAS_CPU_MIPS32_R2
317 select SYS_SUPPORTS_32BIT_KERNEL
318 select SYS_SUPPORTS_BIG_ENDIAN
321 select SERIAL_8250_CONSOLE
323 This adds support for the PMC-Sierra family of Multi-Service
324 Processor System-On-A-Chips. These parts include a number
325 of integrated peripherals, interfaces and DSPs in addition to
326 a variety of MIPS cores.
329 bool "PMC-Sierra Yosemite eval board"
338 select SYS_HAS_CPU_RM9000
339 select SYS_HAS_EARLY_PRINTK
340 select SYS_SUPPORTS_32BIT_KERNEL
341 select SYS_SUPPORTS_64BIT_KERNEL
342 select SYS_SUPPORTS_BIG_ENDIAN
343 select SYS_SUPPORTS_HIGHMEM
344 select SYS_SUPPORTS_SMP
346 Yosemite is an evaluation board for the RM9000x2 processor
347 manufactured by PMC-Sierra.
353 select CPU_MIPSR2_IRQ_VI
354 select CPU_MIPSR2_IRQ_EI
356 select DMA_NONCOHERENT
358 select SYS_HAS_EARLY_PRINTK
359 select SYS_HAS_CPU_MIPS32_R2
360 select SYS_SUPPORTS_32BIT_KERNEL
361 select SYS_SUPPORTS_BIG_ENDIAN
362 select SYS_SUPPORTS_HIGHMEM
363 select USB_OHCI_LITTLE_ENDIAN
365 This enables support for the Cisco PowerTV Platform.
368 bool "SGI IP22 (Indy/Indigo2)"
374 select DEFAULT_SGI_PARTITION
375 select DMA_NONCOHERENT
379 select IP22_CPU_SCACHE
381 select GENERIC_ISA_DMA_SUPPORT_BROKEN
383 select SGI_HAS_INDYDOG
389 select SYS_HAS_CPU_R4X00
390 select SYS_HAS_CPU_R5000
392 # Disable EARLY_PRINTK for now since it leads to overwritten prom
393 # memory during early boot on some machines.
395 # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
396 # for a more details discussion
398 # select SYS_HAS_EARLY_PRINTK
399 select SYS_SUPPORTS_32BIT_KERNEL
400 select SYS_SUPPORTS_64BIT_KERNEL
401 select SYS_SUPPORTS_BIG_ENDIAN
403 This are the SGI Indy, Challenge S and Indigo2, as well as certain
404 OEM variants like the Tandem CMN B006S. To compile a Linux kernel
405 that runs on these, say Y here.
408 bool "SGI IP27 (Origin200/2000)"
412 select DEFAULT_SGI_PARTITION
414 select SYS_HAS_EARLY_PRINTK
416 select NR_CPUS_DEFAULT_64
417 select SYS_HAS_CPU_R10000
418 select SYS_SUPPORTS_64BIT_KERNEL
419 select SYS_SUPPORTS_BIG_ENDIAN
420 select SYS_SUPPORTS_NUMA
421 select SYS_SUPPORTS_SMP
423 This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
424 workstations. To compile a Linux kernel that runs on these, say Y
428 bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
429 depends on EXPERIMENTAL
435 select DEFAULT_SGI_PARTITION
436 select DMA_NONCOHERENT
437 select GENERIC_ISA_DMA_SUPPORT_BROKEN
443 select SGI_HAS_INDYDOG
449 select SYS_HAS_CPU_R10000
451 # Disable EARLY_PRINTK for now since it leads to overwritten prom
452 # memory during early boot on some machines.
454 # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
455 # for a more details discussion
457 # select SYS_HAS_EARLY_PRINTK
458 select SYS_SUPPORTS_64BIT_KERNEL
459 select SYS_SUPPORTS_BIG_ENDIAN
461 This is the SGI Indigo2 with R10000 processor. To compile a Linux
462 kernel that runs on these, say Y here.
471 select DMA_NONCOHERENT
474 select R5000_CPU_SCACHE
475 select RM7000_CPU_SCACHE
476 select SYS_HAS_CPU_R5000
477 select SYS_HAS_CPU_R10000 if BROKEN
478 select SYS_HAS_CPU_RM7000
479 select SYS_HAS_CPU_NEVADA
480 select SYS_SUPPORTS_64BIT_KERNEL
481 select SYS_SUPPORTS_BIG_ENDIAN
483 If you want this kernel to run on SGI O2 workstation, say Y here.
486 bool "Sibyte BCM91120C-CRhine"
487 depends on EXPERIMENTAL
490 select SIBYTE_BCM1120
492 select SYS_HAS_CPU_SB1
493 select SYS_SUPPORTS_BIG_ENDIAN
494 select SYS_SUPPORTS_LITTLE_ENDIAN
497 bool "Sibyte BCM91120x-Carmel"
498 depends on EXPERIMENTAL
501 select SIBYTE_BCM1120
503 select SYS_HAS_CPU_SB1
504 select SYS_SUPPORTS_BIG_ENDIAN
505 select SYS_SUPPORTS_LITTLE_ENDIAN
508 bool "Sibyte BCM91125C-CRhone"
509 depends on EXPERIMENTAL
512 select SIBYTE_BCM1125
514 select SYS_HAS_CPU_SB1
515 select SYS_SUPPORTS_BIG_ENDIAN
516 select SYS_SUPPORTS_HIGHMEM
517 select SYS_SUPPORTS_LITTLE_ENDIAN
520 bool "Sibyte BCM91125E-Rhone"
521 depends on EXPERIMENTAL
524 select SIBYTE_BCM1125H
526 select SYS_HAS_CPU_SB1
527 select SYS_SUPPORTS_BIG_ENDIAN
528 select SYS_SUPPORTS_LITTLE_ENDIAN
531 bool "Sibyte BCM91250A-SWARM"
534 select HAVE_PATA_PLATFORM
535 select NR_CPUS_DEFAULT_2
538 select SYS_HAS_CPU_SB1
539 select SYS_SUPPORTS_BIG_ENDIAN
540 select SYS_SUPPORTS_HIGHMEM
541 select SYS_SUPPORTS_LITTLE_ENDIAN
542 select ZONE_DMA32 if 64BIT
544 config SIBYTE_LITTLESUR
545 bool "Sibyte BCM91250C2-LittleSur"
546 depends on EXPERIMENTAL
549 select HAVE_PATA_PLATFORM
550 select NR_CPUS_DEFAULT_2
553 select SYS_HAS_CPU_SB1
554 select SYS_SUPPORTS_BIG_ENDIAN
555 select SYS_SUPPORTS_HIGHMEM
556 select SYS_SUPPORTS_LITTLE_ENDIAN
558 config SIBYTE_SENTOSA
559 bool "Sibyte BCM91250E-Sentosa"
560 depends on EXPERIMENTAL
563 select NR_CPUS_DEFAULT_2
566 select SYS_HAS_CPU_SB1
567 select SYS_SUPPORTS_BIG_ENDIAN
568 select SYS_SUPPORTS_LITTLE_ENDIAN
571 bool "Sibyte BCM91480B-BigSur"
574 select NR_CPUS_DEFAULT_4
575 select SIBYTE_BCM1x80
577 select SYS_HAS_CPU_SB1
578 select SYS_SUPPORTS_BIG_ENDIAN
579 select SYS_SUPPORTS_HIGHMEM
580 select SYS_SUPPORTS_LITTLE_ENDIAN
581 select ZONE_DMA32 if 64BIT
584 bool "SNI RM200/300/400"
585 select ARC if CPU_LITTLE_ENDIAN
586 select ARC32 if CPU_LITTLE_ENDIAN
587 select SNIPROM if CPU_BIG_ENDIAN
588 select ARCH_MAY_HAVE_PC_FDC
592 select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
593 select DMA_NONCOHERENT
594 select GENERIC_ISA_DMA
601 select SWAP_IO_SPACE if CPU_BIG_ENDIAN
602 select SYS_HAS_CPU_R4X00
603 select SYS_HAS_CPU_R5000
604 select SYS_HAS_CPU_R10000
605 select R5000_CPU_SCACHE
606 select SYS_HAS_EARLY_PRINTK
607 select SYS_SUPPORTS_32BIT_KERNEL
608 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
609 select SYS_SUPPORTS_BIG_ENDIAN
610 select SYS_SUPPORTS_HIGHMEM
611 select SYS_SUPPORTS_LITTLE_ENDIAN
613 The SNI RM200/300/400 are MIPS-based machines manufactured by
614 Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
615 Technology and now in turn merged with Fujitsu. Say Y here to
616 support this machine type.
619 bool "Toshiba TX39 series based machines"
622 bool "Toshiba TX49 series based machines"
624 config MIKROTIK_RB532
625 bool "Mikrotik RB532 boards"
628 select DMA_NONCOHERENT
631 select SYS_HAS_CPU_MIPS32_R1
632 select SYS_SUPPORTS_32BIT_KERNEL
633 select SYS_SUPPORTS_LITTLE_ENDIAN
636 select ARCH_REQUIRE_GPIOLIB
638 Support the Mikrotik(tm) RouterBoard 532 series,
639 based on the IDT RC32434 SoC.
642 bool "Wind River PPMC board"
647 select DMA_NONCOHERENT
649 select PCI_GT64XXX_PCI0
651 select SYS_HAS_CPU_MIPS32_R1
652 select SYS_HAS_CPU_MIPS32_R2
653 select SYS_HAS_CPU_MIPS64_R1
654 select SYS_HAS_CPU_NEVADA
655 select SYS_HAS_CPU_RM7000
656 select SYS_SUPPORTS_32BIT_KERNEL
657 select SYS_SUPPORTS_64BIT_KERNEL
658 select SYS_SUPPORTS_BIG_ENDIAN
659 select SYS_SUPPORTS_LITTLE_ENDIAN
661 This enables support for the Wind River MIPS32 4KC PPMC evaluation
662 board, which is based on GT64120 bridge chip.
664 config CAVIUM_OCTEON_SIMULATOR
665 bool "Cavium Networks Octeon Simulator"
667 select 64BIT_PHYS_ADDR
669 select SYS_SUPPORTS_64BIT_KERNEL
670 select SYS_SUPPORTS_BIG_ENDIAN
671 select SYS_SUPPORTS_HIGHMEM
672 select SYS_SUPPORTS_HOTPLUG_CPU
673 select SYS_HAS_CPU_CAVIUM_OCTEON
675 The Octeon simulator is software performance model of the Cavium
676 Octeon Processor. It supports simulating Octeon processors on x86
679 config CAVIUM_OCTEON_REFERENCE_BOARD
680 bool "Cavium Networks Octeon reference board"
682 select 64BIT_PHYS_ADDR
684 select SYS_SUPPORTS_64BIT_KERNEL
685 select SYS_SUPPORTS_BIG_ENDIAN
686 select SYS_SUPPORTS_HIGHMEM
687 select SYS_SUPPORTS_HOTPLUG_CPU
688 select SYS_HAS_EARLY_PRINTK
689 select SYS_HAS_CPU_CAVIUM_OCTEON
692 select ARCH_SUPPORTS_MSI
694 This option supports all of the Octeon reference boards from Cavium
695 Networks. It builds a kernel that dynamically determines the Octeon
696 CPU type and supports all known board reference implementations.
697 Some of the supported boards are:
704 Say Y here for most Octeon reference boards.
708 source "arch/mips/alchemy/Kconfig"
709 source "arch/mips/bcm63xx/Kconfig"
710 source "arch/mips/jazz/Kconfig"
711 source "arch/mips/jz4740/Kconfig"
712 source "arch/mips/lasat/Kconfig"
713 source "arch/mips/pmc-sierra/Kconfig"
714 source "arch/mips/powertv/Kconfig"
715 source "arch/mips/sgi-ip27/Kconfig"
716 source "arch/mips/sibyte/Kconfig"
717 source "arch/mips/txx9/Kconfig"
718 source "arch/mips/vr41xx/Kconfig"
719 source "arch/mips/cavium-octeon/Kconfig"
720 source "arch/mips/loongson/Kconfig"
724 config RWSEM_GENERIC_SPINLOCK
728 config RWSEM_XCHGADD_ALGORITHM
731 config ARCH_HAS_ILOG2_U32
735 config ARCH_HAS_ILOG2_U64
739 config ARCH_SUPPORTS_OPROFILE
741 default y if !MIPS_MT_SMTC
743 config GENERIC_FIND_NEXT_BIT
747 config GENERIC_HWEIGHT
751 config GENERIC_CALIBRATE_DELAY
755 config GENERIC_CLOCKEVENTS
763 config GENERIC_CMOS_UPDATE
767 config SCHED_OMIT_FRAME_POINTER
771 config GENERIC_HARDIRQS_NO__DO_IRQ
775 # Select some configuration options automatically based on user selections.
780 config ARCH_MAY_HAVE_PC_FDC
829 select ARCH_REQUIRE_GPIOLIB
838 config DMA_NONCOHERENT
840 select NEED_DMA_MAP_STATE
842 config NEED_DMA_MAP_STATE
845 config SYS_HAS_EARLY_PRINTK
849 bool "Support for hot-pluggable CPUs"
850 depends on SMP && HOTPLUG && SYS_SUPPORTS_HOTPLUG_CPU
852 Say Y here to allow turning CPUs off and on. CPUs can be
853 controlled through /sys/devices/system/cpu.
854 (Note: power management support will enable this option
855 automatically on SMP systems. )
856 Say N if you want to disable CPU hotplug.
858 config SYS_SUPPORTS_HOTPLUG_CPU
873 config MIPS_DISABLE_OBSOLETE_IDE
882 config GENERIC_ISA_DMA
884 select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
886 config GENERIC_ISA_DMA_SUPPORT_BROKEN
888 select GENERIC_ISA_DMA
894 # Endianess selection. Sufficiently obscure so many users don't know what to
895 # answer,so we try hard to limit the available choices. Also the use of a
896 # choice statement should be more obvious to the user.
899 prompt "Endianess selection"
901 Some MIPS machines can be configured for either little or big endian
902 byte order. These modes require different kernels and a different
903 Linux distribution. In general there is one preferred byteorder for a
904 particular system but some systems are just as commonly used in the
905 one or the other endianness.
907 config CPU_BIG_ENDIAN
909 depends on SYS_SUPPORTS_BIG_ENDIAN
911 config CPU_LITTLE_ENDIAN
913 depends on SYS_SUPPORTS_LITTLE_ENDIAN
918 config SYS_SUPPORTS_APM_EMULATION
921 config SYS_SUPPORTS_BIG_ENDIAN
924 config SYS_SUPPORTS_LITTLE_ENDIAN
927 config SYS_SUPPORTS_HUGETLBFS
929 depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
956 config IRQ_CPU_OCTEON
959 config MIPS_BOARDS_GEN
962 config PCI_GT64XXX_PCI0
965 config NO_EXCEPT_FILL
976 select DMA_NONCOHERENT
979 select SYS_HAS_CPU_R5500
980 select SYS_SUPPORTS_32BIT_KERNEL
981 select SYS_SUPPORTS_64BIT_KERNEL
982 select SYS_SUPPORTS_BIG_ENDIAN
989 select DMA_NONCOHERENT
990 select SYS_HAS_CPU_MIPS32_R2
991 select SYS_SUPPORTS_32BIT_KERNEL
992 select SYS_SUPPORTS_LITTLE_ENDIAN
993 select SYS_SUPPORTS_BIG_ENDIAN
995 select CPU_MIPSR2_IRQ_VI
1007 select DMA_NONCOHERENT
1009 select SYS_HAS_CPU_MIPS32_R1
1010 select SYS_HAS_EARLY_PRINTK
1011 select SYS_SUPPORTS_32BIT_KERNEL
1014 config SWAP_IO_SPACE
1017 config SERIAL_RM9000
1020 config SGI_HAS_INDYDOG
1032 config SGI_HAS_ZILOG
1035 config SGI_HAS_I8042
1038 config DEFAULT_SGI_PARTITION
1050 config MIPS_L1_CACHE_SHIFT
1052 default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL
1053 default "6" if MIPS_CPU_SCACHE
1054 default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
1057 config HAVE_STD_PC_SERIAL_PORT
1061 bool "ARC console support"
1062 depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
1066 depends on MACH_JAZZ || SNI_RM || SGI_IP32
1071 depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
1080 menu "CPU selection"
1086 config CPU_LOONGSON2E
1088 depends on SYS_HAS_CPU_LOONGSON2E
1089 select CPU_LOONGSON2
1091 The Loongson 2E processor implements the MIPS III instruction set
1092 with many extensions.
1094 It has an internal FPGA northbridge, which is compatiable to
1097 config CPU_LOONGSON2F
1099 depends on SYS_HAS_CPU_LOONGSON2F
1100 select CPU_LOONGSON2
1102 select ARCH_REQUIRE_GPIOLIB
1104 The Loongson 2F processor implements the MIPS III instruction set
1105 with many extensions.
1107 Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
1108 have a similar programming interface with FPGA northbridge used in
1111 config CPU_MIPS32_R1
1112 bool "MIPS32 Release 1"
1113 depends on SYS_HAS_CPU_MIPS32_R1
1114 select CPU_HAS_PREFETCH
1115 select CPU_SUPPORTS_32BIT_KERNEL
1116 select CPU_SUPPORTS_HIGHMEM
1118 Choose this option to build a kernel for release 1 or later of the
1119 MIPS32 architecture. Most modern embedded systems with a 32-bit
1120 MIPS processor are based on a MIPS32 processor. If you know the
1121 specific type of processor in your system, choose those that one
1122 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1123 Release 2 of the MIPS32 architecture is available since several
1124 years so chances are you even have a MIPS32 Release 2 processor
1125 in which case you should choose CPU_MIPS32_R2 instead for better
1128 config CPU_MIPS32_R2
1129 bool "MIPS32 Release 2"
1130 depends on SYS_HAS_CPU_MIPS32_R2
1131 select CPU_HAS_PREFETCH
1132 select CPU_SUPPORTS_32BIT_KERNEL
1133 select CPU_SUPPORTS_HIGHMEM
1135 Choose this option to build a kernel for release 2 or later of the
1136 MIPS32 architecture. Most modern embedded systems with a 32-bit
1137 MIPS processor are based on a MIPS32 processor. If you know the
1138 specific type of processor in your system, choose those that one
1139 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1141 config CPU_MIPS64_R1
1142 bool "MIPS64 Release 1"
1143 depends on SYS_HAS_CPU_MIPS64_R1
1144 select CPU_HAS_PREFETCH
1145 select CPU_SUPPORTS_32BIT_KERNEL
1146 select CPU_SUPPORTS_64BIT_KERNEL
1147 select CPU_SUPPORTS_HIGHMEM
1148 select CPU_SUPPORTS_HUGEPAGES
1150 Choose this option to build a kernel for release 1 or later of the
1151 MIPS64 architecture. Many modern embedded systems with a 64-bit
1152 MIPS processor are based on a MIPS64 processor. If you know the
1153 specific type of processor in your system, choose those that one
1154 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
1155 Release 2 of the MIPS64 architecture is available since several
1156 years so chances are you even have a MIPS64 Release 2 processor
1157 in which case you should choose CPU_MIPS64_R2 instead for better
1160 config CPU_MIPS64_R2
1161 bool "MIPS64 Release 2"
1162 depends on SYS_HAS_CPU_MIPS64_R2
1163 select CPU_HAS_PREFETCH
1164 select CPU_SUPPORTS_32BIT_KERNEL
1165 select CPU_SUPPORTS_64BIT_KERNEL
1166 select CPU_SUPPORTS_HIGHMEM
1167 select CPU_SUPPORTS_HUGEPAGES
1169 Choose this option to build a kernel for release 2 or later of the
1170 MIPS64 architecture. Many modern embedded systems with a 64-bit
1171 MIPS processor are based on a MIPS64 processor. If you know the
1172 specific type of processor in your system, choose those that one
1173 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
1177 depends on SYS_HAS_CPU_R3000
1179 select CPU_SUPPORTS_32BIT_KERNEL
1180 select CPU_SUPPORTS_HIGHMEM
1182 Please make sure to pick the right CPU type. Linux/MIPS is not
1183 designed to be generic, i.e. Kernels compiled for R3000 CPUs will
1184 *not* work on R4000 machines and vice versa. However, since most
1185 of the supported machines have an R4000 (or similar) CPU, R4x00
1186 might be a safe bet. If the resulting kernel does not work,
1187 try to recompile with R3000.
1191 depends on SYS_HAS_CPU_TX39XX
1192 select CPU_SUPPORTS_32BIT_KERNEL
1196 depends on SYS_HAS_CPU_VR41XX
1197 select CPU_SUPPORTS_32BIT_KERNEL
1198 select CPU_SUPPORTS_64BIT_KERNEL
1200 The options selects support for the NEC VR4100 series of processors.
1201 Only choose this option if you have one of these processors as a
1202 kernel built with this option will not run on any other type of
1203 processor or vice versa.
1207 depends on SYS_HAS_CPU_R4300
1208 select CPU_SUPPORTS_32BIT_KERNEL
1209 select CPU_SUPPORTS_64BIT_KERNEL
1211 MIPS Technologies R4300-series processors.
1215 depends on SYS_HAS_CPU_R4X00
1216 select CPU_SUPPORTS_32BIT_KERNEL
1217 select CPU_SUPPORTS_64BIT_KERNEL
1219 MIPS Technologies R4000-series processors other than 4300, including
1220 the R4000, R4400, R4600, and 4700.
1224 depends on SYS_HAS_CPU_TX49XX
1225 select CPU_HAS_PREFETCH
1226 select CPU_SUPPORTS_32BIT_KERNEL
1227 select CPU_SUPPORTS_64BIT_KERNEL
1231 depends on SYS_HAS_CPU_R5000
1232 select CPU_SUPPORTS_32BIT_KERNEL
1233 select CPU_SUPPORTS_64BIT_KERNEL
1235 MIPS Technologies R5000-series processors other than the Nevada.
1239 depends on SYS_HAS_CPU_R5432
1240 select CPU_SUPPORTS_32BIT_KERNEL
1241 select CPU_SUPPORTS_64BIT_KERNEL
1245 depends on SYS_HAS_CPU_R5500
1246 select CPU_SUPPORTS_32BIT_KERNEL
1247 select CPU_SUPPORTS_64BIT_KERNEL
1248 select CPU_SUPPORTS_HUGEPAGES
1250 NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
1255 depends on EXPERIMENTAL
1256 depends on SYS_HAS_CPU_R6000
1257 select CPU_SUPPORTS_32BIT_KERNEL
1259 MIPS Technologies R6000 and R6000A series processors. Note these
1260 processors are extremely rare and the support for them is incomplete.
1264 depends on SYS_HAS_CPU_NEVADA
1265 select CPU_SUPPORTS_32BIT_KERNEL
1266 select CPU_SUPPORTS_64BIT_KERNEL
1268 QED / PMC-Sierra RM52xx-series ("Nevada") processors.
1272 depends on EXPERIMENTAL
1273 depends on SYS_HAS_CPU_R8000
1274 select CPU_HAS_PREFETCH
1275 select CPU_SUPPORTS_64BIT_KERNEL
1277 MIPS Technologies R8000 processors. Note these processors are
1278 uncommon and the support for them is incomplete.
1282 depends on SYS_HAS_CPU_R10000
1283 select CPU_HAS_PREFETCH
1284 select CPU_SUPPORTS_32BIT_KERNEL
1285 select CPU_SUPPORTS_64BIT_KERNEL
1286 select CPU_SUPPORTS_HIGHMEM
1288 MIPS Technologies R10000-series processors.
1292 depends on SYS_HAS_CPU_RM7000
1293 select CPU_HAS_PREFETCH
1294 select CPU_SUPPORTS_32BIT_KERNEL
1295 select CPU_SUPPORTS_64BIT_KERNEL
1296 select CPU_SUPPORTS_HIGHMEM
1300 depends on SYS_HAS_CPU_RM9000
1301 select CPU_HAS_PREFETCH
1302 select CPU_SUPPORTS_32BIT_KERNEL
1303 select CPU_SUPPORTS_64BIT_KERNEL
1304 select CPU_SUPPORTS_HIGHMEM
1305 select WEAK_ORDERING
1309 depends on SYS_HAS_CPU_SB1
1310 select CPU_SUPPORTS_32BIT_KERNEL
1311 select CPU_SUPPORTS_64BIT_KERNEL
1312 select CPU_SUPPORTS_HIGHMEM
1313 select WEAK_ORDERING
1315 config CPU_CAVIUM_OCTEON
1316 bool "Cavium Octeon processor"
1317 depends on SYS_HAS_CPU_CAVIUM_OCTEON
1319 select IRQ_CPU_OCTEON
1320 select CPU_HAS_PREFETCH
1321 select CPU_SUPPORTS_64BIT_KERNEL
1322 select SYS_SUPPORTS_SMP
1323 select NR_CPUS_DEFAULT_16
1324 select WEAK_ORDERING
1325 select CPU_SUPPORTS_HIGHMEM
1326 select CPU_SUPPORTS_HUGEPAGES
1328 The Cavium Octeon processor is a highly integrated chip containing
1329 many ethernet hardware widgets for networking tasks. The processor
1330 can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
1331 Full details can be found at http://www.caviumnetworks.com.
1336 config CPU_NOP_WORKAROUNDS
1339 config CPU_JUMP_WORKAROUNDS
1342 config CPU_LOONGSON2F_WORKAROUNDS
1343 bool "Loongson 2F Workarounds"
1345 select CPU_NOP_WORKAROUNDS
1346 select CPU_JUMP_WORKAROUNDS
1348 Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which
1349 require workarounds. Without workarounds the system may hang
1350 unexpectedly. For more information please refer to the gas
1351 -mfix-loongson2f-nop and -mfix-loongson2f-jump options.
1353 Loongson 2F03 and later have fixed these issues and no workarounds
1354 are needed. The workarounds have no significant side effect on them
1355 but may decrease the performance of the system so this option should
1356 be disabled unless the kernel is intended to be run on 2F01 or 2F02
1359 If unsure, please say Y.
1360 endif # CPU_LOONGSON2F
1362 config SYS_SUPPORTS_ZBOOT
1364 select HAVE_KERNEL_GZIP
1365 select HAVE_KERNEL_BZIP2
1366 select HAVE_KERNEL_LZMA
1367 select HAVE_KERNEL_LZO
1369 config SYS_SUPPORTS_ZBOOT_UART16550
1371 select SYS_SUPPORTS_ZBOOT
1373 config CPU_LOONGSON2
1375 select CPU_SUPPORTS_32BIT_KERNEL
1376 select CPU_SUPPORTS_64BIT_KERNEL
1377 select CPU_SUPPORTS_HIGHMEM
1379 config SYS_HAS_CPU_LOONGSON2E
1382 config SYS_HAS_CPU_LOONGSON2F
1384 select CPU_SUPPORTS_CPUFREQ
1385 select CPU_SUPPORTS_ADDRWINCFG if 64BIT
1386 select CPU_SUPPORTS_UNCACHED_ACCELERATED
1388 config SYS_HAS_CPU_MIPS32_R1
1391 config SYS_HAS_CPU_MIPS32_R2
1394 config SYS_HAS_CPU_MIPS64_R1
1397 config SYS_HAS_CPU_MIPS64_R2
1400 config SYS_HAS_CPU_R3000
1403 config SYS_HAS_CPU_TX39XX
1406 config SYS_HAS_CPU_VR41XX
1409 config SYS_HAS_CPU_R4300
1412 config SYS_HAS_CPU_R4X00
1415 config SYS_HAS_CPU_TX49XX
1418 config SYS_HAS_CPU_R5000
1421 config SYS_HAS_CPU_R5432
1424 config SYS_HAS_CPU_R5500
1427 config SYS_HAS_CPU_R6000
1430 config SYS_HAS_CPU_NEVADA
1433 config SYS_HAS_CPU_R8000
1436 config SYS_HAS_CPU_R10000
1439 config SYS_HAS_CPU_RM7000
1442 config SYS_HAS_CPU_RM9000
1445 config SYS_HAS_CPU_SB1
1448 config SYS_HAS_CPU_CAVIUM_OCTEON
1452 # CPU may reorder R->R, R->W, W->R, W->W
1453 # Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
1455 config WEAK_ORDERING
1459 # CPU may reorder reads and writes beyond LL/SC
1460 # CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
1462 config WEAK_REORDERING_BEYOND_LLSC
1467 # These two indicate any level of the MIPS32 and MIPS64 architecture
1471 default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
1475 default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
1478 # These two indicate the revision of the architecture, either Release 1 or Release 2
1482 default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
1486 default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
1488 config SYS_SUPPORTS_32BIT_KERNEL
1490 config SYS_SUPPORTS_64BIT_KERNEL
1492 config CPU_SUPPORTS_32BIT_KERNEL
1494 config CPU_SUPPORTS_64BIT_KERNEL
1496 config CPU_SUPPORTS_CPUFREQ
1498 config CPU_SUPPORTS_ADDRWINCFG
1500 config CPU_SUPPORTS_HUGEPAGES
1502 config CPU_SUPPORTS_UNCACHED_ACCELERATED
1504 config MIPS_PGD_C0_CONTEXT
1506 default y if 64BIT && CPU_MIPSR2
1509 # Set to y for ptrace access to watch registers.
1511 config HARDWARE_WATCHPOINTS
1513 default y if CPU_MIPSR1 || CPU_MIPSR2
1519 prompt "Kernel code model"
1521 You should only select this option if you have a workload that
1522 actually benefits from 64-bit processing or if your machine has
1523 large memory. You will only be presented a single option in this
1524 menu if your system does not support both 32-bit and 64-bit kernels.
1527 bool "32-bit kernel"
1528 depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
1531 Select this option if you want to build a 32-bit kernel.
1533 bool "64-bit kernel"
1534 depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
1535 select HAVE_SYSCALL_WRAPPERS
1537 Select this option if you want to build a 64-bit kernel.
1542 prompt "Kernel page size"
1543 default PAGE_SIZE_4KB
1545 config PAGE_SIZE_4KB
1547 depends on !CPU_LOONGSON2
1549 This option select the standard 4kB Linux page size. On some
1550 R3000-family processors this is the only available page size. Using
1551 4kB page size will minimize memory consumption and is therefore
1552 recommended for low memory systems.
1554 config PAGE_SIZE_8KB
1556 depends on (EXPERIMENTAL && CPU_R8000) || CPU_CAVIUM_OCTEON
1558 Using 8kB page size will result in higher performance kernel at
1559 the price of higher memory consumption. This option is available
1560 only on R8000 and cnMIPS processors. Note that you will need a
1561 suitable Linux distribution to support this.
1563 config PAGE_SIZE_16KB
1565 depends on !CPU_R3000 && !CPU_TX39XX
1567 Using 16kB page size will result in higher performance kernel at
1568 the price of higher memory consumption. This option is available on
1569 all non-R3000 family processors. Note that you will need a suitable
1570 Linux distribution to support this.
1572 config PAGE_SIZE_32KB
1574 depends on CPU_CAVIUM_OCTEON
1576 Using 32kB page size will result in higher performance kernel at
1577 the price of higher memory consumption. This option is available
1578 only on cnMIPS cores. Note that you will need a suitable Linux
1579 distribution to support this.
1581 config PAGE_SIZE_64KB
1583 depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
1585 Using 64kB page size will result in higher performance kernel at
1586 the price of higher memory consumption. This option is available on
1587 all non-R3000 family processor. Not that at the time of this
1588 writing this option is still high experimental.
1595 config IP22_CPU_SCACHE
1600 # Support for a MIPS32 / MIPS64 style S-caches
1602 config MIPS_CPU_SCACHE
1606 config R5000_CPU_SCACHE
1610 config RM7000_CPU_SCACHE
1614 config SIBYTE_DMA_PAGEOPS
1615 bool "Use DMA to clear/copy pages"
1618 Instead of using the CPU to zero and copy pages, use a Data Mover
1619 channel. These DMA channels are otherwise unused by the standard
1620 SiByte Linux port. Seems to give a small performance benefit.
1622 config CPU_HAS_PREFETCH
1626 prompt "MIPS MT options"
1628 config MIPS_MT_DISABLED
1629 bool "Disable multithreading support."
1631 Use this option if your workload can't take advantage of
1632 MIPS hardware multithreading support. On systems that don't have
1633 the option of an MT-enabled processor this option will be the only
1634 option in this menu.
1637 bool "Use 1 TC on each available VPE for SMP"
1638 depends on SYS_SUPPORTS_MULTITHREADING
1639 select CPU_MIPSR2_IRQ_VI
1640 select CPU_MIPSR2_IRQ_EI
1642 select NR_CPUS_DEFAULT_2
1644 select SYS_SUPPORTS_SCHED_SMT if SMP
1645 select SYS_SUPPORTS_SMP
1648 This is a kernel model which is also known a VSMP or lately
1649 has been marketesed into SMVP.
1652 bool "SMTC: Use all TCs on all VPEs for SMP"
1653 depends on CPU_MIPS32_R2
1654 #depends on CPU_MIPS64_R2 # once there is hardware ...
1655 depends on SYS_SUPPORTS_MULTITHREADING
1656 select CPU_MIPSR2_IRQ_VI
1657 select CPU_MIPSR2_IRQ_EI
1659 select NR_CPUS_DEFAULT_8
1661 select SYS_SUPPORTS_SMP
1664 This is a kernel model which is known a SMTC or lately has been
1665 marketesed into SMVP.
1673 bool "SMT (multithreading) scheduler support"
1674 depends on SYS_SUPPORTS_SCHED_SMT
1677 SMT scheduler support improves the CPU scheduler's decision making
1678 when dealing with MIPS MT enabled cores at a cost of slightly
1679 increased overhead in some places. If unsure say N here.
1681 config SYS_SUPPORTS_SCHED_SMT
1685 config SYS_SUPPORTS_MULTITHREADING
1688 config MIPS_MT_FPAFF
1689 bool "Dynamic FPU affinity for FP-intensive threads"
1691 depends on MIPS_MT_SMP || MIPS_MT_SMTC
1693 config MIPS_VPE_LOADER
1694 bool "VPE loader support."
1695 depends on SYS_SUPPORTS_MULTITHREADING
1696 select CPU_MIPSR2_IRQ_VI
1697 select CPU_MIPSR2_IRQ_EI
1700 Includes a loader for loading an elf relocatable object
1701 onto another VPE and running it.
1703 config MIPS_MT_SMTC_IM_BACKSTOP
1704 bool "Use per-TC register bits as backstop for inhibited IM bits"
1705 depends on MIPS_MT_SMTC
1708 To support multiple TC microthreads acting as "CPUs" within
1709 a VPE, VPE-wide interrupt mask bits must be specially manipulated
1710 during interrupt handling. To support legacy drivers and interrupt
1711 controller management code, SMTC has a "backstop" to track and
1712 if necessary restore the interrupt mask. This has some performance
1713 impact on interrupt service overhead.
1715 config MIPS_MT_SMTC_IRQAFF
1716 bool "Support IRQ affinity API"
1717 depends on MIPS_MT_SMTC
1720 Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1721 for SMTC Linux kernel. Requires platform support, of which
1722 an example can be found in the MIPS kernel i8259 and Malta
1723 platform code. Adds some overhead to interrupt dispatch, and
1724 should be used only if you know what you are doing.
1726 config MIPS_VPE_LOADER_TOM
1727 bool "Load VPE program into memory hidden from linux"
1728 depends on MIPS_VPE_LOADER
1731 The loader can use memory that is present but has been hidden from
1732 Linux using the kernel command line option "mem=xxMB". It's up to
1733 you to ensure the amount you put in the option and the space your
1734 program requires is less or equal to the amount physically present.
1736 # this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1737 config MIPS_VPE_APSP_API
1738 bool "Enable support for AP/SP API (RTLX)"
1739 depends on MIPS_VPE_LOADER
1742 config MIPS_APSP_KSPD
1744 depends on MIPS_VPE_APSP_API
1747 KSPD is a kernel daemon that accepts syscall requests from the SP
1748 side, actions them and returns the results. It also handles the
1749 "exit" syscall notifying other kernel modules the SP program is
1750 exiting. You probably want to say yes here.
1753 bool "MIPS CMP framework support"
1754 depends on SYS_SUPPORTS_MIPS_CMP
1756 select SYS_SUPPORTS_SMP
1757 select SYS_SUPPORTS_SCHED_SMT if SMP
1758 select WEAK_ORDERING
1761 This is a placeholder option for the GCMP work. It will need to
1762 be handled differently...
1764 config SB1_PASS_1_WORKAROUNDS
1766 depends on CPU_SB1_PASS_1
1769 config SB1_PASS_2_WORKAROUNDS
1771 depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
1774 config SB1_PASS_2_1_WORKAROUNDS
1776 depends on CPU_SB1 && CPU_SB1_PASS_2
1779 config 64BIT_PHYS_ADDR
1782 config ARCH_PHYS_ADDR_T_64BIT
1783 def_bool 64BIT_PHYS_ADDR
1785 config CPU_HAS_SMARTMIPS
1786 depends on SYS_SUPPORTS_SMARTMIPS
1787 bool "Support for the SmartMIPS ASE"
1789 SmartMIPS is a extension of the MIPS32 architecture aimed at
1790 increased security at both hardware and software level for
1791 smartcards. Enabling this option will allow proper use of the
1792 SmartMIPS instructions by Linux applications. However a kernel with
1793 this option will not work on a MIPS core without SmartMIPS core. If
1794 you don't know you probably don't have SmartMIPS and should say N
1801 # Vectored interrupt mode is an R2 feature
1803 config CPU_MIPSR2_IRQ_VI
1807 # Extended interrupt mode is an R2 feature
1809 config CPU_MIPSR2_IRQ_EI
1814 depends on !CPU_R3000
1817 config GENERIC_CLOCKEVENTS_BROADCAST
1823 config CPU_DADDI_WORKAROUNDS
1826 config CPU_R4000_WORKAROUNDS
1828 select CPU_R4400_WORKAROUNDS
1830 config CPU_R4400_WORKAROUNDS
1834 # Use the generic interrupt handling code in kernel/irq/:
1836 config GENERIC_HARDIRQS
1840 config GENERIC_IRQ_PROBE
1848 # - Highmem only makes sense for the 32-bit kernel.
1849 # - The current highmem code will only work properly on physically indexed
1850 # caches such as R3000, SB1, R7000 or those that look like they're virtually
1851 # indexed such as R4000/R4400 SC and MC versions or R10000. So for the
1852 # moment we protect the user and offer the highmem option only on machines
1853 # where it's known to be safe. This will not offer highmem on a few systems
1854 # such as MIPS32 and MIPS64 CPUs which may have virtual and physically
1855 # indexed CPUs but we're playing safe.
1856 # - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1857 # know they might have memory configurations that could make use of highmem
1861 bool "High Memory Support"
1862 depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1864 config CPU_SUPPORTS_HIGHMEM
1867 config SYS_SUPPORTS_HIGHMEM
1870 config SYS_SUPPORTS_SMARTMIPS
1873 config ARCH_FLATMEM_ENABLE
1875 depends on !NUMA && !CPU_LOONGSON2
1877 config ARCH_DISCONTIGMEM_ENABLE
1879 default y if SGI_IP27
1881 Say Y to support efficient handling of discontiguous physical memory,
1882 for architectures which are either NUMA (Non-Uniform Memory Access)
1883 or have huge holes in the physical address space for other reasons.
1884 See <file:Documentation/vm/numa> for more.
1886 config ARCH_POPULATES_NODE_MAP
1889 config ARCH_SPARSEMEM_ENABLE
1891 select SPARSEMEM_STATIC
1895 depends on SYS_SUPPORTS_NUMA
1897 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1898 Access). This option improves performance on systems with more
1899 than two nodes; on two node systems it is generally better to
1900 leave it disabled; on single node systems disable this option
1903 config SYS_SUPPORTS_NUMA
1909 depends on NEED_MULTIPLE_NODES
1914 bool "Multi-Processing support"
1915 depends on SYS_SUPPORTS_SMP
1917 select USE_GENERIC_SMP_HELPERS
1919 This enables support for systems with more than one CPU. If you have
1920 a system with only one CPU, like most personal computers, say N. If
1921 you have a system with more than one CPU, say Y.
1923 If you say N here, the kernel will run on single and multiprocessor
1924 machines, but will use only one CPU of a multiprocessor machine. If
1925 you say Y here, the kernel will run on many, but not all,
1926 singleprocessor machines. On a singleprocessor machine, the kernel
1927 will run faster if you say N here.
1929 People using multiprocessor machines who say Y here should also say
1930 Y to "Enhanced Real Time Clock Support", below.
1932 See also the SMP-HOWTO available at
1933 <http://www.tldp.org/docs.html#howto>.
1935 If you don't know what to do here, say N.
1940 config SYS_SUPPORTS_MIPS_CMP
1943 config SYS_SUPPORTS_SMP
1946 config NR_CPUS_DEFAULT_1
1949 config NR_CPUS_DEFAULT_2
1952 config NR_CPUS_DEFAULT_4
1955 config NR_CPUS_DEFAULT_8
1958 config NR_CPUS_DEFAULT_16
1961 config NR_CPUS_DEFAULT_32
1964 config NR_CPUS_DEFAULT_64
1968 int "Maximum number of CPUs (2-64)"
1969 range 1 64 if NR_CPUS_DEFAULT_1
1971 default "1" if NR_CPUS_DEFAULT_1
1972 default "2" if NR_CPUS_DEFAULT_2
1973 default "4" if NR_CPUS_DEFAULT_4
1974 default "8" if NR_CPUS_DEFAULT_8
1975 default "16" if NR_CPUS_DEFAULT_16
1976 default "32" if NR_CPUS_DEFAULT_32
1977 default "64" if NR_CPUS_DEFAULT_64
1979 This allows you to specify the maximum number of CPUs which this
1980 kernel will support. The maximum supported value is 32 for 32-bit
1981 kernel and 64 for 64-bit kernels; the minimum value which makes
1982 sense is 1 for Qemu (useful only for kernel debugging purposes)
1983 and 2 for all others.
1985 This is purely to save memory - each supported CPU adds
1986 approximately eight kilobytes to the kernel image. For best
1987 performance should round up your number of processors to the next
1990 source "kernel/time/Kconfig"
1993 # Timer Interrupt Frequency Configuration
1997 prompt "Timer frequency"
2000 Allows the configuration of the timer frequency.
2003 bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
2006 bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
2009 bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
2012 bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
2015 bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
2018 bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
2021 bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
2025 config SYS_SUPPORTS_48HZ
2028 config SYS_SUPPORTS_100HZ
2031 config SYS_SUPPORTS_128HZ
2034 config SYS_SUPPORTS_250HZ
2037 config SYS_SUPPORTS_256HZ
2040 config SYS_SUPPORTS_1000HZ
2043 config SYS_SUPPORTS_1024HZ
2046 config SYS_SUPPORTS_ARBIT_HZ
2048 default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
2049 !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
2050 !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
2051 !SYS_SUPPORTS_1024HZ
2056 default 100 if HZ_100
2057 default 128 if HZ_128
2058 default 250 if HZ_250
2059 default 256 if HZ_256
2060 default 1000 if HZ_1000
2061 default 1024 if HZ_1024
2063 source "kernel/Kconfig.preempt"
2065 config MIPS_INSANE_LARGE
2066 bool "Support for large 64-bit configurations"
2067 depends on CPU_R10000 && 64BIT
2069 MIPS R10000 does support a 44 bit / 16TB address space as opposed to
2070 previous 64-bit processors which only supported 40 bit / 1TB. If you
2071 need processes of more than 1TB virtual address space, say Y here.
2072 This will result in additional memory usage, so it is not
2073 recommended for normal users.
2076 bool "Kexec system call (EXPERIMENTAL)"
2077 depends on EXPERIMENTAL
2079 kexec is a system call that implements the ability to shutdown your
2080 current kernel, and to start another kernel. It is like a reboot
2081 but it is independent of the system firmware. And like a reboot
2082 you can start any kernel with it, not just Linux.
2084 The name comes from the similarity to the exec system call.
2086 It is an ongoing process to be certain the hardware in a machine
2087 is properly shutdown, so do not be surprised if this code does not
2088 initially work for you. It may help to enable device hotplugging
2089 support. As of this writing the exact hardware interface is
2090 strongly in flux, so no good recommendation can be made.
2093 bool "Enable seccomp to safely compute untrusted bytecode"
2097 This kernel feature is useful for number crunching applications
2098 that may need to compute untrusted bytecode during their
2099 execution. By using pipes or other transports made available to
2100 the process as file descriptors supporting the read/write
2101 syscalls, it's possible to isolate those applications in
2102 their own address space using seccomp. Once seccomp is
2103 enabled via /proc/<pid>/seccomp, it cannot be disabled
2104 and the task is only allowed to execute a few safe syscalls
2105 defined by each seccomp mode.
2107 If unsure, say Y. Only embedded should say N here.
2111 config LOCKDEP_SUPPORT
2115 config STACKTRACE_SUPPORT
2119 source "init/Kconfig"
2121 source "kernel/Kconfig.freezer"
2123 menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
2131 bool "Support for PCI controller"
2132 depends on HW_HAS_PCI
2135 Find out whether you have a PCI motherboard. PCI is the name of a
2136 bus system, i.e. the way the CPU talks to the other stuff inside
2137 your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
2143 source "drivers/pci/Kconfig"
2146 # ISA support is now enabled via select. Too many systems still have the one
2147 # or other ISA chip on the board that users don't know about so don't expect
2148 # users to choose the right thing ...
2155 depends on HW_HAS_EISA
2157 select GENERIC_ISA_DMA
2159 The Extended Industry Standard Architecture (EISA) bus was
2160 developed as an open alternative to the IBM MicroChannel bus.
2162 The EISA bus provided some of the features of the IBM MicroChannel
2163 bus while maintaining backward compatibility with cards made for
2164 the older ISA bus. The EISA bus saw limited use between 1988 and
2165 1995 when it was made obsolete by the PCI bus.
2167 Say Y here if you are building a kernel for an EISA-based machine.
2171 source "drivers/eisa/Kconfig"
2174 bool "TURBOchannel support"
2175 depends on MACH_DECSTATION
2177 TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
2178 processors. Documentation on writing device drivers for TurboChannel
2180 <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
2183 # bool "Access.Bus support"
2192 select MIPS_EXTERNAL_TIMER
2197 source "drivers/pcmcia/Kconfig"
2199 source "drivers/pci/hotplug/Kconfig"
2203 menu "Executable file formats"
2205 source "fs/Kconfig.binfmt"
2210 config MIPS32_COMPAT
2211 bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
2214 Select this option if you want Linux/MIPS 32-bit binary
2215 compatibility. Since all software available for Linux/MIPS is
2216 currently 32-bit you should say Y here.
2220 depends on MIPS32_COMPAT
2223 config SYSVIPC_COMPAT
2225 depends on COMPAT && SYSVIPC
2229 bool "Kernel support for o32 binaries"
2230 depends on MIPS32_COMPAT
2232 Select this option if you want to run o32 binaries. These are pure
2233 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
2234 existing binaries are in this format.
2239 bool "Kernel support for n32 binaries"
2240 depends on MIPS32_COMPAT
2242 Select this option if you want to run n32 binaries. These are
2243 64-bit binaries using 32-bit quantities for addressing and certain
2244 data that would normally be 64-bit. They are used in special
2251 default y if MIPS32_O32 || MIPS32_N32
2255 menu "Power management options"
2257 config ARCH_HIBERNATION_POSSIBLE
2259 depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
2261 config ARCH_SUSPEND_POSSIBLE
2263 depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
2265 source "kernel/power/Kconfig"
2269 source "arch/mips/kernel/cpufreq/Kconfig"
2271 source "net/Kconfig"
2273 source "drivers/Kconfig"
2277 source "arch/mips/Kconfig.debug"
2279 source "security/Kconfig"
2281 source "crypto/Kconfig"
2283 source "lib/Kconfig"