4 select ARCH_SUPPORTS_UPROBES
5 select ARCH_MIGHT_HAVE_PC_PARPORT
6 select ARCH_MIGHT_HAVE_PC_SERIO
7 select ARCH_USE_CMPXCHG_LOCKREF if 64BIT
8 select ARCH_USE_BUILTIN_BSWAP
9 select HAVE_CONTEXT_TRACKING
10 select HAVE_GENERIC_DMA_COHERENT
12 select HAVE_IRQ_EXIT_ON_IRQ_STACK
14 select HAVE_PERF_EVENTS
15 select PERF_USE_VMALLOC
16 select HAVE_ARCH_COMPILER_H
18 select HAVE_ARCH_SECCOMP_FILTER
19 select HAVE_ARCH_TRACEHOOK
20 select HAVE_BPF_JIT if !CPU_MICROMIPS
21 select HAVE_FUNCTION_TRACER
22 select HAVE_DYNAMIC_FTRACE
23 select HAVE_FTRACE_MCOUNT_RECORD
24 select HAVE_C_RECORDMCOUNT
25 select HAVE_FUNCTION_GRAPH_TRACER
27 select HAVE_KRETPROBES
28 select HAVE_SYSCALL_TRACEPOINTS
29 select HAVE_DEBUG_KMEMLEAK
30 select HAVE_SYSCALL_TRACEPOINTS
31 select ARCH_HAS_ELF_RANDOMIZE
32 select HAVE_ARCH_TRANSPARENT_HUGEPAGE if CPU_SUPPORTS_HUGEPAGES && 64BIT
33 select RTC_LIB if !MACH_LOONGSON64
34 select GENERIC_ATOMIC64 if !64BIT
35 select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
37 select HAVE_DMA_CONTIGUOUS
38 select HAVE_DMA_API_DEBUG
39 select GENERIC_IRQ_PROBE
40 select GENERIC_IRQ_SHOW
41 select GENERIC_PCI_IOMAP
42 select HAVE_ARCH_JUMP_LABEL
43 select ARCH_WANT_IPC_PARSE_VERSION
44 select IRQ_FORCED_THREADING
46 select HAVE_MEMBLOCK_NODE_MAP
47 select ARCH_DISCARD_MEMBLOCK
48 select GENERIC_SMP_IDLE_THREAD
49 select BUILDTIME_EXTABLE_SORT
50 select GENERIC_CLOCKEVENTS
51 select GENERIC_SCHED_CLOCK if !CAVIUM_OCTEON_SOC
52 select GENERIC_CMOS_UPDATE
53 select HAVE_MOD_ARCH_SPECIFIC
55 select MODULES_USE_ELF_REL if MODULES
56 select MODULES_USE_ELF_RELA if MODULES && 64BIT
57 select CLONE_BACKWARDS
58 select HAVE_DEBUG_STACKOVERFLOW
59 select HAVE_CC_STACKPROTECTOR
60 select CPU_PM if CPU_IDLE
61 select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
62 select ARCH_BINFMT_ELF_STATE
63 select SYSCTL_EXCEPTION_TRACE
64 select HAVE_VIRT_CPU_ACCOUNTING_GEN
65 select HAVE_IRQ_TIME_ACCOUNTING
66 select GENERIC_TIME_VSYSCALL
67 select ARCH_CLOCKSOURCE_DATA
69 menu "Machine selection"
76 bool "Alchemy processor based machines"
77 select ARCH_PHYS_ADDR_T_64BIT
81 select DMA_MAYBE_COHERENT # Au1000,1500,1100 aren't, rest is
82 select SYS_HAS_CPU_MIPS32_R1
83 select SYS_SUPPORTS_32BIT_KERNEL
84 select SYS_SUPPORTS_APM_EMULATION
85 select ARCH_REQUIRE_GPIOLIB
86 select SYS_SUPPORTS_ZBOOT
90 bool "Texas Instruments AR7"
92 select DMA_NONCOHERENT
98 select SYS_HAS_CPU_MIPS32_R1
99 select SYS_HAS_EARLY_PRINTK
100 select SYS_SUPPORTS_32BIT_KERNEL
101 select SYS_SUPPORTS_LITTLE_ENDIAN
102 select SYS_SUPPORTS_MIPS16
103 select SYS_SUPPORTS_ZBOOT_UART16550
104 select ARCH_REQUIRE_GPIOLIB
108 Support for the Texas Instruments AR7 System-on-a-Chip
109 family: TNETD7100, 7200 and 7300.
112 bool "Atheros AR231x/AR531x SoC support"
115 select DMA_NONCOHERENT
118 select SYS_HAS_CPU_MIPS32_R1
119 select SYS_SUPPORTS_BIG_ENDIAN
120 select SYS_SUPPORTS_32BIT_KERNEL
121 select SYS_HAS_EARLY_PRINTK
123 Support for Atheros AR231x and Atheros AR531x based boards
126 bool "Atheros AR71XX/AR724X/AR913X based boards"
127 select ARCH_HAS_RESET_CONTROLLER
128 select ARCH_REQUIRE_GPIOLIB
132 select DMA_NONCOHERENT
138 select SYS_HAS_CPU_MIPS32_R2
139 select SYS_HAS_EARLY_PRINTK
140 select SYS_SUPPORTS_32BIT_KERNEL
141 select SYS_SUPPORTS_BIG_ENDIAN
142 select SYS_SUPPORTS_MIPS16
143 select SYS_SUPPORTS_ZBOOT
146 Support for the Atheros AR71XX/AR724X/AR913X SoCs.
149 bool "Broadcom Generic BMIPS kernel"
151 select NO_EXCEPT_FILL
157 select BCM7038_L1_IRQ
158 select BCM7120_L2_IRQ
159 select BRCMSTB_L2_IRQ
161 select DMA_NONCOHERENT
162 select SYS_SUPPORTS_32BIT_KERNEL
163 select SYS_SUPPORTS_LITTLE_ENDIAN
164 select SYS_SUPPORTS_BIG_ENDIAN
165 select SYS_SUPPORTS_HIGHMEM
166 select SYS_HAS_CPU_BMIPS32_3300
167 select SYS_HAS_CPU_BMIPS4350
168 select SYS_HAS_CPU_BMIPS4380
169 select SYS_HAS_CPU_BMIPS5000
171 select USB_EHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN
172 select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
173 select USB_OHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN
174 select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
176 Build a generic DT-based kernel image that boots on select
177 BCM33xx cable modem chips, BCM63xx DSL chips, and BCM7xxx set-top
178 box chips. Note that CONFIG_CPU_BIG_ENDIAN/CONFIG_CPU_LITTLE_ENDIAN
179 must be set appropriately for your board.
182 bool "Broadcom BCM47XX based boards"
183 select ARCH_WANT_OPTIONAL_GPIOLIB
187 select DMA_NONCOHERENT
190 select SYS_HAS_CPU_MIPS32_R1
191 select NO_EXCEPT_FILL
192 select SYS_SUPPORTS_32BIT_KERNEL
193 select SYS_SUPPORTS_LITTLE_ENDIAN
194 select SYS_SUPPORTS_MIPS16
195 select SYS_HAS_EARLY_PRINTK
196 select USE_GENERIC_EARLY_PRINTK_8250
198 select LEDS_GPIO_REGISTER
201 Support for BCM47XX based boards
204 bool "Broadcom BCM63XX based boards"
209 select DMA_NONCOHERENT
211 select SYS_SUPPORTS_32BIT_KERNEL
212 select SYS_SUPPORTS_BIG_ENDIAN
213 select SYS_HAS_EARLY_PRINTK
215 select ARCH_REQUIRE_GPIOLIB
217 select MIPS_L1_CACHE_SHIFT_4
219 Support for BCM63XX based boards
226 select DMA_NONCOHERENT
232 select PCI_GT64XXX_PCI0
234 select SYS_HAS_CPU_NEVADA
235 select SYS_HAS_EARLY_PRINTK
236 select SYS_SUPPORTS_32BIT_KERNEL
237 select SYS_SUPPORTS_64BIT_KERNEL
238 select SYS_SUPPORTS_LITTLE_ENDIAN
239 select USE_GENERIC_EARLY_PRINTK_8250
241 config MACH_DECSTATION
245 select CEVT_R4K if CPU_R4X00
247 select CSRC_R4K if CPU_R4X00
248 select CPU_DADDI_WORKAROUNDS if 64BIT
249 select CPU_R4000_WORKAROUNDS if 64BIT
250 select CPU_R4400_WORKAROUNDS if 64BIT
251 select DMA_NONCOHERENT
254 select SYS_HAS_CPU_R3000
255 select SYS_HAS_CPU_R4X00
256 select SYS_SUPPORTS_32BIT_KERNEL
257 select SYS_SUPPORTS_64BIT_KERNEL
258 select SYS_SUPPORTS_LITTLE_ENDIAN
259 select SYS_SUPPORTS_128HZ
260 select SYS_SUPPORTS_256HZ
261 select SYS_SUPPORTS_1024HZ
262 select MIPS_L1_CACHE_SHIFT_4
264 This enables support for DEC's MIPS based workstations. For details
265 see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
266 DECstation porting pages on <http://decstation.unix-ag.org/>.
268 If you have one of the following DECstation Models you definitely
269 want to choose R4xx0 for the CPU Type:
276 otherwise choose R3000.
279 bool "Jazz family of machines"
282 select ARCH_MAY_HAVE_PC_FDC
285 select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
286 select GENERIC_ISA_DMA
287 select HAVE_PCSPKR_PLATFORM
292 select SYS_HAS_CPU_R4X00
293 select SYS_SUPPORTS_32BIT_KERNEL
294 select SYS_SUPPORTS_64BIT_KERNEL
295 select SYS_SUPPORTS_100HZ
297 This a family of machines based on the MIPS R4030 chipset which was
298 used by several vendors to build RISC/os and Windows NT workstations.
299 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
300 Olivetti M700-10 workstations.
303 bool "Ingenic SoC based machines"
304 select SYS_SUPPORTS_32BIT_KERNEL
305 select SYS_SUPPORTS_LITTLE_ENDIAN
306 select SYS_SUPPORTS_ZBOOT_UART16550
307 select DMA_NONCOHERENT
309 select ARCH_REQUIRE_GPIOLIB
311 select GENERIC_IRQ_CHIP
317 bool "Lantiq based platforms"
318 select DMA_NONCOHERENT
322 select SYS_HAS_CPU_MIPS32_R1
323 select SYS_HAS_CPU_MIPS32_R2
324 select SYS_SUPPORTS_BIG_ENDIAN
325 select SYS_SUPPORTS_32BIT_KERNEL
326 select SYS_SUPPORTS_MIPS16
327 select SYS_SUPPORTS_MULTITHREADING
328 select SYS_HAS_EARLY_PRINTK
329 select ARCH_REQUIRE_GPIOLIB
332 select HAVE_MACH_CLKDEV
336 select PINCTRL_LANTIQ
337 select ARCH_HAS_RESET_CONTROLLER
338 select RESET_CONTROLLER
341 bool "LASAT Networks platforms"
345 select DMA_NONCOHERENT
346 select SYS_HAS_EARLY_PRINTK
349 select PCI_GT64XXX_PCI0
351 select R5000_CPU_SCACHE
352 select SYS_HAS_CPU_R5000
353 select SYS_SUPPORTS_32BIT_KERNEL
354 select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
355 select SYS_SUPPORTS_LITTLE_ENDIAN
357 config MACH_LOONGSON32
358 bool "Loongson-1 family of machines"
359 select SYS_SUPPORTS_ZBOOT
361 This enables support for the Loongson-1 family of machines.
363 Loongson-1 is a family of 32-bit MIPS-compatible SoCs developed by
364 the Institute of Computing Technology (ICT), Chinese Academy of
367 config MACH_LOONGSON64
368 bool "Loongson-2/3 family of machines"
369 select SYS_SUPPORTS_ZBOOT
371 This enables the support of Loongson-2/3 family of machines.
373 Loongson-2 is a family of single-core CPUs and Loongson-3 is a
374 family of multi-core CPUs. They are both 64-bit general-purpose
375 MIPS-compatible CPUs. Loongson-2/3 are developed by the Institute
376 of Computing Technology (ICT), Chinese Academy of Sciences (CAS)
377 in the People's Republic of China. The chief architect is Professor
380 config MACH_PISTACHIO
381 bool "IMG Pistachio SoC based boards"
382 select ARCH_REQUIRE_GPIOLIB
386 select CLKSRC_MIPS_GIC
389 select DMA_MAYBE_COHERENT
393 select MIPS_CPU_SCACHE
397 select SYS_HAS_CPU_MIPS32_R2
398 select SYS_SUPPORTS_32BIT_KERNEL
399 select SYS_SUPPORTS_LITTLE_ENDIAN
400 select SYS_SUPPORTS_MIPS_CPS
401 select SYS_SUPPORTS_MULTITHREADING
402 select SYS_SUPPORTS_ZBOOT
403 select SYS_HAS_EARLY_PRINTK
404 select USE_GENERIC_EARLY_PRINTK_8250
407 This enables support for the IMG Pistachio SoC platform.
410 bool "MIPSfpga Xilinx based boards"
411 select ARCH_REQUIRE_GPIOLIB
420 select MIPS_CPU_SCACHE
421 select SYS_HAS_EARLY_PRINTK
422 select SYS_HAS_CPU_MIPS32_R2
423 select SYS_SUPPORTS_32BIT_KERNEL
424 select SYS_SUPPORTS_LITTLE_ENDIAN
425 select SYS_SUPPORTS_ZBOOT_UART16550
427 select USE_GENERIC_EARLY_PRINTK_8250
429 This enables support for the IMG University Program MIPSfpga platform.
432 bool "MIPS Malta board"
433 select ARCH_MAY_HAVE_PC_FDC
439 select CLKSRC_MIPS_GIC
441 select DMA_MAYBE_COHERENT
442 select GENERIC_ISA_DMA
443 select HAVE_PCSPKR_PLATFORM
450 select MIPS_CPU_SCACHE
451 select MIPS_L1_CACHE_SHIFT_6
452 select PCI_GT64XXX_PCI0
456 select SYS_HAS_CPU_MIPS32_R1
457 select SYS_HAS_CPU_MIPS32_R2
458 select SYS_HAS_CPU_MIPS32_R3_5
459 select SYS_HAS_CPU_MIPS32_R5
460 select SYS_HAS_CPU_MIPS32_R6
461 select SYS_HAS_CPU_MIPS64_R1
462 select SYS_HAS_CPU_MIPS64_R2
463 select SYS_HAS_CPU_MIPS64_R6
464 select SYS_HAS_CPU_NEVADA
465 select SYS_HAS_CPU_RM7000
466 select SYS_SUPPORTS_32BIT_KERNEL
467 select SYS_SUPPORTS_64BIT_KERNEL
468 select SYS_SUPPORTS_BIG_ENDIAN
469 select SYS_SUPPORTS_HIGHMEM
470 select SYS_SUPPORTS_LITTLE_ENDIAN
471 select SYS_SUPPORTS_MICROMIPS
472 select SYS_SUPPORTS_MIPS_CMP
473 select SYS_SUPPORTS_MIPS_CPS
474 select SYS_SUPPORTS_MIPS16
475 select SYS_SUPPORTS_MULTITHREADING
476 select SYS_SUPPORTS_SMARTMIPS
477 select SYS_SUPPORTS_ZBOOT
479 select ZONE_DMA32 if 64BIT
483 This enables support for the MIPS Technologies Malta evaluation
487 bool "MIPS SEAD3 board"
493 select CLKSRC_MIPS_GIC
495 select CPU_MIPSR2_IRQ_VI
496 select CPU_MIPSR2_IRQ_EI
497 select DMA_NONCOHERENT
502 select SYS_HAS_CPU_MIPS32_R1
503 select SYS_HAS_CPU_MIPS32_R2
504 select SYS_HAS_CPU_MIPS64_R1
505 select SYS_HAS_EARLY_PRINTK
506 select SYS_SUPPORTS_32BIT_KERNEL
507 select SYS_SUPPORTS_64BIT_KERNEL
508 select SYS_SUPPORTS_BIG_ENDIAN
509 select SYS_SUPPORTS_LITTLE_ENDIAN
510 select SYS_SUPPORTS_SMARTMIPS
511 select SYS_SUPPORTS_MICROMIPS
512 select SYS_SUPPORTS_MIPS16
513 select USB_EHCI_BIG_ENDIAN_DESC
514 select USB_EHCI_BIG_ENDIAN_MMIO
517 This enables support for the MIPS Technologies SEAD3 evaluation
521 bool "NEC EMMA2RH Mark-eins board"
525 This enables support for the NEC Electronics Mark-eins boards.
528 bool "NEC VR4100 series based machines"
531 select SYS_HAS_CPU_VR41XX
532 select SYS_SUPPORTS_MIPS16
533 select ARCH_REQUIRE_GPIOLIB
536 bool "NXP STB220 board"
539 Support for NXP Semiconductors STB220 Development Board.
546 Support for NXP Semiconductors STB225 Development Board.
549 bool "PMC-Sierra MSP chipsets"
552 select DMA_NONCOHERENT
554 select NO_EXCEPT_FILL
556 select SYS_HAS_CPU_MIPS32_R1
557 select SYS_HAS_CPU_MIPS32_R2
558 select SYS_SUPPORTS_32BIT_KERNEL
559 select SYS_SUPPORTS_BIG_ENDIAN
560 select SYS_SUPPORTS_MIPS16
563 select SERIAL_8250_CONSOLE
564 select USB_EHCI_BIG_ENDIAN_MMIO
565 select USB_EHCI_BIG_ENDIAN_DESC
567 This adds support for the PMC-Sierra family of Multi-Service
568 Processor System-On-A-Chips. These parts include a number
569 of integrated peripherals, interfaces and DSPs in addition to
570 a variety of MIPS cores.
573 bool "Ralink based machines"
577 select DMA_NONCOHERENT
580 select SYS_HAS_CPU_MIPS32_R1
581 select SYS_HAS_CPU_MIPS32_R2
582 select SYS_SUPPORTS_32BIT_KERNEL
583 select SYS_SUPPORTS_LITTLE_ENDIAN
584 select SYS_SUPPORTS_MIPS16
585 select SYS_HAS_EARLY_PRINTK
586 select HAVE_MACH_CLKDEV
588 select ARCH_HAS_RESET_CONTROLLER
589 select RESET_CONTROLLER
592 bool "SGI IP22 (Indy/Indigo2)"
598 select DEFAULT_SGI_PARTITION
599 select DMA_NONCOHERENT
603 select IP22_CPU_SCACHE
605 select GENERIC_ISA_DMA_SUPPORT_BROKEN
607 select SGI_HAS_INDYDOG
613 select SYS_HAS_CPU_R4X00
614 select SYS_HAS_CPU_R5000
616 # Disable EARLY_PRINTK for now since it leads to overwritten prom
617 # memory during early boot on some machines.
619 # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
620 # for a more details discussion
622 # select SYS_HAS_EARLY_PRINTK
623 select SYS_SUPPORTS_32BIT_KERNEL
624 select SYS_SUPPORTS_64BIT_KERNEL
625 select SYS_SUPPORTS_BIG_ENDIAN
626 select MIPS_L1_CACHE_SHIFT_7
628 This are the SGI Indy, Challenge S and Indigo2, as well as certain
629 OEM variants like the Tandem CMN B006S. To compile a Linux kernel
630 that runs on these, say Y here.
633 bool "SGI IP27 (Origin200/2000)"
637 select DEFAULT_SGI_PARTITION
639 select SYS_HAS_EARLY_PRINTK
641 select NR_CPUS_DEFAULT_64
642 select SYS_HAS_CPU_R10000
643 select SYS_SUPPORTS_64BIT_KERNEL
644 select SYS_SUPPORTS_BIG_ENDIAN
645 select SYS_SUPPORTS_NUMA
646 select SYS_SUPPORTS_SMP
647 select MIPS_L1_CACHE_SHIFT_7
649 This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
650 workstations. To compile a Linux kernel that runs on these, say Y
654 bool "SGI IP28 (Indigo2 R10k)"
660 select DEFAULT_SGI_PARTITION
661 select DMA_NONCOHERENT
662 select GENERIC_ISA_DMA_SUPPORT_BROKEN
668 select SGI_HAS_INDYDOG
674 select SYS_HAS_CPU_R10000
676 # Disable EARLY_PRINTK for now since it leads to overwritten prom
677 # memory during early boot on some machines.
679 # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
680 # for a more details discussion
682 # select SYS_HAS_EARLY_PRINTK
683 select SYS_SUPPORTS_64BIT_KERNEL
684 select SYS_SUPPORTS_BIG_ENDIAN
685 select MIPS_L1_CACHE_SHIFT_7
687 This is the SGI Indigo2 with R10000 processor. To compile a Linux
688 kernel that runs on these, say Y here.
697 select DMA_NONCOHERENT
700 select R5000_CPU_SCACHE
701 select RM7000_CPU_SCACHE
702 select SYS_HAS_CPU_R5000
703 select SYS_HAS_CPU_R10000 if BROKEN
704 select SYS_HAS_CPU_RM7000
705 select SYS_HAS_CPU_NEVADA
706 select SYS_SUPPORTS_64BIT_KERNEL
707 select SYS_SUPPORTS_BIG_ENDIAN
709 If you want this kernel to run on SGI O2 workstation, say Y here.
712 bool "Sibyte BCM91120C-CRhine"
715 select SIBYTE_BCM1120
717 select SYS_HAS_CPU_SB1
718 select SYS_SUPPORTS_BIG_ENDIAN
719 select SYS_SUPPORTS_LITTLE_ENDIAN
722 bool "Sibyte BCM91120x-Carmel"
725 select SIBYTE_BCM1120
727 select SYS_HAS_CPU_SB1
728 select SYS_SUPPORTS_BIG_ENDIAN
729 select SYS_SUPPORTS_LITTLE_ENDIAN
732 bool "Sibyte BCM91125C-CRhone"
735 select SIBYTE_BCM1125
737 select SYS_HAS_CPU_SB1
738 select SYS_SUPPORTS_BIG_ENDIAN
739 select SYS_SUPPORTS_HIGHMEM
740 select SYS_SUPPORTS_LITTLE_ENDIAN
743 bool "Sibyte BCM91125E-Rhone"
746 select SIBYTE_BCM1125H
748 select SYS_HAS_CPU_SB1
749 select SYS_SUPPORTS_BIG_ENDIAN
750 select SYS_SUPPORTS_LITTLE_ENDIAN
753 bool "Sibyte BCM91250A-SWARM"
756 select HAVE_PATA_PLATFORM
759 select SYS_HAS_CPU_SB1
760 select SYS_SUPPORTS_BIG_ENDIAN
761 select SYS_SUPPORTS_HIGHMEM
762 select SYS_SUPPORTS_LITTLE_ENDIAN
763 select ZONE_DMA32 if 64BIT
765 config SIBYTE_LITTLESUR
766 bool "Sibyte BCM91250C2-LittleSur"
769 select HAVE_PATA_PLATFORM
772 select SYS_HAS_CPU_SB1
773 select SYS_SUPPORTS_BIG_ENDIAN
774 select SYS_SUPPORTS_HIGHMEM
775 select SYS_SUPPORTS_LITTLE_ENDIAN
776 select ZONE_DMA32 if 64BIT
778 config SIBYTE_SENTOSA
779 bool "Sibyte BCM91250E-Sentosa"
784 select SYS_HAS_CPU_SB1
785 select SYS_SUPPORTS_BIG_ENDIAN
786 select SYS_SUPPORTS_LITTLE_ENDIAN
789 bool "Sibyte BCM91480B-BigSur"
792 select NR_CPUS_DEFAULT_4
793 select SIBYTE_BCM1x80
795 select SYS_HAS_CPU_SB1
796 select SYS_SUPPORTS_BIG_ENDIAN
797 select SYS_SUPPORTS_HIGHMEM
798 select SYS_SUPPORTS_LITTLE_ENDIAN
799 select ZONE_DMA32 if 64BIT
802 bool "SNI RM200/300/400"
803 select FW_ARC if CPU_LITTLE_ENDIAN
804 select FW_ARC32 if CPU_LITTLE_ENDIAN
805 select FW_SNIPROM if CPU_BIG_ENDIAN
806 select ARCH_MAY_HAVE_PC_FDC
810 select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
811 select DMA_NONCOHERENT
812 select GENERIC_ISA_DMA
813 select HAVE_PCSPKR_PLATFORM
820 select MIPS_L1_CACHE_SHIFT_6
821 select SWAP_IO_SPACE if CPU_BIG_ENDIAN
822 select SYS_HAS_CPU_R4X00
823 select SYS_HAS_CPU_R5000
824 select SYS_HAS_CPU_R10000
825 select R5000_CPU_SCACHE
826 select SYS_HAS_EARLY_PRINTK
827 select SYS_SUPPORTS_32BIT_KERNEL
828 select SYS_SUPPORTS_64BIT_KERNEL
829 select SYS_SUPPORTS_BIG_ENDIAN
830 select SYS_SUPPORTS_HIGHMEM
831 select SYS_SUPPORTS_LITTLE_ENDIAN
833 The SNI RM200/300/400 are MIPS-based machines manufactured by
834 Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
835 Technology and now in turn merged with Fujitsu. Say Y here to
836 support this machine type.
839 bool "Toshiba TX39 series based machines"
842 bool "Toshiba TX49 series based machines"
844 config MIKROTIK_RB532
845 bool "Mikrotik RB532 boards"
848 select DMA_NONCOHERENT
851 select SYS_HAS_CPU_MIPS32_R1
852 select SYS_SUPPORTS_32BIT_KERNEL
853 select SYS_SUPPORTS_LITTLE_ENDIAN
856 select ARCH_REQUIRE_GPIOLIB
857 select MIPS_L1_CACHE_SHIFT_4
859 Support the Mikrotik(tm) RouterBoard 532 series,
860 based on the IDT RC32434 SoC.
862 config CAVIUM_OCTEON_SOC
863 bool "Cavium Networks Octeon SoC based boards"
865 select ARCH_PHYS_ADDR_T_64BIT
867 select SYS_SUPPORTS_64BIT_KERNEL
868 select SYS_SUPPORTS_BIG_ENDIAN
870 select EDAC_ATOMIC_SCRUB
871 select SYS_SUPPORTS_LITTLE_ENDIAN
872 select SYS_SUPPORTS_HOTPLUG_CPU if CPU_BIG_ENDIAN
873 select SYS_HAS_EARLY_PRINTK
874 select SYS_HAS_CPU_CAVIUM_OCTEON
879 select ARCH_REQUIRE_GPIOLIB
882 select ARCH_SPARSEMEM_ENABLE
883 select SYS_SUPPORTS_SMP
884 select NR_CPUS_DEFAULT_16
886 select MTD_COMPLEX_MAPPINGS
888 This option supports all of the Octeon reference boards from Cavium
889 Networks. It builds a kernel that dynamically determines the Octeon
890 CPU type and supports all known board reference implementations.
891 Some of the supported boards are:
898 Say Y here for most Octeon reference boards.
901 bool "Netlogic XLR/XLS based systems"
904 select SYS_HAS_CPU_XLR
905 select SYS_SUPPORTS_SMP
908 select SYS_SUPPORTS_32BIT_KERNEL
909 select SYS_SUPPORTS_64BIT_KERNEL
910 select ARCH_PHYS_ADDR_T_64BIT
911 select SYS_SUPPORTS_BIG_ENDIAN
912 select SYS_SUPPORTS_HIGHMEM
914 select NR_CPUS_DEFAULT_32
918 select ZONE_DMA32 if 64BIT
920 select SYS_HAS_EARLY_PRINTK
921 select SYS_SUPPORTS_ZBOOT
922 select SYS_SUPPORTS_ZBOOT_UART16550
924 Support for systems based on Netlogic XLR and XLS processors.
925 Say Y here if you have a XLR or XLS based board.
928 bool "Netlogic XLP based systems"
931 select SYS_HAS_CPU_XLP
932 select SYS_SUPPORTS_SMP
934 select SYS_SUPPORTS_32BIT_KERNEL
935 select SYS_SUPPORTS_64BIT_KERNEL
936 select ARCH_PHYS_ADDR_T_64BIT
937 select ARCH_REQUIRE_GPIOLIB
938 select SYS_SUPPORTS_BIG_ENDIAN
939 select SYS_SUPPORTS_LITTLE_ENDIAN
940 select SYS_SUPPORTS_HIGHMEM
942 select NR_CPUS_DEFAULT_32
946 select ZONE_DMA32 if 64BIT
948 select SYS_HAS_EARLY_PRINTK
950 select SYS_SUPPORTS_ZBOOT
951 select SYS_SUPPORTS_ZBOOT_UART16550
953 This board is based on Netlogic XLP Processor.
954 Say Y here if you have a XLP based board.
957 bool "Para-Virtualized guest system"
961 select SYS_SUPPORTS_64BIT_KERNEL
962 select SYS_SUPPORTS_32BIT_KERNEL
963 select SYS_SUPPORTS_BIG_ENDIAN
964 select SYS_SUPPORTS_SMP
965 select NR_CPUS_DEFAULT_4
966 select SYS_HAS_EARLY_PRINTK
967 select SYS_HAS_CPU_MIPS32_R2
968 select SYS_HAS_CPU_MIPS64_R2
969 select SYS_HAS_CPU_CAVIUM_OCTEON
973 This option supports guest running under ????
977 source "arch/mips/alchemy/Kconfig"
978 source "arch/mips/ath25/Kconfig"
979 source "arch/mips/ath79/Kconfig"
980 source "arch/mips/bcm47xx/Kconfig"
981 source "arch/mips/bcm63xx/Kconfig"
982 source "arch/mips/bmips/Kconfig"
983 source "arch/mips/jazz/Kconfig"
984 source "arch/mips/jz4740/Kconfig"
985 source "arch/mips/lantiq/Kconfig"
986 source "arch/mips/lasat/Kconfig"
987 source "arch/mips/pistachio/Kconfig"
988 source "arch/mips/pmcs-msp71xx/Kconfig"
989 source "arch/mips/ralink/Kconfig"
990 source "arch/mips/sgi-ip27/Kconfig"
991 source "arch/mips/sibyte/Kconfig"
992 source "arch/mips/txx9/Kconfig"
993 source "arch/mips/vr41xx/Kconfig"
994 source "arch/mips/cavium-octeon/Kconfig"
995 source "arch/mips/loongson32/Kconfig"
996 source "arch/mips/loongson64/Kconfig"
997 source "arch/mips/netlogic/Kconfig"
998 source "arch/mips/paravirt/Kconfig"
999 source "arch/mips/xilfpga/Kconfig"
1003 config RWSEM_GENERIC_SPINLOCK
1007 config RWSEM_XCHGADD_ALGORITHM
1010 config ARCH_HAS_ILOG2_U32
1014 config ARCH_HAS_ILOG2_U64
1018 config GENERIC_HWEIGHT
1022 config GENERIC_CALIBRATE_DELAY
1026 config SCHED_OMIT_FRAME_POINTER
1031 # Select some configuration options automatically based on user selections.
1036 config ARCH_MAY_HAVE_PC_FDC
1072 config MIPS_CLOCK_VSYSCALL
1073 def_bool CSRC_R4K || CLKSRC_MIPS_GIC
1076 select ARCH_REQUIRE_GPIOLIB
1082 config ARCH_DMA_ADDR_T_64BIT
1083 def_bool (HIGHMEM && ARCH_PHYS_ADDR_T_64BIT) || 64BIT
1085 config ARCH_SUPPORTS_UPROBES
1088 config DMA_MAYBE_COHERENT
1089 select DMA_NONCOHERENT
1095 config DMA_NONCOHERENT
1097 select NEED_DMA_MAP_STATE
1099 config NEED_DMA_MAP_STATE
1102 config SYS_HAS_EARLY_PRINTK
1106 bool "Support for hot-pluggable CPUs"
1107 depends on SMP && SYS_SUPPORTS_HOTPLUG_CPU
1109 Say Y here to allow turning CPUs off and on. CPUs can be
1110 controlled through /sys/devices/system/cpu.
1111 (Note: power management support will enable this option
1112 automatically on SMP systems. )
1113 Say N if you want to disable CPU hotplug.
1115 config SYS_SUPPORTS_HOTPLUG_CPU
1118 config MIPS_BONITO64
1133 config NO_IOPORT_MAP
1139 config GENERIC_ISA_DMA
1141 select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
1144 config GENERIC_ISA_DMA_SUPPORT_BROKEN
1146 select GENERIC_ISA_DMA
1151 config HOLES_IN_ZONE
1155 # Endianness selection. Sufficiently obscure so many users don't know what to
1156 # answer,so we try hard to limit the available choices. Also the use of a
1157 # choice statement should be more obvious to the user.
1160 prompt "Endianness selection"
1162 Some MIPS machines can be configured for either little or big endian
1163 byte order. These modes require different kernels and a different
1164 Linux distribution. In general there is one preferred byteorder for a
1165 particular system but some systems are just as commonly used in the
1166 one or the other endianness.
1168 config CPU_BIG_ENDIAN
1170 depends on SYS_SUPPORTS_BIG_ENDIAN
1172 config CPU_LITTLE_ENDIAN
1173 bool "Little endian"
1174 depends on SYS_SUPPORTS_LITTLE_ENDIAN
1181 config SYS_SUPPORTS_APM_EMULATION
1184 config SYS_SUPPORTS_BIG_ENDIAN
1187 config SYS_SUPPORTS_LITTLE_ENDIAN
1190 config SYS_SUPPORTS_HUGETLBFS
1192 depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
1195 config MIPS_HUGE_TLB_SUPPORT
1196 def_bool HUGETLB_PAGE || TRANSPARENT_HUGEPAGE
1213 config PCI_GT64XXX_PCI0
1216 config NO_EXCEPT_FILL
1223 select DMA_NONCOHERENT
1225 select SWAP_IO_SPACE
1226 select SYS_HAS_CPU_R5500
1227 select SYS_SUPPORTS_32BIT_KERNEL
1228 select SYS_SUPPORTS_64BIT_KERNEL
1229 select SYS_SUPPORTS_BIG_ENDIAN
1236 select DMA_NONCOHERENT
1237 select SYS_HAS_CPU_MIPS32_R2
1238 select SYS_SUPPORTS_32BIT_KERNEL
1239 select SYS_SUPPORTS_LITTLE_ENDIAN
1240 select SYS_SUPPORTS_BIG_ENDIAN
1241 select SYS_SUPPORTS_MIPS16
1242 select CPU_MIPSR2_IRQ_VI
1251 config SWAP_IO_SPACE
1254 config SGI_HAS_INDYDOG
1266 config SGI_HAS_ZILOG
1269 config SGI_HAS_I8042
1272 config DEFAULT_SGI_PARTITION
1284 config MIPS_L1_CACHE_SHIFT_4
1287 config MIPS_L1_CACHE_SHIFT_5
1290 config MIPS_L1_CACHE_SHIFT_6
1293 config MIPS_L1_CACHE_SHIFT_7
1296 config MIPS_L1_CACHE_SHIFT
1298 default "7" if MIPS_L1_CACHE_SHIFT_7
1299 default "6" if MIPS_L1_CACHE_SHIFT_6
1300 default "5" if MIPS_L1_CACHE_SHIFT_5
1301 default "4" if MIPS_L1_CACHE_SHIFT_4
1304 config HAVE_STD_PC_SERIAL_PORT
1308 bool "ARC console support"
1309 depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
1313 depends on MACH_JAZZ || SNI_RM || SGI_IP32
1318 depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
1327 menu "CPU selection"
1333 config CPU_LOONGSON3
1334 bool "Loongson 3 CPU"
1335 depends on SYS_HAS_CPU_LOONGSON3
1336 select CPU_SUPPORTS_64BIT_KERNEL
1337 select CPU_SUPPORTS_HIGHMEM
1338 select CPU_SUPPORTS_HUGEPAGES
1339 select WEAK_ORDERING
1340 select WEAK_REORDERING_BEYOND_LLSC
1341 select ARCH_REQUIRE_GPIOLIB
1343 The Loongson 3 processor implements the MIPS64R2 instruction
1344 set with many extensions.
1346 config CPU_LOONGSON2E
1348 depends on SYS_HAS_CPU_LOONGSON2E
1349 select CPU_LOONGSON2
1351 The Loongson 2E processor implements the MIPS III instruction set
1352 with many extensions.
1354 It has an internal FPGA northbridge, which is compatible to
1357 config CPU_LOONGSON2F
1359 depends on SYS_HAS_CPU_LOONGSON2F
1360 select CPU_LOONGSON2
1361 select ARCH_REQUIRE_GPIOLIB
1363 The Loongson 2F processor implements the MIPS III instruction set
1364 with many extensions.
1366 Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
1367 have a similar programming interface with FPGA northbridge used in
1370 config CPU_LOONGSON1B
1372 depends on SYS_HAS_CPU_LOONGSON1B
1373 select CPU_LOONGSON1
1375 The Loongson 1B is a 32-bit SoC, which implements the MIPS32
1376 release 2 instruction set.
1378 config CPU_MIPS32_R1
1379 bool "MIPS32 Release 1"
1380 depends on SYS_HAS_CPU_MIPS32_R1
1381 select CPU_HAS_PREFETCH
1382 select CPU_SUPPORTS_32BIT_KERNEL
1383 select CPU_SUPPORTS_HIGHMEM
1385 Choose this option to build a kernel for release 1 or later of the
1386 MIPS32 architecture. Most modern embedded systems with a 32-bit
1387 MIPS processor are based on a MIPS32 processor. If you know the
1388 specific type of processor in your system, choose those that one
1389 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1390 Release 2 of the MIPS32 architecture is available since several
1391 years so chances are you even have a MIPS32 Release 2 processor
1392 in which case you should choose CPU_MIPS32_R2 instead for better
1395 config CPU_MIPS32_R2
1396 bool "MIPS32 Release 2"
1397 depends on SYS_HAS_CPU_MIPS32_R2
1398 select CPU_HAS_PREFETCH
1399 select CPU_SUPPORTS_32BIT_KERNEL
1400 select CPU_SUPPORTS_HIGHMEM
1401 select CPU_SUPPORTS_MSA
1404 Choose this option to build a kernel for release 2 or later of the
1405 MIPS32 architecture. Most modern embedded systems with a 32-bit
1406 MIPS processor are based on a MIPS32 processor. If you know the
1407 specific type of processor in your system, choose those that one
1408 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1410 config CPU_MIPS32_R6
1411 bool "MIPS32 Release 6"
1412 depends on SYS_HAS_CPU_MIPS32_R6
1413 select CPU_HAS_PREFETCH
1414 select CPU_SUPPORTS_32BIT_KERNEL
1415 select CPU_SUPPORTS_HIGHMEM
1416 select CPU_SUPPORTS_MSA
1419 select MIPS_O32_FP64_SUPPORT
1421 Choose this option to build a kernel for release 6 or later of the
1422 MIPS32 architecture. New MIPS processors, starting with the Warrior
1423 family, are based on a MIPS32r6 processor. If you own an older
1424 processor, you probably need to select MIPS32r1 or MIPS32r2 instead.
1426 config CPU_MIPS64_R1
1427 bool "MIPS64 Release 1"
1428 depends on SYS_HAS_CPU_MIPS64_R1
1429 select CPU_HAS_PREFETCH
1430 select CPU_SUPPORTS_32BIT_KERNEL
1431 select CPU_SUPPORTS_64BIT_KERNEL
1432 select CPU_SUPPORTS_HIGHMEM
1433 select CPU_SUPPORTS_HUGEPAGES
1435 Choose this option to build a kernel for release 1 or later of the
1436 MIPS64 architecture. Many modern embedded systems with a 64-bit
1437 MIPS processor are based on a MIPS64 processor. If you know the
1438 specific type of processor in your system, choose those that one
1439 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
1440 Release 2 of the MIPS64 architecture is available since several
1441 years so chances are you even have a MIPS64 Release 2 processor
1442 in which case you should choose CPU_MIPS64_R2 instead for better
1445 config CPU_MIPS64_R2
1446 bool "MIPS64 Release 2"
1447 depends on SYS_HAS_CPU_MIPS64_R2
1448 select CPU_HAS_PREFETCH
1449 select CPU_SUPPORTS_32BIT_KERNEL
1450 select CPU_SUPPORTS_64BIT_KERNEL
1451 select CPU_SUPPORTS_HIGHMEM
1452 select CPU_SUPPORTS_HUGEPAGES
1453 select CPU_SUPPORTS_MSA
1455 Choose this option to build a kernel for release 2 or later of the
1456 MIPS64 architecture. Many modern embedded systems with a 64-bit
1457 MIPS processor are based on a MIPS64 processor. If you know the
1458 specific type of processor in your system, choose those that one
1459 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
1461 config CPU_MIPS64_R6
1462 bool "MIPS64 Release 6"
1463 depends on SYS_HAS_CPU_MIPS64_R6
1464 select CPU_HAS_PREFETCH
1465 select CPU_SUPPORTS_32BIT_KERNEL
1466 select CPU_SUPPORTS_64BIT_KERNEL
1467 select CPU_SUPPORTS_HIGHMEM
1468 select CPU_SUPPORTS_MSA
1470 select MIPS_O32_FP64_SUPPORT if 32BIT || MIPS32_O32
1472 Choose this option to build a kernel for release 6 or later of the
1473 MIPS64 architecture. New MIPS processors, starting with the Warrior
1474 family, are based on a MIPS64r6 processor. If you own an older
1475 processor, you probably need to select MIPS64r1 or MIPS64r2 instead.
1479 depends on SYS_HAS_CPU_R3000
1481 select CPU_SUPPORTS_32BIT_KERNEL
1482 select CPU_SUPPORTS_HIGHMEM
1484 Please make sure to pick the right CPU type. Linux/MIPS is not
1485 designed to be generic, i.e. Kernels compiled for R3000 CPUs will
1486 *not* work on R4000 machines and vice versa. However, since most
1487 of the supported machines have an R4000 (or similar) CPU, R4x00
1488 might be a safe bet. If the resulting kernel does not work,
1489 try to recompile with R3000.
1493 depends on SYS_HAS_CPU_TX39XX
1494 select CPU_SUPPORTS_32BIT_KERNEL
1498 depends on SYS_HAS_CPU_VR41XX
1499 select CPU_SUPPORTS_32BIT_KERNEL
1500 select CPU_SUPPORTS_64BIT_KERNEL
1502 The options selects support for the NEC VR4100 series of processors.
1503 Only choose this option if you have one of these processors as a
1504 kernel built with this option will not run on any other type of
1505 processor or vice versa.
1509 depends on SYS_HAS_CPU_R4300
1510 select CPU_SUPPORTS_32BIT_KERNEL
1511 select CPU_SUPPORTS_64BIT_KERNEL
1513 MIPS Technologies R4300-series processors.
1517 depends on SYS_HAS_CPU_R4X00
1518 select CPU_SUPPORTS_32BIT_KERNEL
1519 select CPU_SUPPORTS_64BIT_KERNEL
1520 select CPU_SUPPORTS_HUGEPAGES
1522 MIPS Technologies R4000-series processors other than 4300, including
1523 the R4000, R4400, R4600, and 4700.
1527 depends on SYS_HAS_CPU_TX49XX
1528 select CPU_HAS_PREFETCH
1529 select CPU_SUPPORTS_32BIT_KERNEL
1530 select CPU_SUPPORTS_64BIT_KERNEL
1531 select CPU_SUPPORTS_HUGEPAGES
1535 depends on SYS_HAS_CPU_R5000
1536 select CPU_SUPPORTS_32BIT_KERNEL
1537 select CPU_SUPPORTS_64BIT_KERNEL
1538 select CPU_SUPPORTS_HUGEPAGES
1540 MIPS Technologies R5000-series processors other than the Nevada.
1544 depends on SYS_HAS_CPU_R5432
1545 select CPU_SUPPORTS_32BIT_KERNEL
1546 select CPU_SUPPORTS_64BIT_KERNEL
1547 select CPU_SUPPORTS_HUGEPAGES
1551 depends on SYS_HAS_CPU_R5500
1552 select CPU_SUPPORTS_32BIT_KERNEL
1553 select CPU_SUPPORTS_64BIT_KERNEL
1554 select CPU_SUPPORTS_HUGEPAGES
1556 NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
1561 depends on SYS_HAS_CPU_R6000
1562 select CPU_SUPPORTS_32BIT_KERNEL
1564 MIPS Technologies R6000 and R6000A series processors. Note these
1565 processors are extremely rare and the support for them is incomplete.
1569 depends on SYS_HAS_CPU_NEVADA
1570 select CPU_SUPPORTS_32BIT_KERNEL
1571 select CPU_SUPPORTS_64BIT_KERNEL
1572 select CPU_SUPPORTS_HUGEPAGES
1574 QED / PMC-Sierra RM52xx-series ("Nevada") processors.
1578 depends on SYS_HAS_CPU_R8000
1579 select CPU_HAS_PREFETCH
1580 select CPU_SUPPORTS_64BIT_KERNEL
1582 MIPS Technologies R8000 processors. Note these processors are
1583 uncommon and the support for them is incomplete.
1587 depends on SYS_HAS_CPU_R10000
1588 select CPU_HAS_PREFETCH
1589 select CPU_SUPPORTS_32BIT_KERNEL
1590 select CPU_SUPPORTS_64BIT_KERNEL
1591 select CPU_SUPPORTS_HIGHMEM
1592 select CPU_SUPPORTS_HUGEPAGES
1594 MIPS Technologies R10000-series processors.
1598 depends on SYS_HAS_CPU_RM7000
1599 select CPU_HAS_PREFETCH
1600 select CPU_SUPPORTS_32BIT_KERNEL
1601 select CPU_SUPPORTS_64BIT_KERNEL
1602 select CPU_SUPPORTS_HIGHMEM
1603 select CPU_SUPPORTS_HUGEPAGES
1607 depends on SYS_HAS_CPU_SB1
1608 select CPU_SUPPORTS_32BIT_KERNEL
1609 select CPU_SUPPORTS_64BIT_KERNEL
1610 select CPU_SUPPORTS_HIGHMEM
1611 select CPU_SUPPORTS_HUGEPAGES
1612 select WEAK_ORDERING
1614 config CPU_CAVIUM_OCTEON
1615 bool "Cavium Octeon processor"
1616 depends on SYS_HAS_CPU_CAVIUM_OCTEON
1617 select CPU_HAS_PREFETCH
1618 select CPU_SUPPORTS_64BIT_KERNEL
1619 select WEAK_ORDERING
1620 select CPU_SUPPORTS_HIGHMEM
1621 select CPU_SUPPORTS_HUGEPAGES
1622 select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
1623 select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
1624 select MIPS_L1_CACHE_SHIFT_7
1626 The Cavium Octeon processor is a highly integrated chip containing
1627 many ethernet hardware widgets for networking tasks. The processor
1628 can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
1629 Full details can be found at http://www.caviumnetworks.com.
1632 bool "Broadcom BMIPS"
1633 depends on SYS_HAS_CPU_BMIPS
1635 select CPU_BMIPS32_3300 if SYS_HAS_CPU_BMIPS32_3300
1636 select CPU_BMIPS4350 if SYS_HAS_CPU_BMIPS4350
1637 select CPU_BMIPS4380 if SYS_HAS_CPU_BMIPS4380
1638 select CPU_BMIPS5000 if SYS_HAS_CPU_BMIPS5000
1639 select CPU_SUPPORTS_32BIT_KERNEL
1640 select DMA_NONCOHERENT
1642 select SWAP_IO_SPACE
1643 select WEAK_ORDERING
1644 select CPU_SUPPORTS_HIGHMEM
1645 select CPU_HAS_PREFETCH
1647 Support for BMIPS32/3300/4350/4380 and BMIPS5000 processors.
1650 bool "Netlogic XLR SoC"
1651 depends on SYS_HAS_CPU_XLR
1652 select CPU_SUPPORTS_32BIT_KERNEL
1653 select CPU_SUPPORTS_64BIT_KERNEL
1654 select CPU_SUPPORTS_HIGHMEM
1655 select CPU_SUPPORTS_HUGEPAGES
1656 select WEAK_ORDERING
1657 select WEAK_REORDERING_BEYOND_LLSC
1659 Netlogic Microsystems XLR/XLS processors.
1662 bool "Netlogic XLP SoC"
1663 depends on SYS_HAS_CPU_XLP
1664 select CPU_SUPPORTS_32BIT_KERNEL
1665 select CPU_SUPPORTS_64BIT_KERNEL
1666 select CPU_SUPPORTS_HIGHMEM
1667 select WEAK_ORDERING
1668 select WEAK_REORDERING_BEYOND_LLSC
1669 select CPU_HAS_PREFETCH
1671 select CPU_SUPPORTS_HUGEPAGES
1673 Netlogic Microsystems XLP processors.
1676 config CPU_MIPS32_3_5_FEATURES
1677 bool "MIPS32 Release 3.5 Features"
1678 depends on SYS_HAS_CPU_MIPS32_R3_5
1679 depends on CPU_MIPS32_R2 || CPU_MIPS32_R6
1681 Choose this option to build a kernel for release 2 or later of the
1682 MIPS32 architecture including features from the 3.5 release such as
1683 support for Enhanced Virtual Addressing (EVA).
1685 config CPU_MIPS32_3_5_EVA
1686 bool "Enhanced Virtual Addressing (EVA)"
1687 depends on CPU_MIPS32_3_5_FEATURES
1691 Choose this option if you want to enable the Enhanced Virtual
1692 Addressing (EVA) on your MIPS32 core (such as proAptiv).
1693 One of its primary benefits is an increase in the maximum size
1694 of lowmem (up to 3GB). If unsure, say 'N' here.
1696 config CPU_MIPS32_R5_FEATURES
1697 bool "MIPS32 Release 5 Features"
1698 depends on SYS_HAS_CPU_MIPS32_R5
1699 depends on CPU_MIPS32_R2
1701 Choose this option to build a kernel for release 2 or later of the
1702 MIPS32 architecture including features from release 5 such as
1703 support for Extended Physical Addressing (XPA).
1705 config CPU_MIPS32_R5_XPA
1706 bool "Extended Physical Addressing (XPA)"
1707 depends on CPU_MIPS32_R5_FEATURES
1709 depends on !PAGE_SIZE_4KB
1710 depends on SYS_SUPPORTS_HIGHMEM
1713 select ARCH_PHYS_ADDR_T_64BIT
1716 Choose this option if you want to enable the Extended Physical
1717 Addressing (XPA) on your MIPS32 core (such as P5600 series). The
1718 benefit is to increase physical addressing equal to or greater
1719 than 40 bits. Note that this has the side effect of turning on
1720 64-bit addressing which in turn makes the PTEs 64-bit in size.
1721 If unsure, say 'N' here.
1724 config CPU_NOP_WORKAROUNDS
1727 config CPU_JUMP_WORKAROUNDS
1730 config CPU_LOONGSON2F_WORKAROUNDS
1731 bool "Loongson 2F Workarounds"
1733 select CPU_NOP_WORKAROUNDS
1734 select CPU_JUMP_WORKAROUNDS
1736 Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which
1737 require workarounds. Without workarounds the system may hang
1738 unexpectedly. For more information please refer to the gas
1739 -mfix-loongson2f-nop and -mfix-loongson2f-jump options.
1741 Loongson 2F03 and later have fixed these issues and no workarounds
1742 are needed. The workarounds have no significant side effect on them
1743 but may decrease the performance of the system so this option should
1744 be disabled unless the kernel is intended to be run on 2F01 or 2F02
1747 If unsure, please say Y.
1748 endif # CPU_LOONGSON2F
1750 config SYS_SUPPORTS_ZBOOT
1752 select HAVE_KERNEL_GZIP
1753 select HAVE_KERNEL_BZIP2
1754 select HAVE_KERNEL_LZ4
1755 select HAVE_KERNEL_LZMA
1756 select HAVE_KERNEL_LZO
1757 select HAVE_KERNEL_XZ
1759 config SYS_SUPPORTS_ZBOOT_UART16550
1761 select SYS_SUPPORTS_ZBOOT
1763 config CPU_LOONGSON2
1765 select CPU_SUPPORTS_32BIT_KERNEL
1766 select CPU_SUPPORTS_64BIT_KERNEL
1767 select CPU_SUPPORTS_HIGHMEM
1768 select CPU_SUPPORTS_HUGEPAGES
1770 config CPU_LOONGSON1
1774 select CPU_HAS_PREFETCH
1775 select CPU_SUPPORTS_32BIT_KERNEL
1776 select CPU_SUPPORTS_HIGHMEM
1777 select CPU_SUPPORTS_CPUFREQ
1779 config CPU_BMIPS32_3300
1780 select SMP_UP if SMP
1783 config CPU_BMIPS4350
1785 select SYS_SUPPORTS_SMP
1786 select SYS_SUPPORTS_HOTPLUG_CPU
1788 config CPU_BMIPS4380
1790 select MIPS_L1_CACHE_SHIFT_6
1791 select SYS_SUPPORTS_SMP
1792 select SYS_SUPPORTS_HOTPLUG_CPU
1794 config CPU_BMIPS5000
1796 select MIPS_CPU_SCACHE
1797 select MIPS_L1_CACHE_SHIFT_7
1798 select SYS_SUPPORTS_SMP
1799 select SYS_SUPPORTS_HOTPLUG_CPU
1801 config SYS_HAS_CPU_LOONGSON3
1803 select CPU_SUPPORTS_CPUFREQ
1805 config SYS_HAS_CPU_LOONGSON2E
1808 config SYS_HAS_CPU_LOONGSON2F
1810 select CPU_SUPPORTS_CPUFREQ
1811 select CPU_SUPPORTS_ADDRWINCFG if 64BIT
1812 select CPU_SUPPORTS_UNCACHED_ACCELERATED
1814 config SYS_HAS_CPU_LOONGSON1B
1817 config SYS_HAS_CPU_MIPS32_R1
1820 config SYS_HAS_CPU_MIPS32_R2
1823 config SYS_HAS_CPU_MIPS32_R3_5
1826 config SYS_HAS_CPU_MIPS32_R5
1829 config SYS_HAS_CPU_MIPS32_R6
1832 config SYS_HAS_CPU_MIPS64_R1
1835 config SYS_HAS_CPU_MIPS64_R2
1838 config SYS_HAS_CPU_MIPS64_R6
1841 config SYS_HAS_CPU_R3000
1844 config SYS_HAS_CPU_TX39XX
1847 config SYS_HAS_CPU_VR41XX
1850 config SYS_HAS_CPU_R4300
1853 config SYS_HAS_CPU_R4X00
1856 config SYS_HAS_CPU_TX49XX
1859 config SYS_HAS_CPU_R5000
1862 config SYS_HAS_CPU_R5432
1865 config SYS_HAS_CPU_R5500
1868 config SYS_HAS_CPU_R6000
1871 config SYS_HAS_CPU_NEVADA
1874 config SYS_HAS_CPU_R8000
1877 config SYS_HAS_CPU_R10000
1880 config SYS_HAS_CPU_RM7000
1883 config SYS_HAS_CPU_SB1
1886 config SYS_HAS_CPU_CAVIUM_OCTEON
1889 config SYS_HAS_CPU_BMIPS
1892 config SYS_HAS_CPU_BMIPS32_3300
1894 select SYS_HAS_CPU_BMIPS
1896 config SYS_HAS_CPU_BMIPS4350
1898 select SYS_HAS_CPU_BMIPS
1900 config SYS_HAS_CPU_BMIPS4380
1902 select SYS_HAS_CPU_BMIPS
1904 config SYS_HAS_CPU_BMIPS5000
1906 select SYS_HAS_CPU_BMIPS
1908 config SYS_HAS_CPU_XLR
1911 config SYS_HAS_CPU_XLP
1914 config MIPS_MALTA_PM
1915 depends on MIPS_MALTA
1921 # CPU may reorder R->R, R->W, W->R, W->W
1922 # Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
1924 config WEAK_ORDERING
1928 # CPU may reorder reads and writes beyond LL/SC
1929 # CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
1931 config WEAK_REORDERING_BEYOND_LLSC
1936 # These two indicate any level of the MIPS32 and MIPS64 architecture
1940 default y if CPU_MIPS32_R1 || CPU_MIPS32_R2 || CPU_MIPS32_R6
1944 default y if CPU_MIPS64_R1 || CPU_MIPS64_R2 || CPU_MIPS64_R6
1947 # These two indicate the revision of the architecture, either Release 1 or Release 2
1951 default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
1955 default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
1960 default y if CPU_MIPS32_R6 || CPU_MIPS64_R6
1969 config SYS_SUPPORTS_32BIT_KERNEL
1971 config SYS_SUPPORTS_64BIT_KERNEL
1973 config CPU_SUPPORTS_32BIT_KERNEL
1975 config CPU_SUPPORTS_64BIT_KERNEL
1977 config CPU_SUPPORTS_CPUFREQ
1979 config CPU_SUPPORTS_ADDRWINCFG
1981 config CPU_SUPPORTS_HUGEPAGES
1983 config CPU_SUPPORTS_UNCACHED_ACCELERATED
1985 config MIPS_PGD_C0_CONTEXT
1987 default y if 64BIT && CPU_MIPSR2 && !CPU_XLP
1990 # Set to y for ptrace access to watch registers.
1992 config HARDWARE_WATCHPOINTS
1994 default y if CPU_MIPSR1 || CPU_MIPSR2
1999 prompt "Kernel code model"
2001 You should only select this option if you have a workload that
2002 actually benefits from 64-bit processing or if your machine has
2003 large memory. You will only be presented a single option in this
2004 menu if your system does not support both 32-bit and 64-bit kernels.
2007 bool "32-bit kernel"
2008 depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
2011 Select this option if you want to build a 32-bit kernel.
2014 bool "64-bit kernel"
2015 depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
2017 Select this option if you want to build a 64-bit kernel.
2022 bool "KVM Guest Kernel"
2023 depends on BROKEN_ON_SMP
2025 Select this option if building a guest kernel for KVM (Trap & Emulate) mode
2027 config KVM_GUEST_TIMER_FREQ
2028 int "Count/Compare Timer Frequency (MHz)"
2029 depends on KVM_GUEST
2032 Set this to non-zero if building a guest kernel for KVM to skip RTC
2033 emulation when determining guest CPU Frequency. Instead, the guest's
2034 timer frequency is specified directly.
2037 prompt "Kernel page size"
2038 default PAGE_SIZE_4KB
2040 config PAGE_SIZE_4KB
2042 depends on !CPU_LOONGSON2 && !CPU_LOONGSON3
2044 This option select the standard 4kB Linux page size. On some
2045 R3000-family processors this is the only available page size. Using
2046 4kB page size will minimize memory consumption and is therefore
2047 recommended for low memory systems.
2049 config PAGE_SIZE_8KB
2051 depends on CPU_R8000 || CPU_CAVIUM_OCTEON
2053 Using 8kB page size will result in higher performance kernel at
2054 the price of higher memory consumption. This option is available
2055 only on R8000 and cnMIPS processors. Note that you will need a
2056 suitable Linux distribution to support this.
2058 config PAGE_SIZE_16KB
2060 depends on !CPU_R3000 && !CPU_TX39XX
2062 Using 16kB page size will result in higher performance kernel at
2063 the price of higher memory consumption. This option is available on
2064 all non-R3000 family processors. Note that you will need a suitable
2065 Linux distribution to support this.
2067 config PAGE_SIZE_32KB
2069 depends on CPU_CAVIUM_OCTEON
2071 Using 32kB page size will result in higher performance kernel at
2072 the price of higher memory consumption. This option is available
2073 only on cnMIPS cores. Note that you will need a suitable Linux
2074 distribution to support this.
2076 config PAGE_SIZE_64KB
2078 depends on !CPU_R3000 && !CPU_TX39XX
2080 Using 64kB page size will result in higher performance kernel at
2081 the price of higher memory consumption. This option is available on
2082 all non-R3000 family processor. Not that at the time of this
2083 writing this option is still high experimental.
2087 config FORCE_MAX_ZONEORDER
2088 int "Maximum zone order"
2089 range 14 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB
2090 default "14" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB
2091 range 13 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB
2092 default "13" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB
2093 range 12 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB
2094 default "12" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB
2098 The kernel memory allocator divides physically contiguous memory
2099 blocks into "zones", where each zone is a power of two number of
2100 pages. This option selects the largest power of two that the kernel
2101 keeps in the memory allocator. If you need to allocate very large
2102 blocks of physically contiguous memory, then you may need to
2103 increase this value.
2105 This config option is actually maximum order plus one. For example,
2106 a value of 11 means that the largest free memory block is 2^10 pages.
2108 The page size is not necessarily 4KB. Keep this in mind
2109 when choosing a value for this option.
2114 config IP22_CPU_SCACHE
2119 # Support for a MIPS32 / MIPS64 style S-caches
2121 config MIPS_CPU_SCACHE
2125 config R5000_CPU_SCACHE
2129 config RM7000_CPU_SCACHE
2133 config SIBYTE_DMA_PAGEOPS
2134 bool "Use DMA to clear/copy pages"
2137 Instead of using the CPU to zero and copy pages, use a Data Mover
2138 channel. These DMA channels are otherwise unused by the standard
2139 SiByte Linux port. Seems to give a small performance benefit.
2141 config CPU_HAS_PREFETCH
2144 config CPU_GENERIC_DUMP_TLB
2146 default y if !(CPU_R3000 || CPU_R6000 || CPU_R8000 || CPU_TX39XX)
2150 default y if !(CPU_R3000 || CPU_R6000 || CPU_TX39XX || CPU_CAVIUM_OCTEON)
2152 config CPU_R4K_CACHE_TLB
2154 default y if !(CPU_R3000 || CPU_R8000 || CPU_SB1 || CPU_TX39XX || CPU_CAVIUM_OCTEON)
2157 bool "MIPS MT SMP support (1 TC on each available VPE)"
2158 depends on SYS_SUPPORTS_MULTITHREADING && !CPU_MIPSR6
2159 select CPU_MIPSR2_IRQ_VI
2160 select CPU_MIPSR2_IRQ_EI
2162 select MIPS_GIC_IPI if MIPS_GIC
2166 select SYS_SUPPORTS_SMP
2167 select SYS_SUPPORTS_SCHED_SMT
2168 select MIPS_PERF_SHARED_TC_COUNTERS
2170 This is a kernel model which is known as SMVP. This is supported
2171 on cores with the MT ASE and uses the available VPEs to implement
2172 virtual processors which supports SMP. This is equivalent to the
2173 Intel Hyperthreading feature. For further information go to
2174 <http://www.imgtec.com/mips/mips-multithreading.asp>.
2180 bool "SMT (multithreading) scheduler support"
2181 depends on SYS_SUPPORTS_SCHED_SMT
2184 SMT scheduler support improves the CPU scheduler's decision making
2185 when dealing with MIPS MT enabled cores at a cost of slightly
2186 increased overhead in some places. If unsure say N here.
2188 config SYS_SUPPORTS_SCHED_SMT
2191 config SYS_SUPPORTS_MULTITHREADING
2194 config MIPS_MT_FPAFF
2195 bool "Dynamic FPU affinity for FP-intensive threads"
2197 depends on MIPS_MT_SMP
2199 config MIPSR2_TO_R6_EMULATOR
2200 bool "MIPS R2-to-R6 emulator"
2201 depends on CPU_MIPSR6 && !SMP
2204 Choose this option if you want to run non-R6 MIPS userland code.
2205 Even if you say 'Y' here, the emulator will still be disabled by
2206 default. You can enable it using the 'mipsr2emu' kernel option.
2207 The only reason this is a build-time option is to save ~14K from the
2209 comment "MIPS R2-to-R6 emulator is only available for UP kernels"
2210 depends on SMP && CPU_MIPSR6
2212 config MIPS_VPE_LOADER
2213 bool "VPE loader support."
2214 depends on SYS_SUPPORTS_MULTITHREADING && MODULES
2215 select CPU_MIPSR2_IRQ_VI
2216 select CPU_MIPSR2_IRQ_EI
2219 Includes a loader for loading an elf relocatable object
2220 onto another VPE and running it.
2222 config MIPS_VPE_LOADER_CMP
2225 depends on MIPS_VPE_LOADER && MIPS_CMP
2227 config MIPS_VPE_LOADER_MT
2230 depends on MIPS_VPE_LOADER && !MIPS_CMP
2232 config MIPS_VPE_LOADER_TOM
2233 bool "Load VPE program into memory hidden from linux"
2234 depends on MIPS_VPE_LOADER
2237 The loader can use memory that is present but has been hidden from
2238 Linux using the kernel command line option "mem=xxMB". It's up to
2239 you to ensure the amount you put in the option and the space your
2240 program requires is less or equal to the amount physically present.
2242 config MIPS_VPE_APSP_API
2243 bool "Enable support for AP/SP API (RTLX)"
2244 depends on MIPS_VPE_LOADER
2247 config MIPS_VPE_APSP_API_CMP
2250 depends on MIPS_VPE_APSP_API && MIPS_CMP
2252 config MIPS_VPE_APSP_API_MT
2255 depends on MIPS_VPE_APSP_API && !MIPS_CMP
2258 bool "MIPS CMP framework support (DEPRECATED)"
2259 depends on SYS_SUPPORTS_MIPS_CMP && !CPU_MIPSR6
2260 select MIPS_GIC_IPI if MIPS_GIC
2263 select SYS_SUPPORTS_SMP
2264 select WEAK_ORDERING
2267 Select this if you are using a bootloader which implements the "CMP
2268 framework" protocol (ie. YAMON) and want your kernel to make use of
2269 its ability to start secondary CPUs.
2271 Unless you have a specific need, you should use CONFIG_MIPS_CPS
2275 bool "MIPS Coherent Processing System support"
2276 depends on SYS_SUPPORTS_MIPS_CPS && !CPU_MIPSR6
2279 select MIPS_CPS_PM if HOTPLUG_CPU
2280 select MIPS_GIC_IPI if MIPS_GIC
2282 select SYNC_R4K if (CEVT_R4K || CSRC_R4K)
2283 select SYS_SUPPORTS_HOTPLUG_CPU
2284 select SYS_SUPPORTS_SMP
2285 select WEAK_ORDERING
2287 Select this if you wish to run an SMP kernel across multiple cores
2288 within a MIPS Coherent Processing System. When this option is
2289 enabled the kernel will probe for other cores and boot them with
2290 no external assistance. It is safe to enable this when hardware
2291 support is unavailable.
2308 config SB1_PASS_2_WORKAROUNDS
2310 depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
2313 config SB1_PASS_2_1_WORKAROUNDS
2315 depends on CPU_SB1 && CPU_SB1_PASS_2
2319 config ARCH_PHYS_ADDR_T_64BIT
2323 prompt "SmartMIPS or microMIPS ASE support"
2325 config CPU_NEEDS_NO_SMARTMIPS_OR_MICROMIPS
2328 Select this if you want neither microMIPS nor SmartMIPS support
2330 config CPU_HAS_SMARTMIPS
2331 depends on SYS_SUPPORTS_SMARTMIPS
2334 SmartMIPS is a extension of the MIPS32 architecture aimed at
2335 increased security at both hardware and software level for
2336 smartcards. Enabling this option will allow proper use of the
2337 SmartMIPS instructions by Linux applications. However a kernel with
2338 this option will not work on a MIPS core without SmartMIPS core. If
2339 you don't know you probably don't have SmartMIPS and should say N
2342 config CPU_MICROMIPS
2343 depends on 32BIT && SYS_SUPPORTS_MICROMIPS && !CPU_MIPSR6
2346 When this option is enabled the kernel will be built using the
2352 bool "Support for the MIPS SIMD Architecture"
2353 depends on CPU_SUPPORTS_MSA
2354 depends on 64BIT || MIPS_O32_FP64_SUPPORT
2356 MIPS SIMD Architecture (MSA) introduces 128 bit wide vector registers
2357 and a set of SIMD instructions to operate on them. When this option
2358 is enabled the kernel will support allocating & switching MSA
2359 vector register contexts. If you know that your kernel will only be
2360 running on CPUs which do not support MSA or that your userland will
2361 not be making use of it then you may wish to say N here to reduce
2362 the size & complexity of your kernel.
2373 # Vectored interrupt mode is an R2 feature
2375 config CPU_MIPSR2_IRQ_VI
2379 # Extended interrupt mode is an R2 feature
2381 config CPU_MIPSR2_IRQ_EI
2386 depends on !CPU_R3000
2392 config CPU_DADDI_WORKAROUNDS
2395 config CPU_R4000_WORKAROUNDS
2397 select CPU_R4400_WORKAROUNDS
2399 config CPU_R4400_WORKAROUNDS
2403 # - Highmem only makes sense for the 32-bit kernel.
2404 # - The current highmem code will only work properly on physically indexed
2405 # caches such as R3000, SB1, R7000 or those that look like they're virtually
2406 # indexed such as R4000/R4400 SC and MC versions or R10000. So for the
2407 # moment we protect the user and offer the highmem option only on machines
2408 # where it's known to be safe. This will not offer highmem on a few systems
2409 # such as MIPS32 and MIPS64 CPUs which may have virtual and physically
2410 # indexed CPUs but we're playing safe.
2411 # - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
2412 # know they might have memory configurations that could make use of highmem
2416 bool "High Memory Support"
2417 depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM && !CPU_MIPS32_3_5_EVA
2419 config CPU_SUPPORTS_HIGHMEM
2422 config SYS_SUPPORTS_HIGHMEM
2425 config SYS_SUPPORTS_SMARTMIPS
2428 config SYS_SUPPORTS_MICROMIPS
2431 config SYS_SUPPORTS_MIPS16
2434 This option must be set if a kernel might be executed on a MIPS16-
2435 enabled CPU even if MIPS16 is not actually being used. In other
2436 words, it makes the kernel MIPS16-tolerant.
2438 config CPU_SUPPORTS_MSA
2441 config ARCH_FLATMEM_ENABLE
2443 depends on !NUMA && !CPU_LOONGSON2
2445 config ARCH_DISCONTIGMEM_ENABLE
2447 default y if SGI_IP27
2449 Say Y to support efficient handling of discontiguous physical memory,
2450 for architectures which are either NUMA (Non-Uniform Memory Access)
2451 or have huge holes in the physical address space for other reasons.
2452 See <file:Documentation/vm/numa> for more.
2454 config ARCH_SPARSEMEM_ENABLE
2456 select SPARSEMEM_STATIC
2460 depends on SYS_SUPPORTS_NUMA
2462 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
2463 Access). This option improves performance on systems with more
2464 than two nodes; on two node systems it is generally better to
2465 leave it disabled; on single node systems disable this option
2468 config SYS_SUPPORTS_NUMA
2474 depends on NEED_MULTIPLE_NODES
2476 config HW_PERF_EVENTS
2477 bool "Enable hardware performance counter support for perf events"
2478 depends on PERF_EVENTS && OPROFILE=n && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON || CPU_XLP || CPU_LOONGSON3)
2481 Enable hardware performance counter support for perf events. If
2482 disabled, perf events will use software events only.
2487 bool "Multi-Processing support"
2488 depends on SYS_SUPPORTS_SMP
2490 This enables support for systems with more than one CPU. If you have
2491 a system with only one CPU, say N. If you have a system with more
2492 than one CPU, say Y.
2494 If you say N here, the kernel will run on uni- and multiprocessor
2495 machines, but will use only one CPU of a multiprocessor machine. If
2496 you say Y here, the kernel will run on many, but not all,
2497 uniprocessor machines. On a uniprocessor machine, the kernel
2498 will run faster if you say N here.
2500 People using multiprocessor machines who say Y here should also say
2501 Y to "Enhanced Real Time Clock Support", below.
2503 See also the SMP-HOWTO available at
2504 <http://www.tldp.org/docs.html#howto>.
2506 If you don't know what to do here, say N.
2511 config SYS_SUPPORTS_MIPS_CMP
2514 config SYS_SUPPORTS_MIPS_CPS
2517 config SYS_SUPPORTS_SMP
2520 config NR_CPUS_DEFAULT_4
2523 config NR_CPUS_DEFAULT_8
2526 config NR_CPUS_DEFAULT_16
2529 config NR_CPUS_DEFAULT_32
2532 config NR_CPUS_DEFAULT_64
2536 int "Maximum number of CPUs (2-256)"
2539 default "4" if NR_CPUS_DEFAULT_4
2540 default "8" if NR_CPUS_DEFAULT_8
2541 default "16" if NR_CPUS_DEFAULT_16
2542 default "32" if NR_CPUS_DEFAULT_32
2543 default "64" if NR_CPUS_DEFAULT_64
2545 This allows you to specify the maximum number of CPUs which this
2546 kernel will support. The maximum supported value is 32 for 32-bit
2547 kernel and 64 for 64-bit kernels; the minimum value which makes
2548 sense is 1 for Qemu (useful only for kernel debugging purposes)
2549 and 2 for all others.
2551 This is purely to save memory - each supported CPU adds
2552 approximately eight kilobytes to the kernel image. For best
2553 performance should round up your number of processors to the next
2556 config MIPS_PERF_SHARED_TC_COUNTERS
2560 # Timer Interrupt Frequency Configuration
2564 prompt "Timer frequency"
2567 Allows the configuration of the timer frequency.
2570 bool "24 HZ" if SYS_SUPPORTS_24HZ || SYS_SUPPORTS_ARBIT_HZ
2573 bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
2576 bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
2579 bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
2582 bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
2585 bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
2588 bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
2591 bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
2595 config SYS_SUPPORTS_24HZ
2598 config SYS_SUPPORTS_48HZ
2601 config SYS_SUPPORTS_100HZ
2604 config SYS_SUPPORTS_128HZ
2607 config SYS_SUPPORTS_250HZ
2610 config SYS_SUPPORTS_256HZ
2613 config SYS_SUPPORTS_1000HZ
2616 config SYS_SUPPORTS_1024HZ
2619 config SYS_SUPPORTS_ARBIT_HZ
2621 default y if !SYS_SUPPORTS_24HZ && \
2622 !SYS_SUPPORTS_48HZ && \
2623 !SYS_SUPPORTS_100HZ && \
2624 !SYS_SUPPORTS_128HZ && \
2625 !SYS_SUPPORTS_250HZ && \
2626 !SYS_SUPPORTS_256HZ && \
2627 !SYS_SUPPORTS_1000HZ && \
2628 !SYS_SUPPORTS_1024HZ
2634 default 100 if HZ_100
2635 default 128 if HZ_128
2636 default 250 if HZ_250
2637 default 256 if HZ_256
2638 default 1000 if HZ_1000
2639 default 1024 if HZ_1024
2642 def_bool HIGH_RES_TIMERS
2644 source "kernel/Kconfig.preempt"
2647 bool "Kexec system call"
2650 kexec is a system call that implements the ability to shutdown your
2651 current kernel, and to start another kernel. It is like a reboot
2652 but it is independent of the system firmware. And like a reboot
2653 you can start any kernel with it, not just Linux.
2655 The name comes from the similarity to the exec system call.
2657 It is an ongoing process to be certain the hardware in a machine
2658 is properly shutdown, so do not be surprised if this code does not
2659 initially work for you. As of this writing the exact hardware
2660 interface is strongly in flux, so no good recommendation can be
2664 bool "Kernel crash dumps"
2666 Generate crash dump after being started by kexec.
2667 This should be normally only set in special crash dump kernels
2668 which are loaded in the main kernel with kexec-tools into
2669 a specially reserved region and then later executed after
2670 a crash by kdump/kexec. The crash dump kernel must be compiled
2671 to a memory address not used by the main kernel or firmware using
2674 config PHYSICAL_START
2675 hex "Physical address where the kernel is loaded"
2676 default "0xffffffff84000000" if 64BIT
2677 default "0x84000000" if 32BIT
2678 depends on CRASH_DUMP
2680 This gives the CKSEG0 or KSEG0 address where the kernel is loaded.
2681 If you plan to use kernel for capturing the crash dump change
2682 this value to start of the reserved region (the "X" value as
2683 specified in the "crashkernel=YM@XM" command line boot parameter
2684 passed to the panic-ed kernel).
2687 bool "Enable seccomp to safely compute untrusted bytecode"
2691 This kernel feature is useful for number crunching applications
2692 that may need to compute untrusted bytecode during their
2693 execution. By using pipes or other transports made available to
2694 the process as file descriptors supporting the read/write
2695 syscalls, it's possible to isolate those applications in
2696 their own address space using seccomp. Once seccomp is
2697 enabled via /proc/<pid>/seccomp, it cannot be disabled
2698 and the task is only allowed to execute a few safe syscalls
2699 defined by each seccomp mode.
2701 If unsure, say Y. Only embedded should say N here.
2703 config MIPS_O32_FP64_SUPPORT
2704 bool "Support for O32 binaries using 64-bit FP"
2705 depends on 32BIT || MIPS32_O32
2707 When this is enabled, the kernel will support use of 64-bit floating
2708 point registers with binaries using the O32 ABI along with the
2709 EF_MIPS_FP64 ELF header flag (typically built with -mfp64). On
2710 32-bit MIPS systems this support is at the cost of increasing the
2711 size and complexity of the compiled FPU emulator. Thus if you are
2712 running a MIPS32 system and know that none of your userland binaries
2713 will require 64-bit floating point, you may wish to reduce the size
2714 of your kernel & potentially improve FP emulation performance by
2717 Although binutils currently supports use of this flag the details
2718 concerning its effect upon the O32 ABI in userland are still being
2719 worked on. In order to avoid userland becoming dependant upon current
2720 behaviour before the details have been finalised, this option should
2721 be considered experimental and only enabled by those working upon
2729 select OF_EARLY_FLATTREE
2736 prompt "Kernel appended dtb support" if USE_OF
2737 default MIPS_NO_APPENDED_DTB
2739 config MIPS_NO_APPENDED_DTB
2742 Do not enable appended dtb support.
2744 config MIPS_ELF_APPENDED_DTB
2747 With this option, the boot code will look for a device tree binary
2748 DTB) included in the vmlinux ELF section .appended_dtb. By default
2749 it is empty and the DTB can be appended using binutils command
2752 objcopy --update-section .appended_dtb=<filename>.dtb vmlinux
2754 This is meant as a backward compatiblity convenience for those
2755 systems with a bootloader that can't be upgraded to accommodate
2756 the documented boot protocol using a device tree.
2758 config MIPS_RAW_APPENDED_DTB
2761 With this option, the boot code will look for a device tree binary
2762 DTB) appended to raw vmlinux.bin (without decompressor).
2763 (e.g. cat vmlinux.bin <filename>.dtb > vmlinux_w_dtb).
2765 This is meant as a backward compatibility convenience for those
2766 systems with a bootloader that can't be upgraded to accommodate
2767 the documented boot protocol using a device tree.
2769 Beware that there is very little in terms of protection against
2770 this option being confused by leftover garbage in memory that might
2771 look like a DTB header after a reboot if no actual DTB is appended
2772 to vmlinux.bin. Do not leave this option active in a production kernel
2773 if you don't intend to always append a DTB.
2775 config MIPS_ZBOOT_APPENDED_DTB
2777 depends on SYS_SUPPORTS_ZBOOT
2779 With this option, the boot code will look for a device tree binary
2780 DTB) appended to raw vmlinuz.bin (with decompressor).
2781 (e.g. cat vmlinuz.bin <filename>.dtb > vmlinuz_w_dtb).
2783 This is meant as a backward compatibility convenience for those
2784 systems with a bootloader that can't be upgraded to accommodate
2785 the documented boot protocol using a device tree.
2787 Beware that there is very little in terms of protection against
2788 this option being confused by leftover garbage in memory that might
2789 look like a DTB header after a reboot if no actual DTB is appended
2790 to vmlinuz.bin. Do not leave this option active in a production kernel
2791 if you don't intend to always append a DTB.
2795 prompt "Kernel command line type" if !CMDLINE_OVERRIDE
2796 default MIPS_CMDLINE_FROM_DTB if USE_OF && !ATH79 && !MACH_INGENIC && \
2797 !MIPS_MALTA && !MIPS_SEAD3 && \
2799 default MIPS_CMDLINE_FROM_BOOTLOADER
2801 config MIPS_CMDLINE_FROM_DTB
2803 bool "Dtb kernel arguments if available"
2805 config MIPS_CMDLINE_DTB_EXTEND
2807 bool "Extend dtb kernel arguments with bootloader arguments"
2809 config MIPS_CMDLINE_FROM_BOOTLOADER
2810 bool "Bootloader kernel arguments if available"
2815 config LOCKDEP_SUPPORT
2819 config STACKTRACE_SUPPORT
2823 config HAVE_LATENCYTOP_SUPPORT
2827 config PGTABLE_LEVELS
2829 default 3 if 64BIT && !PAGE_SIZE_64KB
2832 source "init/Kconfig"
2834 source "kernel/Kconfig.freezer"
2836 menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
2844 bool "Support for PCI controller"
2845 depends on HW_HAS_PCI
2847 select NO_GENERIC_PCI_IOPORT_MAP
2849 Find out whether you have a PCI motherboard. PCI is the name of a
2850 bus system, i.e. the way the CPU talks to the other stuff inside
2851 your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
2855 bool "Support for HT-linked PCI"
2857 depends on CPU_LOONGSON3
2861 Loongson family machines use Hyper-Transport bus for inter-core
2862 connection and device connection. The PCI bus is a subordinate
2863 linked at HT. Choose Y for Loongson-3 based machines.
2868 source "drivers/pci/Kconfig"
2870 source "drivers/pci/pcie/Kconfig"
2873 # ISA support is now enabled via select. Too many systems still have the one
2874 # or other ISA chip on the board that users don't know about so don't expect
2875 # users to choose the right thing ...
2882 depends on HW_HAS_EISA
2884 select GENERIC_ISA_DMA
2886 The Extended Industry Standard Architecture (EISA) bus was
2887 developed as an open alternative to the IBM MicroChannel bus.
2889 The EISA bus provided some of the features of the IBM MicroChannel
2890 bus while maintaining backward compatibility with cards made for
2891 the older ISA bus. The EISA bus saw limited use between 1988 and
2892 1995 when it was made obsolete by the PCI bus.
2894 Say Y here if you are building a kernel for an EISA-based machine.
2898 source "drivers/eisa/Kconfig"
2901 bool "TURBOchannel support"
2902 depends on MACH_DECSTATION
2904 TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
2905 processors. TURBOchannel programming specifications are available
2907 <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/>
2909 <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/>
2910 Linux driver support status is documented at:
2911 <http://www.linux-mips.org/wiki/DECstation>
2921 select MIPS_EXTERNAL_TIMER
2929 source "drivers/pcmcia/Kconfig"
2931 source "drivers/pci/hotplug/Kconfig"
2934 tristate "RapidIO support"
2938 If you say Y here, the kernel will include drivers and
2939 infrastructure code to support RapidIO interconnect devices.
2941 source "drivers/rapidio/Kconfig"
2945 menu "Executable file formats"
2947 source "fs/Kconfig.binfmt"
2952 config MIPS32_COMPAT
2958 config SYSVIPC_COMPAT
2962 bool "Kernel support for o32 binaries"
2964 select ARCH_WANT_OLD_COMPAT_IPC
2966 select MIPS32_COMPAT
2967 select SYSVIPC_COMPAT if SYSVIPC
2969 Select this option if you want to run o32 binaries. These are pure
2970 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
2971 existing binaries are in this format.
2976 bool "Kernel support for n32 binaries"
2978 select ARCH_WANT_COMPAT_IPC_PARSE_VERSION
2980 select MIPS32_COMPAT
2981 select SYSVIPC_COMPAT if SYSVIPC
2983 Select this option if you want to run n32 binaries. These are
2984 64-bit binaries using 32-bit quantities for addressing and certain
2985 data that would normally be 64-bit. They are used in special
2992 default y if MIPS32_O32 || MIPS32_N32
2997 menu "Power management options"
2999 config ARCH_HIBERNATION_POSSIBLE
3001 depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
3003 config ARCH_SUSPEND_POSSIBLE
3005 depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
3007 source "kernel/power/Kconfig"
3011 config MIPS_EXTERNAL_TIMER
3014 menu "CPU Power Management"
3016 if CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER
3017 source "drivers/cpufreq/Kconfig"
3020 source "drivers/cpuidle/Kconfig"
3024 source "net/Kconfig"
3026 source "drivers/Kconfig"
3028 source "drivers/firmware/Kconfig"
3032 source "arch/mips/Kconfig.debug"
3034 source "security/Kconfig"
3036 source "crypto/Kconfig"
3038 source "lib/Kconfig"
3040 source "arch/mips/kvm/Kconfig"