1# SPDX-License-Identifier: GPL-2.0 2config MIPS 3 bool 4 default y 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_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST 9 select ARCH_HAS_UBSAN_SANITIZE_ALL 10 select ARCH_HAS_FORTIFY_SOURCE 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_DEFAULT_TOPDOWN_MMAP_LAYOUT if MMU 17 select ARCH_WANT_IPC_PARSE_VERSION 18 select BUILDTIME_EXTABLE_SORT 19 select CLONE_BACKWARDS 20 select CPU_NO_EFFICIENT_FFS if (TARGET_ISA_REV < 1) 21 select CPU_PM if CPU_IDLE 22 select GENERIC_ATOMIC64 if !64BIT 23 select GENERIC_CLOCKEVENTS 24 select GENERIC_CMOS_UPDATE 25 select GENERIC_CPU_AUTOPROBE 26 select GENERIC_GETTIMEOFDAY 27 select GENERIC_IOMAP 28 select GENERIC_IRQ_PROBE 29 select GENERIC_IRQ_SHOW 30 select GENERIC_ISA_DMA if EISA 31 select GENERIC_LIB_ASHLDI3 32 select GENERIC_LIB_ASHRDI3 33 select GENERIC_LIB_CMPDI2 34 select GENERIC_LIB_LSHRDI3 35 select GENERIC_LIB_UCMPDI2 36 select GENERIC_SCHED_CLOCK if !CAVIUM_OCTEON_SOC 37 select GENERIC_SMP_IDLE_THREAD 38 select GENERIC_TIME_VSYSCALL 39 select GUP_GET_PTE_LOW_HIGH if CPU_MIPS32 && PHYS_ADDR_T_64BIT 40 select HANDLE_DOMAIN_IRQ 41 select HAVE_ARCH_COMPILER_H 42 select HAVE_ARCH_JUMP_LABEL 43 select HAVE_ARCH_KGDB 44 select HAVE_ARCH_MMAP_RND_BITS if MMU 45 select HAVE_ARCH_MMAP_RND_COMPAT_BITS if MMU && COMPAT 46 select HAVE_ARCH_SECCOMP_FILTER 47 select HAVE_ARCH_TRACEHOOK 48 select HAVE_ARCH_TRANSPARENT_HUGEPAGE if CPU_SUPPORTS_HUGEPAGES 49 select HAVE_ASM_MODVERSIONS 50 select HAVE_EBPF_JIT if (!CPU_MICROMIPS) 51 select HAVE_CONTEXT_TRACKING 52 select HAVE_COPY_THREAD_TLS 53 select HAVE_C_RECORDMCOUNT 54 select HAVE_DEBUG_KMEMLEAK 55 select HAVE_DEBUG_STACKOVERFLOW 56 select HAVE_DMA_CONTIGUOUS 57 select HAVE_DYNAMIC_FTRACE 58 select HAVE_EXIT_THREAD 59 select HAVE_FAST_GUP 60 select HAVE_FTRACE_MCOUNT_RECORD 61 select HAVE_FUNCTION_GRAPH_TRACER 62 select HAVE_FUNCTION_TRACER 63 select HAVE_IDE 64 select HAVE_IOREMAP_PROT 65 select HAVE_IRQ_EXIT_ON_IRQ_STACK 66 select HAVE_IRQ_TIME_ACCOUNTING 67 select HAVE_KPROBES 68 select HAVE_KRETPROBES 69 select HAVE_LD_DEAD_CODE_DATA_ELIMINATION 70 select HAVE_MEMBLOCK_NODE_MAP 71 select HAVE_MOD_ARCH_SPECIFIC 72 select HAVE_NMI 73 select HAVE_OPROFILE 74 select HAVE_PERF_EVENTS 75 select HAVE_REGS_AND_STACK_ACCESS_API 76 select HAVE_RSEQ 77 select HAVE_STACKPROTECTOR 78 select HAVE_SYSCALL_TRACEPOINTS 79 select HAVE_VIRT_CPU_ACCOUNTING_GEN if 64BIT || !SMP 80 select HAVE_GENERIC_VDSO 81 select IRQ_FORCED_THREADING 82 select ISA if EISA 83 select MODULES_USE_ELF_RELA if MODULES && 64BIT 84 select MODULES_USE_ELF_REL if MODULES 85 select PERF_USE_VMALLOC 86 select RTC_LIB 87 select SYSCTL_EXCEPTION_TRACE 88 select VIRT_TO_BUS 89 select ARCH_HAS_PTE_SPECIAL if !(32BIT && CPU_HAS_RIXI) 90 91menu "Machine selection" 92 93choice 94 prompt "System type" 95 default MIPS_GENERIC 96 97config MIPS_GENERIC 98 bool "Generic board-agnostic MIPS kernel" 99 select BOOT_RAW 100 select BUILTIN_DTB 101 select CEVT_R4K 102 select CLKSRC_MIPS_GIC 103 select COMMON_CLK 104 select CPU_MIPSR2_IRQ_VI 105 select CPU_MIPSR2_IRQ_EI 106 select CSRC_R4K 107 select DMA_PERDEV_COHERENT 108 select HAVE_PCI 109 select IRQ_MIPS_CPU 110 select LIBFDT 111 select MIPS_AUTO_PFN_OFFSET 112 select MIPS_CPU_SCACHE 113 select MIPS_GIC 114 select MIPS_L1_CACHE_SHIFT_7 115 select NO_EXCEPT_FILL 116 select PCI_DRIVERS_GENERIC 117 select PINCTRL 118 select SMP_UP if SMP 119 select SWAP_IO_SPACE 120 select SYS_HAS_CPU_MIPS32_R1 121 select SYS_HAS_CPU_MIPS32_R2 122 select SYS_HAS_CPU_MIPS32_R6 123 select SYS_HAS_CPU_MIPS64_R1 124 select SYS_HAS_CPU_MIPS64_R2 125 select SYS_HAS_CPU_MIPS64_R6 126 select SYS_SUPPORTS_32BIT_KERNEL 127 select SYS_SUPPORTS_64BIT_KERNEL 128 select SYS_SUPPORTS_BIG_ENDIAN 129 select SYS_SUPPORTS_HIGHMEM 130 select SYS_SUPPORTS_LITTLE_ENDIAN 131 select SYS_SUPPORTS_MICROMIPS 132 select SYS_SUPPORTS_MIPS_CPS 133 select SYS_SUPPORTS_MIPS16 134 select SYS_SUPPORTS_MULTITHREADING 135 select SYS_SUPPORTS_RELOCATABLE 136 select SYS_SUPPORTS_SMARTMIPS 137 select USB_EHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN 138 select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 139 select USB_OHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN 140 select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 141 select USB_UHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN 142 select USB_UHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 143 select USE_OF 144 select UHI_BOOT 145 help 146 Select this to build a kernel which aims to support multiple boards, 147 generally using a flattened device tree passed from the bootloader 148 using the boot protocol defined in the UHI (Unified Hosting 149 Interface) specification. 150 151config MIPS_ALCHEMY 152 bool "Alchemy processor based machines" 153 select PHYS_ADDR_T_64BIT 154 select CEVT_R4K 155 select CSRC_R4K 156 select IRQ_MIPS_CPU 157 select DMA_MAYBE_COHERENT # Au1000,1500,1100 aren't, rest is 158 select SYS_HAS_CPU_MIPS32_R1 159 select SYS_SUPPORTS_32BIT_KERNEL 160 select SYS_SUPPORTS_APM_EMULATION 161 select GPIOLIB 162 select SYS_SUPPORTS_ZBOOT 163 select COMMON_CLK 164 165config AR7 166 bool "Texas Instruments AR7" 167 select BOOT_ELF32 168 select DMA_NONCOHERENT 169 select CEVT_R4K 170 select CSRC_R4K 171 select IRQ_MIPS_CPU 172 select NO_EXCEPT_FILL 173 select SWAP_IO_SPACE 174 select SYS_HAS_CPU_MIPS32_R1 175 select SYS_HAS_EARLY_PRINTK 176 select SYS_SUPPORTS_32BIT_KERNEL 177 select SYS_SUPPORTS_LITTLE_ENDIAN 178 select SYS_SUPPORTS_MIPS16 179 select SYS_SUPPORTS_ZBOOT_UART16550 180 select GPIOLIB 181 select VLYNQ 182 select HAVE_CLK 183 help 184 Support for the Texas Instruments AR7 System-on-a-Chip 185 family: TNETD7100, 7200 and 7300. 186 187config ATH25 188 bool "Atheros AR231x/AR531x SoC support" 189 select CEVT_R4K 190 select CSRC_R4K 191 select DMA_NONCOHERENT 192 select IRQ_MIPS_CPU 193 select IRQ_DOMAIN 194 select SYS_HAS_CPU_MIPS32_R1 195 select SYS_SUPPORTS_BIG_ENDIAN 196 select SYS_SUPPORTS_32BIT_KERNEL 197 select SYS_HAS_EARLY_PRINTK 198 help 199 Support for Atheros AR231x and Atheros AR531x based boards 200 201config ATH79 202 bool "Atheros AR71XX/AR724X/AR913X based boards" 203 select ARCH_HAS_RESET_CONTROLLER 204 select BOOT_RAW 205 select CEVT_R4K 206 select CSRC_R4K 207 select DMA_NONCOHERENT 208 select GPIOLIB 209 select PINCTRL 210 select HAVE_CLK 211 select COMMON_CLK 212 select CLKDEV_LOOKUP 213 select IRQ_MIPS_CPU 214 select SYS_HAS_CPU_MIPS32_R2 215 select SYS_HAS_EARLY_PRINTK 216 select SYS_SUPPORTS_32BIT_KERNEL 217 select SYS_SUPPORTS_BIG_ENDIAN 218 select SYS_SUPPORTS_MIPS16 219 select SYS_SUPPORTS_ZBOOT_UART_PROM 220 select USE_OF 221 select USB_EHCI_ROOT_HUB_TT if USB_EHCI_HCD_PLATFORM 222 help 223 Support for the Atheros AR71XX/AR724X/AR913X SoCs. 224 225config BMIPS_GENERIC 226 bool "Broadcom Generic BMIPS kernel" 227 select ARCH_HAS_SYNC_DMA_FOR_CPU_ALL 228 select ARCH_HAS_PHYS_TO_DMA 229 select BOOT_RAW 230 select NO_EXCEPT_FILL 231 select USE_OF 232 select CEVT_R4K 233 select CSRC_R4K 234 select SYNC_R4K 235 select COMMON_CLK 236 select BCM6345_L1_IRQ 237 select BCM7038_L1_IRQ 238 select BCM7120_L2_IRQ 239 select BRCMSTB_L2_IRQ 240 select IRQ_MIPS_CPU 241 select DMA_NONCOHERENT 242 select SYS_SUPPORTS_32BIT_KERNEL 243 select SYS_SUPPORTS_LITTLE_ENDIAN 244 select SYS_SUPPORTS_BIG_ENDIAN 245 select SYS_SUPPORTS_HIGHMEM 246 select SYS_HAS_CPU_BMIPS32_3300 247 select SYS_HAS_CPU_BMIPS4350 248 select SYS_HAS_CPU_BMIPS4380 249 select SYS_HAS_CPU_BMIPS5000 250 select SWAP_IO_SPACE 251 select USB_EHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN 252 select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 253 select USB_OHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN 254 select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 255 select HARDIRQS_SW_RESEND 256 help 257 Build a generic DT-based kernel image that boots on select 258 BCM33xx cable modem chips, BCM63xx DSL chips, and BCM7xxx set-top 259 box chips. Note that CONFIG_CPU_BIG_ENDIAN/CONFIG_CPU_LITTLE_ENDIAN 260 must be set appropriately for your board. 261 262config BCM47XX 263 bool "Broadcom BCM47XX based boards" 264 select BOOT_RAW 265 select CEVT_R4K 266 select CSRC_R4K 267 select DMA_NONCOHERENT 268 select HAVE_PCI 269 select IRQ_MIPS_CPU 270 select SYS_HAS_CPU_MIPS32_R1 271 select NO_EXCEPT_FILL 272 select SYS_SUPPORTS_32BIT_KERNEL 273 select SYS_SUPPORTS_LITTLE_ENDIAN 274 select SYS_SUPPORTS_MIPS16 275 select SYS_SUPPORTS_ZBOOT 276 select SYS_HAS_EARLY_PRINTK 277 select USE_GENERIC_EARLY_PRINTK_8250 278 select GPIOLIB 279 select LEDS_GPIO_REGISTER 280 select BCM47XX_NVRAM 281 select BCM47XX_SPROM 282 select BCM47XX_SSB if !BCM47XX_BCMA 283 help 284 Support for BCM47XX based boards 285 286config BCM63XX 287 bool "Broadcom BCM63XX based boards" 288 select BOOT_RAW 289 select CEVT_R4K 290 select CSRC_R4K 291 select SYNC_R4K 292 select DMA_NONCOHERENT 293 select IRQ_MIPS_CPU 294 select SYS_SUPPORTS_32BIT_KERNEL 295 select SYS_SUPPORTS_BIG_ENDIAN 296 select SYS_HAS_EARLY_PRINTK 297 select SWAP_IO_SPACE 298 select GPIOLIB 299 select HAVE_CLK 300 select MIPS_L1_CACHE_SHIFT_4 301 select CLKDEV_LOOKUP 302 help 303 Support for BCM63XX based boards 304 305config MIPS_COBALT 306 bool "Cobalt Server" 307 select CEVT_R4K 308 select CSRC_R4K 309 select CEVT_GT641XX 310 select DMA_NONCOHERENT 311 select FORCE_PCI 312 select I8253 313 select I8259 314 select IRQ_MIPS_CPU 315 select IRQ_GT641XX 316 select PCI_GT64XXX_PCI0 317 select SYS_HAS_CPU_NEVADA 318 select SYS_HAS_EARLY_PRINTK 319 select SYS_SUPPORTS_32BIT_KERNEL 320 select SYS_SUPPORTS_64BIT_KERNEL 321 select SYS_SUPPORTS_LITTLE_ENDIAN 322 select USE_GENERIC_EARLY_PRINTK_8250 323 324config MACH_DECSTATION 325 bool "DECstations" 326 select BOOT_ELF32 327 select CEVT_DS1287 328 select CEVT_R4K if CPU_R4X00 329 select CSRC_IOASIC 330 select CSRC_R4K if CPU_R4X00 331 select CPU_DADDI_WORKAROUNDS if 64BIT 332 select CPU_R4000_WORKAROUNDS if 64BIT 333 select CPU_R4400_WORKAROUNDS if 64BIT 334 select DMA_NONCOHERENT 335 select NO_IOPORT_MAP 336 select IRQ_MIPS_CPU 337 select SYS_HAS_CPU_R3000 338 select SYS_HAS_CPU_R4X00 339 select SYS_SUPPORTS_32BIT_KERNEL 340 select SYS_SUPPORTS_64BIT_KERNEL 341 select SYS_SUPPORTS_LITTLE_ENDIAN 342 select SYS_SUPPORTS_128HZ 343 select SYS_SUPPORTS_256HZ 344 select SYS_SUPPORTS_1024HZ 345 select MIPS_L1_CACHE_SHIFT_4 346 help 347 This enables support for DEC's MIPS based workstations. For details 348 see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the 349 DECstation porting pages on <http://decstation.unix-ag.org/>. 350 351 If you have one of the following DECstation Models you definitely 352 want to choose R4xx0 for the CPU Type: 353 354 DECstation 5000/50 355 DECstation 5000/150 356 DECstation 5000/260 357 DECsystem 5900/260 358 359 otherwise choose R3000. 360 361config MACH_JAZZ 362 bool "Jazz family of machines" 363 select ARC_MEMORY 364 select ARC_PROMLIB 365 select ARCH_MIGHT_HAVE_PC_PARPORT 366 select ARCH_MIGHT_HAVE_PC_SERIO 367 select FW_ARC 368 select FW_ARC32 369 select ARCH_MAY_HAVE_PC_FDC 370 select CEVT_R4K 371 select CSRC_R4K 372 select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN 373 select GENERIC_ISA_DMA 374 select HAVE_PCSPKR_PLATFORM 375 select IRQ_MIPS_CPU 376 select I8253 377 select I8259 378 select ISA 379 select SYS_HAS_CPU_R4X00 380 select SYS_SUPPORTS_32BIT_KERNEL 381 select SYS_SUPPORTS_64BIT_KERNEL 382 select SYS_SUPPORTS_100HZ 383 help 384 This a family of machines based on the MIPS R4030 chipset which was 385 used by several vendors to build RISC/os and Windows NT workstations. 386 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and 387 Olivetti M700-10 workstations. 388 389config MACH_INGENIC 390 bool "Ingenic SoC based machines" 391 select SYS_SUPPORTS_32BIT_KERNEL 392 select SYS_SUPPORTS_LITTLE_ENDIAN 393 select SYS_SUPPORTS_ZBOOT_UART16550 394 select CPU_SUPPORTS_HUGEPAGES 395 select DMA_NONCOHERENT 396 select IRQ_MIPS_CPU 397 select PINCTRL 398 select GPIOLIB 399 select COMMON_CLK 400 select GENERIC_IRQ_CHIP 401 select BUILTIN_DTB if MIPS_NO_APPENDED_DTB 402 select USE_OF 403 select LIBFDT 404 405config LANTIQ 406 bool "Lantiq based platforms" 407 select DMA_NONCOHERENT 408 select IRQ_MIPS_CPU 409 select CEVT_R4K 410 select CSRC_R4K 411 select SYS_HAS_CPU_MIPS32_R1 412 select SYS_HAS_CPU_MIPS32_R2 413 select SYS_SUPPORTS_BIG_ENDIAN 414 select SYS_SUPPORTS_32BIT_KERNEL 415 select SYS_SUPPORTS_MIPS16 416 select SYS_SUPPORTS_MULTITHREADING 417 select SYS_SUPPORTS_VPE_LOADER 418 select SYS_HAS_EARLY_PRINTK 419 select GPIOLIB 420 select SWAP_IO_SPACE 421 select BOOT_RAW 422 select CLKDEV_LOOKUP 423 select USE_OF 424 select PINCTRL 425 select PINCTRL_LANTIQ 426 select ARCH_HAS_RESET_CONTROLLER 427 select RESET_CONTROLLER 428 429config LASAT 430 bool "LASAT Networks platforms" 431 select CEVT_R4K 432 select CRC32 433 select CSRC_R4K 434 select DMA_NONCOHERENT 435 select SYS_HAS_EARLY_PRINTK 436 select HAVE_PCI 437 select IRQ_MIPS_CPU 438 select PCI_GT64XXX_PCI0 439 select MIPS_NILE4 440 select R5000_CPU_SCACHE 441 select SYS_HAS_CPU_R5000 442 select SYS_SUPPORTS_32BIT_KERNEL 443 select SYS_SUPPORTS_64BIT_KERNEL if BROKEN 444 select SYS_SUPPORTS_LITTLE_ENDIAN 445 446config MACH_LOONGSON32 447 bool "Loongson-1 family of machines" 448 select SYS_SUPPORTS_ZBOOT 449 help 450 This enables support for the Loongson-1 family of machines. 451 452 Loongson-1 is a family of 32-bit MIPS-compatible SoCs developed by 453 the Institute of Computing Technology (ICT), Chinese Academy of 454 Sciences (CAS). 455 456config MACH_LOONGSON2EF 457 bool "Loongson-2E/F family of machines" 458 select SYS_SUPPORTS_ZBOOT 459 help 460 This enables the support of early Loongson-2E/F family of machines. 461 462config MACH_LOONGSON64 463 bool "Loongson-2/3 GSx64 family of machines" 464 select ARCH_SPARSEMEM_ENABLE 465 select ARCH_MIGHT_HAVE_PC_PARPORT 466 select ARCH_MIGHT_HAVE_PC_SERIO 467 select GENERIC_ISA_DMA_SUPPORT_BROKEN 468 select BOOT_ELF32 469 select BOARD_SCACHE 470 select CSRC_R4K 471 select CEVT_R4K 472 select CPU_HAS_WB 473 select FORCE_PCI 474 select ISA 475 select I8259 476 select IRQ_MIPS_CPU 477 select NR_CPUS_DEFAULT_4 478 select USE_GENERIC_EARLY_PRINTK_8250 479 select SYS_HAS_CPU_LOONGSON64 480 select SYS_HAS_EARLY_PRINTK 481 select SYS_SUPPORTS_SMP 482 select SYS_SUPPORTS_HOTPLUG_CPU 483 select SYS_SUPPORTS_NUMA 484 select SYS_SUPPORTS_64BIT_KERNEL 485 select SYS_SUPPORTS_HIGHMEM 486 select SYS_SUPPORTS_LITTLE_ENDIAN 487 select SYS_SUPPORTS_ZBOOT 488 select LOONGSON_MC146818 489 select ZONE_DMA32 490 select NUMA 491 help 492 This enables the support of Loongson-2/3 family of processors with 493 GSx64 microarchitecture. 494 495config MACH_PISTACHIO 496 bool "IMG Pistachio SoC based boards" 497 select BOOT_ELF32 498 select BOOT_RAW 499 select CEVT_R4K 500 select CLKSRC_MIPS_GIC 501 select COMMON_CLK 502 select CSRC_R4K 503 select DMA_NONCOHERENT 504 select GPIOLIB 505 select IRQ_MIPS_CPU 506 select LIBFDT 507 select MFD_SYSCON 508 select MIPS_CPU_SCACHE 509 select MIPS_GIC 510 select PINCTRL 511 select REGULATOR 512 select SYS_HAS_CPU_MIPS32_R2 513 select SYS_SUPPORTS_32BIT_KERNEL 514 select SYS_SUPPORTS_LITTLE_ENDIAN 515 select SYS_SUPPORTS_MIPS_CPS 516 select SYS_SUPPORTS_MULTITHREADING 517 select SYS_SUPPORTS_RELOCATABLE 518 select SYS_SUPPORTS_ZBOOT 519 select SYS_HAS_EARLY_PRINTK 520 select USE_GENERIC_EARLY_PRINTK_8250 521 select USE_OF 522 help 523 This enables support for the IMG Pistachio SoC platform. 524 525config MIPS_MALTA 526 bool "MIPS Malta board" 527 select ARCH_MAY_HAVE_PC_FDC 528 select ARCH_MIGHT_HAVE_PC_PARPORT 529 select ARCH_MIGHT_HAVE_PC_SERIO 530 select BOOT_ELF32 531 select BOOT_RAW 532 select BUILTIN_DTB 533 select CEVT_R4K 534 select CLKSRC_MIPS_GIC 535 select COMMON_CLK 536 select CSRC_R4K 537 select DMA_MAYBE_COHERENT 538 select GENERIC_ISA_DMA 539 select HAVE_PCSPKR_PLATFORM 540 select HAVE_PCI 541 select I8253 542 select I8259 543 select IRQ_MIPS_CPU 544 select LIBFDT 545 select MIPS_BONITO64 546 select MIPS_CPU_SCACHE 547 select MIPS_GIC 548 select MIPS_L1_CACHE_SHIFT_6 549 select MIPS_MSC 550 select PCI_GT64XXX_PCI0 551 select SMP_UP if SMP 552 select SWAP_IO_SPACE 553 select SYS_HAS_CPU_MIPS32_R1 554 select SYS_HAS_CPU_MIPS32_R2 555 select SYS_HAS_CPU_MIPS32_R3_5 556 select SYS_HAS_CPU_MIPS32_R5 557 select SYS_HAS_CPU_MIPS32_R6 558 select SYS_HAS_CPU_MIPS64_R1 559 select SYS_HAS_CPU_MIPS64_R2 560 select SYS_HAS_CPU_MIPS64_R6 561 select SYS_HAS_CPU_NEVADA 562 select SYS_HAS_CPU_RM7000 563 select SYS_SUPPORTS_32BIT_KERNEL 564 select SYS_SUPPORTS_64BIT_KERNEL 565 select SYS_SUPPORTS_BIG_ENDIAN 566 select SYS_SUPPORTS_HIGHMEM 567 select SYS_SUPPORTS_LITTLE_ENDIAN 568 select SYS_SUPPORTS_MICROMIPS 569 select SYS_SUPPORTS_MIPS16 570 select SYS_SUPPORTS_MIPS_CMP 571 select SYS_SUPPORTS_MIPS_CPS 572 select SYS_SUPPORTS_MULTITHREADING 573 select SYS_SUPPORTS_RELOCATABLE 574 select SYS_SUPPORTS_SMARTMIPS 575 select SYS_SUPPORTS_VPE_LOADER 576 select SYS_SUPPORTS_ZBOOT 577 select USE_OF 578 select ZONE_DMA32 if 64BIT 579 help 580 This enables support for the MIPS Technologies Malta evaluation 581 board. 582 583config MACH_PIC32 584 bool "Microchip PIC32 Family" 585 help 586 This enables support for the Microchip PIC32 family of platforms. 587 588 Microchip PIC32 is a family of general-purpose 32 bit MIPS core 589 microcontrollers. 590 591config NEC_MARKEINS 592 bool "NEC EMMA2RH Mark-eins board" 593 select SOC_EMMA2RH 594 select HAVE_PCI 595 help 596 This enables support for the NEC Electronics Mark-eins boards. 597 598config MACH_VR41XX 599 bool "NEC VR4100 series based machines" 600 select CEVT_R4K 601 select CSRC_R4K 602 select SYS_HAS_CPU_VR41XX 603 select SYS_SUPPORTS_MIPS16 604 select GPIOLIB 605 606config NXP_STB220 607 bool "NXP STB220 board" 608 select SOC_PNX833X 609 help 610 Support for NXP Semiconductors STB220 Development Board. 611 612config NXP_STB225 613 bool "NXP 225 board" 614 select SOC_PNX833X 615 select SOC_PNX8335 616 help 617 Support for NXP Semiconductors STB225 Development Board. 618 619config PMC_MSP 620 bool "PMC-Sierra MSP chipsets" 621 select CEVT_R4K 622 select CSRC_R4K 623 select DMA_NONCOHERENT 624 select SWAP_IO_SPACE 625 select NO_EXCEPT_FILL 626 select BOOT_RAW 627 select SYS_HAS_CPU_MIPS32_R1 628 select SYS_HAS_CPU_MIPS32_R2 629 select SYS_SUPPORTS_32BIT_KERNEL 630 select SYS_SUPPORTS_BIG_ENDIAN 631 select SYS_SUPPORTS_MIPS16 632 select IRQ_MIPS_CPU 633 select SERIAL_8250 634 select SERIAL_8250_CONSOLE 635 select USB_EHCI_BIG_ENDIAN_MMIO 636 select USB_EHCI_BIG_ENDIAN_DESC 637 help 638 This adds support for the PMC-Sierra family of Multi-Service 639 Processor System-On-A-Chips. These parts include a number 640 of integrated peripherals, interfaces and DSPs in addition to 641 a variety of MIPS cores. 642 643config RALINK 644 bool "Ralink based machines" 645 select CEVT_R4K 646 select CSRC_R4K 647 select BOOT_RAW 648 select DMA_NONCOHERENT 649 select IRQ_MIPS_CPU 650 select USE_OF 651 select SYS_HAS_CPU_MIPS32_R1 652 select SYS_HAS_CPU_MIPS32_R2 653 select SYS_SUPPORTS_32BIT_KERNEL 654 select SYS_SUPPORTS_LITTLE_ENDIAN 655 select SYS_SUPPORTS_MIPS16 656 select SYS_HAS_EARLY_PRINTK 657 select CLKDEV_LOOKUP 658 select ARCH_HAS_RESET_CONTROLLER 659 select RESET_CONTROLLER 660 661config SGI_IP22 662 bool "SGI IP22 (Indy/Indigo2)" 663 select ARC_MEMORY 664 select ARC_PROMLIB 665 select FW_ARC 666 select FW_ARC32 667 select ARCH_MIGHT_HAVE_PC_SERIO 668 select BOOT_ELF32 669 select CEVT_R4K 670 select CSRC_R4K 671 select DEFAULT_SGI_PARTITION 672 select DMA_NONCOHERENT 673 select HAVE_EISA 674 select I8253 675 select I8259 676 select IP22_CPU_SCACHE 677 select IRQ_MIPS_CPU 678 select GENERIC_ISA_DMA_SUPPORT_BROKEN 679 select SGI_HAS_I8042 680 select SGI_HAS_INDYDOG 681 select SGI_HAS_HAL2 682 select SGI_HAS_SEEQ 683 select SGI_HAS_WD93 684 select SGI_HAS_ZILOG 685 select SWAP_IO_SPACE 686 select SYS_HAS_CPU_R4X00 687 select SYS_HAS_CPU_R5000 688 select SYS_HAS_EARLY_PRINTK 689 select SYS_SUPPORTS_32BIT_KERNEL 690 select SYS_SUPPORTS_64BIT_KERNEL 691 select SYS_SUPPORTS_BIG_ENDIAN 692 select MIPS_L1_CACHE_SHIFT_7 693 help 694 This are the SGI Indy, Challenge S and Indigo2, as well as certain 695 OEM variants like the Tandem CMN B006S. To compile a Linux kernel 696 that runs on these, say Y here. 697 698config SGI_IP27 699 bool "SGI IP27 (Origin200/2000)" 700 select ARCH_HAS_PHYS_TO_DMA 701 select ARCH_SPARSEMEM_ENABLE 702 select FW_ARC 703 select FW_ARC64 704 select ARC_CMDLINE_ONLY 705 select BOOT_ELF64 706 select DEFAULT_SGI_PARTITION 707 select SYS_HAS_EARLY_PRINTK 708 select HAVE_PCI 709 select IRQ_MIPS_CPU 710 select IRQ_DOMAIN_HIERARCHY 711 select NR_CPUS_DEFAULT_64 712 select PCI_DRIVERS_GENERIC 713 select PCI_XTALK_BRIDGE 714 select SYS_HAS_CPU_R10000 715 select SYS_SUPPORTS_64BIT_KERNEL 716 select SYS_SUPPORTS_BIG_ENDIAN 717 select SYS_SUPPORTS_NUMA 718 select SYS_SUPPORTS_SMP 719 select MIPS_L1_CACHE_SHIFT_7 720 help 721 This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics 722 workstations. To compile a Linux kernel that runs on these, say Y 723 here. 724 725config SGI_IP28 726 bool "SGI IP28 (Indigo2 R10k)" 727 select ARC_MEMORY 728 select ARC_PROMLIB 729 select FW_ARC 730 select FW_ARC64 731 select ARCH_MIGHT_HAVE_PC_SERIO 732 select BOOT_ELF64 733 select CEVT_R4K 734 select CSRC_R4K 735 select DEFAULT_SGI_PARTITION 736 select DMA_NONCOHERENT 737 select GENERIC_ISA_DMA_SUPPORT_BROKEN 738 select IRQ_MIPS_CPU 739 select HAVE_EISA 740 select I8253 741 select I8259 742 select SGI_HAS_I8042 743 select SGI_HAS_INDYDOG 744 select SGI_HAS_HAL2 745 select SGI_HAS_SEEQ 746 select SGI_HAS_WD93 747 select SGI_HAS_ZILOG 748 select SWAP_IO_SPACE 749 select SYS_HAS_CPU_R10000 750 select SYS_HAS_EARLY_PRINTK 751 select SYS_SUPPORTS_64BIT_KERNEL 752 select SYS_SUPPORTS_BIG_ENDIAN 753 select MIPS_L1_CACHE_SHIFT_7 754 help 755 This is the SGI Indigo2 with R10000 processor. To compile a Linux 756 kernel that runs on these, say Y here. 757 758config SGI_IP32 759 bool "SGI IP32 (O2)" 760 select ARC_MEMORY 761 select ARC_PROMLIB 762 select ARCH_HAS_PHYS_TO_DMA 763 select FW_ARC 764 select FW_ARC32 765 select BOOT_ELF32 766 select CEVT_R4K 767 select CSRC_R4K 768 select DMA_NONCOHERENT 769 select HAVE_PCI 770 select IRQ_MIPS_CPU 771 select R5000_CPU_SCACHE 772 select RM7000_CPU_SCACHE 773 select SYS_HAS_CPU_R5000 774 select SYS_HAS_CPU_R10000 if BROKEN 775 select SYS_HAS_CPU_RM7000 776 select SYS_HAS_CPU_NEVADA 777 select SYS_SUPPORTS_64BIT_KERNEL 778 select SYS_SUPPORTS_BIG_ENDIAN 779 help 780 If you want this kernel to run on SGI O2 workstation, say Y here. 781 782config SIBYTE_CRHINE 783 bool "Sibyte BCM91120C-CRhine" 784 select BOOT_ELF32 785 select SIBYTE_BCM1120 786 select SWAP_IO_SPACE 787 select SYS_HAS_CPU_SB1 788 select SYS_SUPPORTS_BIG_ENDIAN 789 select SYS_SUPPORTS_LITTLE_ENDIAN 790 791config SIBYTE_CARMEL 792 bool "Sibyte BCM91120x-Carmel" 793 select BOOT_ELF32 794 select SIBYTE_BCM1120 795 select SWAP_IO_SPACE 796 select SYS_HAS_CPU_SB1 797 select SYS_SUPPORTS_BIG_ENDIAN 798 select SYS_SUPPORTS_LITTLE_ENDIAN 799 800config SIBYTE_CRHONE 801 bool "Sibyte BCM91125C-CRhone" 802 select BOOT_ELF32 803 select SIBYTE_BCM1125 804 select SWAP_IO_SPACE 805 select SYS_HAS_CPU_SB1 806 select SYS_SUPPORTS_BIG_ENDIAN 807 select SYS_SUPPORTS_HIGHMEM 808 select SYS_SUPPORTS_LITTLE_ENDIAN 809 810config SIBYTE_RHONE 811 bool "Sibyte BCM91125E-Rhone" 812 select BOOT_ELF32 813 select SIBYTE_BCM1125H 814 select SWAP_IO_SPACE 815 select SYS_HAS_CPU_SB1 816 select SYS_SUPPORTS_BIG_ENDIAN 817 select SYS_SUPPORTS_LITTLE_ENDIAN 818 819config SIBYTE_SWARM 820 bool "Sibyte BCM91250A-SWARM" 821 select BOOT_ELF32 822 select HAVE_PATA_PLATFORM 823 select SIBYTE_SB1250 824 select SWAP_IO_SPACE 825 select SYS_HAS_CPU_SB1 826 select SYS_SUPPORTS_BIG_ENDIAN 827 select SYS_SUPPORTS_HIGHMEM 828 select SYS_SUPPORTS_LITTLE_ENDIAN 829 select ZONE_DMA32 if 64BIT 830 select SWIOTLB if ARCH_DMA_ADDR_T_64BIT && PCI 831 832config SIBYTE_LITTLESUR 833 bool "Sibyte BCM91250C2-LittleSur" 834 select BOOT_ELF32 835 select HAVE_PATA_PLATFORM 836 select SIBYTE_SB1250 837 select SWAP_IO_SPACE 838 select SYS_HAS_CPU_SB1 839 select SYS_SUPPORTS_BIG_ENDIAN 840 select SYS_SUPPORTS_HIGHMEM 841 select SYS_SUPPORTS_LITTLE_ENDIAN 842 select ZONE_DMA32 if 64BIT 843 844config SIBYTE_SENTOSA 845 bool "Sibyte BCM91250E-Sentosa" 846 select BOOT_ELF32 847 select SIBYTE_SB1250 848 select SWAP_IO_SPACE 849 select SYS_HAS_CPU_SB1 850 select SYS_SUPPORTS_BIG_ENDIAN 851 select SYS_SUPPORTS_LITTLE_ENDIAN 852 select SWIOTLB if ARCH_DMA_ADDR_T_64BIT && PCI 853 854config SIBYTE_BIGSUR 855 bool "Sibyte BCM91480B-BigSur" 856 select BOOT_ELF32 857 select NR_CPUS_DEFAULT_4 858 select SIBYTE_BCM1x80 859 select SWAP_IO_SPACE 860 select SYS_HAS_CPU_SB1 861 select SYS_SUPPORTS_BIG_ENDIAN 862 select SYS_SUPPORTS_HIGHMEM 863 select SYS_SUPPORTS_LITTLE_ENDIAN 864 select ZONE_DMA32 if 64BIT 865 select SWIOTLB if ARCH_DMA_ADDR_T_64BIT && PCI 866 867config SNI_RM 868 bool "SNI RM200/300/400" 869 select ARC_MEMORY 870 select ARC_PROMLIB 871 select FW_ARC if CPU_LITTLE_ENDIAN 872 select FW_ARC32 if CPU_LITTLE_ENDIAN 873 select FW_SNIPROM if CPU_BIG_ENDIAN 874 select ARCH_MAY_HAVE_PC_FDC 875 select ARCH_MIGHT_HAVE_PC_PARPORT 876 select ARCH_MIGHT_HAVE_PC_SERIO 877 select BOOT_ELF32 878 select CEVT_R4K 879 select CSRC_R4K 880 select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN 881 select DMA_NONCOHERENT 882 select GENERIC_ISA_DMA 883 select HAVE_EISA 884 select HAVE_PCSPKR_PLATFORM 885 select HAVE_PCI 886 select IRQ_MIPS_CPU 887 select I8253 888 select I8259 889 select ISA 890 select SWAP_IO_SPACE if CPU_BIG_ENDIAN 891 select SYS_HAS_CPU_R4X00 892 select SYS_HAS_CPU_R5000 893 select SYS_HAS_CPU_R10000 894 select R5000_CPU_SCACHE 895 select SYS_HAS_EARLY_PRINTK 896 select SYS_SUPPORTS_32BIT_KERNEL 897 select SYS_SUPPORTS_64BIT_KERNEL 898 select SYS_SUPPORTS_BIG_ENDIAN 899 select SYS_SUPPORTS_HIGHMEM 900 select SYS_SUPPORTS_LITTLE_ENDIAN 901 help 902 The SNI RM200/300/400 are MIPS-based machines manufactured by 903 Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid 904 Technology and now in turn merged with Fujitsu. Say Y here to 905 support this machine type. 906 907config MACH_TX39XX 908 bool "Toshiba TX39 series based machines" 909 910config MACH_TX49XX 911 bool "Toshiba TX49 series based machines" 912 913config MIKROTIK_RB532 914 bool "Mikrotik RB532 boards" 915 select CEVT_R4K 916 select CSRC_R4K 917 select DMA_NONCOHERENT 918 select HAVE_PCI 919 select IRQ_MIPS_CPU 920 select SYS_HAS_CPU_MIPS32_R1 921 select SYS_SUPPORTS_32BIT_KERNEL 922 select SYS_SUPPORTS_LITTLE_ENDIAN 923 select SWAP_IO_SPACE 924 select BOOT_RAW 925 select GPIOLIB 926 select MIPS_L1_CACHE_SHIFT_4 927 help 928 Support the Mikrotik(tm) RouterBoard 532 series, 929 based on the IDT RC32434 SoC. 930 931config CAVIUM_OCTEON_SOC 932 bool "Cavium Networks Octeon SoC based boards" 933 select CEVT_R4K 934 select ARCH_HAS_PHYS_TO_DMA 935 select HAVE_RAPIDIO 936 select PHYS_ADDR_T_64BIT 937 select SYS_SUPPORTS_64BIT_KERNEL 938 select SYS_SUPPORTS_BIG_ENDIAN 939 select EDAC_SUPPORT 940 select EDAC_ATOMIC_SCRUB 941 select SYS_SUPPORTS_LITTLE_ENDIAN 942 select SYS_SUPPORTS_HOTPLUG_CPU if CPU_BIG_ENDIAN 943 select SYS_HAS_EARLY_PRINTK 944 select SYS_HAS_CPU_CAVIUM_OCTEON 945 select HAVE_PCI 946 select ZONE_DMA32 947 select HOLES_IN_ZONE 948 select GPIOLIB 949 select LIBFDT 950 select USE_OF 951 select ARCH_SPARSEMEM_ENABLE 952 select SYS_SUPPORTS_SMP 953 select NR_CPUS_DEFAULT_64 954 select MIPS_NR_CPU_NR_MAP_1024 955 select BUILTIN_DTB 956 select MTD_COMPLEX_MAPPINGS 957 select SWIOTLB 958 select SYS_SUPPORTS_RELOCATABLE 959 help 960 This option supports all of the Octeon reference boards from Cavium 961 Networks. It builds a kernel that dynamically determines the Octeon 962 CPU type and supports all known board reference implementations. 963 Some of the supported boards are: 964 EBT3000 965 EBH3000 966 EBH3100 967 Thunder 968 Kodama 969 Hikari 970 Say Y here for most Octeon reference boards. 971 972config NLM_XLR_BOARD 973 bool "Netlogic XLR/XLS based systems" 974 select BOOT_ELF32 975 select NLM_COMMON 976 select SYS_HAS_CPU_XLR 977 select SYS_SUPPORTS_SMP 978 select HAVE_PCI 979 select SWAP_IO_SPACE 980 select SYS_SUPPORTS_32BIT_KERNEL 981 select SYS_SUPPORTS_64BIT_KERNEL 982 select PHYS_ADDR_T_64BIT 983 select SYS_SUPPORTS_BIG_ENDIAN 984 select SYS_SUPPORTS_HIGHMEM 985 select NR_CPUS_DEFAULT_32 986 select CEVT_R4K 987 select CSRC_R4K 988 select IRQ_MIPS_CPU 989 select ZONE_DMA32 if 64BIT 990 select SYNC_R4K 991 select SYS_HAS_EARLY_PRINTK 992 select SYS_SUPPORTS_ZBOOT 993 select SYS_SUPPORTS_ZBOOT_UART16550 994 help 995 Support for systems based on Netlogic XLR and XLS processors. 996 Say Y here if you have a XLR or XLS based board. 997 998config NLM_XLP_BOARD 999 bool "Netlogic XLP based systems" 1000 select BOOT_ELF32 1001 select NLM_COMMON 1002 select SYS_HAS_CPU_XLP 1003 select SYS_SUPPORTS_SMP 1004 select HAVE_PCI 1005 select SYS_SUPPORTS_32BIT_KERNEL 1006 select SYS_SUPPORTS_64BIT_KERNEL 1007 select PHYS_ADDR_T_64BIT 1008 select GPIOLIB 1009 select SYS_SUPPORTS_BIG_ENDIAN 1010 select SYS_SUPPORTS_LITTLE_ENDIAN 1011 select SYS_SUPPORTS_HIGHMEM 1012 select NR_CPUS_DEFAULT_32 1013 select CEVT_R4K 1014 select CSRC_R4K 1015 select IRQ_MIPS_CPU 1016 select ZONE_DMA32 if 64BIT 1017 select SYNC_R4K 1018 select SYS_HAS_EARLY_PRINTK 1019 select USE_OF 1020 select SYS_SUPPORTS_ZBOOT 1021 select SYS_SUPPORTS_ZBOOT_UART16550 1022 help 1023 This board is based on Netlogic XLP Processor. 1024 Say Y here if you have a XLP based board. 1025 1026config MIPS_PARAVIRT 1027 bool "Para-Virtualized guest system" 1028 select CEVT_R4K 1029 select CSRC_R4K 1030 select SYS_SUPPORTS_64BIT_KERNEL 1031 select SYS_SUPPORTS_32BIT_KERNEL 1032 select SYS_SUPPORTS_BIG_ENDIAN 1033 select SYS_SUPPORTS_SMP 1034 select NR_CPUS_DEFAULT_4 1035 select SYS_HAS_EARLY_PRINTK 1036 select SYS_HAS_CPU_MIPS32_R2 1037 select SYS_HAS_CPU_MIPS64_R2 1038 select SYS_HAS_CPU_CAVIUM_OCTEON 1039 select HAVE_PCI 1040 select SWAP_IO_SPACE 1041 help 1042 This option supports guest running under ???? 1043 1044endchoice 1045 1046source "arch/mips/alchemy/Kconfig" 1047source "arch/mips/ath25/Kconfig" 1048source "arch/mips/ath79/Kconfig" 1049source "arch/mips/bcm47xx/Kconfig" 1050source "arch/mips/bcm63xx/Kconfig" 1051source "arch/mips/bmips/Kconfig" 1052source "arch/mips/generic/Kconfig" 1053source "arch/mips/jazz/Kconfig" 1054source "arch/mips/jz4740/Kconfig" 1055source "arch/mips/lantiq/Kconfig" 1056source "arch/mips/lasat/Kconfig" 1057source "arch/mips/pic32/Kconfig" 1058source "arch/mips/pistachio/Kconfig" 1059source "arch/mips/pmcs-msp71xx/Kconfig" 1060source "arch/mips/ralink/Kconfig" 1061source "arch/mips/sgi-ip27/Kconfig" 1062source "arch/mips/sibyte/Kconfig" 1063source "arch/mips/txx9/Kconfig" 1064source "arch/mips/vr41xx/Kconfig" 1065source "arch/mips/cavium-octeon/Kconfig" 1066source "arch/mips/loongson2ef/Kconfig" 1067source "arch/mips/loongson32/Kconfig" 1068source "arch/mips/loongson64/Kconfig" 1069source "arch/mips/netlogic/Kconfig" 1070source "arch/mips/paravirt/Kconfig" 1071 1072endmenu 1073 1074config GENERIC_HWEIGHT 1075 bool 1076 default y 1077 1078config GENERIC_CALIBRATE_DELAY 1079 bool 1080 default y 1081 1082config SCHED_OMIT_FRAME_POINTER 1083 bool 1084 default y 1085 1086# 1087# Select some configuration options automatically based on user selections. 1088# 1089config FW_ARC 1090 bool 1091 1092config ARCH_MAY_HAVE_PC_FDC 1093 bool 1094 1095config BOOT_RAW 1096 bool 1097 1098config CEVT_BCM1480 1099 bool 1100 1101config CEVT_DS1287 1102 bool 1103 1104config CEVT_GT641XX 1105 bool 1106 1107config CEVT_R4K 1108 bool 1109 1110config CEVT_SB1250 1111 bool 1112 1113config CEVT_TXX9 1114 bool 1115 1116config CSRC_BCM1480 1117 bool 1118 1119config CSRC_IOASIC 1120 bool 1121 1122config CSRC_R4K 1123 bool 1124 1125config CSRC_SB1250 1126 bool 1127 1128config MIPS_CLOCK_VSYSCALL 1129 def_bool CSRC_R4K || CLKSRC_MIPS_GIC 1130 1131config GPIO_TXX9 1132 select GPIOLIB 1133 bool 1134 1135config FW_CFE 1136 bool 1137 1138config ARCH_SUPPORTS_UPROBES 1139 bool 1140 1141config DMA_MAYBE_COHERENT 1142 select ARCH_HAS_DMA_COHERENCE_H 1143 select DMA_NONCOHERENT 1144 bool 1145 1146config DMA_PERDEV_COHERENT 1147 bool 1148 select ARCH_HAS_SETUP_DMA_OPS 1149 select DMA_NONCOHERENT 1150 1151config DMA_NONCOHERENT 1152 bool 1153 # 1154 # MIPS allows mixing "slightly different" Cacheability and Coherency 1155 # Attribute bits. It is believed that the uncached access through 1156 # KSEG1 and the implementation specific "uncached accelerated" used 1157 # by pgprot_writcombine can be mixed, and the latter sometimes provides 1158 # significant advantages. 1159 # 1160 select ARCH_HAS_DMA_WRITE_COMBINE 1161 select ARCH_HAS_SYNC_DMA_FOR_DEVICE 1162 select ARCH_HAS_UNCACHED_SEGMENT 1163 select NEED_DMA_MAP_STATE 1164 select ARCH_HAS_DMA_COHERENT_TO_PFN 1165 select DMA_NONCOHERENT_CACHE_SYNC 1166 1167config SYS_HAS_EARLY_PRINTK 1168 bool 1169 1170config SYS_SUPPORTS_HOTPLUG_CPU 1171 bool 1172 1173config MIPS_BONITO64 1174 bool 1175 1176config MIPS_MSC 1177 bool 1178 1179config MIPS_NILE4 1180 bool 1181 1182config SYNC_R4K 1183 bool 1184 1185config MIPS_MACHINE 1186 def_bool n 1187 1188config NO_IOPORT_MAP 1189 def_bool n 1190 1191config GENERIC_CSUM 1192 bool 1193 default y if !CPU_HAS_LOAD_STORE_LR 1194 1195config GENERIC_ISA_DMA 1196 bool 1197 select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n 1198 select ISA_DMA_API 1199 1200config GENERIC_ISA_DMA_SUPPORT_BROKEN 1201 bool 1202 select GENERIC_ISA_DMA 1203 1204config ISA_DMA_API 1205 bool 1206 1207config HOLES_IN_ZONE 1208 bool 1209 1210config SYS_SUPPORTS_RELOCATABLE 1211 bool 1212 help 1213 Selected if the platform supports relocating the kernel. 1214 The platform must provide plat_get_fdt() if it selects CONFIG_USE_OF 1215 to allow access to command line and entropy sources. 1216 1217config MIPS_CBPF_JIT 1218 def_bool y 1219 depends on BPF_JIT && HAVE_CBPF_JIT 1220 1221config MIPS_EBPF_JIT 1222 def_bool y 1223 depends on BPF_JIT && HAVE_EBPF_JIT 1224 1225 1226# 1227# Endianness selection. Sufficiently obscure so many users don't know what to 1228# answer,so we try hard to limit the available choices. Also the use of a 1229# choice statement should be more obvious to the user. 1230# 1231choice 1232 prompt "Endianness selection" 1233 help 1234 Some MIPS machines can be configured for either little or big endian 1235 byte order. These modes require different kernels and a different 1236 Linux distribution. In general there is one preferred byteorder for a 1237 particular system but some systems are just as commonly used in the 1238 one or the other endianness. 1239 1240config CPU_BIG_ENDIAN 1241 bool "Big endian" 1242 depends on SYS_SUPPORTS_BIG_ENDIAN 1243 1244config CPU_LITTLE_ENDIAN 1245 bool "Little endian" 1246 depends on SYS_SUPPORTS_LITTLE_ENDIAN 1247 1248endchoice 1249 1250config EXPORT_UASM 1251 bool 1252 1253config SYS_SUPPORTS_APM_EMULATION 1254 bool 1255 1256config SYS_SUPPORTS_BIG_ENDIAN 1257 bool 1258 1259config SYS_SUPPORTS_LITTLE_ENDIAN 1260 bool 1261 1262config SYS_SUPPORTS_HUGETLBFS 1263 bool 1264 depends on CPU_SUPPORTS_HUGEPAGES 1265 default y 1266 1267config MIPS_HUGE_TLB_SUPPORT 1268 def_bool HUGETLB_PAGE || TRANSPARENT_HUGEPAGE 1269 1270config IRQ_CPU_RM7K 1271 bool 1272 1273config IRQ_MSP_SLP 1274 bool 1275 1276config IRQ_MSP_CIC 1277 bool 1278 1279config IRQ_TXX9 1280 bool 1281 1282config IRQ_GT641XX 1283 bool 1284 1285config PCI_GT64XXX_PCI0 1286 bool 1287 1288config PCI_XTALK_BRIDGE 1289 bool 1290 1291config NO_EXCEPT_FILL 1292 bool 1293 1294config SOC_EMMA2RH 1295 bool 1296 select CEVT_R4K 1297 select CSRC_R4K 1298 select DMA_NONCOHERENT 1299 select IRQ_MIPS_CPU 1300 select SWAP_IO_SPACE 1301 select SYS_HAS_CPU_R5500 1302 select SYS_SUPPORTS_32BIT_KERNEL 1303 select SYS_SUPPORTS_64BIT_KERNEL 1304 select SYS_SUPPORTS_BIG_ENDIAN 1305 1306config SOC_PNX833X 1307 bool 1308 select CEVT_R4K 1309 select CSRC_R4K 1310 select IRQ_MIPS_CPU 1311 select DMA_NONCOHERENT 1312 select SYS_HAS_CPU_MIPS32_R2 1313 select SYS_SUPPORTS_32BIT_KERNEL 1314 select SYS_SUPPORTS_LITTLE_ENDIAN 1315 select SYS_SUPPORTS_BIG_ENDIAN 1316 select SYS_SUPPORTS_MIPS16 1317 select CPU_MIPSR2_IRQ_VI 1318 1319config SOC_PNX8335 1320 bool 1321 select SOC_PNX833X 1322 1323config MIPS_SPRAM 1324 bool 1325 1326config SWAP_IO_SPACE 1327 bool 1328 1329config SGI_HAS_INDYDOG 1330 bool 1331 1332config SGI_HAS_HAL2 1333 bool 1334 1335config SGI_HAS_SEEQ 1336 bool 1337 1338config SGI_HAS_WD93 1339 bool 1340 1341config SGI_HAS_ZILOG 1342 bool 1343 1344config SGI_HAS_I8042 1345 bool 1346 1347config DEFAULT_SGI_PARTITION 1348 bool 1349 1350config FW_ARC32 1351 bool 1352 1353config FW_SNIPROM 1354 bool 1355 1356config BOOT_ELF32 1357 bool 1358 1359config MIPS_L1_CACHE_SHIFT_4 1360 bool 1361 1362config MIPS_L1_CACHE_SHIFT_5 1363 bool 1364 1365config MIPS_L1_CACHE_SHIFT_6 1366 bool 1367 1368config MIPS_L1_CACHE_SHIFT_7 1369 bool 1370 1371config MIPS_L1_CACHE_SHIFT 1372 int 1373 default "7" if MIPS_L1_CACHE_SHIFT_7 1374 default "6" if MIPS_L1_CACHE_SHIFT_6 1375 default "5" if MIPS_L1_CACHE_SHIFT_5 1376 default "4" if MIPS_L1_CACHE_SHIFT_4 1377 default "5" 1378 1379config HAVE_STD_PC_SERIAL_PORT 1380 bool 1381 1382config ARC_CMDLINE_ONLY 1383 bool 1384 1385config ARC_CONSOLE 1386 bool "ARC console support" 1387 depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN) 1388 1389config ARC_MEMORY 1390 bool 1391 1392config ARC_PROMLIB 1393 bool 1394 1395config FW_ARC64 1396 bool 1397 1398config BOOT_ELF64 1399 bool 1400 1401menu "CPU selection" 1402 1403choice 1404 prompt "CPU type" 1405 default CPU_R4X00 1406 1407config CPU_LOONGSON64 1408 bool "Loongson GSx64 CPU" 1409 depends on SYS_HAS_CPU_LOONGSON64 1410 select ARCH_HAS_PHYS_TO_DMA 1411 select CPU_SUPPORTS_64BIT_KERNEL 1412 select CPU_SUPPORTS_HIGHMEM 1413 select CPU_SUPPORTS_HUGEPAGES 1414 select CPU_SUPPORTS_MSA 1415 select CPU_HAS_LOAD_STORE_LR 1416 select WEAK_ORDERING 1417 select WEAK_REORDERING_BEYOND_LLSC 1418 select MIPS_ASID_BITS_VARIABLE 1419 select MIPS_PGD_C0_CONTEXT 1420 select MIPS_L1_CACHE_SHIFT_6 1421 select GPIOLIB 1422 select SWIOTLB 1423 help 1424 The Loongson GSx64 series of processor cores implements the 1425 MIPS64R2 instruction set with many extensions. 1426 1427config LOONGSON64_ENHANCEMENT 1428 bool "New Loongson GSx64E CPU Enhancements" 1429 default n 1430 select CPU_MIPSR2 1431 select CPU_HAS_PREFETCH 1432 depends on CPU_LOONGSON64 1433 help 1434 New Loongson GSx64E cores (since Loongson-3A R2, as opposed to Loongson-3A 1435 R1, Loongson-3B R1 and Loongson-3B R2) has many enhancements, such as 1436 FTLB, L1-VCache, EI/DI/Wait/Prefetch instruction, DSP/DSPr2 ASE, User 1437 Local register, Read-Inhibit/Execute-Inhibit, SFB (Store Fill Buffer), 1438 Fast TLB refill support, etc. 1439 1440 This option enable those enhancements which are not probed at run 1441 time. If you want a generic kernel to run on all Loongson 3 machines, 1442 please say 'N' here. If you want a high-performance kernel to run on 1443 new Loongson 3 machines only, please say 'Y' here. 1444 1445config CPU_LOONGSON3_WORKAROUNDS 1446 bool "Old Loongson 3 LLSC Workarounds" 1447 default y if SMP 1448 depends on CPU_LOONGSON64 1449 help 1450 Loongson 3 processors have the llsc issues which require workarounds. 1451 Without workarounds the system may hang unexpectedly. 1452 1453 Newer Loongson 3 will fix these issues and no workarounds are needed. 1454 The workarounds have no significant side effect on them but may 1455 decrease the performance of the system so this option should be 1456 disabled unless the kernel is intended to be run on old systems. 1457 1458 If unsure, please say Y. 1459 1460config CPU_LOONGSON2E 1461 bool "Loongson 2E" 1462 depends on SYS_HAS_CPU_LOONGSON2E 1463 select CPU_LOONGSON2EF 1464 help 1465 The Loongson 2E processor implements the MIPS III instruction set 1466 with many extensions. 1467 1468 It has an internal FPGA northbridge, which is compatible to 1469 bonito64. 1470 1471config CPU_LOONGSON2F 1472 bool "Loongson 2F" 1473 depends on SYS_HAS_CPU_LOONGSON2F 1474 select CPU_LOONGSON2EF 1475 select GPIOLIB 1476 help 1477 The Loongson 2F processor implements the MIPS III instruction set 1478 with many extensions. 1479 1480 Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller 1481 have a similar programming interface with FPGA northbridge used in 1482 Loongson2E. 1483 1484config CPU_LOONGSON1B 1485 bool "Loongson 1B" 1486 depends on SYS_HAS_CPU_LOONGSON1B 1487 select CPU_LOONGSON1 1488 select LEDS_GPIO_REGISTER 1489 help 1490 The Loongson 1B is a 32-bit SoC, which implements the MIPS32 1491 Release 1 instruction set and part of the MIPS32 Release 2 1492 instruction set. 1493 1494config CPU_LOONGSON1C 1495 bool "Loongson 1C" 1496 depends on SYS_HAS_CPU_LOONGSON1C 1497 select CPU_LOONGSON1 1498 select LEDS_GPIO_REGISTER 1499 help 1500 The Loongson 1C is a 32-bit SoC, which implements the MIPS32 1501 Release 1 instruction set and part of the MIPS32 Release 2 1502 instruction set. 1503 1504config CPU_MIPS32_R1 1505 bool "MIPS32 Release 1" 1506 depends on SYS_HAS_CPU_MIPS32_R1 1507 select CPU_HAS_PREFETCH 1508 select CPU_HAS_LOAD_STORE_LR 1509 select CPU_SUPPORTS_32BIT_KERNEL 1510 select CPU_SUPPORTS_HIGHMEM 1511 help 1512 Choose this option to build a kernel for release 1 or later of the 1513 MIPS32 architecture. Most modern embedded systems with a 32-bit 1514 MIPS processor are based on a MIPS32 processor. If you know the 1515 specific type of processor in your system, choose those that one 1516 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system. 1517 Release 2 of the MIPS32 architecture is available since several 1518 years so chances are you even have a MIPS32 Release 2 processor 1519 in which case you should choose CPU_MIPS32_R2 instead for better 1520 performance. 1521 1522config CPU_MIPS32_R2 1523 bool "MIPS32 Release 2" 1524 depends on SYS_HAS_CPU_MIPS32_R2 1525 select CPU_HAS_PREFETCH 1526 select CPU_HAS_LOAD_STORE_LR 1527 select CPU_SUPPORTS_32BIT_KERNEL 1528 select CPU_SUPPORTS_HIGHMEM 1529 select CPU_SUPPORTS_MSA 1530 select HAVE_KVM 1531 help 1532 Choose this option to build a kernel for release 2 or later of the 1533 MIPS32 architecture. Most modern embedded systems with a 32-bit 1534 MIPS processor are based on a MIPS32 processor. If you know the 1535 specific type of processor in your system, choose those that one 1536 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system. 1537 1538config CPU_MIPS32_R6 1539 bool "MIPS32 Release 6" 1540 depends on SYS_HAS_CPU_MIPS32_R6 1541 select CPU_HAS_PREFETCH 1542 select CPU_SUPPORTS_32BIT_KERNEL 1543 select CPU_SUPPORTS_HIGHMEM 1544 select CPU_SUPPORTS_MSA 1545 select HAVE_KVM 1546 select MIPS_O32_FP64_SUPPORT 1547 help 1548 Choose this option to build a kernel for release 6 or later of the 1549 MIPS32 architecture. New MIPS processors, starting with the Warrior 1550 family, are based on a MIPS32r6 processor. If you own an older 1551 processor, you probably need to select MIPS32r1 or MIPS32r2 instead. 1552 1553config CPU_MIPS64_R1 1554 bool "MIPS64 Release 1" 1555 depends on SYS_HAS_CPU_MIPS64_R1 1556 select CPU_HAS_PREFETCH 1557 select CPU_HAS_LOAD_STORE_LR 1558 select CPU_SUPPORTS_32BIT_KERNEL 1559 select CPU_SUPPORTS_64BIT_KERNEL 1560 select CPU_SUPPORTS_HIGHMEM 1561 select CPU_SUPPORTS_HUGEPAGES 1562 help 1563 Choose this option to build a kernel for release 1 or later of the 1564 MIPS64 architecture. Many modern embedded systems with a 64-bit 1565 MIPS processor are based on a MIPS64 processor. If you know the 1566 specific type of processor in your system, choose those that one 1567 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system. 1568 Release 2 of the MIPS64 architecture is available since several 1569 years so chances are you even have a MIPS64 Release 2 processor 1570 in which case you should choose CPU_MIPS64_R2 instead for better 1571 performance. 1572 1573config CPU_MIPS64_R2 1574 bool "MIPS64 Release 2" 1575 depends on SYS_HAS_CPU_MIPS64_R2 1576 select CPU_HAS_PREFETCH 1577 select CPU_HAS_LOAD_STORE_LR 1578 select CPU_SUPPORTS_32BIT_KERNEL 1579 select CPU_SUPPORTS_64BIT_KERNEL 1580 select CPU_SUPPORTS_HIGHMEM 1581 select CPU_SUPPORTS_HUGEPAGES 1582 select CPU_SUPPORTS_MSA 1583 select HAVE_KVM 1584 help 1585 Choose this option to build a kernel for release 2 or later of the 1586 MIPS64 architecture. Many modern embedded systems with a 64-bit 1587 MIPS processor are based on a MIPS64 processor. If you know the 1588 specific type of processor in your system, choose those that one 1589 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system. 1590 1591config CPU_MIPS64_R6 1592 bool "MIPS64 Release 6" 1593 depends on SYS_HAS_CPU_MIPS64_R6 1594 select CPU_HAS_PREFETCH 1595 select CPU_SUPPORTS_32BIT_KERNEL 1596 select CPU_SUPPORTS_64BIT_KERNEL 1597 select CPU_SUPPORTS_HIGHMEM 1598 select CPU_SUPPORTS_HUGEPAGES 1599 select CPU_SUPPORTS_MSA 1600 select MIPS_O32_FP64_SUPPORT if 32BIT || MIPS32_O32 1601 select HAVE_KVM 1602 help 1603 Choose this option to build a kernel for release 6 or later of the 1604 MIPS64 architecture. New MIPS processors, starting with the Warrior 1605 family, are based on a MIPS64r6 processor. If you own an older 1606 processor, you probably need to select MIPS64r1 or MIPS64r2 instead. 1607 1608config CPU_R3000 1609 bool "R3000" 1610 depends on SYS_HAS_CPU_R3000 1611 select CPU_HAS_WB 1612 select CPU_HAS_LOAD_STORE_LR 1613 select CPU_R3K_TLB 1614 select CPU_SUPPORTS_32BIT_KERNEL 1615 select CPU_SUPPORTS_HIGHMEM 1616 help 1617 Please make sure to pick the right CPU type. Linux/MIPS is not 1618 designed to be generic, i.e. Kernels compiled for R3000 CPUs will 1619 *not* work on R4000 machines and vice versa. However, since most 1620 of the supported machines have an R4000 (or similar) CPU, R4x00 1621 might be a safe bet. If the resulting kernel does not work, 1622 try to recompile with R3000. 1623 1624config CPU_TX39XX 1625 bool "R39XX" 1626 depends on SYS_HAS_CPU_TX39XX 1627 select CPU_SUPPORTS_32BIT_KERNEL 1628 select CPU_HAS_LOAD_STORE_LR 1629 select CPU_R3K_TLB 1630 1631config CPU_VR41XX 1632 bool "R41xx" 1633 depends on SYS_HAS_CPU_VR41XX 1634 select CPU_SUPPORTS_32BIT_KERNEL 1635 select CPU_SUPPORTS_64BIT_KERNEL 1636 select CPU_HAS_LOAD_STORE_LR 1637 help 1638 The options selects support for the NEC VR4100 series of processors. 1639 Only choose this option if you have one of these processors as a 1640 kernel built with this option will not run on any other type of 1641 processor or vice versa. 1642 1643config CPU_R4X00 1644 bool "R4x00" 1645 depends on SYS_HAS_CPU_R4X00 1646 select CPU_SUPPORTS_32BIT_KERNEL 1647 select CPU_SUPPORTS_64BIT_KERNEL 1648 select CPU_SUPPORTS_HUGEPAGES 1649 select CPU_HAS_LOAD_STORE_LR 1650 help 1651 MIPS Technologies R4000-series processors other than 4300, including 1652 the R4000, R4400, R4600, and 4700. 1653 1654config CPU_TX49XX 1655 bool "R49XX" 1656 depends on SYS_HAS_CPU_TX49XX 1657 select CPU_HAS_PREFETCH 1658 select CPU_HAS_LOAD_STORE_LR 1659 select CPU_SUPPORTS_32BIT_KERNEL 1660 select CPU_SUPPORTS_64BIT_KERNEL 1661 select CPU_SUPPORTS_HUGEPAGES 1662 1663config CPU_R5000 1664 bool "R5000" 1665 depends on SYS_HAS_CPU_R5000 1666 select CPU_SUPPORTS_32BIT_KERNEL 1667 select CPU_SUPPORTS_64BIT_KERNEL 1668 select CPU_SUPPORTS_HUGEPAGES 1669 select CPU_HAS_LOAD_STORE_LR 1670 help 1671 MIPS Technologies R5000-series processors other than the Nevada. 1672 1673config CPU_R5500 1674 bool "R5500" 1675 depends on SYS_HAS_CPU_R5500 1676 select CPU_SUPPORTS_32BIT_KERNEL 1677 select CPU_SUPPORTS_64BIT_KERNEL 1678 select CPU_SUPPORTS_HUGEPAGES 1679 select CPU_HAS_LOAD_STORE_LR 1680 help 1681 NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV 1682 instruction set. 1683 1684config CPU_NEVADA 1685 bool "RM52xx" 1686 depends on SYS_HAS_CPU_NEVADA 1687 select CPU_SUPPORTS_32BIT_KERNEL 1688 select CPU_SUPPORTS_64BIT_KERNEL 1689 select CPU_SUPPORTS_HUGEPAGES 1690 select CPU_HAS_LOAD_STORE_LR 1691 help 1692 QED / PMC-Sierra RM52xx-series ("Nevada") processors. 1693 1694config CPU_R10000 1695 bool "R10000" 1696 depends on SYS_HAS_CPU_R10000 1697 select CPU_HAS_PREFETCH 1698 select CPU_HAS_LOAD_STORE_LR 1699 select CPU_SUPPORTS_32BIT_KERNEL 1700 select CPU_SUPPORTS_64BIT_KERNEL 1701 select CPU_SUPPORTS_HIGHMEM 1702 select CPU_SUPPORTS_HUGEPAGES 1703 help 1704 MIPS Technologies R10000-series processors. 1705 1706config CPU_RM7000 1707 bool "RM7000" 1708 depends on SYS_HAS_CPU_RM7000 1709 select CPU_HAS_PREFETCH 1710 select CPU_HAS_LOAD_STORE_LR 1711 select CPU_SUPPORTS_32BIT_KERNEL 1712 select CPU_SUPPORTS_64BIT_KERNEL 1713 select CPU_SUPPORTS_HIGHMEM 1714 select CPU_SUPPORTS_HUGEPAGES 1715 1716config CPU_SB1 1717 bool "SB1" 1718 depends on SYS_HAS_CPU_SB1 1719 select CPU_HAS_LOAD_STORE_LR 1720 select CPU_SUPPORTS_32BIT_KERNEL 1721 select CPU_SUPPORTS_64BIT_KERNEL 1722 select CPU_SUPPORTS_HIGHMEM 1723 select CPU_SUPPORTS_HUGEPAGES 1724 select WEAK_ORDERING 1725 1726config CPU_CAVIUM_OCTEON 1727 bool "Cavium Octeon processor" 1728 depends on SYS_HAS_CPU_CAVIUM_OCTEON 1729 select CPU_HAS_PREFETCH 1730 select CPU_HAS_LOAD_STORE_LR 1731 select CPU_SUPPORTS_64BIT_KERNEL 1732 select WEAK_ORDERING 1733 select CPU_SUPPORTS_HIGHMEM 1734 select CPU_SUPPORTS_HUGEPAGES 1735 select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 1736 select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 1737 select MIPS_L1_CACHE_SHIFT_7 1738 select HAVE_KVM 1739 help 1740 The Cavium Octeon processor is a highly integrated chip containing 1741 many ethernet hardware widgets for networking tasks. The processor 1742 can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets. 1743 Full details can be found at http://www.caviumnetworks.com. 1744 1745config CPU_BMIPS 1746 bool "Broadcom BMIPS" 1747 depends on SYS_HAS_CPU_BMIPS 1748 select CPU_MIPS32 1749 select CPU_BMIPS32_3300 if SYS_HAS_CPU_BMIPS32_3300 1750 select CPU_BMIPS4350 if SYS_HAS_CPU_BMIPS4350 1751 select CPU_BMIPS4380 if SYS_HAS_CPU_BMIPS4380 1752 select CPU_BMIPS5000 if SYS_HAS_CPU_BMIPS5000 1753 select CPU_SUPPORTS_32BIT_KERNEL 1754 select DMA_NONCOHERENT 1755 select IRQ_MIPS_CPU 1756 select SWAP_IO_SPACE 1757 select WEAK_ORDERING 1758 select CPU_SUPPORTS_HIGHMEM 1759 select CPU_HAS_PREFETCH 1760 select CPU_HAS_LOAD_STORE_LR 1761 select CPU_SUPPORTS_CPUFREQ 1762 select MIPS_EXTERNAL_TIMER 1763 help 1764 Support for BMIPS32/3300/4350/4380 and BMIPS5000 processors. 1765 1766config CPU_XLR 1767 bool "Netlogic XLR SoC" 1768 depends on SYS_HAS_CPU_XLR 1769 select CPU_HAS_LOAD_STORE_LR 1770 select CPU_SUPPORTS_32BIT_KERNEL 1771 select CPU_SUPPORTS_64BIT_KERNEL 1772 select CPU_SUPPORTS_HIGHMEM 1773 select CPU_SUPPORTS_HUGEPAGES 1774 select WEAK_ORDERING 1775 select WEAK_REORDERING_BEYOND_LLSC 1776 help 1777 Netlogic Microsystems XLR/XLS processors. 1778 1779config CPU_XLP 1780 bool "Netlogic XLP SoC" 1781 depends on SYS_HAS_CPU_XLP 1782 select CPU_SUPPORTS_32BIT_KERNEL 1783 select CPU_SUPPORTS_64BIT_KERNEL 1784 select CPU_SUPPORTS_HIGHMEM 1785 select WEAK_ORDERING 1786 select WEAK_REORDERING_BEYOND_LLSC 1787 select CPU_HAS_PREFETCH 1788 select CPU_HAS_LOAD_STORE_LR 1789 select CPU_MIPSR2 1790 select CPU_SUPPORTS_HUGEPAGES 1791 select MIPS_ASID_BITS_VARIABLE 1792 help 1793 Netlogic Microsystems XLP processors. 1794endchoice 1795 1796config CPU_MIPS32_3_5_FEATURES 1797 bool "MIPS32 Release 3.5 Features" 1798 depends on SYS_HAS_CPU_MIPS32_R3_5 1799 depends on CPU_MIPS32_R2 || CPU_MIPS32_R6 1800 help 1801 Choose this option to build a kernel for release 2 or later of the 1802 MIPS32 architecture including features from the 3.5 release such as 1803 support for Enhanced Virtual Addressing (EVA). 1804 1805config CPU_MIPS32_3_5_EVA 1806 bool "Enhanced Virtual Addressing (EVA)" 1807 depends on CPU_MIPS32_3_5_FEATURES 1808 select EVA 1809 default y 1810 help 1811 Choose this option if you want to enable the Enhanced Virtual 1812 Addressing (EVA) on your MIPS32 core (such as proAptiv). 1813 One of its primary benefits is an increase in the maximum size 1814 of lowmem (up to 3GB). If unsure, say 'N' here. 1815 1816config CPU_MIPS32_R5_FEATURES 1817 bool "MIPS32 Release 5 Features" 1818 depends on SYS_HAS_CPU_MIPS32_R5 1819 depends on CPU_MIPS32_R2 1820 help 1821 Choose this option to build a kernel for release 2 or later of the 1822 MIPS32 architecture including features from release 5 such as 1823 support for Extended Physical Addressing (XPA). 1824 1825config CPU_MIPS32_R5_XPA 1826 bool "Extended Physical Addressing (XPA)" 1827 depends on CPU_MIPS32_R5_FEATURES 1828 depends on !EVA 1829 depends on !PAGE_SIZE_4KB 1830 depends on SYS_SUPPORTS_HIGHMEM 1831 select XPA 1832 select HIGHMEM 1833 select PHYS_ADDR_T_64BIT 1834 default n 1835 help 1836 Choose this option if you want to enable the Extended Physical 1837 Addressing (XPA) on your MIPS32 core (such as P5600 series). The 1838 benefit is to increase physical addressing equal to or greater 1839 than 40 bits. Note that this has the side effect of turning on 1840 64-bit addressing which in turn makes the PTEs 64-bit in size. 1841 If unsure, say 'N' here. 1842 1843if CPU_LOONGSON2F 1844config CPU_NOP_WORKAROUNDS 1845 bool 1846 1847config CPU_JUMP_WORKAROUNDS 1848 bool 1849 1850config CPU_LOONGSON2F_WORKAROUNDS 1851 bool "Loongson 2F Workarounds" 1852 default y 1853 select CPU_NOP_WORKAROUNDS 1854 select CPU_JUMP_WORKAROUNDS 1855 help 1856 Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which 1857 require workarounds. Without workarounds the system may hang 1858 unexpectedly. For more information please refer to the gas 1859 -mfix-loongson2f-nop and -mfix-loongson2f-jump options. 1860 1861 Loongson 2F03 and later have fixed these issues and no workarounds 1862 are needed. The workarounds have no significant side effect on them 1863 but may decrease the performance of the system so this option should 1864 be disabled unless the kernel is intended to be run on 2F01 or 2F02 1865 systems. 1866 1867 If unsure, please say Y. 1868endif # CPU_LOONGSON2F 1869 1870config SYS_SUPPORTS_ZBOOT 1871 bool 1872 select HAVE_KERNEL_GZIP 1873 select HAVE_KERNEL_BZIP2 1874 select HAVE_KERNEL_LZ4 1875 select HAVE_KERNEL_LZMA 1876 select HAVE_KERNEL_LZO 1877 select HAVE_KERNEL_XZ 1878 1879config SYS_SUPPORTS_ZBOOT_UART16550 1880 bool 1881 select SYS_SUPPORTS_ZBOOT 1882 1883config SYS_SUPPORTS_ZBOOT_UART_PROM 1884 bool 1885 select SYS_SUPPORTS_ZBOOT 1886 1887config CPU_LOONGSON2EF 1888 bool 1889 select CPU_SUPPORTS_32BIT_KERNEL 1890 select CPU_SUPPORTS_64BIT_KERNEL 1891 select CPU_SUPPORTS_HIGHMEM 1892 select CPU_SUPPORTS_HUGEPAGES 1893 select ARCH_HAS_PHYS_TO_DMA 1894 select CPU_HAS_LOAD_STORE_LR 1895 1896config CPU_LOONGSON1 1897 bool 1898 select CPU_MIPS32 1899 select CPU_MIPSR2 1900 select CPU_HAS_PREFETCH 1901 select CPU_HAS_LOAD_STORE_LR 1902 select CPU_SUPPORTS_32BIT_KERNEL 1903 select CPU_SUPPORTS_HIGHMEM 1904 select CPU_SUPPORTS_CPUFREQ 1905 1906config CPU_BMIPS32_3300 1907 select SMP_UP if SMP 1908 bool 1909 1910config CPU_BMIPS4350 1911 bool 1912 select SYS_SUPPORTS_SMP 1913 select SYS_SUPPORTS_HOTPLUG_CPU 1914 1915config CPU_BMIPS4380 1916 bool 1917 select MIPS_L1_CACHE_SHIFT_6 1918 select SYS_SUPPORTS_SMP 1919 select SYS_SUPPORTS_HOTPLUG_CPU 1920 select CPU_HAS_RIXI 1921 1922config CPU_BMIPS5000 1923 bool 1924 select MIPS_CPU_SCACHE 1925 select MIPS_L1_CACHE_SHIFT_7 1926 select SYS_SUPPORTS_SMP 1927 select SYS_SUPPORTS_HOTPLUG_CPU 1928 select CPU_HAS_RIXI 1929 1930config SYS_HAS_CPU_LOONGSON64 1931 bool 1932 select CPU_SUPPORTS_CPUFREQ 1933 select CPU_HAS_RIXI 1934 1935config SYS_HAS_CPU_LOONGSON2E 1936 bool 1937 1938config SYS_HAS_CPU_LOONGSON2F 1939 bool 1940 select CPU_SUPPORTS_CPUFREQ 1941 select CPU_SUPPORTS_ADDRWINCFG if 64BIT 1942 select CPU_SUPPORTS_UNCACHED_ACCELERATED 1943 1944config SYS_HAS_CPU_LOONGSON1B 1945 bool 1946 1947config SYS_HAS_CPU_LOONGSON1C 1948 bool 1949 1950config SYS_HAS_CPU_MIPS32_R1 1951 bool 1952 1953config SYS_HAS_CPU_MIPS32_R2 1954 bool 1955 1956config SYS_HAS_CPU_MIPS32_R3_5 1957 bool 1958 1959config SYS_HAS_CPU_MIPS32_R5 1960 bool 1961 select ARCH_HAS_SYNC_DMA_FOR_CPU if DMA_NONCOHERENT 1962 1963config SYS_HAS_CPU_MIPS32_R6 1964 bool 1965 select ARCH_HAS_SYNC_DMA_FOR_CPU if DMA_NONCOHERENT 1966 1967config SYS_HAS_CPU_MIPS64_R1 1968 bool 1969 1970config SYS_HAS_CPU_MIPS64_R2 1971 bool 1972 1973config SYS_HAS_CPU_MIPS64_R6 1974 bool 1975 select ARCH_HAS_SYNC_DMA_FOR_CPU if DMA_NONCOHERENT 1976 1977config SYS_HAS_CPU_R3000 1978 bool 1979 1980config SYS_HAS_CPU_TX39XX 1981 bool 1982 1983config SYS_HAS_CPU_VR41XX 1984 bool 1985 1986config SYS_HAS_CPU_R4X00 1987 bool 1988 1989config SYS_HAS_CPU_TX49XX 1990 bool 1991 1992config SYS_HAS_CPU_R5000 1993 bool 1994 1995config SYS_HAS_CPU_R5500 1996 bool 1997 1998config SYS_HAS_CPU_NEVADA 1999 bool 2000 2001config SYS_HAS_CPU_R10000 2002 bool 2003 select ARCH_HAS_SYNC_DMA_FOR_CPU if DMA_NONCOHERENT 2004 2005config SYS_HAS_CPU_RM7000 2006 bool 2007 2008config SYS_HAS_CPU_SB1 2009 bool 2010 2011config SYS_HAS_CPU_CAVIUM_OCTEON 2012 bool 2013 2014config SYS_HAS_CPU_BMIPS 2015 bool 2016 2017config SYS_HAS_CPU_BMIPS32_3300 2018 bool 2019 select SYS_HAS_CPU_BMIPS 2020 2021config SYS_HAS_CPU_BMIPS4350 2022 bool 2023 select SYS_HAS_CPU_BMIPS 2024 2025config SYS_HAS_CPU_BMIPS4380 2026 bool 2027 select SYS_HAS_CPU_BMIPS 2028 2029config SYS_HAS_CPU_BMIPS5000 2030 bool 2031 select SYS_HAS_CPU_BMIPS 2032 select ARCH_HAS_SYNC_DMA_FOR_CPU 2033 2034config SYS_HAS_CPU_XLR 2035 bool 2036 2037config SYS_HAS_CPU_XLP 2038 bool 2039 2040# 2041# CPU may reorder R->R, R->W, W->R, W->W 2042# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC 2043# 2044config WEAK_ORDERING 2045 bool 2046 2047# 2048# CPU may reorder reads and writes beyond LL/SC 2049# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC 2050# 2051config WEAK_REORDERING_BEYOND_LLSC 2052 bool 2053endmenu 2054 2055# 2056# These two indicate any level of the MIPS32 and MIPS64 architecture 2057# 2058config CPU_MIPS32 2059 bool 2060 default y if CPU_MIPS32_R1 || CPU_MIPS32_R2 || CPU_MIPS32_R6 2061 2062config CPU_MIPS64 2063 bool 2064 default y if CPU_MIPS64_R1 || CPU_MIPS64_R2 || CPU_MIPS64_R6 2065 2066# 2067# These indicate the revision of the architecture 2068# 2069config CPU_MIPSR1 2070 bool 2071 default y if CPU_MIPS32_R1 || CPU_MIPS64_R1 2072 2073config CPU_MIPSR2 2074 bool 2075 default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON 2076 select CPU_HAS_RIXI 2077 select MIPS_SPRAM 2078 2079config CPU_MIPSR6 2080 bool 2081 default y if CPU_MIPS32_R6 || CPU_MIPS64_R6 2082 select CPU_HAS_RIXI 2083 select HAVE_ARCH_BITREVERSE 2084 select MIPS_ASID_BITS_VARIABLE 2085 select MIPS_CRC_SUPPORT 2086 select MIPS_SPRAM 2087 2088config TARGET_ISA_REV 2089 int 2090 default 1 if CPU_MIPSR1 2091 default 2 if CPU_MIPSR2 2092 default 6 if CPU_MIPSR6 2093 default 0 2094 help 2095 Reflects the ISA revision being targeted by the kernel build. This 2096 is effectively the Kconfig equivalent of MIPS_ISA_REV. 2097 2098config EVA 2099 bool 2100 2101config XPA 2102 bool 2103 2104config SYS_SUPPORTS_32BIT_KERNEL 2105 bool 2106config SYS_SUPPORTS_64BIT_KERNEL 2107 bool 2108config CPU_SUPPORTS_32BIT_KERNEL 2109 bool 2110config CPU_SUPPORTS_64BIT_KERNEL 2111 bool 2112config CPU_SUPPORTS_CPUFREQ 2113 bool 2114config CPU_SUPPORTS_ADDRWINCFG 2115 bool 2116config CPU_SUPPORTS_HUGEPAGES 2117 bool 2118 depends on !(32BIT && (ARCH_PHYS_ADDR_T_64BIT || EVA)) 2119config CPU_SUPPORTS_UNCACHED_ACCELERATED 2120 bool 2121config MIPS_PGD_C0_CONTEXT 2122 bool 2123 default y if 64BIT && (CPU_MIPSR2 || CPU_MIPSR6) && !CPU_XLP 2124 2125# 2126# Set to y for ptrace access to watch registers. 2127# 2128config HARDWARE_WATCHPOINTS 2129 bool 2130 default y if CPU_MIPSR1 || CPU_MIPSR2 || CPU_MIPSR6 2131 2132menu "Kernel type" 2133 2134choice 2135 prompt "Kernel code model" 2136 help 2137 You should only select this option if you have a workload that 2138 actually benefits from 64-bit processing or if your machine has 2139 large memory. You will only be presented a single option in this 2140 menu if your system does not support both 32-bit and 64-bit kernels. 2141 2142config 32BIT 2143 bool "32-bit kernel" 2144 depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL 2145 select TRAD_SIGNALS 2146 help 2147 Select this option if you want to build a 32-bit kernel. 2148 2149config 64BIT 2150 bool "64-bit kernel" 2151 depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL 2152 help 2153 Select this option if you want to build a 64-bit kernel. 2154 2155endchoice 2156 2157config KVM_GUEST 2158 bool "KVM Guest Kernel" 2159 depends on BROKEN_ON_SMP 2160 help 2161 Select this option if building a guest kernel for KVM (Trap & Emulate) 2162 mode. 2163 2164config KVM_GUEST_TIMER_FREQ 2165 int "Count/Compare Timer Frequency (MHz)" 2166 depends on KVM_GUEST 2167 default 100 2168 help 2169 Set this to non-zero if building a guest kernel for KVM to skip RTC 2170 emulation when determining guest CPU Frequency. Instead, the guest's 2171 timer frequency is specified directly. 2172 2173config MIPS_VA_BITS_48 2174 bool "48 bits virtual memory" 2175 depends on 64BIT 2176 help 2177 Support a maximum at least 48 bits of application virtual 2178 memory. Default is 40 bits or less, depending on the CPU. 2179 For page sizes 16k and above, this option results in a small 2180 memory overhead for page tables. For 4k page size, a fourth 2181 level of page tables is added which imposes both a memory 2182 overhead as well as slower TLB fault handling. 2183 2184 If unsure, say N. 2185 2186choice 2187 prompt "Kernel page size" 2188 default PAGE_SIZE_4KB 2189 2190config PAGE_SIZE_4KB 2191 bool "4kB" 2192 depends on !CPU_LOONGSON2EF && !CPU_LOONGSON64 2193 help 2194 This option select the standard 4kB Linux page size. On some 2195 R3000-family processors this is the only available page size. Using 2196 4kB page size will minimize memory consumption and is therefore 2197 recommended for low memory systems. 2198 2199config PAGE_SIZE_8KB 2200 bool "8kB" 2201 depends on CPU_CAVIUM_OCTEON 2202 depends on !MIPS_VA_BITS_48 2203 help 2204 Using 8kB page size will result in higher performance kernel at 2205 the price of higher memory consumption. This option is available 2206 only on cnMIPS processors. Note that you will need a suitable Linux 2207 distribution to support this. 2208 2209config PAGE_SIZE_16KB 2210 bool "16kB" 2211 depends on !CPU_R3000 && !CPU_TX39XX 2212 help 2213 Using 16kB page size will result in higher performance kernel at 2214 the price of higher memory consumption. This option is available on 2215 all non-R3000 family processors. Note that you will need a suitable 2216 Linux distribution to support this. 2217 2218config PAGE_SIZE_32KB 2219 bool "32kB" 2220 depends on CPU_CAVIUM_OCTEON 2221 depends on !MIPS_VA_BITS_48 2222 help 2223 Using 32kB page size will result in higher performance kernel at 2224 the price of higher memory consumption. This option is available 2225 only on cnMIPS cores. Note that you will need a suitable Linux 2226 distribution to support this. 2227 2228config PAGE_SIZE_64KB 2229 bool "64kB" 2230 depends on !CPU_R3000 && !CPU_TX39XX 2231 help 2232 Using 64kB page size will result in higher performance kernel at 2233 the price of higher memory consumption. This option is available on 2234 all non-R3000 family processor. Not that at the time of this 2235 writing this option is still high experimental. 2236 2237endchoice 2238 2239config FORCE_MAX_ZONEORDER 2240 int "Maximum zone order" 2241 range 14 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB 2242 default "14" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB 2243 range 13 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB 2244 default "13" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB 2245 range 12 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB 2246 default "12" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB 2247 range 11 64 2248 default "11" 2249 help 2250 The kernel memory allocator divides physically contiguous memory 2251 blocks into "zones", where each zone is a power of two number of 2252 pages. This option selects the largest power of two that the kernel 2253 keeps in the memory allocator. If you need to allocate very large 2254 blocks of physically contiguous memory, then you may need to 2255 increase this value. 2256 2257 This config option is actually maximum order plus one. For example, 2258 a value of 11 means that the largest free memory block is 2^10 pages. 2259 2260 The page size is not necessarily 4KB. Keep this in mind 2261 when choosing a value for this option. 2262 2263config BOARD_SCACHE 2264 bool 2265 2266config IP22_CPU_SCACHE 2267 bool 2268 select BOARD_SCACHE 2269 2270# 2271# Support for a MIPS32 / MIPS64 style S-caches 2272# 2273config MIPS_CPU_SCACHE 2274 bool 2275 select BOARD_SCACHE 2276 2277config R5000_CPU_SCACHE 2278 bool 2279 select BOARD_SCACHE 2280 2281config RM7000_CPU_SCACHE 2282 bool 2283 select BOARD_SCACHE 2284 2285config SIBYTE_DMA_PAGEOPS 2286 bool "Use DMA to clear/copy pages" 2287 depends on CPU_SB1 2288 help 2289 Instead of using the CPU to zero and copy pages, use a Data Mover 2290 channel. These DMA channels are otherwise unused by the standard 2291 SiByte Linux port. Seems to give a small performance benefit. 2292 2293config CPU_HAS_PREFETCH 2294 bool 2295 2296config CPU_GENERIC_DUMP_TLB 2297 bool 2298 default y if !(CPU_R3000 || CPU_TX39XX) 2299 2300config MIPS_FP_SUPPORT 2301 bool "Floating Point support" if EXPERT 2302 default y 2303 help 2304 Select y to include support for floating point in the kernel 2305 including initialization of FPU hardware, FP context save & restore 2306 and emulation of an FPU where necessary. Without this support any 2307 userland program attempting to use floating point instructions will 2308 receive a SIGILL. 2309 2310 If you know that your userland will not attempt to use floating point 2311 instructions then you can say n here to shrink the kernel a little. 2312 2313 If unsure, say y. 2314 2315config CPU_R2300_FPU 2316 bool 2317 depends on MIPS_FP_SUPPORT 2318 default y if CPU_R3000 || CPU_TX39XX 2319 2320config CPU_R3K_TLB 2321 bool 2322 2323config CPU_R4K_FPU 2324 bool 2325 depends on MIPS_FP_SUPPORT 2326 default y if !CPU_R2300_FPU 2327 2328config CPU_R4K_CACHE_TLB 2329 bool 2330 default y if !(CPU_R3K_TLB || CPU_SB1 || CPU_CAVIUM_OCTEON) 2331 2332config MIPS_MT_SMP 2333 bool "MIPS MT SMP support (1 TC on each available VPE)" 2334 default y 2335 depends on SYS_SUPPORTS_MULTITHREADING && !CPU_MIPSR6 && !CPU_MICROMIPS 2336 select CPU_MIPSR2_IRQ_VI 2337 select CPU_MIPSR2_IRQ_EI 2338 select SYNC_R4K 2339 select MIPS_MT 2340 select SMP 2341 select SMP_UP 2342 select SYS_SUPPORTS_SMP 2343 select SYS_SUPPORTS_SCHED_SMT 2344 select MIPS_PERF_SHARED_TC_COUNTERS 2345 help 2346 This is a kernel model which is known as SMVP. This is supported 2347 on cores with the MT ASE and uses the available VPEs to implement 2348 virtual processors which supports SMP. This is equivalent to the 2349 Intel Hyperthreading feature. For further information go to 2350 <http://www.imgtec.com/mips/mips-multithreading.asp>. 2351 2352config MIPS_MT 2353 bool 2354 2355config SCHED_SMT 2356 bool "SMT (multithreading) scheduler support" 2357 depends on SYS_SUPPORTS_SCHED_SMT 2358 default n 2359 help 2360 SMT scheduler support improves the CPU scheduler's decision making 2361 when dealing with MIPS MT enabled cores at a cost of slightly 2362 increased overhead in some places. If unsure say N here. 2363 2364config SYS_SUPPORTS_SCHED_SMT 2365 bool 2366 2367config SYS_SUPPORTS_MULTITHREADING 2368 bool 2369 2370config MIPS_MT_FPAFF 2371 bool "Dynamic FPU affinity for FP-intensive threads" 2372 default y 2373 depends on MIPS_MT_SMP 2374 2375config MIPSR2_TO_R6_EMULATOR 2376 bool "MIPS R2-to-R6 emulator" 2377 depends on CPU_MIPSR6 2378 depends on MIPS_FP_SUPPORT 2379 default y 2380 help 2381 Choose this option if you want to run non-R6 MIPS userland code. 2382 Even if you say 'Y' here, the emulator will still be disabled by 2383 default. You can enable it using the 'mipsr2emu' kernel option. 2384 The only reason this is a build-time option is to save ~14K from the 2385 final kernel image. 2386 2387config SYS_SUPPORTS_VPE_LOADER 2388 bool 2389 depends on SYS_SUPPORTS_MULTITHREADING 2390 help 2391 Indicates that the platform supports the VPE loader, and provides 2392 physical_memsize. 2393 2394config MIPS_VPE_LOADER 2395 bool "VPE loader support." 2396 depends on SYS_SUPPORTS_VPE_LOADER && MODULES 2397 select CPU_MIPSR2_IRQ_VI 2398 select CPU_MIPSR2_IRQ_EI 2399 select MIPS_MT 2400 help 2401 Includes a loader for loading an elf relocatable object 2402 onto another VPE and running it. 2403 2404config MIPS_VPE_LOADER_CMP 2405 bool 2406 default "y" 2407 depends on MIPS_VPE_LOADER && MIPS_CMP 2408 2409config MIPS_VPE_LOADER_MT 2410 bool 2411 default "y" 2412 depends on MIPS_VPE_LOADER && !MIPS_CMP 2413 2414config MIPS_VPE_LOADER_TOM 2415 bool "Load VPE program into memory hidden from linux" 2416 depends on MIPS_VPE_LOADER 2417 default y 2418 help 2419 The loader can use memory that is present but has been hidden from 2420 Linux using the kernel command line option "mem=xxMB". It's up to 2421 you to ensure the amount you put in the option and the space your 2422 program requires is less or equal to the amount physically present. 2423 2424config MIPS_VPE_APSP_API 2425 bool "Enable support for AP/SP API (RTLX)" 2426 depends on MIPS_VPE_LOADER 2427 2428config MIPS_VPE_APSP_API_CMP 2429 bool 2430 default "y" 2431 depends on MIPS_VPE_APSP_API && MIPS_CMP 2432 2433config MIPS_VPE_APSP_API_MT 2434 bool 2435 default "y" 2436 depends on MIPS_VPE_APSP_API && !MIPS_CMP 2437 2438config MIPS_CMP 2439 bool "MIPS CMP framework support (DEPRECATED)" 2440 depends on SYS_SUPPORTS_MIPS_CMP && !CPU_MIPSR6 2441 select SMP 2442 select SYNC_R4K 2443 select SYS_SUPPORTS_SMP 2444 select WEAK_ORDERING 2445 default n 2446 help 2447 Select this if you are using a bootloader which implements the "CMP 2448 framework" protocol (ie. YAMON) and want your kernel to make use of 2449 its ability to start secondary CPUs. 2450 2451 Unless you have a specific need, you should use CONFIG_MIPS_CPS 2452 instead of this. 2453 2454config MIPS_CPS 2455 bool "MIPS Coherent Processing System support" 2456 depends on SYS_SUPPORTS_MIPS_CPS 2457 select MIPS_CM 2458 select MIPS_CPS_PM if HOTPLUG_CPU 2459 select SMP 2460 select SYNC_R4K if (CEVT_R4K || CSRC_R4K) 2461 select SYS_SUPPORTS_HOTPLUG_CPU 2462 select SYS_SUPPORTS_SCHED_SMT if CPU_MIPSR6 2463 select SYS_SUPPORTS_SMP 2464 select WEAK_ORDERING 2465 help 2466 Select this if you wish to run an SMP kernel across multiple cores 2467 within a MIPS Coherent Processing System. When this option is 2468 enabled the kernel will probe for other cores and boot them with 2469 no external assistance. It is safe to enable this when hardware 2470 support is unavailable. 2471 2472config MIPS_CPS_PM 2473 depends on MIPS_CPS 2474 bool 2475 2476config MIPS_CM 2477 bool 2478 select MIPS_CPC 2479 2480config MIPS_CPC 2481 bool 2482 2483config SB1_PASS_2_WORKAROUNDS 2484 bool 2485 depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2) 2486 default y 2487 2488config SB1_PASS_2_1_WORKAROUNDS 2489 bool 2490 depends on CPU_SB1 && CPU_SB1_PASS_2 2491 default y 2492 2493choice 2494 prompt "SmartMIPS or microMIPS ASE support" 2495 2496config CPU_NEEDS_NO_SMARTMIPS_OR_MICROMIPS 2497 bool "None" 2498 help 2499 Select this if you want neither microMIPS nor SmartMIPS support 2500 2501config CPU_HAS_SMARTMIPS 2502 depends on SYS_SUPPORTS_SMARTMIPS 2503 bool "SmartMIPS" 2504 help 2505 SmartMIPS is a extension of the MIPS32 architecture aimed at 2506 increased security at both hardware and software level for 2507 smartcards. Enabling this option will allow proper use of the 2508 SmartMIPS instructions by Linux applications. However a kernel with 2509 this option will not work on a MIPS core without SmartMIPS core. If 2510 you don't know you probably don't have SmartMIPS and should say N 2511 here. 2512 2513config CPU_MICROMIPS 2514 depends on 32BIT && SYS_SUPPORTS_MICROMIPS && !CPU_MIPSR6 2515 bool "microMIPS" 2516 help 2517 When this option is enabled the kernel will be built using the 2518 microMIPS ISA 2519 2520endchoice 2521 2522config CPU_HAS_MSA 2523 bool "Support for the MIPS SIMD Architecture" 2524 depends on CPU_SUPPORTS_MSA 2525 depends on MIPS_FP_SUPPORT 2526 depends on 64BIT || MIPS_O32_FP64_SUPPORT 2527 help 2528 MIPS SIMD Architecture (MSA) introduces 128 bit wide vector registers 2529 and a set of SIMD instructions to operate on them. When this option 2530 is enabled the kernel will support allocating & switching MSA 2531 vector register contexts. If you know that your kernel will only be 2532 running on CPUs which do not support MSA or that your userland will 2533 not be making use of it then you may wish to say N here to reduce 2534 the size & complexity of your kernel. 2535 2536 If unsure, say Y. 2537 2538config CPU_HAS_WB 2539 bool 2540 2541config XKS01 2542 bool 2543 2544config CPU_HAS_RIXI 2545 bool 2546 2547config CPU_HAS_LOAD_STORE_LR 2548 bool 2549 help 2550 CPU has support for unaligned load and store instructions: 2551 LWL, LWR, SWL, SWR (Load/store word left/right). 2552 LDL, LDR, SDL, SDR (Load/store doubleword left/right, for 64bit systems). 2553 2554# 2555# Vectored interrupt mode is an R2 feature 2556# 2557config CPU_MIPSR2_IRQ_VI 2558 bool 2559 2560# 2561# Extended interrupt mode is an R2 feature 2562# 2563config CPU_MIPSR2_IRQ_EI 2564 bool 2565 2566config CPU_HAS_SYNC 2567 bool 2568 depends on !CPU_R3000 2569 default y 2570 2571# 2572# CPU non-features 2573# 2574config CPU_DADDI_WORKAROUNDS 2575 bool 2576 2577config CPU_R4000_WORKAROUNDS 2578 bool 2579 select CPU_R4400_WORKAROUNDS 2580 2581config CPU_R4400_WORKAROUNDS 2582 bool 2583 2584config CPU_R4X00_BUGS64 2585 bool 2586 default y if SYS_HAS_CPU_R4X00 && 64BIT && (TARGET_ISA_REV < 1) 2587 2588config MIPS_ASID_SHIFT 2589 int 2590 default 6 if CPU_R3000 || CPU_TX39XX 2591 default 0 2592 2593config MIPS_ASID_BITS 2594 int 2595 default 0 if MIPS_ASID_BITS_VARIABLE 2596 default 6 if CPU_R3000 || CPU_TX39XX 2597 default 8 2598 2599config MIPS_ASID_BITS_VARIABLE 2600 bool 2601 2602config MIPS_CRC_SUPPORT 2603 bool 2604 2605# 2606# - Highmem only makes sense for the 32-bit kernel. 2607# - The current highmem code will only work properly on physically indexed 2608# caches such as R3000, SB1, R7000 or those that look like they're virtually 2609# indexed such as R4000/R4400 SC and MC versions or R10000. So for the 2610# moment we protect the user and offer the highmem option only on machines 2611# where it's known to be safe. This will not offer highmem on a few systems 2612# such as MIPS32 and MIPS64 CPUs which may have virtual and physically 2613# indexed CPUs but we're playing safe. 2614# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we 2615# know they might have memory configurations that could make use of highmem 2616# support. 2617# 2618config HIGHMEM 2619 bool "High Memory Support" 2620 depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM && !CPU_MIPS32_3_5_EVA 2621 2622config CPU_SUPPORTS_HIGHMEM 2623 bool 2624 2625config SYS_SUPPORTS_HIGHMEM 2626 bool 2627 2628config SYS_SUPPORTS_SMARTMIPS 2629 bool 2630 2631config SYS_SUPPORTS_MICROMIPS 2632 bool 2633 2634config SYS_SUPPORTS_MIPS16 2635 bool 2636 help 2637 This option must be set if a kernel might be executed on a MIPS16- 2638 enabled CPU even if MIPS16 is not actually being used. In other 2639 words, it makes the kernel MIPS16-tolerant. 2640 2641config CPU_SUPPORTS_MSA 2642 bool 2643 2644config ARCH_FLATMEM_ENABLE 2645 def_bool y 2646 depends on !NUMA && !CPU_LOONGSON2EF 2647 2648config ARCH_SPARSEMEM_ENABLE 2649 bool 2650 select SPARSEMEM_STATIC if !SGI_IP27 2651 2652config NUMA 2653 bool "NUMA Support" 2654 depends on SYS_SUPPORTS_NUMA 2655 help 2656 Say Y to compile the kernel to support NUMA (Non-Uniform Memory 2657 Access). This option improves performance on systems with more 2658 than two nodes; on two node systems it is generally better to 2659 leave it disabled; on single node systems disable this option 2660 disabled. 2661 2662config SYS_SUPPORTS_NUMA 2663 bool 2664 2665config RELOCATABLE 2666 bool "Relocatable kernel" 2667 depends on SYS_SUPPORTS_RELOCATABLE && (CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_MIPS32_R6 || CPU_MIPS64_R6 || CAVIUM_OCTEON_SOC) 2668 help 2669 This builds a kernel image that retains relocation information 2670 so it can be loaded someplace besides the default 1MB. 2671 The relocations make the kernel binary about 15% larger, 2672 but are discarded at runtime 2673 2674config RELOCATION_TABLE_SIZE 2675 hex "Relocation table size" 2676 depends on RELOCATABLE 2677 range 0x0 0x01000000 2678 default "0x00100000" 2679 ---help--- 2680 A table of relocation data will be appended to the kernel binary 2681 and parsed at boot to fix up the relocated kernel. 2682 2683 This option allows the amount of space reserved for the table to be 2684 adjusted, although the default of 1Mb should be ok in most cases. 2685 2686 The build will fail and a valid size suggested if this is too small. 2687 2688 If unsure, leave at the default value. 2689 2690config RANDOMIZE_BASE 2691 bool "Randomize the address of the kernel image" 2692 depends on RELOCATABLE 2693 ---help--- 2694 Randomizes the physical and virtual address at which the 2695 kernel image is loaded, as a security feature that 2696 deters exploit attempts relying on knowledge of the location 2697 of kernel internals. 2698 2699 Entropy is generated using any coprocessor 0 registers available. 2700 2701 The kernel will be offset by up to RANDOMIZE_BASE_MAX_OFFSET. 2702 2703 If unsure, say N. 2704 2705config RANDOMIZE_BASE_MAX_OFFSET 2706 hex "Maximum kASLR offset" if EXPERT 2707 depends on RANDOMIZE_BASE 2708 range 0x0 0x40000000 if EVA || 64BIT 2709 range 0x0 0x08000000 2710 default "0x01000000" 2711 ---help--- 2712 When kASLR is active, this provides the maximum offset that will 2713 be applied to the kernel image. It should be set according to the 2714 amount of physical RAM available in the target system minus 2715 PHYSICAL_START and must be a power of 2. 2716 2717 This is limited by the size of KSEG0, 256Mb on 32-bit or 1Gb with 2718 EVA or 64-bit. The default is 16Mb. 2719 2720config NODES_SHIFT 2721 int 2722 default "6" 2723 depends on NEED_MULTIPLE_NODES 2724 2725config HW_PERF_EVENTS 2726 bool "Enable hardware performance counter support for perf events" 2727 depends on PERF_EVENTS && !OPROFILE && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON || CPU_XLP || CPU_LOONGSON64) 2728 default y 2729 help 2730 Enable hardware performance counter support for perf events. If 2731 disabled, perf events will use software events only. 2732 2733config SMP 2734 bool "Multi-Processing support" 2735 depends on SYS_SUPPORTS_SMP 2736 help 2737 This enables support for systems with more than one CPU. If you have 2738 a system with only one CPU, say N. If you have a system with more 2739 than one CPU, say Y. 2740 2741 If you say N here, the kernel will run on uni- and multiprocessor 2742 machines, but will use only one CPU of a multiprocessor machine. If 2743 you say Y here, the kernel will run on many, but not all, 2744 uniprocessor machines. On a uniprocessor machine, the kernel 2745 will run faster if you say N here. 2746 2747 People using multiprocessor machines who say Y here should also say 2748 Y to "Enhanced Real Time Clock Support", below. 2749 2750 See also the SMP-HOWTO available at 2751 <http://www.tldp.org/docs.html#howto>. 2752 2753 If you don't know what to do here, say N. 2754 2755config HOTPLUG_CPU 2756 bool "Support for hot-pluggable CPUs" 2757 depends on SMP && SYS_SUPPORTS_HOTPLUG_CPU 2758 help 2759 Say Y here to allow turning CPUs off and on. CPUs can be 2760 controlled through /sys/devices/system/cpu. 2761 (Note: power management support will enable this option 2762 automatically on SMP systems. ) 2763 Say N if you want to disable CPU hotplug. 2764 2765config SMP_UP 2766 bool 2767 2768config SYS_SUPPORTS_MIPS_CMP 2769 bool 2770 2771config SYS_SUPPORTS_MIPS_CPS 2772 bool 2773 2774config SYS_SUPPORTS_SMP 2775 bool 2776 2777config NR_CPUS_DEFAULT_4 2778 bool 2779 2780config NR_CPUS_DEFAULT_8 2781 bool 2782 2783config NR_CPUS_DEFAULT_16 2784 bool 2785 2786config NR_CPUS_DEFAULT_32 2787 bool 2788 2789config NR_CPUS_DEFAULT_64 2790 bool 2791 2792config NR_CPUS 2793 int "Maximum number of CPUs (2-256)" 2794 range 2 256 2795 depends on SMP 2796 default "4" if NR_CPUS_DEFAULT_4 2797 default "8" if NR_CPUS_DEFAULT_8 2798 default "16" if NR_CPUS_DEFAULT_16 2799 default "32" if NR_CPUS_DEFAULT_32 2800 default "64" if NR_CPUS_DEFAULT_64 2801 help 2802 This allows you to specify the maximum number of CPUs which this 2803 kernel will support. The maximum supported value is 32 for 32-bit 2804 kernel and 64 for 64-bit kernels; the minimum value which makes 2805 sense is 1 for Qemu (useful only for kernel debugging purposes) 2806 and 2 for all others. 2807 2808 This is purely to save memory - each supported CPU adds 2809 approximately eight kilobytes to the kernel image. For best 2810 performance should round up your number of processors to the next 2811 power of two. 2812 2813config MIPS_PERF_SHARED_TC_COUNTERS 2814 bool 2815 2816config MIPS_NR_CPU_NR_MAP_1024 2817 bool 2818 2819config MIPS_NR_CPU_NR_MAP 2820 int 2821 depends on SMP 2822 default 1024 if MIPS_NR_CPU_NR_MAP_1024 2823 default NR_CPUS if !MIPS_NR_CPU_NR_MAP_1024 2824 2825# 2826# Timer Interrupt Frequency Configuration 2827# 2828 2829choice 2830 prompt "Timer frequency" 2831 default HZ_250 2832 help 2833 Allows the configuration of the timer frequency. 2834 2835 config HZ_24 2836 bool "24 HZ" if SYS_SUPPORTS_24HZ || SYS_SUPPORTS_ARBIT_HZ 2837 2838 config HZ_48 2839 bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ 2840 2841 config HZ_100 2842 bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ 2843 2844 config HZ_128 2845 bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ 2846 2847 config HZ_250 2848 bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ 2849 2850 config HZ_256 2851 bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ 2852 2853 config HZ_1000 2854 bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ 2855 2856 config HZ_1024 2857 bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ 2858 2859endchoice 2860 2861config SYS_SUPPORTS_24HZ 2862 bool 2863 2864config SYS_SUPPORTS_48HZ 2865 bool 2866 2867config SYS_SUPPORTS_100HZ 2868 bool 2869 2870config SYS_SUPPORTS_128HZ 2871 bool 2872 2873config SYS_SUPPORTS_250HZ 2874 bool 2875 2876config SYS_SUPPORTS_256HZ 2877 bool 2878 2879config SYS_SUPPORTS_1000HZ 2880 bool 2881 2882config SYS_SUPPORTS_1024HZ 2883 bool 2884 2885config SYS_SUPPORTS_ARBIT_HZ 2886 bool 2887 default y if !SYS_SUPPORTS_24HZ && \ 2888 !SYS_SUPPORTS_48HZ && \ 2889 !SYS_SUPPORTS_100HZ && \ 2890 !SYS_SUPPORTS_128HZ && \ 2891 !SYS_SUPPORTS_250HZ && \ 2892 !SYS_SUPPORTS_256HZ && \ 2893 !SYS_SUPPORTS_1000HZ && \ 2894 !SYS_SUPPORTS_1024HZ 2895 2896config HZ 2897 int 2898 default 24 if HZ_24 2899 default 48 if HZ_48 2900 default 100 if HZ_100 2901 default 128 if HZ_128 2902 default 250 if HZ_250 2903 default 256 if HZ_256 2904 default 1000 if HZ_1000 2905 default 1024 if HZ_1024 2906 2907config SCHED_HRTICK 2908 def_bool HIGH_RES_TIMERS 2909 2910config KEXEC 2911 bool "Kexec system call" 2912 select KEXEC_CORE 2913 help 2914 kexec is a system call that implements the ability to shutdown your 2915 current kernel, and to start another kernel. It is like a reboot 2916 but it is independent of the system firmware. And like a reboot 2917 you can start any kernel with it, not just Linux. 2918 2919 The name comes from the similarity to the exec system call. 2920 2921 It is an ongoing process to be certain the hardware in a machine 2922 is properly shutdown, so do not be surprised if this code does not 2923 initially work for you. As of this writing the exact hardware 2924 interface is strongly in flux, so no good recommendation can be 2925 made. 2926 2927config CRASH_DUMP 2928 bool "Kernel crash dumps" 2929 help 2930 Generate crash dump after being started by kexec. 2931 This should be normally only set in special crash dump kernels 2932 which are loaded in the main kernel with kexec-tools into 2933 a specially reserved region and then later executed after 2934 a crash by kdump/kexec. The crash dump kernel must be compiled 2935 to a memory address not used by the main kernel or firmware using 2936 PHYSICAL_START. 2937 2938config PHYSICAL_START 2939 hex "Physical address where the kernel is loaded" 2940 default "0xffffffff84000000" 2941 depends on CRASH_DUMP 2942 help 2943 This gives the CKSEG0 or KSEG0 address where the kernel is loaded. 2944 If you plan to use kernel for capturing the crash dump change 2945 this value to start of the reserved region (the "X" value as 2946 specified in the "crashkernel=YM@XM" command line boot parameter 2947 passed to the panic-ed kernel). 2948 2949config SECCOMP 2950 bool "Enable seccomp to safely compute untrusted bytecode" 2951 depends on PROC_FS 2952 default y 2953 help 2954 This kernel feature is useful for number crunching applications 2955 that may need to compute untrusted bytecode during their 2956 execution. By using pipes or other transports made available to 2957 the process as file descriptors supporting the read/write 2958 syscalls, it's possible to isolate those applications in 2959 their own address space using seccomp. Once seccomp is 2960 enabled via /proc/<pid>/seccomp, it cannot be disabled 2961 and the task is only allowed to execute a few safe syscalls 2962 defined by each seccomp mode. 2963 2964 If unsure, say Y. Only embedded should say N here. 2965 2966config MIPS_O32_FP64_SUPPORT 2967 bool "Support for O32 binaries using 64-bit FP" if !CPU_MIPSR6 2968 depends on 32BIT || MIPS32_O32 2969 help 2970 When this is enabled, the kernel will support use of 64-bit floating 2971 point registers with binaries using the O32 ABI along with the 2972 EF_MIPS_FP64 ELF header flag (typically built with -mfp64). On 2973 32-bit MIPS systems this support is at the cost of increasing the 2974 size and complexity of the compiled FPU emulator. Thus if you are 2975 running a MIPS32 system and know that none of your userland binaries 2976 will require 64-bit floating point, you may wish to reduce the size 2977 of your kernel & potentially improve FP emulation performance by 2978 saying N here. 2979 2980 Although binutils currently supports use of this flag the details 2981 concerning its effect upon the O32 ABI in userland are still being 2982 worked on. In order to avoid userland becoming dependant upon current 2983 behaviour before the details have been finalised, this option should 2984 be considered experimental and only enabled by those working upon 2985 said details. 2986 2987 If unsure, say N. 2988 2989config USE_OF 2990 bool 2991 select OF 2992 select OF_EARLY_FLATTREE 2993 select IRQ_DOMAIN 2994 2995config UHI_BOOT 2996 bool 2997 2998config BUILTIN_DTB 2999 bool 3000 3001choice 3002 prompt "Kernel appended dtb support" if USE_OF 3003 default MIPS_NO_APPENDED_DTB 3004 3005 config MIPS_NO_APPENDED_DTB 3006 bool "None" 3007 help 3008 Do not enable appended dtb support. 3009 3010 config MIPS_ELF_APPENDED_DTB 3011 bool "vmlinux" 3012 help 3013 With this option, the boot code will look for a device tree binary 3014 DTB) included in the vmlinux ELF section .appended_dtb. By default 3015 it is empty and the DTB can be appended using binutils command 3016 objcopy: 3017 3018 objcopy --update-section .appended_dtb=<filename>.dtb vmlinux 3019 3020 This is meant as a backward compatiblity convenience for those 3021 systems with a bootloader that can't be upgraded to accommodate 3022 the documented boot protocol using a device tree. 3023 3024 config MIPS_RAW_APPENDED_DTB 3025 bool "vmlinux.bin or vmlinuz.bin" 3026 help 3027 With this option, the boot code will look for a device tree binary 3028 DTB) appended to raw vmlinux.bin or vmlinuz.bin. 3029 (e.g. cat vmlinux.bin <filename>.dtb > vmlinux_w_dtb). 3030 3031 This is meant as a backward compatibility convenience for those 3032 systems with a bootloader that can't be upgraded to accommodate 3033 the documented boot protocol using a device tree. 3034 3035 Beware that there is very little in terms of protection against 3036 this option being confused by leftover garbage in memory that might 3037 look like a DTB header after a reboot if no actual DTB is appended 3038 to vmlinux.bin. Do not leave this option active in a production kernel 3039 if you don't intend to always append a DTB. 3040endchoice 3041 3042choice 3043 prompt "Kernel command line type" if !CMDLINE_OVERRIDE 3044 default MIPS_CMDLINE_FROM_DTB if USE_OF && !ATH79 && !MACH_INGENIC && \ 3045 !MIPS_MALTA && \ 3046 !CAVIUM_OCTEON_SOC 3047 default MIPS_CMDLINE_FROM_BOOTLOADER 3048 3049 config MIPS_CMDLINE_FROM_DTB 3050 depends on USE_OF 3051 bool "Dtb kernel arguments if available" 3052 3053 config MIPS_CMDLINE_DTB_EXTEND 3054 depends on USE_OF 3055 bool "Extend dtb kernel arguments with bootloader arguments" 3056 3057 config MIPS_CMDLINE_FROM_BOOTLOADER 3058 bool "Bootloader kernel arguments if available" 3059 3060 config MIPS_CMDLINE_BUILTIN_EXTEND 3061 depends on CMDLINE_BOOL 3062 bool "Extend builtin kernel arguments with bootloader arguments" 3063endchoice 3064 3065endmenu 3066 3067config LOCKDEP_SUPPORT 3068 bool 3069 default y 3070 3071config STACKTRACE_SUPPORT 3072 bool 3073 default y 3074 3075config PGTABLE_LEVELS 3076 int 3077 default 4 if PAGE_SIZE_4KB && MIPS_VA_BITS_48 3078 default 3 if 64BIT && !PAGE_SIZE_64KB 3079 default 2 3080 3081config MIPS_AUTO_PFN_OFFSET 3082 bool 3083 3084menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)" 3085 3086config PCI_DRIVERS_GENERIC 3087 select PCI_DOMAINS_GENERIC if PCI 3088 bool 3089 3090config PCI_DRIVERS_LEGACY 3091 def_bool !PCI_DRIVERS_GENERIC 3092 select NO_GENERIC_PCI_IOPORT_MAP 3093 select PCI_DOMAINS if PCI 3094 3095# 3096# ISA support is now enabled via select. Too many systems still have the one 3097# or other ISA chip on the board that users don't know about so don't expect 3098# users to choose the right thing ... 3099# 3100config ISA 3101 bool 3102 3103config TC 3104 bool "TURBOchannel support" 3105 depends on MACH_DECSTATION 3106 help 3107 TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS 3108 processors. TURBOchannel programming specifications are available 3109 at: 3110 <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/> 3111 and: 3112 <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/> 3113 Linux driver support status is documented at: 3114 <http://www.linux-mips.org/wiki/DECstation> 3115 3116config MMU 3117 bool 3118 default y 3119 3120config ARCH_MMAP_RND_BITS_MIN 3121 default 12 if 64BIT 3122 default 8 3123 3124config ARCH_MMAP_RND_BITS_MAX 3125 default 18 if 64BIT 3126 default 15 3127 3128config ARCH_MMAP_RND_COMPAT_BITS_MIN 3129 default 8 3130 3131config ARCH_MMAP_RND_COMPAT_BITS_MAX 3132 default 15 3133 3134config I8253 3135 bool 3136 select CLKSRC_I8253 3137 select CLKEVT_I8253 3138 select MIPS_EXTERNAL_TIMER 3139 3140config ZONE_DMA 3141 bool 3142 3143config ZONE_DMA32 3144 bool 3145 3146endmenu 3147 3148config TRAD_SIGNALS 3149 bool 3150 3151config MIPS32_COMPAT 3152 bool 3153 3154config COMPAT 3155 bool 3156 3157config SYSVIPC_COMPAT 3158 bool 3159 3160config MIPS32_O32 3161 bool "Kernel support for o32 binaries" 3162 depends on 64BIT 3163 select ARCH_WANT_OLD_COMPAT_IPC 3164 select COMPAT 3165 select MIPS32_COMPAT 3166 select SYSVIPC_COMPAT if SYSVIPC 3167 help 3168 Select this option if you want to run o32 binaries. These are pure 3169 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of 3170 existing binaries are in this format. 3171 3172 If unsure, say Y. 3173 3174config MIPS32_N32 3175 bool "Kernel support for n32 binaries" 3176 depends on 64BIT 3177 select ARCH_WANT_COMPAT_IPC_PARSE_VERSION 3178 select COMPAT 3179 select MIPS32_COMPAT 3180 select SYSVIPC_COMPAT if SYSVIPC 3181 help 3182 Select this option if you want to run n32 binaries. These are 3183 64-bit binaries using 32-bit quantities for addressing and certain 3184 data that would normally be 64-bit. They are used in special 3185 cases. 3186 3187 If unsure, say N. 3188 3189config BINFMT_ELF32 3190 bool 3191 default y if MIPS32_O32 || MIPS32_N32 3192 select ELFCORE 3193 3194menu "Power management options" 3195 3196config ARCH_HIBERNATION_POSSIBLE 3197 def_bool y 3198 depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP 3199 3200config ARCH_SUSPEND_POSSIBLE 3201 def_bool y 3202 depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP 3203 3204source "kernel/power/Kconfig" 3205 3206endmenu 3207 3208config MIPS_EXTERNAL_TIMER 3209 bool 3210 3211menu "CPU Power Management" 3212 3213if CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER 3214source "drivers/cpufreq/Kconfig" 3215endif 3216 3217source "drivers/cpuidle/Kconfig" 3218 3219endmenu 3220 3221source "drivers/firmware/Kconfig" 3222 3223source "arch/mips/kvm/Kconfig" 3224