4 select HAVE_GENERIC_DMA_COHERENT
8 select HAVE_PERF_EVENTS
9 select PERF_USE_VMALLOC
11 select ARCH_HAVE_CUSTOM_GPIO_H
12 select HAVE_FUNCTION_TRACER
13 select HAVE_FUNCTION_TRACE_MCOUNT_TEST
14 select HAVE_DYNAMIC_FTRACE
15 select HAVE_FTRACE_MCOUNT_RECORD
16 select HAVE_C_RECORDMCOUNT
17 select HAVE_FUNCTION_GRAPH_TRACER
19 select HAVE_KRETPROBES
20 select HAVE_DEBUG_KMEMLEAK
21 select ARCH_BINFMT_ELF_RANDOMIZE_PIE
22 select HAVE_ARCH_TRANSPARENT_HUGEPAGE
23 select RTC_LIB if !MACH_LOONGSON
24 select GENERIC_ATOMIC64 if !64BIT
25 select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
27 select HAVE_DMA_API_DEBUG
28 select HAVE_GENERIC_HARDIRQS
29 select GENERIC_IRQ_PROBE
30 select GENERIC_IRQ_SHOW
31 select HAVE_ARCH_JUMP_LABEL
32 select ARCH_WANT_IPC_PARSE_VERSION
33 select IRQ_FORCED_THREADING
35 select HAVE_MEMBLOCK_NODE_MAP
36 select ARCH_DISCARD_MEMBLOCK
37 select GENERIC_SMP_IDLE_THREAD
38 select BUILDTIME_EXTABLE_SORT
39 select GENERIC_CLOCKEVENTS
40 select GENERIC_CMOS_UPDATE
41 select HAVE_MOD_ARCH_SPECIFIC
42 select MODULES_USE_ELF_REL if MODULES
43 select MODULES_USE_ELF_RELA if MODULES && 64BIT
44 select GENERIC_SIGALTSTACK
45 select GENERIC_COMPAT_RT_SIGACTION
46 select GENERIC_COMPAT_RT_SIGQUEUEINFO
47 select GENERIC_COMPAT_RT_SIGPROCMASK
48 select GENERIC_COMPAT_RT_SIGPENDING
50 menu "Machine selection"
60 bool "Alchemy processor based machines"
61 select 64BIT_PHYS_ADDR
65 select SYS_HAS_CPU_MIPS32_R1
66 select SYS_SUPPORTS_32BIT_KERNEL
67 select SYS_SUPPORTS_APM_EMULATION
69 select ARCH_WANT_OPTIONAL_GPIOLIB
70 select SYS_SUPPORTS_ZBOOT
71 select USB_ARCH_HAS_OHCI
72 select USB_ARCH_HAS_EHCI
75 bool "Texas Instruments AR7"
77 select DMA_NONCOHERENT
83 select SYS_HAS_CPU_MIPS32_R1
84 select SYS_HAS_EARLY_PRINTK
85 select SYS_SUPPORTS_32BIT_KERNEL
86 select SYS_SUPPORTS_LITTLE_ENDIAN
87 select SYS_SUPPORTS_ZBOOT_UART16550
88 select ARCH_REQUIRE_GPIOLIB
92 Support for the Texas Instruments AR7 System-on-a-Chip
93 family: TNETD7100, 7200 and 7300.
96 bool "Atheros AR71XX/AR724X/AR913X based boards"
97 select ARCH_REQUIRE_GPIOLIB
101 select DMA_NONCOHERENT
105 select SYS_HAS_CPU_MIPS32_R2
106 select SYS_HAS_EARLY_PRINTK
107 select SYS_SUPPORTS_32BIT_KERNEL
108 select SYS_SUPPORTS_BIG_ENDIAN
110 Support for the Atheros AR71XX/AR724X/AR913X SoCs.
113 bool "Broadcom BCM47XX based boards"
114 select ARCH_WANT_OPTIONAL_GPIOLIB
117 select DMA_NONCOHERENT
121 select SYS_SUPPORTS_32BIT_KERNEL
122 select SYS_SUPPORTS_LITTLE_ENDIAN
123 select SYS_HAS_EARLY_PRINTK
125 Support for BCM47XX based boards
128 bool "Broadcom BCM63XX based boards"
131 select DMA_NONCOHERENT
133 select SYS_HAS_CPU_MIPS32_R1
134 select SYS_SUPPORTS_32BIT_KERNEL
135 select SYS_SUPPORTS_BIG_ENDIAN
136 select SYS_HAS_EARLY_PRINTK
138 select ARCH_REQUIRE_GPIOLIB
141 Support for BCM63XX based boards
148 select DMA_NONCOHERENT
154 select PCI_GT64XXX_PCI0
156 select SYS_HAS_CPU_NEVADA
157 select SYS_HAS_EARLY_PRINTK
158 select SYS_SUPPORTS_32BIT_KERNEL
159 select SYS_SUPPORTS_64BIT_KERNEL
160 select SYS_SUPPORTS_LITTLE_ENDIAN
162 config MACH_DECSTATION
169 select CPU_DADDI_WORKAROUNDS if 64BIT
170 select CPU_R4000_WORKAROUNDS if 64BIT
171 select CPU_R4400_WORKAROUNDS if 64BIT
172 select DMA_NONCOHERENT
175 select SYS_HAS_CPU_R3000
176 select SYS_HAS_CPU_R4X00
177 select SYS_SUPPORTS_32BIT_KERNEL
178 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
179 select SYS_SUPPORTS_LITTLE_ENDIAN
180 select SYS_SUPPORTS_128HZ
181 select SYS_SUPPORTS_256HZ
182 select SYS_SUPPORTS_1024HZ
184 This enables support for DEC's MIPS based workstations. For details
185 see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
186 DECstation porting pages on <http://decstation.unix-ag.org/>.
188 If you have one of the following DECstation Models you definitely
189 want to choose R4xx0 for the CPU Type:
196 otherwise choose R3000.
199 bool "Jazz family of machines"
202 select ARCH_MAY_HAVE_PC_FDC
205 select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
206 select GENERIC_ISA_DMA
207 select HAVE_PCSPKR_PLATFORM
212 select SYS_HAS_CPU_R4X00
213 select SYS_SUPPORTS_32BIT_KERNEL
214 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
215 select SYS_SUPPORTS_100HZ
217 This a family of machines based on the MIPS R4030 chipset which was
218 used by several vendors to build RISC/os and Windows NT workstations.
219 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
220 Olivetti M700-10 workstations.
223 bool "Ingenic JZ4740 based machines"
224 select SYS_HAS_CPU_MIPS32_R1
225 select SYS_SUPPORTS_32BIT_KERNEL
226 select SYS_SUPPORTS_LITTLE_ENDIAN
227 select SYS_SUPPORTS_ZBOOT_UART16550
228 select DMA_NONCOHERENT
231 select ARCH_REQUIRE_GPIOLIB
232 select SYS_HAS_EARLY_PRINTK
235 select GENERIC_IRQ_CHIP
238 bool "Lantiq based platforms"
239 select DMA_NONCOHERENT
243 select SYS_HAS_CPU_MIPS32_R1
244 select SYS_HAS_CPU_MIPS32_R2
245 select SYS_SUPPORTS_BIG_ENDIAN
246 select SYS_SUPPORTS_32BIT_KERNEL
247 select SYS_SUPPORTS_MULTITHREADING
248 select SYS_HAS_EARLY_PRINTK
249 select ARCH_REQUIRE_GPIOLIB
252 select HAVE_MACH_CLKDEV
256 select PINCTRL_LANTIQ
259 bool "LASAT Networks platforms"
262 select DMA_NONCOHERENT
263 select SYS_HAS_EARLY_PRINTK
266 select PCI_GT64XXX_PCI0
268 select R5000_CPU_SCACHE
269 select SYS_HAS_CPU_R5000
270 select SYS_SUPPORTS_32BIT_KERNEL
271 select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
272 select SYS_SUPPORTS_LITTLE_ENDIAN
275 bool "Loongson family of machines"
276 select SYS_SUPPORTS_ZBOOT
278 This enables the support of Loongson family of machines.
280 Loongson is a family of general-purpose MIPS-compatible CPUs.
281 developed at Institute of Computing Technology (ICT),
282 Chinese Academy of Sciences (CAS) in the People's Republic
283 of China. The chief architect is Professor Weiwu Hu.
285 config MACH_LOONGSON1
286 bool "Loongson 1 family of machines"
287 select SYS_SUPPORTS_ZBOOT
289 This enables support for the Loongson 1 based machines.
291 Loongson 1 is a family of 32-bit MIPS-compatible SoCs developed by
292 the ICT (Institute of Computing Technology) and the Chinese Academy
296 bool "MIPS Malta board"
297 select ARCH_MAY_HAVE_PC_FDC
302 select DMA_NONCOHERENT
303 select GENERIC_ISA_DMA
304 select HAVE_PCSPKR_PLATFORM
310 select MIPS_BOARDS_GEN
312 select MIPS_CPU_SCACHE
313 select PCI_GT64XXX_PCI0
316 select SYS_HAS_CPU_MIPS32_R1
317 select SYS_HAS_CPU_MIPS32_R2
318 select SYS_HAS_CPU_MIPS64_R1
319 select SYS_HAS_CPU_MIPS64_R2
320 select SYS_HAS_CPU_NEVADA
321 select SYS_HAS_CPU_RM7000
322 select SYS_HAS_EARLY_PRINTK
323 select SYS_SUPPORTS_32BIT_KERNEL
324 select SYS_SUPPORTS_64BIT_KERNEL
325 select SYS_SUPPORTS_BIG_ENDIAN
326 select SYS_SUPPORTS_LITTLE_ENDIAN
327 select SYS_SUPPORTS_MIPS_CMP
328 select SYS_SUPPORTS_MULTITHREADING
329 select SYS_SUPPORTS_SMARTMIPS
330 select SYS_SUPPORTS_ZBOOT
332 This enables support for the MIPS Technologies Malta evaluation
336 bool "MIPS SEAD3 board"
341 select CPU_MIPSR2_IRQ_VI
342 select CPU_MIPSR2_IRQ_EI
343 select DMA_NONCOHERENT
346 select MIPS_BOARDS_GEN
347 select MIPS_CPU_SCACHE
349 select SYS_HAS_CPU_MIPS32_R1
350 select SYS_HAS_CPU_MIPS32_R2
351 select SYS_HAS_CPU_MIPS64_R1
352 select SYS_HAS_EARLY_PRINTK
353 select SYS_SUPPORTS_32BIT_KERNEL
354 select SYS_SUPPORTS_64BIT_KERNEL
355 select SYS_SUPPORTS_BIG_ENDIAN
356 select SYS_SUPPORTS_LITTLE_ENDIAN
357 select SYS_SUPPORTS_SMARTMIPS
358 select USB_ARCH_HAS_EHCI
359 select USB_EHCI_BIG_ENDIAN_DESC
360 select USB_EHCI_BIG_ENDIAN_MMIO
362 This enables support for the MIPS Technologies SEAD3 evaluation
366 bool "NEC EMMA2RH Mark-eins board"
370 This enables support for the NEC Electronics Mark-eins boards.
373 bool "NEC VR4100 series based machines"
376 select SYS_HAS_CPU_VR41XX
377 select ARCH_REQUIRE_GPIOLIB
380 bool "NXP STB220 board"
383 Support for NXP Semiconductors STB220 Development Board.
390 Support for NXP Semiconductors STB225 Development Board.
393 bool "NXP PNX8550 based JBS board"
395 select SYS_SUPPORTS_LITTLE_ENDIAN
397 config PNX8550_STB810
398 bool "NXP PNX8550 based STB810 board"
400 select SYS_SUPPORTS_LITTLE_ENDIAN
403 bool "PMC-Sierra MSP chipsets"
404 depends on EXPERIMENTAL
407 select DMA_NONCOHERENT
409 select NO_EXCEPT_FILL
411 select SYS_HAS_CPU_MIPS32_R1
412 select SYS_HAS_CPU_MIPS32_R2
413 select SYS_SUPPORTS_32BIT_KERNEL
414 select SYS_SUPPORTS_BIG_ENDIAN
417 select SERIAL_8250_CONSOLE
419 This adds support for the PMC-Sierra family of Multi-Service
420 Processor System-On-A-Chips. These parts include a number
421 of integrated peripherals, interfaces and DSPs in addition to
422 a variety of MIPS cores.
428 select CPU_MIPSR2_IRQ_VI
429 select CPU_MIPSR2_IRQ_EI
431 select DMA_NONCOHERENT
433 select SYS_HAS_EARLY_PRINTK
434 select SYS_HAS_CPU_MIPS32_R2
435 select SYS_SUPPORTS_32BIT_KERNEL
436 select SYS_SUPPORTS_BIG_ENDIAN
437 select SYS_SUPPORTS_HIGHMEM
438 select USB_OHCI_LITTLE_ENDIAN
440 This enables support for the Cisco PowerTV Platform.
443 bool "SGI IP22 (Indy/Indigo2)"
449 select DEFAULT_SGI_PARTITION
450 select DMA_NONCOHERENT
454 select IP22_CPU_SCACHE
456 select GENERIC_ISA_DMA_SUPPORT_BROKEN
458 select SGI_HAS_INDYDOG
464 select SYS_HAS_CPU_R4X00
465 select SYS_HAS_CPU_R5000
467 # Disable EARLY_PRINTK for now since it leads to overwritten prom
468 # memory during early boot on some machines.
470 # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
471 # for a more details discussion
473 # select SYS_HAS_EARLY_PRINTK
474 select SYS_SUPPORTS_32BIT_KERNEL
475 select SYS_SUPPORTS_64BIT_KERNEL
476 select SYS_SUPPORTS_BIG_ENDIAN
478 This are the SGI Indy, Challenge S and Indigo2, as well as certain
479 OEM variants like the Tandem CMN B006S. To compile a Linux kernel
480 that runs on these, say Y here.
483 bool "SGI IP27 (Origin200/2000)"
487 select DEFAULT_SGI_PARTITION
489 select SYS_HAS_EARLY_PRINTK
491 select NR_CPUS_DEFAULT_64
492 select SYS_HAS_CPU_R10000
493 select SYS_SUPPORTS_64BIT_KERNEL
494 select SYS_SUPPORTS_BIG_ENDIAN
495 select SYS_SUPPORTS_NUMA
496 select SYS_SUPPORTS_SMP
498 This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
499 workstations. To compile a Linux kernel that runs on these, say Y
503 bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
504 depends on EXPERIMENTAL
510 select DEFAULT_SGI_PARTITION
511 select DMA_NONCOHERENT
512 select GENERIC_ISA_DMA_SUPPORT_BROKEN
518 select SGI_HAS_INDYDOG
524 select SYS_HAS_CPU_R10000
526 # Disable EARLY_PRINTK for now since it leads to overwritten prom
527 # memory during early boot on some machines.
529 # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
530 # for a more details discussion
532 # select SYS_HAS_EARLY_PRINTK
533 select SYS_SUPPORTS_64BIT_KERNEL
534 select SYS_SUPPORTS_BIG_ENDIAN
536 This is the SGI Indigo2 with R10000 processor. To compile a Linux
537 kernel that runs on these, say Y here.
546 select DMA_NONCOHERENT
549 select R5000_CPU_SCACHE
550 select RM7000_CPU_SCACHE
551 select SYS_HAS_CPU_R5000
552 select SYS_HAS_CPU_R10000 if BROKEN
553 select SYS_HAS_CPU_RM7000
554 select SYS_HAS_CPU_NEVADA
555 select SYS_SUPPORTS_64BIT_KERNEL
556 select SYS_SUPPORTS_BIG_ENDIAN
558 If you want this kernel to run on SGI O2 workstation, say Y here.
561 bool "Sibyte BCM91120C-CRhine"
562 depends on EXPERIMENTAL
565 select SIBYTE_BCM1120
567 select SYS_HAS_CPU_SB1
568 select SYS_SUPPORTS_BIG_ENDIAN
569 select SYS_SUPPORTS_LITTLE_ENDIAN
572 bool "Sibyte BCM91120x-Carmel"
573 depends on EXPERIMENTAL
576 select SIBYTE_BCM1120
578 select SYS_HAS_CPU_SB1
579 select SYS_SUPPORTS_BIG_ENDIAN
580 select SYS_SUPPORTS_LITTLE_ENDIAN
583 bool "Sibyte BCM91125C-CRhone"
584 depends on EXPERIMENTAL
587 select SIBYTE_BCM1125
589 select SYS_HAS_CPU_SB1
590 select SYS_SUPPORTS_BIG_ENDIAN
591 select SYS_SUPPORTS_HIGHMEM
592 select SYS_SUPPORTS_LITTLE_ENDIAN
595 bool "Sibyte BCM91125E-Rhone"
596 depends on EXPERIMENTAL
599 select SIBYTE_BCM1125H
601 select SYS_HAS_CPU_SB1
602 select SYS_SUPPORTS_BIG_ENDIAN
603 select SYS_SUPPORTS_LITTLE_ENDIAN
606 bool "Sibyte BCM91250A-SWARM"
609 select HAVE_PATA_PLATFORM
610 select NR_CPUS_DEFAULT_2
613 select SYS_HAS_CPU_SB1
614 select SYS_SUPPORTS_BIG_ENDIAN
615 select SYS_SUPPORTS_HIGHMEM
616 select SYS_SUPPORTS_LITTLE_ENDIAN
617 select ZONE_DMA32 if 64BIT
619 config SIBYTE_LITTLESUR
620 bool "Sibyte BCM91250C2-LittleSur"
621 depends on EXPERIMENTAL
624 select HAVE_PATA_PLATFORM
625 select NR_CPUS_DEFAULT_2
628 select SYS_HAS_CPU_SB1
629 select SYS_SUPPORTS_BIG_ENDIAN
630 select SYS_SUPPORTS_HIGHMEM
631 select SYS_SUPPORTS_LITTLE_ENDIAN
633 config SIBYTE_SENTOSA
634 bool "Sibyte BCM91250E-Sentosa"
635 depends on EXPERIMENTAL
638 select NR_CPUS_DEFAULT_2
641 select SYS_HAS_CPU_SB1
642 select SYS_SUPPORTS_BIG_ENDIAN
643 select SYS_SUPPORTS_LITTLE_ENDIAN
646 bool "Sibyte BCM91480B-BigSur"
649 select NR_CPUS_DEFAULT_4
650 select SIBYTE_BCM1x80
652 select SYS_HAS_CPU_SB1
653 select SYS_SUPPORTS_BIG_ENDIAN
654 select SYS_SUPPORTS_HIGHMEM
655 select SYS_SUPPORTS_LITTLE_ENDIAN
656 select ZONE_DMA32 if 64BIT
659 bool "SNI RM200/300/400"
660 select FW_ARC if CPU_LITTLE_ENDIAN
661 select FW_ARC32 if CPU_LITTLE_ENDIAN
662 select SNIPROM if CPU_BIG_ENDIAN
663 select ARCH_MAY_HAVE_PC_FDC
667 select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
668 select DMA_NONCOHERENT
669 select GENERIC_ISA_DMA
670 select HAVE_PCSPKR_PLATFORM
677 select SWAP_IO_SPACE if CPU_BIG_ENDIAN
678 select SYS_HAS_CPU_R4X00
679 select SYS_HAS_CPU_R5000
680 select SYS_HAS_CPU_R10000
681 select R5000_CPU_SCACHE
682 select SYS_HAS_EARLY_PRINTK
683 select SYS_SUPPORTS_32BIT_KERNEL
684 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
685 select SYS_SUPPORTS_BIG_ENDIAN
686 select SYS_SUPPORTS_HIGHMEM
687 select SYS_SUPPORTS_LITTLE_ENDIAN
689 The SNI RM200/300/400 are MIPS-based machines manufactured by
690 Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
691 Technology and now in turn merged with Fujitsu. Say Y here to
692 support this machine type.
695 bool "Toshiba TX39 series based machines"
698 bool "Toshiba TX49 series based machines"
700 config MIKROTIK_RB532
701 bool "Mikrotik RB532 boards"
704 select DMA_NONCOHERENT
707 select SYS_HAS_CPU_MIPS32_R1
708 select SYS_SUPPORTS_32BIT_KERNEL
709 select SYS_SUPPORTS_LITTLE_ENDIAN
712 select ARCH_REQUIRE_GPIOLIB
714 Support the Mikrotik(tm) RouterBoard 532 series,
715 based on the IDT RC32434 SoC.
718 bool "Wind River PPMC board"
723 select DMA_NONCOHERENT
725 select PCI_GT64XXX_PCI0
727 select SYS_HAS_CPU_MIPS32_R1
728 select SYS_HAS_CPU_MIPS32_R2
729 select SYS_HAS_CPU_MIPS64_R1
730 select SYS_HAS_CPU_NEVADA
731 select SYS_HAS_CPU_RM7000
732 select SYS_SUPPORTS_32BIT_KERNEL
733 select SYS_SUPPORTS_64BIT_KERNEL
734 select SYS_SUPPORTS_BIG_ENDIAN
735 select SYS_SUPPORTS_LITTLE_ENDIAN
737 This enables support for the Wind River MIPS32 4KC PPMC evaluation
738 board, which is based on GT64120 bridge chip.
740 config CAVIUM_OCTEON_SIMULATOR
741 bool "Cavium Networks Octeon Simulator"
743 select 64BIT_PHYS_ADDR
745 select SYS_SUPPORTS_64BIT_KERNEL
746 select SYS_SUPPORTS_BIG_ENDIAN
747 select SYS_SUPPORTS_HOTPLUG_CPU
748 select SYS_HAS_CPU_CAVIUM_OCTEON
751 The Octeon simulator is software performance model of the Cavium
752 Octeon Processor. It supports simulating Octeon processors on x86
755 config CAVIUM_OCTEON_REFERENCE_BOARD
756 bool "Cavium Networks Octeon reference board"
758 select 64BIT_PHYS_ADDR
760 select SYS_SUPPORTS_64BIT_KERNEL
761 select SYS_SUPPORTS_BIG_ENDIAN
763 select SYS_SUPPORTS_HOTPLUG_CPU
764 select SYS_HAS_EARLY_PRINTK
765 select SYS_HAS_CPU_CAVIUM_OCTEON
768 select ARCH_SUPPORTS_MSI
770 select USB_ARCH_HAS_OHCI
771 select USB_ARCH_HAS_EHCI
774 This option supports all of the Octeon reference boards from Cavium
775 Networks. It builds a kernel that dynamically determines the Octeon
776 CPU type and supports all known board reference implementations.
777 Some of the supported boards are:
784 Say Y here for most Octeon reference boards.
787 bool "Netlogic XLR/XLS based systems"
788 depends on EXPERIMENTAL
791 select SYS_HAS_CPU_XLR
792 select SYS_SUPPORTS_SMP
795 select SYS_SUPPORTS_32BIT_KERNEL
796 select SYS_SUPPORTS_64BIT_KERNEL
797 select 64BIT_PHYS_ADDR
798 select SYS_SUPPORTS_BIG_ENDIAN
799 select SYS_SUPPORTS_HIGHMEM
801 select NR_CPUS_DEFAULT_32
805 select ARCH_SUPPORTS_MSI
806 select ZONE_DMA32 if 64BIT
808 select SYS_HAS_EARLY_PRINTK
809 select USB_ARCH_HAS_OHCI if USB_SUPPORT
810 select USB_ARCH_HAS_EHCI if USB_SUPPORT
812 Support for systems based on Netlogic XLR and XLS processors.
813 Say Y here if you have a XLR or XLS based board.
816 bool "Netlogic XLP based systems"
817 depends on EXPERIMENTAL
820 select SYS_HAS_CPU_XLP
821 select SYS_SUPPORTS_SMP
823 select SYS_SUPPORTS_32BIT_KERNEL
824 select SYS_SUPPORTS_64BIT_KERNEL
825 select 64BIT_PHYS_ADDR
826 select SYS_SUPPORTS_BIG_ENDIAN
827 select SYS_SUPPORTS_LITTLE_ENDIAN
828 select SYS_SUPPORTS_HIGHMEM
830 select NR_CPUS_DEFAULT_32
834 select ZONE_DMA32 if 64BIT
836 select SYS_HAS_EARLY_PRINTK
839 This board is based on Netlogic XLP Processor.
840 Say Y here if you have a XLP based board.
844 source "arch/mips/alchemy/Kconfig"
845 source "arch/mips/ath79/Kconfig"
846 source "arch/mips/bcm47xx/Kconfig"
847 source "arch/mips/bcm63xx/Kconfig"
848 source "arch/mips/jazz/Kconfig"
849 source "arch/mips/jz4740/Kconfig"
850 source "arch/mips/lantiq/Kconfig"
851 source "arch/mips/lasat/Kconfig"
852 source "arch/mips/pmc-sierra/Kconfig"
853 source "arch/mips/powertv/Kconfig"
854 source "arch/mips/sgi-ip27/Kconfig"
855 source "arch/mips/sibyte/Kconfig"
856 source "arch/mips/txx9/Kconfig"
857 source "arch/mips/vr41xx/Kconfig"
858 source "arch/mips/cavium-octeon/Kconfig"
859 source "arch/mips/loongson/Kconfig"
860 source "arch/mips/loongson1/Kconfig"
861 source "arch/mips/netlogic/Kconfig"
865 config RWSEM_GENERIC_SPINLOCK
869 config RWSEM_XCHGADD_ALGORITHM
872 config ARCH_HAS_ILOG2_U32
876 config ARCH_HAS_ILOG2_U64
880 config GENERIC_HWEIGHT
884 config GENERIC_CALIBRATE_DELAY
888 config SCHED_OMIT_FRAME_POINTER
893 # Select some configuration options automatically based on user selections.
898 config ARCH_MAY_HAVE_PC_FDC
939 select ARCH_REQUIRE_GPIOLIB
945 config ARCH_DMA_ADDR_T_64BIT
946 def_bool (HIGHMEM && 64BIT_PHYS_ADDR) || 64BIT
951 config DMA_NONCOHERENT
953 select NEED_DMA_MAP_STATE
955 config NEED_DMA_MAP_STATE
958 config SYS_HAS_EARLY_PRINTK
962 bool "Support for hot-pluggable CPUs"
963 depends on SMP && HOTPLUG && SYS_SUPPORTS_HOTPLUG_CPU
965 Say Y here to allow turning CPUs off and on. CPUs can be
966 controlled through /sys/devices/system/cpu.
967 (Note: power management support will enable this option
968 automatically on SMP systems. )
969 Say N if you want to disable CPU hotplug.
971 config SYS_SUPPORTS_HOTPLUG_CPU
986 config MIPS_DISABLE_OBSOLETE_IDE
998 config GENERIC_ISA_DMA
1000 select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
1003 config GENERIC_ISA_DMA_SUPPORT_BROKEN
1005 select GENERIC_ISA_DMA
1013 config HOLES_IN_ZONE
1017 # Endianness selection. Sufficiently obscure so many users don't know what to
1018 # answer,so we try hard to limit the available choices. Also the use of a
1019 # choice statement should be more obvious to the user.
1022 prompt "Endianness selection"
1024 Some MIPS machines can be configured for either little or big endian
1025 byte order. These modes require different kernels and a different
1026 Linux distribution. In general there is one preferred byteorder for a
1027 particular system but some systems are just as commonly used in the
1028 one or the other endianness.
1030 config CPU_BIG_ENDIAN
1032 depends on SYS_SUPPORTS_BIG_ENDIAN
1034 config CPU_LITTLE_ENDIAN
1035 bool "Little endian"
1036 depends on SYS_SUPPORTS_LITTLE_ENDIAN
1044 config SYS_SUPPORTS_APM_EMULATION
1047 config SYS_SUPPORTS_BIG_ENDIAN
1050 config SYS_SUPPORTS_LITTLE_ENDIAN
1053 config SYS_SUPPORTS_HUGETLBFS
1055 depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
1058 config MIPS_HUGE_TLB_SUPPORT
1059 def_bool HUGETLB_PAGE || TRANSPARENT_HUGEPAGE
1082 config MIPS_BOARDS_GEN
1085 config PCI_GT64XXX_PCI0
1088 config NO_EXCEPT_FILL
1095 select DMA_NONCOHERENT
1097 select SWAP_IO_SPACE
1098 select SYS_HAS_CPU_R5500
1099 select SYS_SUPPORTS_32BIT_KERNEL
1100 select SYS_SUPPORTS_64BIT_KERNEL
1101 select SYS_SUPPORTS_BIG_ENDIAN
1108 select DMA_NONCOHERENT
1109 select SYS_HAS_CPU_MIPS32_R2
1110 select SYS_SUPPORTS_32BIT_KERNEL
1111 select SYS_SUPPORTS_LITTLE_ENDIAN
1112 select SYS_SUPPORTS_BIG_ENDIAN
1114 select CPU_MIPSR2_IRQ_VI
1126 select DMA_NONCOHERENT
1128 select SYS_HAS_CPU_MIPS32_R1
1129 select SYS_HAS_EARLY_PRINTK
1130 select SYS_SUPPORTS_32BIT_KERNEL
1133 config SWAP_IO_SPACE
1136 config SGI_HAS_INDYDOG
1148 config SGI_HAS_ZILOG
1151 config SGI_HAS_I8042
1154 config DEFAULT_SGI_PARTITION
1166 config MIPS_L1_CACHE_SHIFT
1168 default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL
1169 default "6" if MIPS_CPU_SCACHE
1170 default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
1173 config HAVE_STD_PC_SERIAL_PORT
1177 bool "ARC console support"
1178 depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
1182 depends on MACH_JAZZ || SNI_RM || SGI_IP32
1187 depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
1196 menu "CPU selection"
1202 config CPU_LOONGSON2E
1204 depends on SYS_HAS_CPU_LOONGSON2E
1205 select CPU_LOONGSON2
1207 The Loongson 2E processor implements the MIPS III instruction set
1208 with many extensions.
1210 It has an internal FPGA northbridge, which is compatible to
1213 config CPU_LOONGSON2F
1215 depends on SYS_HAS_CPU_LOONGSON2F
1216 select CPU_LOONGSON2
1218 select ARCH_REQUIRE_GPIOLIB
1220 The Loongson 2F processor implements the MIPS III instruction set
1221 with many extensions.
1223 Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
1224 have a similar programming interface with FPGA northbridge used in
1227 config CPU_LOONGSON1B
1229 depends on SYS_HAS_CPU_LOONGSON1B
1230 select CPU_LOONGSON1
1232 The Loongson 1B is a 32-bit SoC, which implements the MIPS32
1233 release 2 instruction set.
1235 config CPU_MIPS32_R1
1236 bool "MIPS32 Release 1"
1237 depends on SYS_HAS_CPU_MIPS32_R1
1238 select CPU_HAS_PREFETCH
1239 select CPU_SUPPORTS_32BIT_KERNEL
1240 select CPU_SUPPORTS_HIGHMEM
1242 Choose this option to build a kernel for release 1 or later of the
1243 MIPS32 architecture. Most modern embedded systems with a 32-bit
1244 MIPS processor are based on a MIPS32 processor. If you know the
1245 specific type of processor in your system, choose those that one
1246 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1247 Release 2 of the MIPS32 architecture is available since several
1248 years so chances are you even have a MIPS32 Release 2 processor
1249 in which case you should choose CPU_MIPS32_R2 instead for better
1252 config CPU_MIPS32_R2
1253 bool "MIPS32 Release 2"
1254 depends on SYS_HAS_CPU_MIPS32_R2
1255 select CPU_HAS_PREFETCH
1256 select CPU_SUPPORTS_32BIT_KERNEL
1257 select CPU_SUPPORTS_HIGHMEM
1259 Choose this option to build a kernel for release 2 or later of the
1260 MIPS32 architecture. Most modern embedded systems with a 32-bit
1261 MIPS processor are based on a MIPS32 processor. If you know the
1262 specific type of processor in your system, choose those that one
1263 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1265 config CPU_MIPS64_R1
1266 bool "MIPS64 Release 1"
1267 depends on SYS_HAS_CPU_MIPS64_R1
1268 select CPU_HAS_PREFETCH
1269 select CPU_SUPPORTS_32BIT_KERNEL
1270 select CPU_SUPPORTS_64BIT_KERNEL
1271 select CPU_SUPPORTS_HIGHMEM
1272 select CPU_SUPPORTS_HUGEPAGES
1274 Choose this option to build a kernel for release 1 or later of the
1275 MIPS64 architecture. Many modern embedded systems with a 64-bit
1276 MIPS processor are based on a MIPS64 processor. If you know the
1277 specific type of processor in your system, choose those that one
1278 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
1279 Release 2 of the MIPS64 architecture is available since several
1280 years so chances are you even have a MIPS64 Release 2 processor
1281 in which case you should choose CPU_MIPS64_R2 instead for better
1284 config CPU_MIPS64_R2
1285 bool "MIPS64 Release 2"
1286 depends on SYS_HAS_CPU_MIPS64_R2
1287 select CPU_HAS_PREFETCH
1288 select CPU_SUPPORTS_32BIT_KERNEL
1289 select CPU_SUPPORTS_64BIT_KERNEL
1290 select CPU_SUPPORTS_HIGHMEM
1291 select CPU_SUPPORTS_HUGEPAGES
1293 Choose this option to build a kernel for release 2 or later of the
1294 MIPS64 architecture. Many modern embedded systems with a 64-bit
1295 MIPS processor are based on a MIPS64 processor. If you know the
1296 specific type of processor in your system, choose those that one
1297 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
1301 depends on SYS_HAS_CPU_R3000
1303 select CPU_SUPPORTS_32BIT_KERNEL
1304 select CPU_SUPPORTS_HIGHMEM
1306 Please make sure to pick the right CPU type. Linux/MIPS is not
1307 designed to be generic, i.e. Kernels compiled for R3000 CPUs will
1308 *not* work on R4000 machines and vice versa. However, since most
1309 of the supported machines have an R4000 (or similar) CPU, R4x00
1310 might be a safe bet. If the resulting kernel does not work,
1311 try to recompile with R3000.
1315 depends on SYS_HAS_CPU_TX39XX
1316 select CPU_SUPPORTS_32BIT_KERNEL
1320 depends on SYS_HAS_CPU_VR41XX
1321 select CPU_SUPPORTS_32BIT_KERNEL
1322 select CPU_SUPPORTS_64BIT_KERNEL
1324 The options selects support for the NEC VR4100 series of processors.
1325 Only choose this option if you have one of these processors as a
1326 kernel built with this option will not run on any other type of
1327 processor or vice versa.
1331 depends on SYS_HAS_CPU_R4300
1332 select CPU_SUPPORTS_32BIT_KERNEL
1333 select CPU_SUPPORTS_64BIT_KERNEL
1335 MIPS Technologies R4300-series processors.
1339 depends on SYS_HAS_CPU_R4X00
1340 select CPU_SUPPORTS_32BIT_KERNEL
1341 select CPU_SUPPORTS_64BIT_KERNEL
1342 select CPU_SUPPORTS_HUGEPAGES
1344 MIPS Technologies R4000-series processors other than 4300, including
1345 the R4000, R4400, R4600, and 4700.
1349 depends on SYS_HAS_CPU_TX49XX
1350 select CPU_HAS_PREFETCH
1351 select CPU_SUPPORTS_32BIT_KERNEL
1352 select CPU_SUPPORTS_64BIT_KERNEL
1353 select CPU_SUPPORTS_HUGEPAGES
1357 depends on SYS_HAS_CPU_R5000
1358 select CPU_SUPPORTS_32BIT_KERNEL
1359 select CPU_SUPPORTS_64BIT_KERNEL
1360 select CPU_SUPPORTS_HUGEPAGES
1362 MIPS Technologies R5000-series processors other than the Nevada.
1366 depends on SYS_HAS_CPU_R5432
1367 select CPU_SUPPORTS_32BIT_KERNEL
1368 select CPU_SUPPORTS_64BIT_KERNEL
1369 select CPU_SUPPORTS_HUGEPAGES
1373 depends on SYS_HAS_CPU_R5500
1374 select CPU_SUPPORTS_32BIT_KERNEL
1375 select CPU_SUPPORTS_64BIT_KERNEL
1376 select CPU_SUPPORTS_HUGEPAGES
1378 NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
1383 depends on EXPERIMENTAL
1384 depends on SYS_HAS_CPU_R6000
1385 select CPU_SUPPORTS_32BIT_KERNEL
1387 MIPS Technologies R6000 and R6000A series processors. Note these
1388 processors are extremely rare and the support for them is incomplete.
1392 depends on SYS_HAS_CPU_NEVADA
1393 select CPU_SUPPORTS_32BIT_KERNEL
1394 select CPU_SUPPORTS_64BIT_KERNEL
1395 select CPU_SUPPORTS_HUGEPAGES
1397 QED / PMC-Sierra RM52xx-series ("Nevada") processors.
1401 depends on EXPERIMENTAL
1402 depends on SYS_HAS_CPU_R8000
1403 select CPU_HAS_PREFETCH
1404 select CPU_SUPPORTS_64BIT_KERNEL
1406 MIPS Technologies R8000 processors. Note these processors are
1407 uncommon and the support for them is incomplete.
1411 depends on SYS_HAS_CPU_R10000
1412 select CPU_HAS_PREFETCH
1413 select CPU_SUPPORTS_32BIT_KERNEL
1414 select CPU_SUPPORTS_64BIT_KERNEL
1415 select CPU_SUPPORTS_HIGHMEM
1416 select CPU_SUPPORTS_HUGEPAGES
1418 MIPS Technologies R10000-series processors.
1422 depends on SYS_HAS_CPU_RM7000
1423 select CPU_HAS_PREFETCH
1424 select CPU_SUPPORTS_32BIT_KERNEL
1425 select CPU_SUPPORTS_64BIT_KERNEL
1426 select CPU_SUPPORTS_HIGHMEM
1427 select CPU_SUPPORTS_HUGEPAGES
1431 depends on SYS_HAS_CPU_SB1
1432 select CPU_SUPPORTS_32BIT_KERNEL
1433 select CPU_SUPPORTS_64BIT_KERNEL
1434 select CPU_SUPPORTS_HIGHMEM
1435 select CPU_SUPPORTS_HUGEPAGES
1436 select WEAK_ORDERING
1438 config CPU_CAVIUM_OCTEON
1439 bool "Cavium Octeon processor"
1440 depends on SYS_HAS_CPU_CAVIUM_OCTEON
1441 select ARCH_SPARSEMEM_ENABLE
1442 select CPU_HAS_PREFETCH
1443 select CPU_SUPPORTS_64BIT_KERNEL
1444 select SYS_SUPPORTS_SMP
1445 select NR_CPUS_DEFAULT_16
1446 select WEAK_ORDERING
1447 select CPU_SUPPORTS_HIGHMEM
1448 select CPU_SUPPORTS_HUGEPAGES
1452 The Cavium Octeon processor is a highly integrated chip containing
1453 many ethernet hardware widgets for networking tasks. The processor
1454 can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
1455 Full details can be found at http://www.caviumnetworks.com.
1457 config CPU_BMIPS3300
1459 depends on SYS_HAS_CPU_BMIPS3300
1462 Broadcom BMIPS3300 processors.
1464 config CPU_BMIPS4350
1466 depends on SYS_HAS_CPU_BMIPS4350
1468 select SYS_SUPPORTS_SMP
1469 select SYS_SUPPORTS_HOTPLUG_CPU
1471 Broadcom BMIPS4350 ("VIPER") processors.
1473 config CPU_BMIPS4380
1475 depends on SYS_HAS_CPU_BMIPS4380
1477 select SYS_SUPPORTS_SMP
1478 select SYS_SUPPORTS_HOTPLUG_CPU
1480 Broadcom BMIPS4380 processors.
1482 config CPU_BMIPS5000
1484 depends on SYS_HAS_CPU_BMIPS5000
1486 select CPU_SUPPORTS_HIGHMEM
1487 select MIPS_CPU_SCACHE
1488 select SYS_SUPPORTS_SMP
1489 select SYS_SUPPORTS_HOTPLUG_CPU
1491 Broadcom BMIPS5000 processors.
1494 bool "Netlogic XLR SoC"
1495 depends on SYS_HAS_CPU_XLR
1496 select CPU_SUPPORTS_32BIT_KERNEL
1497 select CPU_SUPPORTS_64BIT_KERNEL
1498 select CPU_SUPPORTS_HIGHMEM
1499 select CPU_SUPPORTS_HUGEPAGES
1500 select WEAK_ORDERING
1501 select WEAK_REORDERING_BEYOND_LLSC
1503 Netlogic Microsystems XLR/XLS processors.
1506 bool "Netlogic XLP SoC"
1507 depends on SYS_HAS_CPU_XLP
1508 select CPU_SUPPORTS_32BIT_KERNEL
1509 select CPU_SUPPORTS_64BIT_KERNEL
1510 select CPU_SUPPORTS_HIGHMEM
1512 select WEAK_ORDERING
1513 select WEAK_REORDERING_BEYOND_LLSC
1514 select CPU_HAS_PREFETCH
1517 Netlogic Microsystems XLP processors.
1521 config CPU_NOP_WORKAROUNDS
1524 config CPU_JUMP_WORKAROUNDS
1527 config CPU_LOONGSON2F_WORKAROUNDS
1528 bool "Loongson 2F Workarounds"
1530 select CPU_NOP_WORKAROUNDS
1531 select CPU_JUMP_WORKAROUNDS
1533 Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which
1534 require workarounds. Without workarounds the system may hang
1535 unexpectedly. For more information please refer to the gas
1536 -mfix-loongson2f-nop and -mfix-loongson2f-jump options.
1538 Loongson 2F03 and later have fixed these issues and no workarounds
1539 are needed. The workarounds have no significant side effect on them
1540 but may decrease the performance of the system so this option should
1541 be disabled unless the kernel is intended to be run on 2F01 or 2F02
1544 If unsure, please say Y.
1545 endif # CPU_LOONGSON2F
1547 config SYS_SUPPORTS_ZBOOT
1549 select HAVE_KERNEL_GZIP
1550 select HAVE_KERNEL_BZIP2
1551 select HAVE_KERNEL_LZMA
1552 select HAVE_KERNEL_LZO
1554 config SYS_SUPPORTS_ZBOOT_UART16550
1556 select SYS_SUPPORTS_ZBOOT
1558 config CPU_LOONGSON2
1560 select CPU_SUPPORTS_32BIT_KERNEL
1561 select CPU_SUPPORTS_64BIT_KERNEL
1562 select CPU_SUPPORTS_HIGHMEM
1563 select CPU_SUPPORTS_HUGEPAGES
1565 config CPU_LOONGSON1
1569 select CPU_HAS_PREFETCH
1570 select CPU_SUPPORTS_32BIT_KERNEL
1571 select CPU_SUPPORTS_HIGHMEM
1576 select CPU_SUPPORTS_32BIT_KERNEL
1577 select DMA_NONCOHERENT
1579 select SWAP_IO_SPACE
1580 select WEAK_ORDERING
1582 config SYS_HAS_CPU_LOONGSON2E
1585 config SYS_HAS_CPU_LOONGSON2F
1587 select CPU_SUPPORTS_CPUFREQ
1588 select CPU_SUPPORTS_ADDRWINCFG if 64BIT
1589 select CPU_SUPPORTS_UNCACHED_ACCELERATED
1591 config SYS_HAS_CPU_LOONGSON1B
1594 config SYS_HAS_CPU_MIPS32_R1
1597 config SYS_HAS_CPU_MIPS32_R2
1600 config SYS_HAS_CPU_MIPS64_R1
1603 config SYS_HAS_CPU_MIPS64_R2
1606 config SYS_HAS_CPU_R3000
1609 config SYS_HAS_CPU_TX39XX
1612 config SYS_HAS_CPU_VR41XX
1615 config SYS_HAS_CPU_R4300
1618 config SYS_HAS_CPU_R4X00
1621 config SYS_HAS_CPU_TX49XX
1624 config SYS_HAS_CPU_R5000
1627 config SYS_HAS_CPU_R5432
1630 config SYS_HAS_CPU_R5500
1633 config SYS_HAS_CPU_R6000
1636 config SYS_HAS_CPU_NEVADA
1639 config SYS_HAS_CPU_R8000
1642 config SYS_HAS_CPU_R10000
1645 config SYS_HAS_CPU_RM7000
1648 config SYS_HAS_CPU_SB1
1651 config SYS_HAS_CPU_CAVIUM_OCTEON
1654 config SYS_HAS_CPU_BMIPS3300
1657 config SYS_HAS_CPU_BMIPS4350
1660 config SYS_HAS_CPU_BMIPS4380
1663 config SYS_HAS_CPU_BMIPS5000
1666 config SYS_HAS_CPU_XLR
1669 config SYS_HAS_CPU_XLP
1673 # CPU may reorder R->R, R->W, W->R, W->W
1674 # Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
1676 config WEAK_ORDERING
1680 # CPU may reorder reads and writes beyond LL/SC
1681 # CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
1683 config WEAK_REORDERING_BEYOND_LLSC
1688 # These two indicate any level of the MIPS32 and MIPS64 architecture
1692 default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
1696 default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
1699 # These two indicate the revision of the architecture, either Release 1 or Release 2
1703 default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
1707 default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
1709 config SYS_SUPPORTS_32BIT_KERNEL
1711 config SYS_SUPPORTS_64BIT_KERNEL
1713 config CPU_SUPPORTS_32BIT_KERNEL
1715 config CPU_SUPPORTS_64BIT_KERNEL
1717 config CPU_SUPPORTS_CPUFREQ
1719 config CPU_SUPPORTS_ADDRWINCFG
1721 config CPU_SUPPORTS_HUGEPAGES
1723 config CPU_SUPPORTS_UNCACHED_ACCELERATED
1725 config MIPS_PGD_C0_CONTEXT
1727 default y if 64BIT && CPU_MIPSR2 && !CPU_XLP
1730 # Set to y for ptrace access to watch registers.
1732 config HARDWARE_WATCHPOINTS
1734 default y if CPU_MIPSR1 || CPU_MIPSR2
1739 prompt "Kernel code model"
1741 You should only select this option if you have a workload that
1742 actually benefits from 64-bit processing or if your machine has
1743 large memory. You will only be presented a single option in this
1744 menu if your system does not support both 32-bit and 64-bit kernels.
1747 bool "32-bit kernel"
1748 depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
1751 Select this option if you want to build a 32-bit kernel.
1753 bool "64-bit kernel"
1754 depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
1755 select HAVE_SYSCALL_WRAPPERS
1757 Select this option if you want to build a 64-bit kernel.
1762 prompt "Kernel page size"
1763 default PAGE_SIZE_4KB
1765 config PAGE_SIZE_4KB
1767 depends on !CPU_LOONGSON2
1769 This option select the standard 4kB Linux page size. On some
1770 R3000-family processors this is the only available page size. Using
1771 4kB page size will minimize memory consumption and is therefore
1772 recommended for low memory systems.
1774 config PAGE_SIZE_8KB
1776 depends on (EXPERIMENTAL && CPU_R8000) || CPU_CAVIUM_OCTEON
1778 Using 8kB page size will result in higher performance kernel at
1779 the price of higher memory consumption. This option is available
1780 only on R8000 and cnMIPS processors. Note that you will need a
1781 suitable Linux distribution to support this.
1783 config PAGE_SIZE_16KB
1785 depends on !CPU_R3000 && !CPU_TX39XX
1787 Using 16kB page size will result in higher performance kernel at
1788 the price of higher memory consumption. This option is available on
1789 all non-R3000 family processors. Note that you will need a suitable
1790 Linux distribution to support this.
1792 config PAGE_SIZE_32KB
1794 depends on CPU_CAVIUM_OCTEON
1796 Using 32kB page size will result in higher performance kernel at
1797 the price of higher memory consumption. This option is available
1798 only on cnMIPS cores. Note that you will need a suitable Linux
1799 distribution to support this.
1801 config PAGE_SIZE_64KB
1803 depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
1805 Using 64kB page size will result in higher performance kernel at
1806 the price of higher memory consumption. This option is available on
1807 all non-R3000 family processor. Not that at the time of this
1808 writing this option is still high experimental.
1812 config FORCE_MAX_ZONEORDER
1813 int "Maximum zone order"
1814 range 14 64 if HUGETLB_PAGE && PAGE_SIZE_64KB
1815 default "14" if HUGETLB_PAGE && PAGE_SIZE_64KB
1816 range 13 64 if HUGETLB_PAGE && PAGE_SIZE_32KB
1817 default "13" if HUGETLB_PAGE && PAGE_SIZE_32KB
1818 range 12 64 if HUGETLB_PAGE && PAGE_SIZE_16KB
1819 default "12" if HUGETLB_PAGE && PAGE_SIZE_16KB
1823 The kernel memory allocator divides physically contiguous memory
1824 blocks into "zones", where each zone is a power of two number of
1825 pages. This option selects the largest power of two that the kernel
1826 keeps in the memory allocator. If you need to allocate very large
1827 blocks of physically contiguous memory, then you may need to
1828 increase this value.
1830 This config option is actually maximum order plus one. For example,
1831 a value of 11 means that the largest free memory block is 2^10 pages.
1833 The page size is not necessarily 4KB. Keep this in mind
1834 when choosing a value for this option.
1839 config IP22_CPU_SCACHE
1844 # Support for a MIPS32 / MIPS64 style S-caches
1846 config MIPS_CPU_SCACHE
1850 config R5000_CPU_SCACHE
1854 config RM7000_CPU_SCACHE
1858 config SIBYTE_DMA_PAGEOPS
1859 bool "Use DMA to clear/copy pages"
1862 Instead of using the CPU to zero and copy pages, use a Data Mover
1863 channel. These DMA channels are otherwise unused by the standard
1864 SiByte Linux port. Seems to give a small performance benefit.
1866 config CPU_HAS_PREFETCH
1869 config CPU_GENERIC_DUMP_TLB
1871 default y if !(CPU_R3000 || CPU_R6000 || CPU_R8000 || CPU_TX39XX)
1875 default y if !(CPU_R3000 || CPU_R6000 || CPU_TX39XX || CPU_CAVIUM_OCTEON)
1877 config CPU_R4K_CACHE_TLB
1879 default y if !(CPU_R3000 || CPU_R8000 || CPU_SB1 || CPU_TX39XX || CPU_CAVIUM_OCTEON)
1882 prompt "MIPS MT options"
1884 config MIPS_MT_DISABLED
1885 bool "Disable multithreading support."
1887 Use this option if your workload can't take advantage of
1888 MIPS hardware multithreading support. On systems that don't have
1889 the option of an MT-enabled processor this option will be the only
1890 option in this menu.
1893 bool "Use 1 TC on each available VPE for SMP"
1894 depends on SYS_SUPPORTS_MULTITHREADING
1895 select CPU_MIPSR2_IRQ_VI
1896 select CPU_MIPSR2_IRQ_EI
1898 select NR_CPUS_DEFAULT_2
1900 select SYS_SUPPORTS_SCHED_SMT if SMP
1901 select SYS_SUPPORTS_SMP
1903 select MIPS_PERF_SHARED_TC_COUNTERS
1905 This is a kernel model which is known a VSMP but lately has been
1906 marketesed into SMVP.
1907 Virtual SMP uses the processor's VPEs to implement virtual
1908 processors. In currently available configuration of the 34K processor
1909 this allows for a dual processor. Both processors will share the same
1910 primary caches; each will obtain the half of the TLB for it's own
1911 exclusive use. For a layman this model can be described as similar to
1912 what Intel calls Hyperthreading.
1914 For further information see http://www.linux-mips.org/wiki/34K#VSMP
1917 bool "SMTC: Use all TCs on all VPEs for SMP"
1918 depends on CPU_MIPS32_R2
1919 #depends on CPU_MIPS64_R2 # once there is hardware ...
1920 depends on SYS_SUPPORTS_MULTITHREADING
1921 select CPU_MIPSR2_IRQ_VI
1922 select CPU_MIPSR2_IRQ_EI
1924 select NR_CPUS_DEFAULT_8
1926 select SYS_SUPPORTS_SMP
1929 This is a kernel model which is known a SMTC or lately has been
1930 marketesed into SMVP.
1931 is presenting the available TC's of the core as processors to Linux.
1932 On currently available 34K processors this means a Linux system will
1933 see up to 5 processors. The implementation of the SMTC kernel differs
1934 significantly from VSMP and cannot efficiently coexist in the same
1935 kernel binary so the choice between VSMP and SMTC is a compile time
1938 For further information see http://www.linux-mips.org/wiki/34K#SMTC
1946 bool "SMT (multithreading) scheduler support"
1947 depends on SYS_SUPPORTS_SCHED_SMT
1950 SMT scheduler support improves the CPU scheduler's decision making
1951 when dealing with MIPS MT enabled cores at a cost of slightly
1952 increased overhead in some places. If unsure say N here.
1954 config SYS_SUPPORTS_SCHED_SMT
1957 config SYS_SUPPORTS_MULTITHREADING
1960 config MIPS_MT_FPAFF
1961 bool "Dynamic FPU affinity for FP-intensive threads"
1963 depends on MIPS_MT_SMP || MIPS_MT_SMTC
1965 config MIPS_VPE_LOADER
1966 bool "VPE loader support."
1967 depends on SYS_SUPPORTS_MULTITHREADING
1968 select CPU_MIPSR2_IRQ_VI
1969 select CPU_MIPSR2_IRQ_EI
1972 Includes a loader for loading an elf relocatable object
1973 onto another VPE and running it.
1975 config MIPS_MT_SMTC_IM_BACKSTOP
1976 bool "Use per-TC register bits as backstop for inhibited IM bits"
1977 depends on MIPS_MT_SMTC
1980 To support multiple TC microthreads acting as "CPUs" within
1981 a VPE, VPE-wide interrupt mask bits must be specially manipulated
1982 during interrupt handling. To support legacy drivers and interrupt
1983 controller management code, SMTC has a "backstop" to track and
1984 if necessary restore the interrupt mask. This has some performance
1985 impact on interrupt service overhead.
1987 config MIPS_MT_SMTC_IRQAFF
1988 bool "Support IRQ affinity API"
1989 depends on MIPS_MT_SMTC
1992 Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1993 for SMTC Linux kernel. Requires platform support, of which
1994 an example can be found in the MIPS kernel i8259 and Malta
1995 platform code. Adds some overhead to interrupt dispatch, and
1996 should be used only if you know what you are doing.
1998 config MIPS_VPE_LOADER_TOM
1999 bool "Load VPE program into memory hidden from linux"
2000 depends on MIPS_VPE_LOADER
2003 The loader can use memory that is present but has been hidden from
2004 Linux using the kernel command line option "mem=xxMB". It's up to
2005 you to ensure the amount you put in the option and the space your
2006 program requires is less or equal to the amount physically present.
2008 # this should possibly be in drivers/char, but it is rather cpu related. Hmmm
2009 config MIPS_VPE_APSP_API
2010 bool "Enable support for AP/SP API (RTLX)"
2011 depends on MIPS_VPE_LOADER
2015 bool "MIPS CMP framework support"
2016 depends on SYS_SUPPORTS_MIPS_CMP
2018 select SYS_SUPPORTS_SMP
2019 select SYS_SUPPORTS_SCHED_SMT if SMP
2020 select WEAK_ORDERING
2023 This is a placeholder option for the GCMP work. It will need to
2024 be handled differently...
2026 config SB1_PASS_1_WORKAROUNDS
2028 depends on CPU_SB1_PASS_1
2031 config SB1_PASS_2_WORKAROUNDS
2033 depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
2036 config SB1_PASS_2_1_WORKAROUNDS
2038 depends on CPU_SB1 && CPU_SB1_PASS_2
2041 config 64BIT_PHYS_ADDR
2044 config ARCH_PHYS_ADDR_T_64BIT
2045 def_bool 64BIT_PHYS_ADDR
2047 config CPU_HAS_SMARTMIPS
2048 depends on SYS_SUPPORTS_SMARTMIPS
2049 bool "Support for the SmartMIPS ASE"
2051 SmartMIPS is a extension of the MIPS32 architecture aimed at
2052 increased security at both hardware and software level for
2053 smartcards. Enabling this option will allow proper use of the
2054 SmartMIPS instructions by Linux applications. However a kernel with
2055 this option will not work on a MIPS core without SmartMIPS core. If
2056 you don't know you probably don't have SmartMIPS and should say N
2066 # Vectored interrupt mode is an R2 feature
2068 config CPU_MIPSR2_IRQ_VI
2072 # Extended interrupt mode is an R2 feature
2074 config CPU_MIPSR2_IRQ_EI
2079 depends on !CPU_R3000
2085 config CPU_DADDI_WORKAROUNDS
2088 config CPU_R4000_WORKAROUNDS
2090 select CPU_R4400_WORKAROUNDS
2092 config CPU_R4400_WORKAROUNDS
2096 # - Highmem only makes sense for the 32-bit kernel.
2097 # - The current highmem code will only work properly on physically indexed
2098 # caches such as R3000, SB1, R7000 or those that look like they're virtually
2099 # indexed such as R4000/R4400 SC and MC versions or R10000. So for the
2100 # moment we protect the user and offer the highmem option only on machines
2101 # where it's known to be safe. This will not offer highmem on a few systems
2102 # such as MIPS32 and MIPS64 CPUs which may have virtual and physically
2103 # indexed CPUs but we're playing safe.
2104 # - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
2105 # know they might have memory configurations that could make use of highmem
2109 bool "High Memory Support"
2110 depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
2112 config CPU_SUPPORTS_HIGHMEM
2115 config SYS_SUPPORTS_HIGHMEM
2118 config SYS_SUPPORTS_SMARTMIPS
2121 config ARCH_FLATMEM_ENABLE
2123 depends on !NUMA && !CPU_LOONGSON2
2125 config ARCH_DISCONTIGMEM_ENABLE
2127 default y if SGI_IP27
2129 Say Y to support efficient handling of discontiguous physical memory,
2130 for architectures which are either NUMA (Non-Uniform Memory Access)
2131 or have huge holes in the physical address space for other reasons.
2132 See <file:Documentation/vm/numa> for more.
2134 config ARCH_SPARSEMEM_ENABLE
2136 select SPARSEMEM_STATIC
2140 depends on SYS_SUPPORTS_NUMA
2142 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
2143 Access). This option improves performance on systems with more
2144 than two nodes; on two node systems it is generally better to
2145 leave it disabled; on single node systems disable this option
2148 config SYS_SUPPORTS_NUMA
2154 depends on NEED_MULTIPLE_NODES
2156 config HW_PERF_EVENTS
2157 bool "Enable hardware performance counter support for perf events"
2158 depends on PERF_EVENTS && !MIPS_MT_SMTC && OPROFILE=n && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON || CPU_XLP)
2161 Enable hardware performance counter support for perf events. If
2162 disabled, perf events will use software events only.
2167 bool "Multi-Processing support"
2168 depends on SYS_SUPPORTS_SMP
2170 select USE_GENERIC_SMP_HELPERS
2172 This enables support for systems with more than one CPU. If you have
2173 a system with only one CPU, like most personal computers, say N. If
2174 you have a system with more than one CPU, say Y.
2176 If you say N here, the kernel will run on single and multiprocessor
2177 machines, but will use only one CPU of a multiprocessor machine. If
2178 you say Y here, the kernel will run on many, but not all,
2179 singleprocessor machines. On a singleprocessor machine, the kernel
2180 will run faster if you say N here.
2182 People using multiprocessor machines who say Y here should also say
2183 Y to "Enhanced Real Time Clock Support", below.
2185 See also the SMP-HOWTO available at
2186 <http://www.tldp.org/docs.html#howto>.
2188 If you don't know what to do here, say N.
2193 config SYS_SUPPORTS_MIPS_CMP
2196 config SYS_SUPPORTS_SMP
2199 config NR_CPUS_DEFAULT_1
2202 config NR_CPUS_DEFAULT_2
2205 config NR_CPUS_DEFAULT_4
2208 config NR_CPUS_DEFAULT_8
2211 config NR_CPUS_DEFAULT_16
2214 config NR_CPUS_DEFAULT_32
2217 config NR_CPUS_DEFAULT_64
2221 int "Maximum number of CPUs (2-64)"
2222 range 1 64 if NR_CPUS_DEFAULT_1
2224 default "1" if NR_CPUS_DEFAULT_1
2225 default "2" if NR_CPUS_DEFAULT_2
2226 default "4" if NR_CPUS_DEFAULT_4
2227 default "8" if NR_CPUS_DEFAULT_8
2228 default "16" if NR_CPUS_DEFAULT_16
2229 default "32" if NR_CPUS_DEFAULT_32
2230 default "64" if NR_CPUS_DEFAULT_64
2232 This allows you to specify the maximum number of CPUs which this
2233 kernel will support. The maximum supported value is 32 for 32-bit
2234 kernel and 64 for 64-bit kernels; the minimum value which makes
2235 sense is 1 for Qemu (useful only for kernel debugging purposes)
2236 and 2 for all others.
2238 This is purely to save memory - each supported CPU adds
2239 approximately eight kilobytes to the kernel image. For best
2240 performance should round up your number of processors to the next
2243 config MIPS_PERF_SHARED_TC_COUNTERS
2247 # Timer Interrupt Frequency Configuration
2251 prompt "Timer frequency"
2254 Allows the configuration of the timer frequency.
2257 bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
2260 bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
2263 bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
2266 bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
2269 bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
2272 bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
2275 bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
2279 config SYS_SUPPORTS_48HZ
2282 config SYS_SUPPORTS_100HZ
2285 config SYS_SUPPORTS_128HZ
2288 config SYS_SUPPORTS_250HZ
2291 config SYS_SUPPORTS_256HZ
2294 config SYS_SUPPORTS_1000HZ
2297 config SYS_SUPPORTS_1024HZ
2300 config SYS_SUPPORTS_ARBIT_HZ
2302 default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
2303 !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
2304 !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
2305 !SYS_SUPPORTS_1024HZ
2310 default 100 if HZ_100
2311 default 128 if HZ_128
2312 default 250 if HZ_250
2313 default 256 if HZ_256
2314 default 1000 if HZ_1000
2315 default 1024 if HZ_1024
2317 source "kernel/Kconfig.preempt"
2320 bool "Kexec system call (EXPERIMENTAL)"
2321 depends on EXPERIMENTAL
2323 kexec is a system call that implements the ability to shutdown your
2324 current kernel, and to start another kernel. It is like a reboot
2325 but it is independent of the system firmware. And like a reboot
2326 you can start any kernel with it, not just Linux.
2328 The name comes from the similarity to the exec system call.
2330 It is an ongoing process to be certain the hardware in a machine
2331 is properly shutdown, so do not be surprised if this code does not
2332 initially work for you. It may help to enable device hotplugging
2333 support. As of this writing the exact hardware interface is
2334 strongly in flux, so no good recommendation can be made.
2337 bool "Kernel crash dumps"
2339 Generate crash dump after being started by kexec.
2340 This should be normally only set in special crash dump kernels
2341 which are loaded in the main kernel with kexec-tools into
2342 a specially reserved region and then later executed after
2343 a crash by kdump/kexec. The crash dump kernel must be compiled
2344 to a memory address not used by the main kernel or firmware using
2347 config PHYSICAL_START
2348 hex "Physical address where the kernel is loaded"
2349 default "0xffffffff84000000" if 64BIT
2350 default "0x84000000" if 32BIT
2351 depends on CRASH_DUMP
2353 This gives the CKSEG0 or KSEG0 address where the kernel is loaded.
2354 If you plan to use kernel for capturing the crash dump change
2355 this value to start of the reserved region (the "X" value as
2356 specified in the "crashkernel=YM@XM" command line boot parameter
2357 passed to the panic-ed kernel).
2360 bool "Enable seccomp to safely compute untrusted bytecode"
2364 This kernel feature is useful for number crunching applications
2365 that may need to compute untrusted bytecode during their
2366 execution. By using pipes or other transports made available to
2367 the process as file descriptors supporting the read/write
2368 syscalls, it's possible to isolate those applications in
2369 their own address space using seccomp. Once seccomp is
2370 enabled via /proc/<pid>/seccomp, it cannot be disabled
2371 and the task is only allowed to execute a few safe syscalls
2372 defined by each seccomp mode.
2374 If unsure, say Y. Only embedded should say N here.
2379 select OF_EARLY_FLATTREE
2384 config LOCKDEP_SUPPORT
2388 config STACKTRACE_SUPPORT
2392 source "init/Kconfig"
2394 source "kernel/Kconfig.freezer"
2396 menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
2404 bool "Support for PCI controller"
2405 depends on HW_HAS_PCI
2407 select GENERIC_PCI_IOMAP
2408 select NO_GENERIC_PCI_IOPORT_MAP
2410 Find out whether you have a PCI motherboard. PCI is the name of a
2411 bus system, i.e. the way the CPU talks to the other stuff inside
2412 your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
2418 source "drivers/pci/Kconfig"
2420 source "drivers/pci/pcie/Kconfig"
2423 # ISA support is now enabled via select. Too many systems still have the one
2424 # or other ISA chip on the board that users don't know about so don't expect
2425 # users to choose the right thing ...
2432 depends on HW_HAS_EISA
2434 select GENERIC_ISA_DMA
2436 The Extended Industry Standard Architecture (EISA) bus was
2437 developed as an open alternative to the IBM MicroChannel bus.
2439 The EISA bus provided some of the features of the IBM MicroChannel
2440 bus while maintaining backward compatibility with cards made for
2441 the older ISA bus. The EISA bus saw limited use between 1988 and
2442 1995 when it was made obsolete by the PCI bus.
2444 Say Y here if you are building a kernel for an EISA-based machine.
2448 source "drivers/eisa/Kconfig"
2451 bool "TURBOchannel support"
2452 depends on MACH_DECSTATION
2454 TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
2455 processors. TURBOchannel programming specifications are available
2457 <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/>
2459 <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/>
2460 Linux driver support status is documented at:
2461 <http://www.linux-mips.org/wiki/DECstation>
2471 select MIPS_EXTERNAL_TIMER
2476 source "drivers/pcmcia/Kconfig"
2478 source "drivers/pci/hotplug/Kconfig"
2481 bool "RapidIO support"
2485 If you say Y here, the kernel will include drivers and
2486 infrastructure code to support RapidIO interconnect devices.
2488 source "drivers/rapidio/Kconfig"
2492 menu "Executable file formats"
2494 source "fs/Kconfig.binfmt"
2499 config MIPS32_COMPAT
2500 bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
2503 Select this option if you want Linux/MIPS 32-bit binary
2504 compatibility. Since all software available for Linux/MIPS is
2505 currently 32-bit you should say Y here.
2509 depends on MIPS32_COMPAT
2510 select ARCH_WANT_OLD_COMPAT_IPC
2513 config SYSVIPC_COMPAT
2515 depends on COMPAT && SYSVIPC
2519 bool "Kernel support for o32 binaries"
2520 depends on MIPS32_COMPAT
2522 Select this option if you want to run o32 binaries. These are pure
2523 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
2524 existing binaries are in this format.
2529 bool "Kernel support for n32 binaries"
2530 depends on MIPS32_COMPAT
2532 Select this option if you want to run n32 binaries. These are
2533 64-bit binaries using 32-bit quantities for addressing and certain
2534 data that would normally be 64-bit. They are used in special
2541 default y if MIPS32_O32 || MIPS32_N32
2545 menu "Power management options"
2547 config ARCH_HIBERNATION_POSSIBLE
2549 depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
2551 config ARCH_SUSPEND_POSSIBLE
2553 depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
2555 source "kernel/power/Kconfig"
2559 source "arch/mips/kernel/cpufreq/Kconfig"
2561 source "net/Kconfig"
2563 source "drivers/Kconfig"
2565 source "drivers/firmware/Kconfig"
2569 source "arch/mips/Kconfig.debug"
2571 source "security/Kconfig"
2573 source "crypto/Kconfig"
2575 source "lib/Kconfig"