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