1 # SPDX-License-Identifier: GPL-2.0
5 select ARCH_32BIT_OFF_T if !64BIT
6 select ARCH_BINFMT_ELF_STATE if MIPS_FP_SUPPORT
7 select ARCH_CLOCKSOURCE_DATA
8 select ARCH_HAS_ELF_RANDOMIZE
9 select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
10 select ARCH_HAS_UBSAN_SANITIZE_ALL
11 select ARCH_SUPPORTS_UPROBES
12 select ARCH_USE_BUILTIN_BSWAP
13 select ARCH_USE_CMPXCHG_LOCKREF if 64BIT
14 select ARCH_USE_QUEUED_RWLOCKS
15 select ARCH_USE_QUEUED_SPINLOCKS
16 select ARCH_WANT_IPC_PARSE_VERSION
17 select BUILDTIME_EXTABLE_SORT
18 select CLONE_BACKWARDS
19 select CPU_NO_EFFICIENT_FFS if (TARGET_ISA_REV < 1)
20 select CPU_PM if CPU_IDLE
21 select GENERIC_ATOMIC64 if !64BIT
22 select GENERIC_CLOCKEVENTS
23 select GENERIC_CMOS_UPDATE
24 select GENERIC_CPU_AUTOPROBE
25 select GENERIC_GETTIMEOFDAY
27 select GENERIC_IRQ_PROBE
28 select GENERIC_IRQ_SHOW
29 select GENERIC_ISA_DMA if EISA
30 select GENERIC_LIB_ASHLDI3
31 select GENERIC_LIB_ASHRDI3
32 select GENERIC_LIB_CMPDI2
33 select GENERIC_LIB_LSHRDI3
34 select GENERIC_LIB_UCMPDI2
35 select GENERIC_SCHED_CLOCK if !CAVIUM_OCTEON_SOC
36 select GENERIC_SMP_IDLE_THREAD
37 select GENERIC_TIME_VSYSCALL
38 select GUP_GET_PTE_LOW_HIGH if CPU_MIPS32 && PHYS_ADDR_T_64BIT
39 select HANDLE_DOMAIN_IRQ
40 select HAVE_ARCH_COMPILER_H
41 select HAVE_ARCH_JUMP_LABEL
43 select HAVE_ARCH_MMAP_RND_BITS if MMU
44 select HAVE_ARCH_MMAP_RND_COMPAT_BITS if MMU && COMPAT
45 select HAVE_ARCH_SECCOMP_FILTER
46 select HAVE_ARCH_TRACEHOOK
47 select HAVE_ARCH_TRANSPARENT_HUGEPAGE if CPU_SUPPORTS_HUGEPAGES
48 select HAVE_EBPF_JIT if (!CPU_MICROMIPS)
49 select HAVE_CONTEXT_TRACKING
50 select HAVE_COPY_THREAD_TLS
51 select HAVE_C_RECORDMCOUNT
52 select HAVE_DEBUG_KMEMLEAK
53 select HAVE_DEBUG_STACKOVERFLOW
54 select HAVE_DMA_CONTIGUOUS
55 select HAVE_DYNAMIC_FTRACE
56 select HAVE_EXIT_THREAD
58 select HAVE_FTRACE_MCOUNT_RECORD
59 select HAVE_FUNCTION_GRAPH_TRACER
60 select HAVE_FUNCTION_TRACER
62 select HAVE_IOREMAP_PROT
63 select HAVE_IRQ_EXIT_ON_IRQ_STACK
64 select HAVE_IRQ_TIME_ACCOUNTING
66 select HAVE_KRETPROBES
67 select HAVE_LD_DEAD_CODE_DATA_ELIMINATION
68 select HAVE_MEMBLOCK_NODE_MAP
69 select HAVE_MOD_ARCH_SPECIFIC
72 select HAVE_PERF_EVENTS
73 select HAVE_REGS_AND_STACK_ACCESS_API
75 select HAVE_STACKPROTECTOR
76 select HAVE_SYSCALL_TRACEPOINTS
77 select HAVE_VIRT_CPU_ACCOUNTING_GEN if 64BIT || !SMP
78 select HAVE_GENERIC_VDSO
79 select IRQ_FORCED_THREADING
81 select MODULES_USE_ELF_RELA if MODULES && 64BIT
82 select MODULES_USE_ELF_REL if MODULES
83 select PERF_USE_VMALLOC
85 select SYSCTL_EXCEPTION_TRACE
87 select ARCH_HAS_PTE_SPECIAL if !(32BIT && CPU_HAS_RIXI)
89 menu "Machine selection"
96 bool "Generic board-agnostic MIPS kernel"
100 select CLKSRC_MIPS_GIC
102 select CPU_MIPSR2_IRQ_VI
103 select CPU_MIPSR2_IRQ_EI
105 select DMA_PERDEV_COHERENT
109 select MIPS_AUTO_PFN_OFFSET
110 select MIPS_CPU_SCACHE
112 select MIPS_L1_CACHE_SHIFT_7
113 select NO_EXCEPT_FILL
114 select PCI_DRIVERS_GENERIC
118 select SYS_HAS_CPU_MIPS32_R1
119 select SYS_HAS_CPU_MIPS32_R2
120 select SYS_HAS_CPU_MIPS32_R6
121 select SYS_HAS_CPU_MIPS64_R1
122 select SYS_HAS_CPU_MIPS64_R2
123 select SYS_HAS_CPU_MIPS64_R6
124 select SYS_SUPPORTS_32BIT_KERNEL
125 select SYS_SUPPORTS_64BIT_KERNEL
126 select SYS_SUPPORTS_BIG_ENDIAN
127 select SYS_SUPPORTS_HIGHMEM
128 select SYS_SUPPORTS_LITTLE_ENDIAN
129 select SYS_SUPPORTS_MICROMIPS
130 select SYS_SUPPORTS_MIPS_CPS
131 select SYS_SUPPORTS_MIPS16
132 select SYS_SUPPORTS_MULTITHREADING
133 select SYS_SUPPORTS_RELOCATABLE
134 select SYS_SUPPORTS_SMARTMIPS
135 select USB_EHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN
136 select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
137 select USB_OHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN
138 select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
139 select USB_UHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN
140 select USB_UHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
144 Select this to build a kernel which aims to support multiple boards,
145 generally using a flattened device tree passed from the bootloader
146 using the boot protocol defined in the UHI (Unified Hosting
147 Interface) specification.
150 bool "Alchemy processor based machines"
151 select PHYS_ADDR_T_64BIT
155 select DMA_MAYBE_COHERENT # Au1000,1500,1100 aren't, rest is
156 select SYS_HAS_CPU_MIPS32_R1
157 select SYS_SUPPORTS_32BIT_KERNEL
158 select SYS_SUPPORTS_APM_EMULATION
160 select SYS_SUPPORTS_ZBOOT
164 bool "Texas Instruments AR7"
166 select DMA_NONCOHERENT
170 select NO_EXCEPT_FILL
172 select SYS_HAS_CPU_MIPS32_R1
173 select SYS_HAS_EARLY_PRINTK
174 select SYS_SUPPORTS_32BIT_KERNEL
175 select SYS_SUPPORTS_LITTLE_ENDIAN
176 select SYS_SUPPORTS_MIPS16
177 select SYS_SUPPORTS_ZBOOT_UART16550
182 Support for the Texas Instruments AR7 System-on-a-Chip
183 family: TNETD7100, 7200 and 7300.
186 bool "Atheros AR231x/AR531x SoC support"
189 select DMA_NONCOHERENT
192 select SYS_HAS_CPU_MIPS32_R1
193 select SYS_SUPPORTS_BIG_ENDIAN
194 select SYS_SUPPORTS_32BIT_KERNEL
195 select SYS_HAS_EARLY_PRINTK
197 Support for Atheros AR231x and Atheros AR531x based boards
200 bool "Atheros AR71XX/AR724X/AR913X based boards"
201 select ARCH_HAS_RESET_CONTROLLER
205 select DMA_NONCOHERENT
212 select SYS_HAS_CPU_MIPS32_R2
213 select SYS_HAS_EARLY_PRINTK
214 select SYS_SUPPORTS_32BIT_KERNEL
215 select SYS_SUPPORTS_BIG_ENDIAN
216 select SYS_SUPPORTS_MIPS16
217 select SYS_SUPPORTS_ZBOOT_UART_PROM
219 select USB_EHCI_ROOT_HUB_TT if USB_EHCI_HCD_PLATFORM
221 Support for the Atheros AR71XX/AR724X/AR913X SoCs.
224 bool "Broadcom Generic BMIPS kernel"
225 select ARCH_HAS_SYNC_DMA_FOR_CPU_ALL
226 select ARCH_HAS_PHYS_TO_DMA
228 select NO_EXCEPT_FILL
234 select BCM6345_L1_IRQ
235 select BCM7038_L1_IRQ
236 select BCM7120_L2_IRQ
237 select BRCMSTB_L2_IRQ
239 select DMA_NONCOHERENT
240 select SYS_SUPPORTS_32BIT_KERNEL
241 select SYS_SUPPORTS_LITTLE_ENDIAN
242 select SYS_SUPPORTS_BIG_ENDIAN
243 select SYS_SUPPORTS_HIGHMEM
244 select SYS_HAS_CPU_BMIPS32_3300
245 select SYS_HAS_CPU_BMIPS4350
246 select SYS_HAS_CPU_BMIPS4380
247 select SYS_HAS_CPU_BMIPS5000
249 select USB_EHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN
250 select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
251 select USB_OHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN
252 select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
253 select HARDIRQS_SW_RESEND
255 Build a generic DT-based kernel image that boots on select
256 BCM33xx cable modem chips, BCM63xx DSL chips, and BCM7xxx set-top
257 box chips. Note that CONFIG_CPU_BIG_ENDIAN/CONFIG_CPU_LITTLE_ENDIAN
258 must be set appropriately for your board.
261 bool "Broadcom BCM47XX based boards"
265 select DMA_NONCOHERENT
268 select SYS_HAS_CPU_MIPS32_R1
269 select NO_EXCEPT_FILL
270 select SYS_SUPPORTS_32BIT_KERNEL
271 select SYS_SUPPORTS_LITTLE_ENDIAN
272 select SYS_SUPPORTS_MIPS16
273 select SYS_SUPPORTS_ZBOOT
274 select SYS_HAS_EARLY_PRINTK
275 select USE_GENERIC_EARLY_PRINTK_8250
277 select LEDS_GPIO_REGISTER
280 select BCM47XX_SSB if !BCM47XX_BCMA
282 Support for BCM47XX based boards
285 bool "Broadcom BCM63XX based boards"
290 select DMA_NONCOHERENT
292 select SYS_SUPPORTS_32BIT_KERNEL
293 select SYS_SUPPORTS_BIG_ENDIAN
294 select SYS_HAS_EARLY_PRINTK
298 select MIPS_L1_CACHE_SHIFT_4
301 Support for BCM63XX based boards
308 select DMA_NONCOHERENT
314 select PCI_GT64XXX_PCI0
315 select SYS_HAS_CPU_NEVADA
316 select SYS_HAS_EARLY_PRINTK
317 select SYS_SUPPORTS_32BIT_KERNEL
318 select SYS_SUPPORTS_64BIT_KERNEL
319 select SYS_SUPPORTS_LITTLE_ENDIAN
320 select USE_GENERIC_EARLY_PRINTK_8250
322 config MACH_DECSTATION
326 select CEVT_R4K if CPU_R4X00
328 select CSRC_R4K if CPU_R4X00
329 select CPU_DADDI_WORKAROUNDS if 64BIT
330 select CPU_R4000_WORKAROUNDS if 64BIT
331 select CPU_R4400_WORKAROUNDS if 64BIT
332 select DMA_NONCOHERENT
335 select SYS_HAS_CPU_R3000
336 select SYS_HAS_CPU_R4X00
337 select SYS_SUPPORTS_32BIT_KERNEL
338 select SYS_SUPPORTS_64BIT_KERNEL
339 select SYS_SUPPORTS_LITTLE_ENDIAN
340 select SYS_SUPPORTS_128HZ
341 select SYS_SUPPORTS_256HZ
342 select SYS_SUPPORTS_1024HZ
343 select MIPS_L1_CACHE_SHIFT_4
345 This enables support for DEC's MIPS based workstations. For details
346 see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
347 DECstation porting pages on <http://decstation.unix-ag.org/>.
349 If you have one of the following DECstation Models you definitely
350 want to choose R4xx0 for the CPU Type:
357 otherwise choose R3000.
360 bool "Jazz family of machines"
361 select ARCH_MIGHT_HAVE_PC_PARPORT
362 select ARCH_MIGHT_HAVE_PC_SERIO
365 select ARCH_MAY_HAVE_PC_FDC
368 select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
369 select GENERIC_ISA_DMA
370 select HAVE_PCSPKR_PLATFORM
375 select SYS_HAS_CPU_R4X00
376 select SYS_SUPPORTS_32BIT_KERNEL
377 select SYS_SUPPORTS_64BIT_KERNEL
378 select SYS_SUPPORTS_100HZ
380 This a family of machines based on the MIPS R4030 chipset which was
381 used by several vendors to build RISC/os and Windows NT workstations.
382 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
383 Olivetti M700-10 workstations.
386 bool "Ingenic SoC based machines"
387 select SYS_SUPPORTS_32BIT_KERNEL
388 select SYS_SUPPORTS_LITTLE_ENDIAN
389 select SYS_SUPPORTS_ZBOOT_UART16550
390 select CPU_SUPPORTS_HUGEPAGES
391 select DMA_NONCOHERENT
396 select GENERIC_IRQ_CHIP
397 select BUILTIN_DTB if MIPS_NO_APPENDED_DTB
402 bool "Lantiq based platforms"
403 select DMA_NONCOHERENT
407 select SYS_HAS_CPU_MIPS32_R1
408 select SYS_HAS_CPU_MIPS32_R2
409 select SYS_SUPPORTS_BIG_ENDIAN
410 select SYS_SUPPORTS_32BIT_KERNEL
411 select SYS_SUPPORTS_MIPS16
412 select SYS_SUPPORTS_MULTITHREADING
413 select SYS_SUPPORTS_VPE_LOADER
414 select SYS_HAS_EARLY_PRINTK
421 select PINCTRL_LANTIQ
422 select ARCH_HAS_RESET_CONTROLLER
423 select RESET_CONTROLLER
426 bool "LASAT Networks platforms"
430 select DMA_NONCOHERENT
431 select SYS_HAS_EARLY_PRINTK
434 select PCI_GT64XXX_PCI0
436 select R5000_CPU_SCACHE
437 select SYS_HAS_CPU_R5000
438 select SYS_SUPPORTS_32BIT_KERNEL
439 select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
440 select SYS_SUPPORTS_LITTLE_ENDIAN
442 config MACH_LOONGSON32
443 bool "Loongson-1 family of machines"
444 select SYS_SUPPORTS_ZBOOT
446 This enables support for the Loongson-1 family of machines.
448 Loongson-1 is a family of 32-bit MIPS-compatible SoCs developed by
449 the Institute of Computing Technology (ICT), Chinese Academy of
452 config MACH_LOONGSON64
453 bool "Loongson-2/3 family of machines"
454 select SYS_SUPPORTS_ZBOOT
456 This enables the support of Loongson-2/3 family of machines.
458 Loongson-2 is a family of single-core CPUs and Loongson-3 is a
459 family of multi-core CPUs. They are both 64-bit general-purpose
460 MIPS-compatible CPUs. Loongson-2/3 are developed by the Institute
461 of Computing Technology (ICT), Chinese Academy of Sciences (CAS)
462 in the People's Republic of China. The chief architect is Professor
465 config MACH_PISTACHIO
466 bool "IMG Pistachio SoC based boards"
470 select CLKSRC_MIPS_GIC
473 select DMA_NONCOHERENT
478 select MIPS_CPU_SCACHE
482 select SYS_HAS_CPU_MIPS32_R2
483 select SYS_SUPPORTS_32BIT_KERNEL
484 select SYS_SUPPORTS_LITTLE_ENDIAN
485 select SYS_SUPPORTS_MIPS_CPS
486 select SYS_SUPPORTS_MULTITHREADING
487 select SYS_SUPPORTS_RELOCATABLE
488 select SYS_SUPPORTS_ZBOOT
489 select SYS_HAS_EARLY_PRINTK
490 select USE_GENERIC_EARLY_PRINTK_8250
493 This enables support for the IMG Pistachio SoC platform.
496 bool "MIPS Malta board"
497 select ARCH_MAY_HAVE_PC_FDC
498 select ARCH_MIGHT_HAVE_PC_PARPORT
499 select ARCH_MIGHT_HAVE_PC_SERIO
504 select CLKSRC_MIPS_GIC
507 select DMA_MAYBE_COHERENT
508 select GENERIC_ISA_DMA
509 select HAVE_PCSPKR_PLATFORM
516 select MIPS_CPU_SCACHE
518 select MIPS_L1_CACHE_SHIFT_6
520 select PCI_GT64XXX_PCI0
523 select SYS_HAS_CPU_MIPS32_R1
524 select SYS_HAS_CPU_MIPS32_R2
525 select SYS_HAS_CPU_MIPS32_R3_5
526 select SYS_HAS_CPU_MIPS32_R5
527 select SYS_HAS_CPU_MIPS32_R6
528 select SYS_HAS_CPU_MIPS64_R1
529 select SYS_HAS_CPU_MIPS64_R2
530 select SYS_HAS_CPU_MIPS64_R6
531 select SYS_HAS_CPU_NEVADA
532 select SYS_HAS_CPU_RM7000
533 select SYS_SUPPORTS_32BIT_KERNEL
534 select SYS_SUPPORTS_64BIT_KERNEL
535 select SYS_SUPPORTS_BIG_ENDIAN
536 select SYS_SUPPORTS_HIGHMEM
537 select SYS_SUPPORTS_LITTLE_ENDIAN
538 select SYS_SUPPORTS_MICROMIPS
539 select SYS_SUPPORTS_MIPS16
540 select SYS_SUPPORTS_MIPS_CMP
541 select SYS_SUPPORTS_MIPS_CPS
542 select SYS_SUPPORTS_MULTITHREADING
543 select SYS_SUPPORTS_RELOCATABLE
544 select SYS_SUPPORTS_SMARTMIPS
545 select SYS_SUPPORTS_VPE_LOADER
546 select SYS_SUPPORTS_ZBOOT
548 select ZONE_DMA32 if 64BIT
550 This enables support for the MIPS Technologies Malta evaluation
554 bool "Microchip PIC32 Family"
556 This enables support for the Microchip PIC32 family of platforms.
558 Microchip PIC32 is a family of general-purpose 32 bit MIPS core
562 bool "NEC EMMA2RH Mark-eins board"
566 This enables support for the NEC Electronics Mark-eins boards.
569 bool "NEC VR4100 series based machines"
572 select SYS_HAS_CPU_VR41XX
573 select SYS_SUPPORTS_MIPS16
577 bool "NXP STB220 board"
580 Support for NXP Semiconductors STB220 Development Board.
587 Support for NXP Semiconductors STB225 Development Board.
590 bool "PMC-Sierra MSP chipsets"
593 select DMA_NONCOHERENT
595 select NO_EXCEPT_FILL
597 select SYS_HAS_CPU_MIPS32_R1
598 select SYS_HAS_CPU_MIPS32_R2
599 select SYS_SUPPORTS_32BIT_KERNEL
600 select SYS_SUPPORTS_BIG_ENDIAN
601 select SYS_SUPPORTS_MIPS16
604 select SERIAL_8250_CONSOLE
605 select USB_EHCI_BIG_ENDIAN_MMIO
606 select USB_EHCI_BIG_ENDIAN_DESC
608 This adds support for the PMC-Sierra family of Multi-Service
609 Processor System-On-A-Chips. These parts include a number
610 of integrated peripherals, interfaces and DSPs in addition to
611 a variety of MIPS cores.
614 bool "Ralink based machines"
618 select DMA_NONCOHERENT
621 select SYS_HAS_CPU_MIPS32_R1
622 select SYS_HAS_CPU_MIPS32_R2
623 select SYS_SUPPORTS_32BIT_KERNEL
624 select SYS_SUPPORTS_LITTLE_ENDIAN
625 select SYS_SUPPORTS_MIPS16
626 select SYS_HAS_EARLY_PRINTK
628 select ARCH_HAS_RESET_CONTROLLER
629 select RESET_CONTROLLER
632 bool "SGI IP22 (Indy/Indigo2)"
635 select ARCH_MIGHT_HAVE_PC_SERIO
639 select DEFAULT_SGI_PARTITION
640 select DMA_NONCOHERENT
644 select IP22_CPU_SCACHE
646 select GENERIC_ISA_DMA_SUPPORT_BROKEN
648 select SGI_HAS_INDYDOG
654 select SYS_HAS_CPU_R4X00
655 select SYS_HAS_CPU_R5000
657 # Disable EARLY_PRINTK for now since it leads to overwritten prom
658 # memory during early boot on some machines.
660 # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
661 # for a more details discussion
663 # select SYS_HAS_EARLY_PRINTK
664 select SYS_SUPPORTS_32BIT_KERNEL
665 select SYS_SUPPORTS_64BIT_KERNEL
666 select SYS_SUPPORTS_BIG_ENDIAN
667 select MIPS_L1_CACHE_SHIFT_7
669 This are the SGI Indy, Challenge S and Indigo2, as well as certain
670 OEM variants like the Tandem CMN B006S. To compile a Linux kernel
671 that runs on these, say Y here.
674 bool "SGI IP27 (Origin200/2000)"
675 select ARCH_HAS_PHYS_TO_DMA
679 select DEFAULT_SGI_PARTITION
680 select SYS_HAS_EARLY_PRINTK
683 select IRQ_DOMAIN_HIERARCHY
684 select NR_CPUS_DEFAULT_64
685 select PCI_DRIVERS_GENERIC
686 select PCI_XTALK_BRIDGE
687 select SYS_HAS_CPU_R10000
688 select SYS_SUPPORTS_64BIT_KERNEL
689 select SYS_SUPPORTS_BIG_ENDIAN
690 select SYS_SUPPORTS_NUMA
691 select SYS_SUPPORTS_SMP
692 select MIPS_L1_CACHE_SHIFT_7
694 This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
695 workstations. To compile a Linux kernel that runs on these, say Y
699 bool "SGI IP28 (Indigo2 R10k)"
702 select ARCH_MIGHT_HAVE_PC_SERIO
706 select DEFAULT_SGI_PARTITION
707 select DMA_NONCOHERENT
708 select GENERIC_ISA_DMA_SUPPORT_BROKEN
714 select SGI_HAS_INDYDOG
720 select SYS_HAS_CPU_R10000
722 # Disable EARLY_PRINTK for now since it leads to overwritten prom
723 # memory during early boot on some machines.
725 # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
726 # for a more details discussion
728 # select SYS_HAS_EARLY_PRINTK
729 select SYS_SUPPORTS_64BIT_KERNEL
730 select SYS_SUPPORTS_BIG_ENDIAN
731 select MIPS_L1_CACHE_SHIFT_7
733 This is the SGI Indigo2 with R10000 processor. To compile a Linux
734 kernel that runs on these, say Y here.
738 select ARCH_HAS_PHYS_TO_DMA
744 select DMA_NONCOHERENT
747 select R5000_CPU_SCACHE
748 select RM7000_CPU_SCACHE
749 select SYS_HAS_CPU_R5000
750 select SYS_HAS_CPU_R10000 if BROKEN
751 select SYS_HAS_CPU_RM7000
752 select SYS_HAS_CPU_NEVADA
753 select SYS_SUPPORTS_64BIT_KERNEL
754 select SYS_SUPPORTS_BIG_ENDIAN
756 If you want this kernel to run on SGI O2 workstation, say Y here.
759 bool "Sibyte BCM91120C-CRhine"
761 select SIBYTE_BCM1120
763 select SYS_HAS_CPU_SB1
764 select SYS_SUPPORTS_BIG_ENDIAN
765 select SYS_SUPPORTS_LITTLE_ENDIAN
768 bool "Sibyte BCM91120x-Carmel"
770 select SIBYTE_BCM1120
772 select SYS_HAS_CPU_SB1
773 select SYS_SUPPORTS_BIG_ENDIAN
774 select SYS_SUPPORTS_LITTLE_ENDIAN
777 bool "Sibyte BCM91125C-CRhone"
779 select SIBYTE_BCM1125
781 select SYS_HAS_CPU_SB1
782 select SYS_SUPPORTS_BIG_ENDIAN
783 select SYS_SUPPORTS_HIGHMEM
784 select SYS_SUPPORTS_LITTLE_ENDIAN
787 bool "Sibyte BCM91125E-Rhone"
789 select SIBYTE_BCM1125H
791 select SYS_HAS_CPU_SB1
792 select SYS_SUPPORTS_BIG_ENDIAN
793 select SYS_SUPPORTS_LITTLE_ENDIAN
796 bool "Sibyte BCM91250A-SWARM"
798 select HAVE_PATA_PLATFORM
801 select SYS_HAS_CPU_SB1
802 select SYS_SUPPORTS_BIG_ENDIAN
803 select SYS_SUPPORTS_HIGHMEM
804 select SYS_SUPPORTS_LITTLE_ENDIAN
805 select ZONE_DMA32 if 64BIT
806 select SWIOTLB if ARCH_DMA_ADDR_T_64BIT && PCI
808 config SIBYTE_LITTLESUR
809 bool "Sibyte BCM91250C2-LittleSur"
811 select HAVE_PATA_PLATFORM
814 select SYS_HAS_CPU_SB1
815 select SYS_SUPPORTS_BIG_ENDIAN
816 select SYS_SUPPORTS_HIGHMEM
817 select SYS_SUPPORTS_LITTLE_ENDIAN
818 select ZONE_DMA32 if 64BIT
820 config SIBYTE_SENTOSA
821 bool "Sibyte BCM91250E-Sentosa"
825 select SYS_HAS_CPU_SB1
826 select SYS_SUPPORTS_BIG_ENDIAN
827 select SYS_SUPPORTS_LITTLE_ENDIAN
828 select SWIOTLB if ARCH_DMA_ADDR_T_64BIT && PCI
831 bool "Sibyte BCM91480B-BigSur"
833 select NR_CPUS_DEFAULT_4
834 select SIBYTE_BCM1x80
836 select SYS_HAS_CPU_SB1
837 select SYS_SUPPORTS_BIG_ENDIAN
838 select SYS_SUPPORTS_HIGHMEM
839 select SYS_SUPPORTS_LITTLE_ENDIAN
840 select ZONE_DMA32 if 64BIT
841 select SWIOTLB if ARCH_DMA_ADDR_T_64BIT && PCI
844 bool "SNI RM200/300/400"
845 select FW_ARC if CPU_LITTLE_ENDIAN
846 select FW_ARC32 if CPU_LITTLE_ENDIAN
847 select FW_SNIPROM if CPU_BIG_ENDIAN
848 select ARCH_MAY_HAVE_PC_FDC
849 select ARCH_MIGHT_HAVE_PC_PARPORT
850 select ARCH_MIGHT_HAVE_PC_SERIO
854 select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
855 select DMA_NONCOHERENT
856 select GENERIC_ISA_DMA
858 select HAVE_PCSPKR_PLATFORM
864 select SWAP_IO_SPACE if CPU_BIG_ENDIAN
865 select SYS_HAS_CPU_R4X00
866 select SYS_HAS_CPU_R5000
867 select SYS_HAS_CPU_R10000
868 select R5000_CPU_SCACHE
869 select SYS_HAS_EARLY_PRINTK
870 select SYS_SUPPORTS_32BIT_KERNEL
871 select SYS_SUPPORTS_64BIT_KERNEL
872 select SYS_SUPPORTS_BIG_ENDIAN
873 select SYS_SUPPORTS_HIGHMEM
874 select SYS_SUPPORTS_LITTLE_ENDIAN
876 The SNI RM200/300/400 are MIPS-based machines manufactured by
877 Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
878 Technology and now in turn merged with Fujitsu. Say Y here to
879 support this machine type.
882 bool "Toshiba TX39 series based machines"
885 bool "Toshiba TX49 series based machines"
887 config MIKROTIK_RB532
888 bool "Mikrotik RB532 boards"
891 select DMA_NONCOHERENT
894 select SYS_HAS_CPU_MIPS32_R1
895 select SYS_SUPPORTS_32BIT_KERNEL
896 select SYS_SUPPORTS_LITTLE_ENDIAN
900 select MIPS_L1_CACHE_SHIFT_4
902 Support the Mikrotik(tm) RouterBoard 532 series,
903 based on the IDT RC32434 SoC.
905 config CAVIUM_OCTEON_SOC
906 bool "Cavium Networks Octeon SoC based boards"
908 select ARCH_HAS_PHYS_TO_DMA
910 select PHYS_ADDR_T_64BIT
911 select SYS_SUPPORTS_64BIT_KERNEL
912 select SYS_SUPPORTS_BIG_ENDIAN
914 select EDAC_ATOMIC_SCRUB
915 select SYS_SUPPORTS_LITTLE_ENDIAN
916 select SYS_SUPPORTS_HOTPLUG_CPU if CPU_BIG_ENDIAN
917 select SYS_HAS_EARLY_PRINTK
918 select SYS_HAS_CPU_CAVIUM_OCTEON
925 select ARCH_SPARSEMEM_ENABLE
926 select SYS_SUPPORTS_SMP
927 select NR_CPUS_DEFAULT_64
928 select MIPS_NR_CPU_NR_MAP_1024
930 select MTD_COMPLEX_MAPPINGS
932 select SYS_SUPPORTS_RELOCATABLE
934 This option supports all of the Octeon reference boards from Cavium
935 Networks. It builds a kernel that dynamically determines the Octeon
936 CPU type and supports all known board reference implementations.
937 Some of the supported boards are:
944 Say Y here for most Octeon reference boards.
947 bool "Netlogic XLR/XLS based systems"
950 select SYS_HAS_CPU_XLR
951 select SYS_SUPPORTS_SMP
954 select SYS_SUPPORTS_32BIT_KERNEL
955 select SYS_SUPPORTS_64BIT_KERNEL
956 select PHYS_ADDR_T_64BIT
957 select SYS_SUPPORTS_BIG_ENDIAN
958 select SYS_SUPPORTS_HIGHMEM
959 select NR_CPUS_DEFAULT_32
963 select ZONE_DMA32 if 64BIT
965 select SYS_HAS_EARLY_PRINTK
966 select SYS_SUPPORTS_ZBOOT
967 select SYS_SUPPORTS_ZBOOT_UART16550
969 Support for systems based on Netlogic XLR and XLS processors.
970 Say Y here if you have a XLR or XLS based board.
973 bool "Netlogic XLP based systems"
976 select SYS_HAS_CPU_XLP
977 select SYS_SUPPORTS_SMP
979 select SYS_SUPPORTS_32BIT_KERNEL
980 select SYS_SUPPORTS_64BIT_KERNEL
981 select PHYS_ADDR_T_64BIT
983 select SYS_SUPPORTS_BIG_ENDIAN
984 select SYS_SUPPORTS_LITTLE_ENDIAN
985 select SYS_SUPPORTS_HIGHMEM
986 select NR_CPUS_DEFAULT_32
990 select ZONE_DMA32 if 64BIT
992 select SYS_HAS_EARLY_PRINTK
994 select SYS_SUPPORTS_ZBOOT
995 select SYS_SUPPORTS_ZBOOT_UART16550
997 This board is based on Netlogic XLP Processor.
998 Say Y here if you have a XLP based board.
1000 config MIPS_PARAVIRT
1001 bool "Para-Virtualized guest system"
1004 select SYS_SUPPORTS_64BIT_KERNEL
1005 select SYS_SUPPORTS_32BIT_KERNEL
1006 select SYS_SUPPORTS_BIG_ENDIAN
1007 select SYS_SUPPORTS_SMP
1008 select NR_CPUS_DEFAULT_4
1009 select SYS_HAS_EARLY_PRINTK
1010 select SYS_HAS_CPU_MIPS32_R2
1011 select SYS_HAS_CPU_MIPS64_R2
1012 select SYS_HAS_CPU_CAVIUM_OCTEON
1014 select SWAP_IO_SPACE
1016 This option supports guest running under ????
1020 source "arch/mips/alchemy/Kconfig"
1021 source "arch/mips/ath25/Kconfig"
1022 source "arch/mips/ath79/Kconfig"
1023 source "arch/mips/bcm47xx/Kconfig"
1024 source "arch/mips/bcm63xx/Kconfig"
1025 source "arch/mips/bmips/Kconfig"
1026 source "arch/mips/generic/Kconfig"
1027 source "arch/mips/jazz/Kconfig"
1028 source "arch/mips/jz4740/Kconfig"
1029 source "arch/mips/lantiq/Kconfig"
1030 source "arch/mips/lasat/Kconfig"
1031 source "arch/mips/pic32/Kconfig"
1032 source "arch/mips/pistachio/Kconfig"
1033 source "arch/mips/pmcs-msp71xx/Kconfig"
1034 source "arch/mips/ralink/Kconfig"
1035 source "arch/mips/sgi-ip27/Kconfig"
1036 source "arch/mips/sibyte/Kconfig"
1037 source "arch/mips/txx9/Kconfig"
1038 source "arch/mips/vr41xx/Kconfig"
1039 source "arch/mips/cavium-octeon/Kconfig"
1040 source "arch/mips/loongson32/Kconfig"
1041 source "arch/mips/loongson64/Kconfig"
1042 source "arch/mips/netlogic/Kconfig"
1043 source "arch/mips/paravirt/Kconfig"
1047 config GENERIC_HWEIGHT
1051 config GENERIC_CALIBRATE_DELAY
1055 config SCHED_OMIT_FRAME_POINTER
1060 # Select some configuration options automatically based on user selections.
1065 config ARCH_MAY_HAVE_PC_FDC
1101 config MIPS_CLOCK_VSYSCALL
1102 def_bool CSRC_R4K || CLKSRC_MIPS_GIC
1111 config ARCH_SUPPORTS_UPROBES
1114 config DMA_MAYBE_COHERENT
1115 select ARCH_HAS_DMA_COHERENCE_H
1116 select DMA_NONCOHERENT
1119 config DMA_PERDEV_COHERENT
1121 select ARCH_HAS_SETUP_DMA_OPS
1122 select DMA_NONCOHERENT
1124 config DMA_NONCOHERENT
1126 select ARCH_HAS_DMA_MMAP_PGPROT
1127 select ARCH_HAS_SYNC_DMA_FOR_DEVICE
1128 select ARCH_HAS_UNCACHED_SEGMENT
1129 select NEED_DMA_MAP_STATE
1130 select ARCH_HAS_DMA_COHERENT_TO_PFN
1131 select DMA_NONCOHERENT_CACHE_SYNC
1133 config SYS_HAS_EARLY_PRINTK
1136 config SYS_SUPPORTS_HOTPLUG_CPU
1139 config MIPS_BONITO64
1154 config NO_IOPORT_MAP
1159 default y if !CPU_HAS_LOAD_STORE_LR
1161 config GENERIC_ISA_DMA
1163 select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
1166 config GENERIC_ISA_DMA_SUPPORT_BROKEN
1168 select GENERIC_ISA_DMA
1173 config HOLES_IN_ZONE
1176 config SYS_SUPPORTS_RELOCATABLE
1179 Selected if the platform supports relocating the kernel.
1180 The platform must provide plat_get_fdt() if it selects CONFIG_USE_OF
1181 to allow access to command line and entropy sources.
1183 config MIPS_CBPF_JIT
1185 depends on BPF_JIT && HAVE_CBPF_JIT
1187 config MIPS_EBPF_JIT
1189 depends on BPF_JIT && HAVE_EBPF_JIT
1193 # Endianness selection. Sufficiently obscure so many users don't know what to
1194 # answer,so we try hard to limit the available choices. Also the use of a
1195 # choice statement should be more obvious to the user.
1198 prompt "Endianness selection"
1200 Some MIPS machines can be configured for either little or big endian
1201 byte order. These modes require different kernels and a different
1202 Linux distribution. In general there is one preferred byteorder for a
1203 particular system but some systems are just as commonly used in the
1204 one or the other endianness.
1206 config CPU_BIG_ENDIAN
1208 depends on SYS_SUPPORTS_BIG_ENDIAN
1210 config CPU_LITTLE_ENDIAN
1211 bool "Little endian"
1212 depends on SYS_SUPPORTS_LITTLE_ENDIAN
1219 config SYS_SUPPORTS_APM_EMULATION
1222 config SYS_SUPPORTS_BIG_ENDIAN
1225 config SYS_SUPPORTS_LITTLE_ENDIAN
1228 config SYS_SUPPORTS_HUGETLBFS
1230 depends on CPU_SUPPORTS_HUGEPAGES
1233 config MIPS_HUGE_TLB_SUPPORT
1234 def_bool HUGETLB_PAGE || TRANSPARENT_HUGEPAGE
1251 config PCI_GT64XXX_PCI0
1254 config PCI_XTALK_BRIDGE
1257 config NO_EXCEPT_FILL
1264 select DMA_NONCOHERENT
1266 select SWAP_IO_SPACE
1267 select SYS_HAS_CPU_R5500
1268 select SYS_SUPPORTS_32BIT_KERNEL
1269 select SYS_SUPPORTS_64BIT_KERNEL
1270 select SYS_SUPPORTS_BIG_ENDIAN
1277 select DMA_NONCOHERENT
1278 select SYS_HAS_CPU_MIPS32_R2
1279 select SYS_SUPPORTS_32BIT_KERNEL
1280 select SYS_SUPPORTS_LITTLE_ENDIAN
1281 select SYS_SUPPORTS_BIG_ENDIAN
1282 select SYS_SUPPORTS_MIPS16
1283 select CPU_MIPSR2_IRQ_VI
1292 config SWAP_IO_SPACE
1295 config SGI_HAS_INDYDOG
1307 config SGI_HAS_ZILOG
1310 config SGI_HAS_I8042
1313 config DEFAULT_SGI_PARTITION
1325 config MIPS_L1_CACHE_SHIFT_4
1328 config MIPS_L1_CACHE_SHIFT_5
1331 config MIPS_L1_CACHE_SHIFT_6
1334 config MIPS_L1_CACHE_SHIFT_7
1337 config MIPS_L1_CACHE_SHIFT
1339 default "7" if MIPS_L1_CACHE_SHIFT_7
1340 default "6" if MIPS_L1_CACHE_SHIFT_6
1341 default "5" if MIPS_L1_CACHE_SHIFT_5
1342 default "4" if MIPS_L1_CACHE_SHIFT_4
1345 config HAVE_STD_PC_SERIAL_PORT
1349 bool "ARC console support"
1350 depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
1354 depends on MACH_JAZZ || SNI_RM || SGI_IP32
1359 depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
1368 menu "CPU selection"
1374 config CPU_LOONGSON3
1375 bool "Loongson 3 CPU"
1376 depends on SYS_HAS_CPU_LOONGSON3
1377 select ARCH_HAS_PHYS_TO_DMA
1378 select CPU_SUPPORTS_64BIT_KERNEL
1379 select CPU_SUPPORTS_HIGHMEM
1380 select CPU_SUPPORTS_HUGEPAGES
1381 select CPU_HAS_LOAD_STORE_LR
1382 select WEAK_ORDERING
1383 select WEAK_REORDERING_BEYOND_LLSC
1384 select MIPS_PGD_C0_CONTEXT
1385 select MIPS_L1_CACHE_SHIFT_6
1389 The Loongson 3 processor implements the MIPS64R2 instruction
1390 set with many extensions.
1392 config LOONGSON3_ENHANCEMENT
1393 bool "New Loongson 3 CPU Enhancements"
1396 select CPU_HAS_PREFETCH
1397 depends on CPU_LOONGSON3
1399 New Loongson 3 CPU (since Loongson-3A R2, as opposed to Loongson-3A
1400 R1, Loongson-3B R1 and Loongson-3B R2) has many enhancements, such as
1401 FTLB, L1-VCache, EI/DI/Wait/Prefetch instruction, DSP/DSPv2 ASE, User
1402 Local register, Read-Inhibit/Execute-Inhibit, SFB (Store Fill Buffer),
1403 Fast TLB refill support, etc.
1405 This option enable those enhancements which are not probed at run
1406 time. If you want a generic kernel to run on all Loongson 3 machines,
1407 please say 'N' here. If you want a high-performance kernel to run on
1408 new Loongson 3 machines only, please say 'Y' here.
1410 config CPU_LOONGSON3_WORKAROUNDS
1411 bool "Old Loongson 3 LLSC Workarounds"
1413 depends on CPU_LOONGSON3
1415 Loongson 3 processors have the llsc issues which require workarounds.
1416 Without workarounds the system may hang unexpectedly.
1418 Newer Loongson 3 will fix these issues and no workarounds are needed.
1419 The workarounds have no significant side effect on them but may
1420 decrease the performance of the system so this option should be
1421 disabled unless the kernel is intended to be run on old systems.
1423 If unsure, please say Y.
1425 config CPU_LOONGSON2E
1427 depends on SYS_HAS_CPU_LOONGSON2E
1428 select CPU_LOONGSON2
1430 The Loongson 2E processor implements the MIPS III instruction set
1431 with many extensions.
1433 It has an internal FPGA northbridge, which is compatible to
1436 config CPU_LOONGSON2F
1438 depends on SYS_HAS_CPU_LOONGSON2F
1439 select CPU_LOONGSON2
1442 The Loongson 2F processor implements the MIPS III instruction set
1443 with many extensions.
1445 Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
1446 have a similar programming interface with FPGA northbridge used in
1449 config CPU_LOONGSON1B
1451 depends on SYS_HAS_CPU_LOONGSON1B
1452 select CPU_LOONGSON1
1453 select LEDS_GPIO_REGISTER
1455 The Loongson 1B is a 32-bit SoC, which implements the MIPS32
1456 Release 1 instruction set and part of the MIPS32 Release 2
1459 config CPU_LOONGSON1C
1461 depends on SYS_HAS_CPU_LOONGSON1C
1462 select CPU_LOONGSON1
1463 select LEDS_GPIO_REGISTER
1465 The Loongson 1C is a 32-bit SoC, which implements the MIPS32
1466 Release 1 instruction set and part of the MIPS32 Release 2
1469 config CPU_MIPS32_R1
1470 bool "MIPS32 Release 1"
1471 depends on SYS_HAS_CPU_MIPS32_R1
1472 select CPU_HAS_PREFETCH
1473 select CPU_HAS_LOAD_STORE_LR
1474 select CPU_SUPPORTS_32BIT_KERNEL
1475 select CPU_SUPPORTS_HIGHMEM
1477 Choose this option to build a kernel for release 1 or later of the
1478 MIPS32 architecture. Most modern embedded systems with a 32-bit
1479 MIPS processor are based on a MIPS32 processor. If you know the
1480 specific type of processor in your system, choose those that one
1481 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1482 Release 2 of the MIPS32 architecture is available since several
1483 years so chances are you even have a MIPS32 Release 2 processor
1484 in which case you should choose CPU_MIPS32_R2 instead for better
1487 config CPU_MIPS32_R2
1488 bool "MIPS32 Release 2"
1489 depends on SYS_HAS_CPU_MIPS32_R2
1490 select CPU_HAS_PREFETCH
1491 select CPU_HAS_LOAD_STORE_LR
1492 select CPU_SUPPORTS_32BIT_KERNEL
1493 select CPU_SUPPORTS_HIGHMEM
1494 select CPU_SUPPORTS_MSA
1497 Choose this option to build a kernel for release 2 or later of the
1498 MIPS32 architecture. Most modern embedded systems with a 32-bit
1499 MIPS processor are based on a MIPS32 processor. If you know the
1500 specific type of processor in your system, choose those that one
1501 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1503 config CPU_MIPS32_R6
1504 bool "MIPS32 Release 6"
1505 depends on SYS_HAS_CPU_MIPS32_R6
1506 select CPU_HAS_PREFETCH
1507 select CPU_SUPPORTS_32BIT_KERNEL
1508 select CPU_SUPPORTS_HIGHMEM
1509 select CPU_SUPPORTS_MSA
1511 select MIPS_O32_FP64_SUPPORT
1513 Choose this option to build a kernel for release 6 or later of the
1514 MIPS32 architecture. New MIPS processors, starting with the Warrior
1515 family, are based on a MIPS32r6 processor. If you own an older
1516 processor, you probably need to select MIPS32r1 or MIPS32r2 instead.
1518 config CPU_MIPS64_R1
1519 bool "MIPS64 Release 1"
1520 depends on SYS_HAS_CPU_MIPS64_R1
1521 select CPU_HAS_PREFETCH
1522 select CPU_HAS_LOAD_STORE_LR
1523 select CPU_SUPPORTS_32BIT_KERNEL
1524 select CPU_SUPPORTS_64BIT_KERNEL
1525 select CPU_SUPPORTS_HIGHMEM
1526 select CPU_SUPPORTS_HUGEPAGES
1528 Choose this option to build a kernel for release 1 or later of the
1529 MIPS64 architecture. Many modern embedded systems with a 64-bit
1530 MIPS processor are based on a MIPS64 processor. If you know the
1531 specific type of processor in your system, choose those that one
1532 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
1533 Release 2 of the MIPS64 architecture is available since several
1534 years so chances are you even have a MIPS64 Release 2 processor
1535 in which case you should choose CPU_MIPS64_R2 instead for better
1538 config CPU_MIPS64_R2
1539 bool "MIPS64 Release 2"
1540 depends on SYS_HAS_CPU_MIPS64_R2
1541 select CPU_HAS_PREFETCH
1542 select CPU_HAS_LOAD_STORE_LR
1543 select CPU_SUPPORTS_32BIT_KERNEL
1544 select CPU_SUPPORTS_64BIT_KERNEL
1545 select CPU_SUPPORTS_HIGHMEM
1546 select CPU_SUPPORTS_HUGEPAGES
1547 select CPU_SUPPORTS_MSA
1550 Choose this option to build a kernel for release 2 or later of the
1551 MIPS64 architecture. Many modern embedded systems with a 64-bit
1552 MIPS processor are based on a MIPS64 processor. If you know the
1553 specific type of processor in your system, choose those that one
1554 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
1556 config CPU_MIPS64_R6
1557 bool "MIPS64 Release 6"
1558 depends on SYS_HAS_CPU_MIPS64_R6
1559 select CPU_HAS_PREFETCH
1560 select CPU_SUPPORTS_32BIT_KERNEL
1561 select CPU_SUPPORTS_64BIT_KERNEL
1562 select CPU_SUPPORTS_HIGHMEM
1563 select CPU_SUPPORTS_HUGEPAGES
1564 select CPU_SUPPORTS_MSA
1565 select MIPS_O32_FP64_SUPPORT if 32BIT || MIPS32_O32
1568 Choose this option to build a kernel for release 6 or later of the
1569 MIPS64 architecture. New MIPS processors, starting with the Warrior
1570 family, are based on a MIPS64r6 processor. If you own an older
1571 processor, you probably need to select MIPS64r1 or MIPS64r2 instead.
1575 depends on SYS_HAS_CPU_R3000
1577 select CPU_HAS_LOAD_STORE_LR
1579 select CPU_SUPPORTS_32BIT_KERNEL
1580 select CPU_SUPPORTS_HIGHMEM
1582 Please make sure to pick the right CPU type. Linux/MIPS is not
1583 designed to be generic, i.e. Kernels compiled for R3000 CPUs will
1584 *not* work on R4000 machines and vice versa. However, since most
1585 of the supported machines have an R4000 (or similar) CPU, R4x00
1586 might be a safe bet. If the resulting kernel does not work,
1587 try to recompile with R3000.
1591 depends on SYS_HAS_CPU_TX39XX
1592 select CPU_SUPPORTS_32BIT_KERNEL
1593 select CPU_HAS_LOAD_STORE_LR
1598 depends on SYS_HAS_CPU_VR41XX
1599 select CPU_SUPPORTS_32BIT_KERNEL
1600 select CPU_SUPPORTS_64BIT_KERNEL
1601 select CPU_HAS_LOAD_STORE_LR
1603 The options selects support for the NEC VR4100 series of processors.
1604 Only choose this option if you have one of these processors as a
1605 kernel built with this option will not run on any other type of
1606 processor or vice versa.
1610 depends on SYS_HAS_CPU_R4X00
1611 select CPU_SUPPORTS_32BIT_KERNEL
1612 select CPU_SUPPORTS_64BIT_KERNEL
1613 select CPU_SUPPORTS_HUGEPAGES
1614 select CPU_HAS_LOAD_STORE_LR
1616 MIPS Technologies R4000-series processors other than 4300, including
1617 the R4000, R4400, R4600, and 4700.
1621 depends on SYS_HAS_CPU_TX49XX
1622 select CPU_HAS_PREFETCH
1623 select CPU_HAS_LOAD_STORE_LR
1624 select CPU_SUPPORTS_32BIT_KERNEL
1625 select CPU_SUPPORTS_64BIT_KERNEL
1626 select CPU_SUPPORTS_HUGEPAGES
1630 depends on SYS_HAS_CPU_R5000
1631 select CPU_SUPPORTS_32BIT_KERNEL
1632 select CPU_SUPPORTS_64BIT_KERNEL
1633 select CPU_SUPPORTS_HUGEPAGES
1634 select CPU_HAS_LOAD_STORE_LR
1636 MIPS Technologies R5000-series processors other than the Nevada.
1640 depends on SYS_HAS_CPU_R5500
1641 select CPU_SUPPORTS_32BIT_KERNEL
1642 select CPU_SUPPORTS_64BIT_KERNEL
1643 select CPU_SUPPORTS_HUGEPAGES
1644 select CPU_HAS_LOAD_STORE_LR
1646 NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
1651 depends on SYS_HAS_CPU_NEVADA
1652 select CPU_SUPPORTS_32BIT_KERNEL
1653 select CPU_SUPPORTS_64BIT_KERNEL
1654 select CPU_SUPPORTS_HUGEPAGES
1655 select CPU_HAS_LOAD_STORE_LR
1657 QED / PMC-Sierra RM52xx-series ("Nevada") processors.
1661 depends on SYS_HAS_CPU_R10000
1662 select CPU_HAS_PREFETCH
1663 select CPU_HAS_LOAD_STORE_LR
1664 select CPU_SUPPORTS_32BIT_KERNEL
1665 select CPU_SUPPORTS_64BIT_KERNEL
1666 select CPU_SUPPORTS_HIGHMEM
1667 select CPU_SUPPORTS_HUGEPAGES
1669 MIPS Technologies R10000-series processors.
1673 depends on SYS_HAS_CPU_RM7000
1674 select CPU_HAS_PREFETCH
1675 select CPU_HAS_LOAD_STORE_LR
1676 select CPU_SUPPORTS_32BIT_KERNEL
1677 select CPU_SUPPORTS_64BIT_KERNEL
1678 select CPU_SUPPORTS_HIGHMEM
1679 select CPU_SUPPORTS_HUGEPAGES
1683 depends on SYS_HAS_CPU_SB1
1684 select CPU_HAS_LOAD_STORE_LR
1685 select CPU_SUPPORTS_32BIT_KERNEL
1686 select CPU_SUPPORTS_64BIT_KERNEL
1687 select CPU_SUPPORTS_HIGHMEM
1688 select CPU_SUPPORTS_HUGEPAGES
1689 select WEAK_ORDERING
1691 config CPU_CAVIUM_OCTEON
1692 bool "Cavium Octeon processor"
1693 depends on SYS_HAS_CPU_CAVIUM_OCTEON
1694 select CPU_HAS_PREFETCH
1695 select CPU_HAS_LOAD_STORE_LR
1696 select CPU_SUPPORTS_64BIT_KERNEL
1697 select WEAK_ORDERING
1698 select CPU_SUPPORTS_HIGHMEM
1699 select CPU_SUPPORTS_HUGEPAGES
1700 select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
1701 select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
1702 select MIPS_L1_CACHE_SHIFT_7
1705 The Cavium Octeon processor is a highly integrated chip containing
1706 many ethernet hardware widgets for networking tasks. The processor
1707 can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
1708 Full details can be found at http://www.caviumnetworks.com.
1711 bool "Broadcom BMIPS"
1712 depends on SYS_HAS_CPU_BMIPS
1714 select CPU_BMIPS32_3300 if SYS_HAS_CPU_BMIPS32_3300
1715 select CPU_BMIPS4350 if SYS_HAS_CPU_BMIPS4350
1716 select CPU_BMIPS4380 if SYS_HAS_CPU_BMIPS4380
1717 select CPU_BMIPS5000 if SYS_HAS_CPU_BMIPS5000
1718 select CPU_SUPPORTS_32BIT_KERNEL
1719 select DMA_NONCOHERENT
1721 select SWAP_IO_SPACE
1722 select WEAK_ORDERING
1723 select CPU_SUPPORTS_HIGHMEM
1724 select CPU_HAS_PREFETCH
1725 select CPU_HAS_LOAD_STORE_LR
1726 select CPU_SUPPORTS_CPUFREQ
1727 select MIPS_EXTERNAL_TIMER
1729 Support for BMIPS32/3300/4350/4380 and BMIPS5000 processors.
1732 bool "Netlogic XLR SoC"
1733 depends on SYS_HAS_CPU_XLR
1734 select CPU_HAS_LOAD_STORE_LR
1735 select CPU_SUPPORTS_32BIT_KERNEL
1736 select CPU_SUPPORTS_64BIT_KERNEL
1737 select CPU_SUPPORTS_HIGHMEM
1738 select CPU_SUPPORTS_HUGEPAGES
1739 select WEAK_ORDERING
1740 select WEAK_REORDERING_BEYOND_LLSC
1742 Netlogic Microsystems XLR/XLS processors.
1745 bool "Netlogic XLP SoC"
1746 depends on SYS_HAS_CPU_XLP
1747 select CPU_SUPPORTS_32BIT_KERNEL
1748 select CPU_SUPPORTS_64BIT_KERNEL
1749 select CPU_SUPPORTS_HIGHMEM
1750 select WEAK_ORDERING
1751 select WEAK_REORDERING_BEYOND_LLSC
1752 select CPU_HAS_PREFETCH
1753 select CPU_HAS_LOAD_STORE_LR
1755 select CPU_SUPPORTS_HUGEPAGES
1756 select MIPS_ASID_BITS_VARIABLE
1758 Netlogic Microsystems XLP processors.
1761 config CPU_MIPS32_3_5_FEATURES
1762 bool "MIPS32 Release 3.5 Features"
1763 depends on SYS_HAS_CPU_MIPS32_R3_5
1764 depends on CPU_MIPS32_R2 || CPU_MIPS32_R6
1766 Choose this option to build a kernel for release 2 or later of the
1767 MIPS32 architecture including features from the 3.5 release such as
1768 support for Enhanced Virtual Addressing (EVA).
1770 config CPU_MIPS32_3_5_EVA
1771 bool "Enhanced Virtual Addressing (EVA)"
1772 depends on CPU_MIPS32_3_5_FEATURES
1776 Choose this option if you want to enable the Enhanced Virtual
1777 Addressing (EVA) on your MIPS32 core (such as proAptiv).
1778 One of its primary benefits is an increase in the maximum size
1779 of lowmem (up to 3GB). If unsure, say 'N' here.
1781 config CPU_MIPS32_R5_FEATURES
1782 bool "MIPS32 Release 5 Features"
1783 depends on SYS_HAS_CPU_MIPS32_R5
1784 depends on CPU_MIPS32_R2
1786 Choose this option to build a kernel for release 2 or later of the
1787 MIPS32 architecture including features from release 5 such as
1788 support for Extended Physical Addressing (XPA).
1790 config CPU_MIPS32_R5_XPA
1791 bool "Extended Physical Addressing (XPA)"
1792 depends on CPU_MIPS32_R5_FEATURES
1794 depends on !PAGE_SIZE_4KB
1795 depends on SYS_SUPPORTS_HIGHMEM
1798 select PHYS_ADDR_T_64BIT
1801 Choose this option if you want to enable the Extended Physical
1802 Addressing (XPA) on your MIPS32 core (such as P5600 series). The
1803 benefit is to increase physical addressing equal to or greater
1804 than 40 bits. Note that this has the side effect of turning on
1805 64-bit addressing which in turn makes the PTEs 64-bit in size.
1806 If unsure, say 'N' here.
1809 config CPU_NOP_WORKAROUNDS
1812 config CPU_JUMP_WORKAROUNDS
1815 config CPU_LOONGSON2F_WORKAROUNDS
1816 bool "Loongson 2F Workarounds"
1818 select CPU_NOP_WORKAROUNDS
1819 select CPU_JUMP_WORKAROUNDS
1821 Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which
1822 require workarounds. Without workarounds the system may hang
1823 unexpectedly. For more information please refer to the gas
1824 -mfix-loongson2f-nop and -mfix-loongson2f-jump options.
1826 Loongson 2F03 and later have fixed these issues and no workarounds
1827 are needed. The workarounds have no significant side effect on them
1828 but may decrease the performance of the system so this option should
1829 be disabled unless the kernel is intended to be run on 2F01 or 2F02
1832 If unsure, please say Y.
1833 endif # CPU_LOONGSON2F
1835 config SYS_SUPPORTS_ZBOOT
1837 select HAVE_KERNEL_GZIP
1838 select HAVE_KERNEL_BZIP2
1839 select HAVE_KERNEL_LZ4
1840 select HAVE_KERNEL_LZMA
1841 select HAVE_KERNEL_LZO
1842 select HAVE_KERNEL_XZ
1844 config SYS_SUPPORTS_ZBOOT_UART16550
1846 select SYS_SUPPORTS_ZBOOT
1848 config SYS_SUPPORTS_ZBOOT_UART_PROM
1850 select SYS_SUPPORTS_ZBOOT
1852 config CPU_LOONGSON2
1854 select CPU_SUPPORTS_32BIT_KERNEL
1855 select CPU_SUPPORTS_64BIT_KERNEL
1856 select CPU_SUPPORTS_HIGHMEM
1857 select CPU_SUPPORTS_HUGEPAGES
1858 select ARCH_HAS_PHYS_TO_DMA
1859 select CPU_HAS_LOAD_STORE_LR
1861 config CPU_LOONGSON1
1865 select CPU_HAS_PREFETCH
1866 select CPU_HAS_LOAD_STORE_LR
1867 select CPU_SUPPORTS_32BIT_KERNEL
1868 select CPU_SUPPORTS_HIGHMEM
1869 select CPU_SUPPORTS_CPUFREQ
1871 config CPU_BMIPS32_3300
1872 select SMP_UP if SMP
1875 config CPU_BMIPS4350
1877 select SYS_SUPPORTS_SMP
1878 select SYS_SUPPORTS_HOTPLUG_CPU
1880 config CPU_BMIPS4380
1882 select MIPS_L1_CACHE_SHIFT_6
1883 select SYS_SUPPORTS_SMP
1884 select SYS_SUPPORTS_HOTPLUG_CPU
1887 config CPU_BMIPS5000
1889 select MIPS_CPU_SCACHE
1890 select MIPS_L1_CACHE_SHIFT_7
1891 select SYS_SUPPORTS_SMP
1892 select SYS_SUPPORTS_HOTPLUG_CPU
1895 config SYS_HAS_CPU_LOONGSON3
1897 select CPU_SUPPORTS_CPUFREQ
1900 config SYS_HAS_CPU_LOONGSON2E
1903 config SYS_HAS_CPU_LOONGSON2F
1905 select CPU_SUPPORTS_CPUFREQ
1906 select CPU_SUPPORTS_ADDRWINCFG if 64BIT
1907 select CPU_SUPPORTS_UNCACHED_ACCELERATED
1909 config SYS_HAS_CPU_LOONGSON1B
1912 config SYS_HAS_CPU_LOONGSON1C
1915 config SYS_HAS_CPU_MIPS32_R1
1918 config SYS_HAS_CPU_MIPS32_R2
1921 config SYS_HAS_CPU_MIPS32_R3_5
1924 config SYS_HAS_CPU_MIPS32_R5
1926 select ARCH_HAS_SYNC_DMA_FOR_CPU if DMA_NONCOHERENT
1928 config SYS_HAS_CPU_MIPS32_R6
1930 select ARCH_HAS_SYNC_DMA_FOR_CPU if DMA_NONCOHERENT
1932 config SYS_HAS_CPU_MIPS64_R1
1935 config SYS_HAS_CPU_MIPS64_R2
1938 config SYS_HAS_CPU_MIPS64_R6
1940 select ARCH_HAS_SYNC_DMA_FOR_CPU if DMA_NONCOHERENT
1942 config SYS_HAS_CPU_R3000
1945 config SYS_HAS_CPU_TX39XX
1948 config SYS_HAS_CPU_VR41XX
1951 config SYS_HAS_CPU_R4X00
1954 config SYS_HAS_CPU_TX49XX
1957 config SYS_HAS_CPU_R5000
1960 config SYS_HAS_CPU_R5500
1963 config SYS_HAS_CPU_NEVADA
1966 config SYS_HAS_CPU_R10000
1968 select ARCH_HAS_SYNC_DMA_FOR_CPU if DMA_NONCOHERENT
1970 config SYS_HAS_CPU_RM7000
1973 config SYS_HAS_CPU_SB1
1976 config SYS_HAS_CPU_CAVIUM_OCTEON
1979 config SYS_HAS_CPU_BMIPS
1982 config SYS_HAS_CPU_BMIPS32_3300
1984 select SYS_HAS_CPU_BMIPS
1986 config SYS_HAS_CPU_BMIPS4350
1988 select SYS_HAS_CPU_BMIPS
1990 config SYS_HAS_CPU_BMIPS4380
1992 select SYS_HAS_CPU_BMIPS
1994 config SYS_HAS_CPU_BMIPS5000
1996 select SYS_HAS_CPU_BMIPS
1997 select ARCH_HAS_SYNC_DMA_FOR_CPU
1999 config SYS_HAS_CPU_XLR
2002 config SYS_HAS_CPU_XLP
2006 # CPU may reorder R->R, R->W, W->R, W->W
2007 # Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
2009 config WEAK_ORDERING
2013 # CPU may reorder reads and writes beyond LL/SC
2014 # CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
2016 config WEAK_REORDERING_BEYOND_LLSC
2021 # These two indicate any level of the MIPS32 and MIPS64 architecture
2025 default y if CPU_MIPS32_R1 || CPU_MIPS32_R2 || CPU_MIPS32_R6
2029 default y if CPU_MIPS64_R1 || CPU_MIPS64_R2 || CPU_MIPS64_R6
2032 # These indicate the revision of the architecture
2036 default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
2040 default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
2046 default y if CPU_MIPS32_R6 || CPU_MIPS64_R6
2048 select HAVE_ARCH_BITREVERSE
2049 select MIPS_ASID_BITS_VARIABLE
2050 select MIPS_CRC_SUPPORT
2053 config TARGET_ISA_REV
2055 default 1 if CPU_MIPSR1
2056 default 2 if CPU_MIPSR2
2057 default 6 if CPU_MIPSR6
2060 Reflects the ISA revision being targeted by the kernel build. This
2061 is effectively the Kconfig equivalent of MIPS_ISA_REV.
2069 config SYS_SUPPORTS_32BIT_KERNEL
2071 config SYS_SUPPORTS_64BIT_KERNEL
2073 config CPU_SUPPORTS_32BIT_KERNEL
2075 config CPU_SUPPORTS_64BIT_KERNEL
2077 config CPU_SUPPORTS_CPUFREQ
2079 config CPU_SUPPORTS_ADDRWINCFG
2081 config CPU_SUPPORTS_HUGEPAGES
2083 depends on !(32BIT && (ARCH_PHYS_ADDR_T_64BIT || EVA))
2084 config CPU_SUPPORTS_UNCACHED_ACCELERATED
2086 config MIPS_PGD_C0_CONTEXT
2088 default y if 64BIT && (CPU_MIPSR2 || CPU_MIPSR6) && !CPU_XLP
2091 # Set to y for ptrace access to watch registers.
2093 config HARDWARE_WATCHPOINTS
2095 default y if CPU_MIPSR1 || CPU_MIPSR2 || CPU_MIPSR6
2100 prompt "Kernel code model"
2102 You should only select this option if you have a workload that
2103 actually benefits from 64-bit processing or if your machine has
2104 large memory. You will only be presented a single option in this
2105 menu if your system does not support both 32-bit and 64-bit kernels.
2108 bool "32-bit kernel"
2109 depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
2112 Select this option if you want to build a 32-bit kernel.
2115 bool "64-bit kernel"
2116 depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
2118 Select this option if you want to build a 64-bit kernel.
2123 bool "KVM Guest Kernel"
2124 depends on BROKEN_ON_SMP
2126 Select this option if building a guest kernel for KVM (Trap & Emulate)
2129 config KVM_GUEST_TIMER_FREQ
2130 int "Count/Compare Timer Frequency (MHz)"
2131 depends on KVM_GUEST
2134 Set this to non-zero if building a guest kernel for KVM to skip RTC
2135 emulation when determining guest CPU Frequency. Instead, the guest's
2136 timer frequency is specified directly.
2138 config MIPS_VA_BITS_48
2139 bool "48 bits virtual memory"
2142 Support a maximum at least 48 bits of application virtual
2143 memory. Default is 40 bits or less, depending on the CPU.
2144 For page sizes 16k and above, this option results in a small
2145 memory overhead for page tables. For 4k page size, a fourth
2146 level of page tables is added which imposes both a memory
2147 overhead as well as slower TLB fault handling.
2152 prompt "Kernel page size"
2153 default PAGE_SIZE_4KB
2155 config PAGE_SIZE_4KB
2157 depends on !CPU_LOONGSON2 && !CPU_LOONGSON3
2159 This option select the standard 4kB Linux page size. On some
2160 R3000-family processors this is the only available page size. Using
2161 4kB page size will minimize memory consumption and is therefore
2162 recommended for low memory systems.
2164 config PAGE_SIZE_8KB
2166 depends on CPU_CAVIUM_OCTEON
2167 depends on !MIPS_VA_BITS_48
2169 Using 8kB page size will result in higher performance kernel at
2170 the price of higher memory consumption. This option is available
2171 only on cnMIPS processors. Note that you will need a suitable Linux
2172 distribution to support this.
2174 config PAGE_SIZE_16KB
2176 depends on !CPU_R3000 && !CPU_TX39XX
2178 Using 16kB page size will result in higher performance kernel at
2179 the price of higher memory consumption. This option is available on
2180 all non-R3000 family processors. Note that you will need a suitable
2181 Linux distribution to support this.
2183 config PAGE_SIZE_32KB
2185 depends on CPU_CAVIUM_OCTEON
2186 depends on !MIPS_VA_BITS_48
2188 Using 32kB page size will result in higher performance kernel at
2189 the price of higher memory consumption. This option is available
2190 only on cnMIPS cores. Note that you will need a suitable Linux
2191 distribution to support this.
2193 config PAGE_SIZE_64KB
2195 depends on !CPU_R3000 && !CPU_TX39XX
2197 Using 64kB page size will result in higher performance kernel at
2198 the price of higher memory consumption. This option is available on
2199 all non-R3000 family processor. Not that at the time of this
2200 writing this option is still high experimental.
2204 config FORCE_MAX_ZONEORDER
2205 int "Maximum zone order"
2206 range 14 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB
2207 default "14" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB
2208 range 13 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB
2209 default "13" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB
2210 range 12 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB
2211 default "12" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB
2215 The kernel memory allocator divides physically contiguous memory
2216 blocks into "zones", where each zone is a power of two number of
2217 pages. This option selects the largest power of two that the kernel
2218 keeps in the memory allocator. If you need to allocate very large
2219 blocks of physically contiguous memory, then you may need to
2220 increase this value.
2222 This config option is actually maximum order plus one. For example,
2223 a value of 11 means that the largest free memory block is 2^10 pages.
2225 The page size is not necessarily 4KB. Keep this in mind
2226 when choosing a value for this option.
2231 config IP22_CPU_SCACHE
2236 # Support for a MIPS32 / MIPS64 style S-caches
2238 config MIPS_CPU_SCACHE
2242 config R5000_CPU_SCACHE
2246 config RM7000_CPU_SCACHE
2250 config SIBYTE_DMA_PAGEOPS
2251 bool "Use DMA to clear/copy pages"
2254 Instead of using the CPU to zero and copy pages, use a Data Mover
2255 channel. These DMA channels are otherwise unused by the standard
2256 SiByte Linux port. Seems to give a small performance benefit.
2258 config CPU_HAS_PREFETCH
2261 config CPU_GENERIC_DUMP_TLB
2263 default y if !(CPU_R3000 || CPU_TX39XX)
2265 config MIPS_FP_SUPPORT
2266 bool "Floating Point support" if EXPERT
2269 Select y to include support for floating point in the kernel
2270 including initialization of FPU hardware, FP context save & restore
2271 and emulation of an FPU where necessary. Without this support any
2272 userland program attempting to use floating point instructions will
2275 If you know that your userland will not attempt to use floating point
2276 instructions then you can say n here to shrink the kernel a little.
2280 config CPU_R2300_FPU
2282 depends on MIPS_FP_SUPPORT
2283 default y if CPU_R3000 || CPU_TX39XX
2290 depends on MIPS_FP_SUPPORT
2291 default y if !CPU_R2300_FPU
2293 config CPU_R4K_CACHE_TLB
2295 default y if !(CPU_R3K_TLB || CPU_SB1 || CPU_CAVIUM_OCTEON)
2298 bool "MIPS MT SMP support (1 TC on each available VPE)"
2300 depends on SYS_SUPPORTS_MULTITHREADING && !CPU_MIPSR6 && !CPU_MICROMIPS
2301 select CPU_MIPSR2_IRQ_VI
2302 select CPU_MIPSR2_IRQ_EI
2307 select SYS_SUPPORTS_SMP
2308 select SYS_SUPPORTS_SCHED_SMT
2309 select MIPS_PERF_SHARED_TC_COUNTERS
2311 This is a kernel model which is known as SMVP. This is supported
2312 on cores with the MT ASE and uses the available VPEs to implement
2313 virtual processors which supports SMP. This is equivalent to the
2314 Intel Hyperthreading feature. For further information go to
2315 <http://www.imgtec.com/mips/mips-multithreading.asp>.
2321 bool "SMT (multithreading) scheduler support"
2322 depends on SYS_SUPPORTS_SCHED_SMT
2325 SMT scheduler support improves the CPU scheduler's decision making
2326 when dealing with MIPS MT enabled cores at a cost of slightly
2327 increased overhead in some places. If unsure say N here.
2329 config SYS_SUPPORTS_SCHED_SMT
2332 config SYS_SUPPORTS_MULTITHREADING
2335 config MIPS_MT_FPAFF
2336 bool "Dynamic FPU affinity for FP-intensive threads"
2338 depends on MIPS_MT_SMP
2340 config MIPSR2_TO_R6_EMULATOR
2341 bool "MIPS R2-to-R6 emulator"
2342 depends on CPU_MIPSR6
2343 depends on MIPS_FP_SUPPORT
2346 Choose this option if you want to run non-R6 MIPS userland code.
2347 Even if you say 'Y' here, the emulator will still be disabled by
2348 default. You can enable it using the 'mipsr2emu' kernel option.
2349 The only reason this is a build-time option is to save ~14K from the
2352 config SYS_SUPPORTS_VPE_LOADER
2354 depends on SYS_SUPPORTS_MULTITHREADING
2356 Indicates that the platform supports the VPE loader, and provides
2359 config MIPS_VPE_LOADER
2360 bool "VPE loader support."
2361 depends on SYS_SUPPORTS_VPE_LOADER && MODULES
2362 select CPU_MIPSR2_IRQ_VI
2363 select CPU_MIPSR2_IRQ_EI
2366 Includes a loader for loading an elf relocatable object
2367 onto another VPE and running it.
2369 config MIPS_VPE_LOADER_CMP
2372 depends on MIPS_VPE_LOADER && MIPS_CMP
2374 config MIPS_VPE_LOADER_MT
2377 depends on MIPS_VPE_LOADER && !MIPS_CMP
2379 config MIPS_VPE_LOADER_TOM
2380 bool "Load VPE program into memory hidden from linux"
2381 depends on MIPS_VPE_LOADER
2384 The loader can use memory that is present but has been hidden from
2385 Linux using the kernel command line option "mem=xxMB". It's up to
2386 you to ensure the amount you put in the option and the space your
2387 program requires is less or equal to the amount physically present.
2389 config MIPS_VPE_APSP_API
2390 bool "Enable support for AP/SP API (RTLX)"
2391 depends on MIPS_VPE_LOADER
2393 config MIPS_VPE_APSP_API_CMP
2396 depends on MIPS_VPE_APSP_API && MIPS_CMP
2398 config MIPS_VPE_APSP_API_MT
2401 depends on MIPS_VPE_APSP_API && !MIPS_CMP
2404 bool "MIPS CMP framework support (DEPRECATED)"
2405 depends on SYS_SUPPORTS_MIPS_CMP && !CPU_MIPSR6
2408 select SYS_SUPPORTS_SMP
2409 select WEAK_ORDERING
2412 Select this if you are using a bootloader which implements the "CMP
2413 framework" protocol (ie. YAMON) and want your kernel to make use of
2414 its ability to start secondary CPUs.
2416 Unless you have a specific need, you should use CONFIG_MIPS_CPS
2420 bool "MIPS Coherent Processing System support"
2421 depends on SYS_SUPPORTS_MIPS_CPS
2423 select MIPS_CPS_PM if HOTPLUG_CPU
2425 select SYNC_R4K if (CEVT_R4K || CSRC_R4K)
2426 select SYS_SUPPORTS_HOTPLUG_CPU
2427 select SYS_SUPPORTS_SCHED_SMT if CPU_MIPSR6
2428 select SYS_SUPPORTS_SMP
2429 select WEAK_ORDERING
2431 Select this if you wish to run an SMP kernel across multiple cores
2432 within a MIPS Coherent Processing System. When this option is
2433 enabled the kernel will probe for other cores and boot them with
2434 no external assistance. It is safe to enable this when hardware
2435 support is unavailable.
2448 config SB1_PASS_2_WORKAROUNDS
2450 depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
2453 config SB1_PASS_2_1_WORKAROUNDS
2455 depends on CPU_SB1 && CPU_SB1_PASS_2
2459 prompt "SmartMIPS or microMIPS ASE support"
2461 config CPU_NEEDS_NO_SMARTMIPS_OR_MICROMIPS
2464 Select this if you want neither microMIPS nor SmartMIPS support
2466 config CPU_HAS_SMARTMIPS
2467 depends on SYS_SUPPORTS_SMARTMIPS
2470 SmartMIPS is a extension of the MIPS32 architecture aimed at
2471 increased security at both hardware and software level for
2472 smartcards. Enabling this option will allow proper use of the
2473 SmartMIPS instructions by Linux applications. However a kernel with
2474 this option will not work on a MIPS core without SmartMIPS core. If
2475 you don't know you probably don't have SmartMIPS and should say N
2478 config CPU_MICROMIPS
2479 depends on 32BIT && SYS_SUPPORTS_MICROMIPS && !CPU_MIPSR6
2482 When this option is enabled the kernel will be built using the
2488 bool "Support for the MIPS SIMD Architecture"
2489 depends on CPU_SUPPORTS_MSA
2490 depends on MIPS_FP_SUPPORT
2491 depends on 64BIT || MIPS_O32_FP64_SUPPORT
2493 MIPS SIMD Architecture (MSA) introduces 128 bit wide vector registers
2494 and a set of SIMD instructions to operate on them. When this option
2495 is enabled the kernel will support allocating & switching MSA
2496 vector register contexts. If you know that your kernel will only be
2497 running on CPUs which do not support MSA or that your userland will
2498 not be making use of it then you may wish to say N here to reduce
2499 the size & complexity of your kernel.
2512 config CPU_HAS_LOAD_STORE_LR
2515 CPU has support for unaligned load and store instructions:
2516 LWL, LWR, SWL, SWR (Load/store word left/right).
2517 LDL, LDR, SDL, SDR (Load/store doubleword left/right, for 64bit systems).
2520 # Vectored interrupt mode is an R2 feature
2522 config CPU_MIPSR2_IRQ_VI
2526 # Extended interrupt mode is an R2 feature
2528 config CPU_MIPSR2_IRQ_EI
2533 depends on !CPU_R3000
2539 config CPU_DADDI_WORKAROUNDS
2542 config CPU_R4000_WORKAROUNDS
2544 select CPU_R4400_WORKAROUNDS
2546 config CPU_R4400_WORKAROUNDS
2549 config MIPS_ASID_SHIFT
2551 default 6 if CPU_R3000 || CPU_TX39XX
2554 config MIPS_ASID_BITS
2556 default 0 if MIPS_ASID_BITS_VARIABLE
2557 default 6 if CPU_R3000 || CPU_TX39XX
2560 config MIPS_ASID_BITS_VARIABLE
2563 config MIPS_CRC_SUPPORT
2567 # - Highmem only makes sense for the 32-bit kernel.
2568 # - The current highmem code will only work properly on physically indexed
2569 # caches such as R3000, SB1, R7000 or those that look like they're virtually
2570 # indexed such as R4000/R4400 SC and MC versions or R10000. So for the
2571 # moment we protect the user and offer the highmem option only on machines
2572 # where it's known to be safe. This will not offer highmem on a few systems
2573 # such as MIPS32 and MIPS64 CPUs which may have virtual and physically
2574 # indexed CPUs but we're playing safe.
2575 # - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
2576 # know they might have memory configurations that could make use of highmem
2580 bool "High Memory Support"
2581 depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM && !CPU_MIPS32_3_5_EVA
2583 config CPU_SUPPORTS_HIGHMEM
2586 config SYS_SUPPORTS_HIGHMEM
2589 config SYS_SUPPORTS_SMARTMIPS
2592 config SYS_SUPPORTS_MICROMIPS
2595 config SYS_SUPPORTS_MIPS16
2598 This option must be set if a kernel might be executed on a MIPS16-
2599 enabled CPU even if MIPS16 is not actually being used. In other
2600 words, it makes the kernel MIPS16-tolerant.
2602 config CPU_SUPPORTS_MSA
2605 config ARCH_FLATMEM_ENABLE
2607 depends on !NUMA && !CPU_LOONGSON2
2609 config ARCH_DISCONTIGMEM_ENABLE
2611 default y if SGI_IP27
2613 Say Y to support efficient handling of discontiguous physical memory,
2614 for architectures which are either NUMA (Non-Uniform Memory Access)
2615 or have huge holes in the physical address space for other reasons.
2616 See <file:Documentation/vm/numa.rst> for more.
2618 config ARCH_SPARSEMEM_ENABLE
2620 select SPARSEMEM_STATIC
2624 depends on SYS_SUPPORTS_NUMA
2626 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
2627 Access). This option improves performance on systems with more
2628 than two nodes; on two node systems it is generally better to
2629 leave it disabled; on single node systems disable this option
2632 config SYS_SUPPORTS_NUMA
2636 bool "Relocatable kernel"
2637 depends on SYS_SUPPORTS_RELOCATABLE && (CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_MIPS32_R6 || CPU_MIPS64_R6 || CAVIUM_OCTEON_SOC)
2639 This builds a kernel image that retains relocation information
2640 so it can be loaded someplace besides the default 1MB.
2641 The relocations make the kernel binary about 15% larger,
2642 but are discarded at runtime
2644 config RELOCATION_TABLE_SIZE
2645 hex "Relocation table size"
2646 depends on RELOCATABLE
2647 range 0x0 0x01000000
2648 default "0x00100000"
2650 A table of relocation data will be appended to the kernel binary
2651 and parsed at boot to fix up the relocated kernel.
2653 This option allows the amount of space reserved for the table to be
2654 adjusted, although the default of 1Mb should be ok in most cases.
2656 The build will fail and a valid size suggested if this is too small.
2658 If unsure, leave at the default value.
2660 config RANDOMIZE_BASE
2661 bool "Randomize the address of the kernel image"
2662 depends on RELOCATABLE
2664 Randomizes the physical and virtual address at which the
2665 kernel image is loaded, as a security feature that
2666 deters exploit attempts relying on knowledge of the location
2667 of kernel internals.
2669 Entropy is generated using any coprocessor 0 registers available.
2671 The kernel will be offset by up to RANDOMIZE_BASE_MAX_OFFSET.
2675 config RANDOMIZE_BASE_MAX_OFFSET
2676 hex "Maximum kASLR offset" if EXPERT
2677 depends on RANDOMIZE_BASE
2678 range 0x0 0x40000000 if EVA || 64BIT
2679 range 0x0 0x08000000
2680 default "0x01000000"
2682 When kASLR is active, this provides the maximum offset that will
2683 be applied to the kernel image. It should be set according to the
2684 amount of physical RAM available in the target system minus
2685 PHYSICAL_START and must be a power of 2.
2687 This is limited by the size of KSEG0, 256Mb on 32-bit or 1Gb with
2688 EVA or 64-bit. The default is 16Mb.
2693 depends on NEED_MULTIPLE_NODES
2695 config HW_PERF_EVENTS
2696 bool "Enable hardware performance counter support for perf events"
2697 depends on PERF_EVENTS && !OPROFILE && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON || CPU_XLP || CPU_LOONGSON3)
2700 Enable hardware performance counter support for perf events. If
2701 disabled, perf events will use software events only.
2704 bool "Multi-Processing support"
2705 depends on SYS_SUPPORTS_SMP
2707 This enables support for systems with more than one CPU. If you have
2708 a system with only one CPU, say N. If you have a system with more
2709 than one CPU, say Y.
2711 If you say N here, the kernel will run on uni- and multiprocessor
2712 machines, but will use only one CPU of a multiprocessor machine. If
2713 you say Y here, the kernel will run on many, but not all,
2714 uniprocessor machines. On a uniprocessor machine, the kernel
2715 will run faster if you say N here.
2717 People using multiprocessor machines who say Y here should also say
2718 Y to "Enhanced Real Time Clock Support", below.
2720 See also the SMP-HOWTO available at
2721 <http://www.tldp.org/docs.html#howto>.
2723 If you don't know what to do here, say N.
2726 bool "Support for hot-pluggable CPUs"
2727 depends on SMP && SYS_SUPPORTS_HOTPLUG_CPU
2729 Say Y here to allow turning CPUs off and on. CPUs can be
2730 controlled through /sys/devices/system/cpu.
2731 (Note: power management support will enable this option
2732 automatically on SMP systems. )
2733 Say N if you want to disable CPU hotplug.
2738 config SYS_SUPPORTS_MIPS_CMP
2741 config SYS_SUPPORTS_MIPS_CPS
2744 config SYS_SUPPORTS_SMP
2747 config NR_CPUS_DEFAULT_4
2750 config NR_CPUS_DEFAULT_8
2753 config NR_CPUS_DEFAULT_16
2756 config NR_CPUS_DEFAULT_32
2759 config NR_CPUS_DEFAULT_64
2763 int "Maximum number of CPUs (2-256)"
2766 default "4" if NR_CPUS_DEFAULT_4
2767 default "8" if NR_CPUS_DEFAULT_8
2768 default "16" if NR_CPUS_DEFAULT_16
2769 default "32" if NR_CPUS_DEFAULT_32
2770 default "64" if NR_CPUS_DEFAULT_64
2772 This allows you to specify the maximum number of CPUs which this
2773 kernel will support. The maximum supported value is 32 for 32-bit
2774 kernel and 64 for 64-bit kernels; the minimum value which makes
2775 sense is 1 for Qemu (useful only for kernel debugging purposes)
2776 and 2 for all others.
2778 This is purely to save memory - each supported CPU adds
2779 approximately eight kilobytes to the kernel image. For best
2780 performance should round up your number of processors to the next
2783 config MIPS_PERF_SHARED_TC_COUNTERS
2786 config MIPS_NR_CPU_NR_MAP_1024
2789 config MIPS_NR_CPU_NR_MAP
2792 default 1024 if MIPS_NR_CPU_NR_MAP_1024
2793 default NR_CPUS if !MIPS_NR_CPU_NR_MAP_1024
2796 # Timer Interrupt Frequency Configuration
2800 prompt "Timer frequency"
2803 Allows the configuration of the timer frequency.
2806 bool "24 HZ" if SYS_SUPPORTS_24HZ || SYS_SUPPORTS_ARBIT_HZ
2809 bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
2812 bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
2815 bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
2818 bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
2821 bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
2824 bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
2827 bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
2831 config SYS_SUPPORTS_24HZ
2834 config SYS_SUPPORTS_48HZ
2837 config SYS_SUPPORTS_100HZ
2840 config SYS_SUPPORTS_128HZ
2843 config SYS_SUPPORTS_250HZ
2846 config SYS_SUPPORTS_256HZ
2849 config SYS_SUPPORTS_1000HZ
2852 config SYS_SUPPORTS_1024HZ
2855 config SYS_SUPPORTS_ARBIT_HZ
2857 default y if !SYS_SUPPORTS_24HZ && \
2858 !SYS_SUPPORTS_48HZ && \
2859 !SYS_SUPPORTS_100HZ && \
2860 !SYS_SUPPORTS_128HZ && \
2861 !SYS_SUPPORTS_250HZ && \
2862 !SYS_SUPPORTS_256HZ && \
2863 !SYS_SUPPORTS_1000HZ && \
2864 !SYS_SUPPORTS_1024HZ
2870 default 100 if HZ_100
2871 default 128 if HZ_128
2872 default 250 if HZ_250
2873 default 256 if HZ_256
2874 default 1000 if HZ_1000
2875 default 1024 if HZ_1024
2878 def_bool HIGH_RES_TIMERS
2881 bool "Kexec system call"
2884 kexec is a system call that implements the ability to shutdown your
2885 current kernel, and to start another kernel. It is like a reboot
2886 but it is independent of the system firmware. And like a reboot
2887 you can start any kernel with it, not just Linux.
2889 The name comes from the similarity to the exec system call.
2891 It is an ongoing process to be certain the hardware in a machine
2892 is properly shutdown, so do not be surprised if this code does not
2893 initially work for you. As of this writing the exact hardware
2894 interface is strongly in flux, so no good recommendation can be
2898 bool "Kernel crash dumps"
2900 Generate crash dump after being started by kexec.
2901 This should be normally only set in special crash dump kernels
2902 which are loaded in the main kernel with kexec-tools into
2903 a specially reserved region and then later executed after
2904 a crash by kdump/kexec. The crash dump kernel must be compiled
2905 to a memory address not used by the main kernel or firmware using
2908 config PHYSICAL_START
2909 hex "Physical address where the kernel is loaded"
2910 default "0xffffffff84000000"
2911 depends on CRASH_DUMP
2913 This gives the CKSEG0 or KSEG0 address where the kernel is loaded.
2914 If you plan to use kernel for capturing the crash dump change
2915 this value to start of the reserved region (the "X" value as
2916 specified in the "crashkernel=YM@XM" command line boot parameter
2917 passed to the panic-ed kernel).
2920 bool "Enable seccomp to safely compute untrusted bytecode"
2924 This kernel feature is useful for number crunching applications
2925 that may need to compute untrusted bytecode during their
2926 execution. By using pipes or other transports made available to
2927 the process as file descriptors supporting the read/write
2928 syscalls, it's possible to isolate those applications in
2929 their own address space using seccomp. Once seccomp is
2930 enabled via /proc/<pid>/seccomp, it cannot be disabled
2931 and the task is only allowed to execute a few safe syscalls
2932 defined by each seccomp mode.
2934 If unsure, say Y. Only embedded should say N here.
2936 config MIPS_O32_FP64_SUPPORT
2937 bool "Support for O32 binaries using 64-bit FP" if !CPU_MIPSR6
2938 depends on 32BIT || MIPS32_O32
2940 When this is enabled, the kernel will support use of 64-bit floating
2941 point registers with binaries using the O32 ABI along with the
2942 EF_MIPS_FP64 ELF header flag (typically built with -mfp64). On
2943 32-bit MIPS systems this support is at the cost of increasing the
2944 size and complexity of the compiled FPU emulator. Thus if you are
2945 running a MIPS32 system and know that none of your userland binaries
2946 will require 64-bit floating point, you may wish to reduce the size
2947 of your kernel & potentially improve FP emulation performance by
2950 Although binutils currently supports use of this flag the details
2951 concerning its effect upon the O32 ABI in userland are still being
2952 worked on. In order to avoid userland becoming dependant upon current
2953 behaviour before the details have been finalised, this option should
2954 be considered experimental and only enabled by those working upon
2962 select OF_EARLY_FLATTREE
2972 prompt "Kernel appended dtb support" if USE_OF
2973 default MIPS_NO_APPENDED_DTB
2975 config MIPS_NO_APPENDED_DTB
2978 Do not enable appended dtb support.
2980 config MIPS_ELF_APPENDED_DTB
2983 With this option, the boot code will look for a device tree binary
2984 DTB) included in the vmlinux ELF section .appended_dtb. By default
2985 it is empty and the DTB can be appended using binutils command
2988 objcopy --update-section .appended_dtb=<filename>.dtb vmlinux
2990 This is meant as a backward compatiblity convenience for those
2991 systems with a bootloader that can't be upgraded to accommodate
2992 the documented boot protocol using a device tree.
2994 config MIPS_RAW_APPENDED_DTB
2995 bool "vmlinux.bin or vmlinuz.bin"
2997 With this option, the boot code will look for a device tree binary
2998 DTB) appended to raw vmlinux.bin or vmlinuz.bin.
2999 (e.g. cat vmlinux.bin <filename>.dtb > vmlinux_w_dtb).
3001 This is meant as a backward compatibility convenience for those
3002 systems with a bootloader that can't be upgraded to accommodate
3003 the documented boot protocol using a device tree.
3005 Beware that there is very little in terms of protection against
3006 this option being confused by leftover garbage in memory that might
3007 look like a DTB header after a reboot if no actual DTB is appended
3008 to vmlinux.bin. Do not leave this option active in a production kernel
3009 if you don't intend to always append a DTB.
3013 prompt "Kernel command line type" if !CMDLINE_OVERRIDE
3014 default MIPS_CMDLINE_FROM_DTB if USE_OF && !ATH79 && !MACH_INGENIC && \
3017 default MIPS_CMDLINE_FROM_BOOTLOADER
3019 config MIPS_CMDLINE_FROM_DTB
3021 bool "Dtb kernel arguments if available"
3023 config MIPS_CMDLINE_DTB_EXTEND
3025 bool "Extend dtb kernel arguments with bootloader arguments"
3027 config MIPS_CMDLINE_FROM_BOOTLOADER
3028 bool "Bootloader kernel arguments if available"
3030 config MIPS_CMDLINE_BUILTIN_EXTEND
3031 depends on CMDLINE_BOOL
3032 bool "Extend builtin kernel arguments with bootloader arguments"
3037 config LOCKDEP_SUPPORT
3041 config STACKTRACE_SUPPORT
3045 config PGTABLE_LEVELS
3047 default 4 if PAGE_SIZE_4KB && MIPS_VA_BITS_48
3048 default 3 if 64BIT && !PAGE_SIZE_64KB
3051 config MIPS_AUTO_PFN_OFFSET
3054 menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
3056 config PCI_DRIVERS_GENERIC
3057 select PCI_DOMAINS_GENERIC if PCI
3060 config PCI_DRIVERS_LEGACY
3061 def_bool !PCI_DRIVERS_GENERIC
3062 select NO_GENERIC_PCI_IOPORT_MAP
3063 select PCI_DOMAINS if PCI
3066 # ISA support is now enabled via select. Too many systems still have the one
3067 # or other ISA chip on the board that users don't know about so don't expect
3068 # users to choose the right thing ...
3074 bool "TURBOchannel support"
3075 depends on MACH_DECSTATION
3077 TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
3078 processors. TURBOchannel programming specifications are available
3080 <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/>
3082 <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/>
3083 Linux driver support status is documented at:
3084 <http://www.linux-mips.org/wiki/DECstation>
3090 config ARCH_MMAP_RND_BITS_MIN
3094 config ARCH_MMAP_RND_BITS_MAX
3098 config ARCH_MMAP_RND_COMPAT_BITS_MIN
3101 config ARCH_MMAP_RND_COMPAT_BITS_MAX
3108 select MIPS_EXTERNAL_TIMER
3121 config MIPS32_COMPAT
3127 config SYSVIPC_COMPAT
3131 bool "Kernel support for o32 binaries"
3133 select ARCH_WANT_OLD_COMPAT_IPC
3135 select MIPS32_COMPAT
3136 select SYSVIPC_COMPAT if SYSVIPC
3138 Select this option if you want to run o32 binaries. These are pure
3139 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
3140 existing binaries are in this format.
3145 bool "Kernel support for n32 binaries"
3147 select ARCH_WANT_COMPAT_IPC_PARSE_VERSION
3149 select MIPS32_COMPAT
3150 select SYSVIPC_COMPAT if SYSVIPC
3152 Select this option if you want to run n32 binaries. These are
3153 64-bit binaries using 32-bit quantities for addressing and certain
3154 data that would normally be 64-bit. They are used in special
3161 default y if MIPS32_O32 || MIPS32_N32
3164 menu "Power management options"
3166 config ARCH_HIBERNATION_POSSIBLE
3168 depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
3170 config ARCH_SUSPEND_POSSIBLE
3172 depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
3174 source "kernel/power/Kconfig"
3178 config MIPS_EXTERNAL_TIMER
3181 menu "CPU Power Management"
3183 if CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER
3184 source "drivers/cpufreq/Kconfig"
3187 source "drivers/cpuidle/Kconfig"
3191 source "drivers/firmware/Kconfig"
3193 source "arch/mips/kvm/Kconfig"