1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 21da177e4SLinus Torvaldsconfig MIPS 31da177e4SLinus Torvalds bool 41da177e4SLinus Torvalds default y 5942fa985SYury Norov select ARCH_32BIT_OFF_T if !64BIT 6ea6a3737SPaul Burton select ARCH_BINFMT_ELF_STATE if MIPS_FP_SUPPORT 7b847bd64SKees Cook select ARCH_HAS_CURRENT_STACK_POINTER if !CC_IS_CLANG || CLANG_VERSION >= 140000 8dfad83cbSFlorian Fainelli select ARCH_HAS_DEBUG_VIRTUAL if !64BIT 934c01e41SAlexander Lobakin select ARCH_HAS_FORTIFY_SOURCE 1034c01e41SAlexander Lobakin select ARCH_HAS_KCOV 1166633abdSTiezhu Yang select ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE if !EVA 1234c01e41SAlexander Lobakin select ARCH_HAS_PTE_SPECIAL if !(32BIT && CPU_HAS_RIXI) 13e6226997SArnd Bergmann select ARCH_HAS_STRNCPY_FROM_USER 14e6226997SArnd Bergmann select ARCH_HAS_STRNLEN_USER 1512597988SMatt Redfearn select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST 161e35918aSHassan Naveed select ARCH_HAS_UBSAN_SANITIZE_ALL 178b3165e5SXingxing Su select ARCH_HAS_GCOV_PROFILE_ALL 18c55944ccSNick Desaulniers select ARCH_KEEP_MEMBLOCK 1912597988SMatt Redfearn select ARCH_SUPPORTS_UPROBES 201ee3630aSRalf Baechle select ARCH_USE_BUILTIN_BSWAP 2112597988SMatt Redfearn select ARCH_USE_CMPXCHG_LOCKREF if 64BIT 22dce44566SAnshuman Khandual select ARCH_USE_MEMTEST 2325da4e9dSPaul Burton select ARCH_USE_QUEUED_RWLOCKS 240b17c967SPaul Burton select ARCH_USE_QUEUED_SPINLOCKS 25855f9a8eSAnshuman Khandual select ARCH_SUPPORTS_HUGETLBFS if CPU_SUPPORTS_HUGEPAGES 269035bd29SAlexandre Ghiti select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT if MMU 2712597988SMatt Redfearn select ARCH_WANT_IPC_PARSE_VERSION 28d3a4e0f1SAlexander Lobakin select ARCH_WANT_LD_ORPHAN_WARN 2910916706SShile Zhang select BUILDTIME_TABLE_SORT 3012597988SMatt Redfearn select CLONE_BACKWARDS 3157eeacedSPaul Burton select CPU_NO_EFFICIENT_FFS if (TARGET_ISA_REV < 1) 3212597988SMatt Redfearn select CPU_PM if CPU_IDLE 3312597988SMatt Redfearn select GENERIC_ATOMIC64 if !64BIT 3412597988SMatt Redfearn select GENERIC_CMOS_UPDATE 3512597988SMatt Redfearn select GENERIC_CPU_AUTOPROBE 3624640f23SVincenzo Frascino select GENERIC_GETTIMEOFDAY 37b962aeb0SPaul Burton select GENERIC_IOMAP 3812597988SMatt Redfearn select GENERIC_IRQ_PROBE 3912597988SMatt Redfearn select GENERIC_IRQ_SHOW 406630a8e5SChristoph Hellwig select GENERIC_ISA_DMA if EISA 41740129b3SAntony Pavlov select GENERIC_LIB_ASHLDI3 42740129b3SAntony Pavlov select GENERIC_LIB_ASHRDI3 43740129b3SAntony Pavlov select GENERIC_LIB_CMPDI2 44740129b3SAntony Pavlov select GENERIC_LIB_LSHRDI3 45740129b3SAntony Pavlov select GENERIC_LIB_UCMPDI2 4612597988SMatt Redfearn select GENERIC_SCHED_CLOCK if !CAVIUM_OCTEON_SOC 4712597988SMatt Redfearn select GENERIC_SMP_IDLE_THREAD 4812597988SMatt Redfearn select GENERIC_TIME_VSYSCALL 49446f062bSChristoph Hellwig select GUP_GET_PTE_LOW_HIGH if CPU_MIPS32 && PHYS_ADDR_T_64BIT 50906d441fSPaul Burton select HAVE_ARCH_COMPILER_H 5112597988SMatt Redfearn select HAVE_ARCH_JUMP_LABEL 5242b20995SArnd Bergmann select HAVE_ARCH_KGDB if MIPS_FP_SUPPORT 53109c32ffSMatt Redfearn select HAVE_ARCH_MMAP_RND_BITS if MMU 54109c32ffSMatt Redfearn select HAVE_ARCH_MMAP_RND_COMPAT_BITS if MMU && COMPAT 55490b004fSMarkos Chandras select HAVE_ARCH_SECCOMP_FILTER 56c0ff3c53SRalf Baechle select HAVE_ARCH_TRACEHOOK 5745e03e62SDaniel Silsby select HAVE_ARCH_TRANSPARENT_HUGEPAGE if CPU_SUPPORTS_HUGEPAGES 582ff2b7ecSMasahiro Yamada select HAVE_ASM_MODVERSIONS 59*24a9c541SFrederic Weisbecker select HAVE_CONTEXT_TRACKING_USER 60490f561bSFrederic Weisbecker select HAVE_TIF_NOHZ 6164575f91SWu Zhangjin select HAVE_C_RECORDMCOUNT 6212597988SMatt Redfearn select HAVE_DEBUG_KMEMLEAK 6312597988SMatt Redfearn select HAVE_DEBUG_STACKOVERFLOW 6412597988SMatt Redfearn select HAVE_DMA_CONTIGUOUS 6512597988SMatt Redfearn select HAVE_DYNAMIC_FTRACE 6601bdc58eSJohan Almbladh select HAVE_EBPF_JIT if !CPU_MICROMIPS && \ 6701bdc58eSJohan Almbladh !CPU_DADDI_WORKAROUNDS && \ 6801bdc58eSJohan Almbladh !CPU_R4000_WORKAROUNDS && \ 6901bdc58eSJohan Almbladh !CPU_R4400_WORKAROUNDS 7012597988SMatt Redfearn select HAVE_EXIT_THREAD 7167a929e0SChristoph Hellwig select HAVE_FAST_GUP 7212597988SMatt Redfearn select HAVE_FTRACE_MCOUNT_RECORD 7329c5d346SWu Zhangjin select HAVE_FUNCTION_GRAPH_TRACER 7412597988SMatt Redfearn select HAVE_FUNCTION_TRACER 7534c01e41SAlexander Lobakin select HAVE_GCC_PLUGINS 7634c01e41SAlexander Lobakin select HAVE_GENERIC_VDSO 77b3a428b4SHassan Naveed select HAVE_IOREMAP_PROT 7812597988SMatt Redfearn select HAVE_IRQ_EXIT_ON_IRQ_STACK 7912597988SMatt Redfearn select HAVE_IRQ_TIME_ACCOUNTING 80c1bf207dSDavid Daney select HAVE_KPROBES 81c1bf207dSDavid Daney select HAVE_KRETPROBES 82c0436b50SPaul Burton select HAVE_LD_DEAD_CODE_DATA_ELIMINATION 83786d35d4SDavid Howells select HAVE_MOD_ARCH_SPECIFIC 8442a0bb3fSPetr Mladek select HAVE_NMI 8512597988SMatt Redfearn select HAVE_PERF_EVENTS 861ddc96bdSTiezhu Yang select HAVE_PERF_REGS 871ddc96bdSTiezhu Yang select HAVE_PERF_USER_STACK_DUMP 8808bccf43SMarcin Nowakowski select HAVE_REGS_AND_STACK_ACCESS_API 899ea141adSPaul Burton select HAVE_RSEQ 9016c0f03fSHassan Naveed select HAVE_SPARSE_SYSCALL_NR 91d148eac0SMasahiro Yamada select HAVE_STACKPROTECTOR 9212597988SMatt Redfearn select HAVE_SYSCALL_TRACEPOINTS 93a3f14310SBen Hutchings select HAVE_VIRT_CPU_ACCOUNTING_GEN if 64BIT || !SMP 9412597988SMatt Redfearn select IRQ_FORCED_THREADING 956630a8e5SChristoph Hellwig select ISA if EISA 9612597988SMatt Redfearn select MODULES_USE_ELF_REL if MODULES 9734c01e41SAlexander Lobakin select MODULES_USE_ELF_RELA if MODULES && 64BIT 9812597988SMatt Redfearn select PERF_USE_VMALLOC 99981aa1d3SThomas Gleixner select PCI_MSI_ARCH_FALLBACKS if PCI_MSI 10005a0a344SArnd Bergmann select RTC_LIB 10112597988SMatt Redfearn select SYSCTL_EXCEPTION_TRACE 1024aae683fSMasahiro Yamada select TRACE_IRQFLAGS_SUPPORT 10312597988SMatt Redfearn select VIRT_TO_BUS 1040bb87f05SAl Viro select ARCH_HAS_ELFCORE_COMPAT 105e0a8b93eSNemanja Rakovic select HAVE_ARCH_KCSAN if 64BIT 1061da177e4SLinus Torvalds 107d3991572SChristoph Hellwigconfig MIPS_FIXUP_BIGPHYS_ADDR 108d3991572SChristoph Hellwig bool 109d3991572SChristoph Hellwig 110c434b9f8SPaul Cercueilconfig MIPS_GENERIC 111c434b9f8SPaul Cercueil bool 112c434b9f8SPaul Cercueil 113f0f4a753SPaul Cercueilconfig MACH_INGENIC 114f0f4a753SPaul Cercueil bool 115f0f4a753SPaul Cercueil select SYS_SUPPORTS_32BIT_KERNEL 116f0f4a753SPaul Cercueil select SYS_SUPPORTS_LITTLE_ENDIAN 117f0f4a753SPaul Cercueil select SYS_SUPPORTS_ZBOOT 118f0f4a753SPaul Cercueil select DMA_NONCOHERENT 1191660710cSPaul Cercueil select ARCH_HAS_SYNC_DMA_FOR_CPU 120f0f4a753SPaul Cercueil select IRQ_MIPS_CPU 121f0f4a753SPaul Cercueil select PINCTRL 122f0f4a753SPaul Cercueil select GPIOLIB 123f0f4a753SPaul Cercueil select COMMON_CLK 124f0f4a753SPaul Cercueil select GENERIC_IRQ_CHIP 125f0f4a753SPaul Cercueil select BUILTIN_DTB if MIPS_NO_APPENDED_DTB 126f0f4a753SPaul Cercueil select USE_OF 127f0f4a753SPaul Cercueil select CPU_SUPPORTS_CPUFREQ 128f0f4a753SPaul Cercueil select MIPS_EXTERNAL_TIMER 129f0f4a753SPaul Cercueil 1301da177e4SLinus Torvaldsmenu "Machine selection" 1311da177e4SLinus Torvalds 1325e83d430SRalf Baechlechoice 1335e83d430SRalf Baechle prompt "System type" 134c434b9f8SPaul Cercueil default MIPS_GENERIC_KERNEL 1351da177e4SLinus Torvalds 136c434b9f8SPaul Cercueilconfig MIPS_GENERIC_KERNEL 137eed0eabdSPaul Burton bool "Generic board-agnostic MIPS kernel" 1384e066441SChristoph Hellwig select ARCH_HAS_SETUP_DMA_OPS 139c434b9f8SPaul Cercueil select MIPS_GENERIC 140eed0eabdSPaul Burton select BOOT_RAW 141eed0eabdSPaul Burton select BUILTIN_DTB 142eed0eabdSPaul Burton select CEVT_R4K 143eed0eabdSPaul Burton select CLKSRC_MIPS_GIC 144eed0eabdSPaul Burton select COMMON_CLK 145eed0eabdSPaul Burton select CPU_MIPSR2_IRQ_EI 14634c01e41SAlexander Lobakin select CPU_MIPSR2_IRQ_VI 147eed0eabdSPaul Burton select CSRC_R4K 1484e066441SChristoph Hellwig select DMA_NONCOHERENT 149eb01d42aSChristoph Hellwig select HAVE_PCI 150eed0eabdSPaul Burton select IRQ_MIPS_CPU 1510211d49eSPaul Burton select MIPS_AUTO_PFN_OFFSET 152eed0eabdSPaul Burton select MIPS_CPU_SCACHE 153eed0eabdSPaul Burton select MIPS_GIC 154eed0eabdSPaul Burton select MIPS_L1_CACHE_SHIFT_7 155eed0eabdSPaul Burton select NO_EXCEPT_FILL 156eed0eabdSPaul Burton select PCI_DRIVERS_GENERIC 157eed0eabdSPaul Burton select SMP_UP if SMP 158a3078e59SMatt Redfearn select SWAP_IO_SPACE 159eed0eabdSPaul Burton select SYS_HAS_CPU_MIPS32_R1 160eed0eabdSPaul Burton select SYS_HAS_CPU_MIPS32_R2 161eed0eabdSPaul Burton select SYS_HAS_CPU_MIPS32_R6 162eed0eabdSPaul Burton select SYS_HAS_CPU_MIPS64_R1 163eed0eabdSPaul Burton select SYS_HAS_CPU_MIPS64_R2 164eed0eabdSPaul Burton select SYS_HAS_CPU_MIPS64_R6 165eed0eabdSPaul Burton select SYS_SUPPORTS_32BIT_KERNEL 166eed0eabdSPaul Burton select SYS_SUPPORTS_64BIT_KERNEL 167eed0eabdSPaul Burton select SYS_SUPPORTS_BIG_ENDIAN 168eed0eabdSPaul Burton select SYS_SUPPORTS_HIGHMEM 169eed0eabdSPaul Burton select SYS_SUPPORTS_LITTLE_ENDIAN 170eed0eabdSPaul Burton select SYS_SUPPORTS_MICROMIPS 171eed0eabdSPaul Burton select SYS_SUPPORTS_MIPS16 17234c01e41SAlexander Lobakin select SYS_SUPPORTS_MIPS_CPS 173eed0eabdSPaul Burton select SYS_SUPPORTS_MULTITHREADING 174eed0eabdSPaul Burton select SYS_SUPPORTS_RELOCATABLE 175eed0eabdSPaul Burton select SYS_SUPPORTS_SMARTMIPS 176c3e2ee65SPaul Cercueil select SYS_SUPPORTS_ZBOOT 17734c01e41SAlexander Lobakin select UHI_BOOT 1782e6522c5SCorentin Labbe select USB_EHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN 1792e6522c5SCorentin Labbe select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 1802e6522c5SCorentin Labbe select USB_OHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN 1812e6522c5SCorentin Labbe select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 1822e6522c5SCorentin Labbe select USB_UHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN 1832e6522c5SCorentin Labbe select USB_UHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 184eed0eabdSPaul Burton select USE_OF 185eed0eabdSPaul Burton help 186eed0eabdSPaul Burton Select this to build a kernel which aims to support multiple boards, 187eed0eabdSPaul Burton generally using a flattened device tree passed from the bootloader 188eed0eabdSPaul Burton using the boot protocol defined in the UHI (Unified Hosting 189eed0eabdSPaul Burton Interface) specification. 190eed0eabdSPaul Burton 19142a4f17dSManuel Laussconfig MIPS_ALCHEMY 192c3543e25SYoichi Yuasa bool "Alchemy processor based machines" 193d4a451d5SChristoph Hellwig select PHYS_ADDR_T_64BIT 194f772cdb2SRalf Baechle select CEVT_R4K 195d7ea335cSSteven J. Hill select CSRC_R4K 19667e38cf2SRalf Baechle select IRQ_MIPS_CPU 197a86497d6SChristoph Hellwig select DMA_NONCOHERENT # Au1000,1500,1100 aren't, rest is 198d3991572SChristoph Hellwig select MIPS_FIXUP_BIGPHYS_ADDR if PCI 19942a4f17dSManuel Lauss select SYS_HAS_CPU_MIPS32_R1 20042a4f17dSManuel Lauss select SYS_SUPPORTS_32BIT_KERNEL 20142a4f17dSManuel Lauss select SYS_SUPPORTS_APM_EMULATION 202d30a2b47SLinus Walleij select GPIOLIB 2031b93b3c3SWu Zhangjin select SYS_SUPPORTS_ZBOOT 20447440229SManuel Lauss select COMMON_CLK 2051da177e4SLinus Torvalds 2067ca5dc14SFlorian Fainelliconfig AR7 2077ca5dc14SFlorian Fainelli bool "Texas Instruments AR7" 2087ca5dc14SFlorian Fainelli select BOOT_ELF32 209b408b611SArnd Bergmann select COMMON_CLK 2107ca5dc14SFlorian Fainelli select DMA_NONCOHERENT 2117ca5dc14SFlorian Fainelli select CEVT_R4K 2127ca5dc14SFlorian Fainelli select CSRC_R4K 21367e38cf2SRalf Baechle select IRQ_MIPS_CPU 2147ca5dc14SFlorian Fainelli select NO_EXCEPT_FILL 2157ca5dc14SFlorian Fainelli select SWAP_IO_SPACE 2167ca5dc14SFlorian Fainelli select SYS_HAS_CPU_MIPS32_R1 2177ca5dc14SFlorian Fainelli select SYS_HAS_EARLY_PRINTK 2187ca5dc14SFlorian Fainelli select SYS_SUPPORTS_32BIT_KERNEL 2197ca5dc14SFlorian Fainelli select SYS_SUPPORTS_LITTLE_ENDIAN 220377cb1b6SRalf Baechle select SYS_SUPPORTS_MIPS16 2211b93b3c3SWu Zhangjin select SYS_SUPPORTS_ZBOOT_UART16550 222d30a2b47SLinus Walleij select GPIOLIB 2237ca5dc14SFlorian Fainelli select VLYNQ 2247ca5dc14SFlorian Fainelli help 2257ca5dc14SFlorian Fainelli Support for the Texas Instruments AR7 System-on-a-Chip 2267ca5dc14SFlorian Fainelli family: TNETD7100, 7200 and 7300. 2277ca5dc14SFlorian Fainelli 22843cc739fSSergey Ryazanovconfig ATH25 22943cc739fSSergey Ryazanov bool "Atheros AR231x/AR531x SoC support" 23043cc739fSSergey Ryazanov select CEVT_R4K 23143cc739fSSergey Ryazanov select CSRC_R4K 23243cc739fSSergey Ryazanov select DMA_NONCOHERENT 23367e38cf2SRalf Baechle select IRQ_MIPS_CPU 2341753e74eSSergey Ryazanov select IRQ_DOMAIN 23543cc739fSSergey Ryazanov select SYS_HAS_CPU_MIPS32_R1 23643cc739fSSergey Ryazanov select SYS_SUPPORTS_BIG_ENDIAN 23743cc739fSSergey Ryazanov select SYS_SUPPORTS_32BIT_KERNEL 2388aaa7278SSergey Ryazanov select SYS_HAS_EARLY_PRINTK 23943cc739fSSergey Ryazanov help 24043cc739fSSergey Ryazanov Support for Atheros AR231x and Atheros AR531x based boards 24143cc739fSSergey Ryazanov 242d4a67d9dSGabor Juhosconfig ATH79 243d4a67d9dSGabor Juhos bool "Atheros AR71XX/AR724X/AR913X based boards" 244ff591a91SAlban Bedel select ARCH_HAS_RESET_CONTROLLER 245d4a67d9dSGabor Juhos select BOOT_RAW 246d4a67d9dSGabor Juhos select CEVT_R4K 247d4a67d9dSGabor Juhos select CSRC_R4K 248d4a67d9dSGabor Juhos select DMA_NONCOHERENT 249d30a2b47SLinus Walleij select GPIOLIB 250a08227a2SJohn Crispin select PINCTRL 251411520afSAlban Bedel select COMMON_CLK 25267e38cf2SRalf Baechle select IRQ_MIPS_CPU 253d4a67d9dSGabor Juhos select SYS_HAS_CPU_MIPS32_R2 254d4a67d9dSGabor Juhos select SYS_HAS_EARLY_PRINTK 255d4a67d9dSGabor Juhos select SYS_SUPPORTS_32BIT_KERNEL 256d4a67d9dSGabor Juhos select SYS_SUPPORTS_BIG_ENDIAN 257377cb1b6SRalf Baechle select SYS_SUPPORTS_MIPS16 258b3f0a250SAlban Bedel select SYS_SUPPORTS_ZBOOT_UART_PROM 25903c8c407SAlban Bedel select USE_OF 26053d473fcSAlban Bedel select USB_EHCI_ROOT_HUB_TT if USB_EHCI_HCD_PLATFORM 261d4a67d9dSGabor Juhos help 262d4a67d9dSGabor Juhos Support for the Atheros AR71XX/AR724X/AR913X SoCs. 263d4a67d9dSGabor Juhos 2645f2d4459SKevin Cernekeeconfig BMIPS_GENERIC 2655f2d4459SKevin Cernekee bool "Broadcom Generic BMIPS kernel" 26629906e1aSÁlvaro Fernández Rojas select ARCH_HAS_RESET_CONTROLLER 267d59098a0SChristoph Hellwig select ARCH_HAS_SYNC_DMA_FOR_CPU_ALL 268d666cd02SKevin Cernekee select BOOT_RAW 269d666cd02SKevin Cernekee select NO_EXCEPT_FILL 270d666cd02SKevin Cernekee select USE_OF 271d666cd02SKevin Cernekee select CEVT_R4K 272d666cd02SKevin Cernekee select CSRC_R4K 273d666cd02SKevin Cernekee select SYNC_R4K 274d666cd02SKevin Cernekee select COMMON_CLK 275c7c42ec2SSimon Arlott select BCM6345_L1_IRQ 27660b858f2SKevin Cernekee select BCM7038_L1_IRQ 27760b858f2SKevin Cernekee select BCM7120_L2_IRQ 27860b858f2SKevin Cernekee select BRCMSTB_L2_IRQ 27967e38cf2SRalf Baechle select IRQ_MIPS_CPU 28060b858f2SKevin Cernekee select DMA_NONCOHERENT 281d666cd02SKevin Cernekee select SYS_SUPPORTS_32BIT_KERNEL 28260b858f2SKevin Cernekee select SYS_SUPPORTS_LITTLE_ENDIAN 283d666cd02SKevin Cernekee select SYS_SUPPORTS_BIG_ENDIAN 284d666cd02SKevin Cernekee select SYS_SUPPORTS_HIGHMEM 28560b858f2SKevin Cernekee select SYS_HAS_CPU_BMIPS32_3300 28660b858f2SKevin Cernekee select SYS_HAS_CPU_BMIPS4350 28760b858f2SKevin Cernekee select SYS_HAS_CPU_BMIPS4380 288d666cd02SKevin Cernekee select SYS_HAS_CPU_BMIPS5000 289d666cd02SKevin Cernekee select SWAP_IO_SPACE 29060b858f2SKevin Cernekee select USB_EHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN 29160b858f2SKevin Cernekee select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 29260b858f2SKevin Cernekee select USB_OHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN 29360b858f2SKevin Cernekee select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 2944dc4704cSJustin Chen select HARDIRQS_SW_RESEND 2951d987052SFlorian Fainelli select HAVE_PCI 2961d987052SFlorian Fainelli select PCI_DRIVERS_GENERIC 297d666cd02SKevin Cernekee help 2985f2d4459SKevin Cernekee Build a generic DT-based kernel image that boots on select 2995f2d4459SKevin Cernekee BCM33xx cable modem chips, BCM63xx DSL chips, and BCM7xxx set-top 3005f2d4459SKevin Cernekee box chips. Note that CONFIG_CPU_BIG_ENDIAN/CONFIG_CPU_LITTLE_ENDIAN 3015f2d4459SKevin Cernekee must be set appropriately for your board. 302d666cd02SKevin Cernekee 3031c0c13ebSAurelien Jarnoconfig BCM47XX 304c619366eSFlorian Fainelli bool "Broadcom BCM47XX based boards" 305fe08f8c2SHauke Mehrtens select BOOT_RAW 30642f77542SRalf Baechle select CEVT_R4K 307940f6b48SRalf Baechle select CSRC_R4K 3081c0c13ebSAurelien Jarno select DMA_NONCOHERENT 309eb01d42aSChristoph Hellwig select HAVE_PCI 31067e38cf2SRalf Baechle select IRQ_MIPS_CPU 311314878d2SMarkos Chandras select SYS_HAS_CPU_MIPS32_R1 312dd54deddSHauke Mehrtens select NO_EXCEPT_FILL 3131c0c13ebSAurelien Jarno select SYS_SUPPORTS_32BIT_KERNEL 3141c0c13ebSAurelien Jarno select SYS_SUPPORTS_LITTLE_ENDIAN 315377cb1b6SRalf Baechle select SYS_SUPPORTS_MIPS16 3166507831fSAaro Koskinen select SYS_SUPPORTS_ZBOOT 31725e5fb97SAurelien Jarno select SYS_HAS_EARLY_PRINTK 318e6086557SRalf Baechle select USE_GENERIC_EARLY_PRINTK_8250 319c949c0bcSRafał Miłecki select GPIOLIB 320c949c0bcSRafał Miłecki select LEDS_GPIO_REGISTER 321f6e734a8SRafał Miłecki select BCM47XX_NVRAM 3222ab71a02SRafał Miłecki select BCM47XX_SPROM 323dfe00495SMatt Redfearn select BCM47XX_SSB if !BCM47XX_BCMA 3241c0c13ebSAurelien Jarno help 3251c0c13ebSAurelien Jarno Support for BCM47XX based boards 3261c0c13ebSAurelien Jarno 327e7300d04SMaxime Bizonconfig BCM63XX 328e7300d04SMaxime Bizon bool "Broadcom BCM63XX based boards" 329ae8de61cSFlorian Fainelli select BOOT_RAW 330e7300d04SMaxime Bizon select CEVT_R4K 331e7300d04SMaxime Bizon select CSRC_R4K 332fc264022SJonas Gorski select SYNC_R4K 333e7300d04SMaxime Bizon select DMA_NONCOHERENT 33467e38cf2SRalf Baechle select IRQ_MIPS_CPU 335e7300d04SMaxime Bizon select SYS_SUPPORTS_32BIT_KERNEL 336e7300d04SMaxime Bizon select SYS_SUPPORTS_BIG_ENDIAN 337e7300d04SMaxime Bizon select SYS_HAS_EARLY_PRINTK 3385eeaafc8SRandy Dunlap select SYS_HAS_CPU_BMIPS32_3300 3395eeaafc8SRandy Dunlap select SYS_HAS_CPU_BMIPS4350 3405eeaafc8SRandy Dunlap select SYS_HAS_CPU_BMIPS4380 341e7300d04SMaxime Bizon select SWAP_IO_SPACE 342d30a2b47SLinus Walleij select GPIOLIB 343af2418beSFlorian Fainelli select MIPS_L1_CACHE_SHIFT_4 344bbd7ffdbSStephen Boyd select HAVE_LEGACY_CLK 345e7300d04SMaxime Bizon help 346e7300d04SMaxime Bizon Support for BCM63XX based boards 347e7300d04SMaxime Bizon 3481da177e4SLinus Torvaldsconfig MIPS_COBALT 3493fa986faSMartin Michlmayr bool "Cobalt Server" 35042f77542SRalf Baechle select CEVT_R4K 351940f6b48SRalf Baechle select CSRC_R4K 3521097c6acSYoichi Yuasa select CEVT_GT641XX 3531da177e4SLinus Torvalds select DMA_NONCOHERENT 354eb01d42aSChristoph Hellwig select FORCE_PCI 355d865bea4SRalf Baechle select I8253 3561da177e4SLinus Torvalds select I8259 35767e38cf2SRalf Baechle select IRQ_MIPS_CPU 358d5ab1a69SYoichi Yuasa select IRQ_GT641XX 359252161ecSYoichi Yuasa select PCI_GT64XXX_PCI0 3607cf8053bSRalf Baechle select SYS_HAS_CPU_NEVADA 3610a22e0d4SYoichi Yuasa select SYS_HAS_EARLY_PRINTK 362ed5ba2fbSYoichi Yuasa select SYS_SUPPORTS_32BIT_KERNEL 3630e8774b6SFlorian Fainelli select SYS_SUPPORTS_64BIT_KERNEL 3645e83d430SRalf Baechle select SYS_SUPPORTS_LITTLE_ENDIAN 365e6086557SRalf Baechle select USE_GENERIC_EARLY_PRINTK_8250 3661da177e4SLinus Torvalds 3671da177e4SLinus Torvaldsconfig MACH_DECSTATION 3683fa986faSMartin Michlmayr bool "DECstations" 3691da177e4SLinus Torvalds select BOOT_ELF32 3706457d9fcSYoichi Yuasa select CEVT_DS1287 37181d10badSMaciej W. Rozycki select CEVT_R4K if CPU_R4X00 3724247417dSYoichi Yuasa select CSRC_IOASIC 37381d10badSMaciej W. Rozycki select CSRC_R4K if CPU_R4X00 37420d60d99SMaciej W. Rozycki select CPU_DADDI_WORKAROUNDS if 64BIT 37520d60d99SMaciej W. Rozycki select CPU_R4000_WORKAROUNDS if 64BIT 37620d60d99SMaciej W. Rozycki select CPU_R4400_WORKAROUNDS if 64BIT 3771da177e4SLinus Torvalds select DMA_NONCOHERENT 378ce816fa8SUwe Kleine-König select NO_IOPORT_MAP 37967e38cf2SRalf Baechle select IRQ_MIPS_CPU 3807cf8053bSRalf Baechle select SYS_HAS_CPU_R3000 3817cf8053bSRalf Baechle select SYS_HAS_CPU_R4X00 382ed5ba2fbSYoichi Yuasa select SYS_SUPPORTS_32BIT_KERNEL 3837d60717eSKees Cook select SYS_SUPPORTS_64BIT_KERNEL 3845e83d430SRalf Baechle select SYS_SUPPORTS_LITTLE_ENDIAN 3851723b4a3SAtsushi Nemoto select SYS_SUPPORTS_128HZ 3861723b4a3SAtsushi Nemoto select SYS_SUPPORTS_256HZ 3871723b4a3SAtsushi Nemoto select SYS_SUPPORTS_1024HZ 388930beb5aSFlorian Fainelli select MIPS_L1_CACHE_SHIFT_4 3895e83d430SRalf Baechle help 3901da177e4SLinus Torvalds This enables support for DEC's MIPS based workstations. For details 3911da177e4SLinus Torvalds see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the 3921da177e4SLinus Torvalds DECstation porting pages on <http://decstation.unix-ag.org/>. 3931da177e4SLinus Torvalds 3941da177e4SLinus Torvalds If you have one of the following DECstation Models you definitely 3951da177e4SLinus Torvalds want to choose R4xx0 for the CPU Type: 3961da177e4SLinus Torvalds 3971da177e4SLinus Torvalds DECstation 5000/50 3981da177e4SLinus Torvalds DECstation 5000/150 3991da177e4SLinus Torvalds DECstation 5000/260 4001da177e4SLinus Torvalds DECsystem 5900/260 4011da177e4SLinus Torvalds 4021da177e4SLinus Torvalds otherwise choose R3000. 4031da177e4SLinus Torvalds 4045e83d430SRalf Baechleconfig MACH_JAZZ 4053fa986faSMartin Michlmayr bool "Jazz family of machines" 40639b2d756SThomas Bogendoerfer select ARC_MEMORY 40739b2d756SThomas Bogendoerfer select ARC_PROMLIB 408a211a082SRalf Baechle select ARCH_MIGHT_HAVE_PC_PARPORT 4097a407aa5SRalf Baechle select ARCH_MIGHT_HAVE_PC_SERIO 4102f9237d4SChristoph Hellwig select DMA_OPS 4110e2794b0SRalf Baechle select FW_ARC 4120e2794b0SRalf Baechle select FW_ARC32 4135e83d430SRalf Baechle select ARCH_MAY_HAVE_PC_FDC 41442f77542SRalf Baechle select CEVT_R4K 415940f6b48SRalf Baechle select CSRC_R4K 416e2defae5SThomas Bogendoerfer select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN 4175e83d430SRalf Baechle select GENERIC_ISA_DMA 4188a118c38SRalf Baechle select HAVE_PCSPKR_PLATFORM 41967e38cf2SRalf Baechle select IRQ_MIPS_CPU 420d865bea4SRalf Baechle select I8253 4215e83d430SRalf Baechle select I8259 4225e83d430SRalf Baechle select ISA 4237cf8053bSRalf Baechle select SYS_HAS_CPU_R4X00 4245e83d430SRalf Baechle select SYS_SUPPORTS_32BIT_KERNEL 4257d60717eSKees Cook select SYS_SUPPORTS_64BIT_KERNEL 4261723b4a3SAtsushi Nemoto select SYS_SUPPORTS_100HZ 427aadfe4b5SArnd Bergmann select SYS_SUPPORTS_LITTLE_ENDIAN 4281da177e4SLinus Torvalds help 4295e83d430SRalf Baechle This a family of machines based on the MIPS R4030 chipset which was 4305e83d430SRalf Baechle used by several vendors to build RISC/os and Windows NT workstations. 431692105b8SMatt LaPlante Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and 4325e83d430SRalf Baechle Olivetti M700-10 workstations. 4335e83d430SRalf Baechle 434f0f4a753SPaul Cercueilconfig MACH_INGENIC_SOC 435de361e8bSPaul Burton bool "Ingenic SoC based machines" 436f0f4a753SPaul Cercueil select MIPS_GENERIC 437f0f4a753SPaul Cercueil select MACH_INGENIC 438f9c9affcSLluís Batlle i Rossell select SYS_SUPPORTS_ZBOOT_UART16550 439eb384937SPaul Cercueil select CPU_SUPPORTS_CPUFREQ 440eb384937SPaul Cercueil select MIPS_EXTERNAL_TIMER 4415ebabe59SLars-Peter Clausen 442171bb2f1SJohn Crispinconfig LANTIQ 443171bb2f1SJohn Crispin bool "Lantiq based platforms" 444171bb2f1SJohn Crispin select DMA_NONCOHERENT 44567e38cf2SRalf Baechle select IRQ_MIPS_CPU 446171bb2f1SJohn Crispin select CEVT_R4K 447171bb2f1SJohn Crispin select CSRC_R4K 448171bb2f1SJohn Crispin select SYS_HAS_CPU_MIPS32_R1 449171bb2f1SJohn Crispin select SYS_HAS_CPU_MIPS32_R2 450171bb2f1SJohn Crispin select SYS_SUPPORTS_BIG_ENDIAN 451171bb2f1SJohn Crispin select SYS_SUPPORTS_32BIT_KERNEL 452377cb1b6SRalf Baechle select SYS_SUPPORTS_MIPS16 453171bb2f1SJohn Crispin select SYS_SUPPORTS_MULTITHREADING 454f35764e7SJames Hogan select SYS_SUPPORTS_VPE_LOADER 455171bb2f1SJohn Crispin select SYS_HAS_EARLY_PRINTK 456d30a2b47SLinus Walleij select GPIOLIB 457171bb2f1SJohn Crispin select SWAP_IO_SPACE 458171bb2f1SJohn Crispin select BOOT_RAW 459bbd7ffdbSStephen Boyd select HAVE_LEGACY_CLK 460a0392222SJohn Crispin select USE_OF 4613f8c50c9SJohn Crispin select PINCTRL 4623f8c50c9SJohn Crispin select PINCTRL_LANTIQ 463c530781cSJohn Crispin select ARCH_HAS_RESET_CONTROLLER 464c530781cSJohn Crispin select RESET_CONTROLLER 465171bb2f1SJohn Crispin 46630ad29bbSHuacai Chenconfig MACH_LOONGSON32 467caed1d1bSHuacai Chen bool "Loongson 32-bit family of machines" 468c7e8c668SWu Zhangjin select SYS_SUPPORTS_ZBOOT 469ade299d8SYoichi Yuasa help 47030ad29bbSHuacai Chen This enables support for the Loongson-1 family of machines. 47185749d24SWu Zhangjin 47230ad29bbSHuacai Chen Loongson-1 is a family of 32-bit MIPS-compatible SoCs developed by 47330ad29bbSHuacai Chen the Institute of Computing Technology (ICT), Chinese Academy of 47430ad29bbSHuacai Chen Sciences (CAS). 475ade299d8SYoichi Yuasa 47671e2f4ddSJiaxun Yangconfig MACH_LOONGSON2EF 47771e2f4ddSJiaxun Yang bool "Loongson-2E/F family of machines" 478ca585cf9SKelvin Cheung select SYS_SUPPORTS_ZBOOT 479ca585cf9SKelvin Cheung help 48071e2f4ddSJiaxun Yang This enables the support of early Loongson-2E/F family of machines. 481ca585cf9SKelvin Cheung 48271e2f4ddSJiaxun Yangconfig MACH_LOONGSON64 483caed1d1bSHuacai Chen bool "Loongson 64-bit family of machines" 4846fbde6b4SJiaxun Yang select ARCH_SPARSEMEM_ENABLE 4856fbde6b4SJiaxun Yang select ARCH_MIGHT_HAVE_PC_PARPORT 4866fbde6b4SJiaxun Yang select ARCH_MIGHT_HAVE_PC_SERIO 4876fbde6b4SJiaxun Yang select GENERIC_ISA_DMA_SUPPORT_BROKEN 4886fbde6b4SJiaxun Yang select BOOT_ELF32 4896fbde6b4SJiaxun Yang select BOARD_SCACHE 4906fbde6b4SJiaxun Yang select CSRC_R4K 4916fbde6b4SJiaxun Yang select CEVT_R4K 4926fbde6b4SJiaxun Yang select CPU_HAS_WB 4936fbde6b4SJiaxun Yang select FORCE_PCI 4946fbde6b4SJiaxun Yang select ISA 4956fbde6b4SJiaxun Yang select I8259 4966fbde6b4SJiaxun Yang select IRQ_MIPS_CPU 4977d6d2837SJiaxun Yang select NO_EXCEPT_FILL 4985125bfeeSTiezhu Yang select NR_CPUS_DEFAULT_64 4996fbde6b4SJiaxun Yang select USE_GENERIC_EARLY_PRINTK_8250 5006423e59aSJiaxun Yang select PCI_DRIVERS_GENERIC 5016fbde6b4SJiaxun Yang select SYS_HAS_CPU_LOONGSON64 5026fbde6b4SJiaxun Yang select SYS_HAS_EARLY_PRINTK 5036fbde6b4SJiaxun Yang select SYS_SUPPORTS_SMP 5046fbde6b4SJiaxun Yang select SYS_SUPPORTS_HOTPLUG_CPU 5056fbde6b4SJiaxun Yang select SYS_SUPPORTS_NUMA 5066fbde6b4SJiaxun Yang select SYS_SUPPORTS_64BIT_KERNEL 5076fbde6b4SJiaxun Yang select SYS_SUPPORTS_HIGHMEM 5086fbde6b4SJiaxun Yang select SYS_SUPPORTS_LITTLE_ENDIAN 50971e2f4ddSJiaxun Yang select SYS_SUPPORTS_ZBOOT 510a307a4ceSJinyang He select SYS_SUPPORTS_RELOCATABLE 5116fbde6b4SJiaxun Yang select ZONE_DMA32 51287fcfa7bSJiaxun Yang select COMMON_CLK 51387fcfa7bSJiaxun Yang select USE_OF 51487fcfa7bSJiaxun Yang select BUILTIN_DTB 51539c1485cSHuacai Chen select PCI_HOST_GENERIC 516f8f9f21cSFeiyang Chen select HAVE_ARCH_NODEDATA_EXTENSION if NUMA 51771e2f4ddSJiaxun Yang help 518caed1d1bSHuacai Chen This enables the support of Loongson-2/3 family of machines. 519caed1d1bSHuacai Chen 520caed1d1bSHuacai Chen Loongson-2 and Loongson-3 are 64-bit general-purpose processors with 521caed1d1bSHuacai Chen GS264/GS464/GS464E/GS464V microarchitecture (except old Loongson-2E 522caed1d1bSHuacai Chen and Loongson-2F which will be removed), developed by the Institute 523caed1d1bSHuacai Chen of Computing Technology (ICT), Chinese Academy of Sciences (CAS). 524ca585cf9SKelvin Cheung 5251da177e4SLinus Torvaldsconfig MIPS_MALTA 5263fa986faSMartin Michlmayr bool "MIPS Malta board" 52761ed242dSRalf Baechle select ARCH_MAY_HAVE_PC_FDC 528a211a082SRalf Baechle select ARCH_MIGHT_HAVE_PC_PARPORT 5297a407aa5SRalf Baechle select ARCH_MIGHT_HAVE_PC_SERIO 5301da177e4SLinus Torvalds select BOOT_ELF32 531fa71c960SRalf Baechle select BOOT_RAW 532e8823d26SPaul Burton select BUILTIN_DTB 53342f77542SRalf Baechle select CEVT_R4K 534fa5635a2SAndrew Bresticker select CLKSRC_MIPS_GIC 53542b002abSGuenter Roeck select COMMON_CLK 53647bf2b03SMaksym Kokhan select CSRC_R4K 537a86497d6SChristoph Hellwig select DMA_NONCOHERENT 5381da177e4SLinus Torvalds select GENERIC_ISA_DMA 5398a118c38SRalf Baechle select HAVE_PCSPKR_PLATFORM 540eb01d42aSChristoph Hellwig select HAVE_PCI 541d865bea4SRalf Baechle select I8253 5421da177e4SLinus Torvalds select I8259 54347bf2b03SMaksym Kokhan select IRQ_MIPS_CPU 5445e83d430SRalf Baechle select MIPS_BONITO64 5459318c51aSChris Dearman select MIPS_CPU_SCACHE 54647bf2b03SMaksym Kokhan select MIPS_GIC 547a7ef1eadSKevin Cernekee select MIPS_L1_CACHE_SHIFT_6 5485e83d430SRalf Baechle select MIPS_MSC 54947bf2b03SMaksym Kokhan select PCI_GT64XXX_PCI0 550ecafe3e9SPaul Burton select SMP_UP if SMP 5511da177e4SLinus Torvalds select SWAP_IO_SPACE 5527cf8053bSRalf Baechle select SYS_HAS_CPU_MIPS32_R1 5537cf8053bSRalf Baechle select SYS_HAS_CPU_MIPS32_R2 554bfc3c5a6SMarkos Chandras select SYS_HAS_CPU_MIPS32_R3_5 555c5b36783SSteven J. Hill select SYS_HAS_CPU_MIPS32_R5 556575509b6SMarkos Chandras select SYS_HAS_CPU_MIPS32_R6 5577cf8053bSRalf Baechle select SYS_HAS_CPU_MIPS64_R1 5585d9fbed1SLeonid Yegoshin select SYS_HAS_CPU_MIPS64_R2 559575509b6SMarkos Chandras select SYS_HAS_CPU_MIPS64_R6 5607cf8053bSRalf Baechle select SYS_HAS_CPU_NEVADA 5617cf8053bSRalf Baechle select SYS_HAS_CPU_RM7000 562ed5ba2fbSYoichi Yuasa select SYS_SUPPORTS_32BIT_KERNEL 563ed5ba2fbSYoichi Yuasa select SYS_SUPPORTS_64BIT_KERNEL 5645e83d430SRalf Baechle select SYS_SUPPORTS_BIG_ENDIAN 565c5b36783SSteven J. Hill select SYS_SUPPORTS_HIGHMEM 5665e83d430SRalf Baechle select SYS_SUPPORTS_LITTLE_ENDIAN 567424ebcdfSMaciej W. Rozycki select SYS_SUPPORTS_MICROMIPS 56847bf2b03SMaksym Kokhan select SYS_SUPPORTS_MIPS16 5690365070fSTim Anderson select SYS_SUPPORTS_MIPS_CMP 570e56b6aa6SPaul Burton select SYS_SUPPORTS_MIPS_CPS 571f41ae0b2SRalf Baechle select SYS_SUPPORTS_MULTITHREADING 57247bf2b03SMaksym Kokhan select SYS_SUPPORTS_RELOCATABLE 5739693a853SFranck Bui-Huu select SYS_SUPPORTS_SMARTMIPS 574f35764e7SJames Hogan select SYS_SUPPORTS_VPE_LOADER 5751b93b3c3SWu Zhangjin select SYS_SUPPORTS_ZBOOT 576e8823d26SPaul Burton select USE_OF 577886ee136SThomas Bogendoerfer select WAR_ICACHE_REFILLS 578abcc82b1SJames Hogan select ZONE_DMA32 if 64BIT 5791da177e4SLinus Torvalds help 580f638d197SMaciej W. Rozycki This enables support for the MIPS Technologies Malta evaluation 5811da177e4SLinus Torvalds board. 5821da177e4SLinus Torvalds 5832572f00dSJoshua Hendersonconfig MACH_PIC32 5842572f00dSJoshua Henderson bool "Microchip PIC32 Family" 5852572f00dSJoshua Henderson help 5862572f00dSJoshua Henderson This enables support for the Microchip PIC32 family of platforms. 5872572f00dSJoshua Henderson 5882572f00dSJoshua Henderson Microchip PIC32 is a family of general-purpose 32 bit MIPS core 5892572f00dSJoshua Henderson microcontrollers. 5902572f00dSJoshua Henderson 5915e83d430SRalf Baechleconfig MACH_VR41XX 59274142d65SYoichi Yuasa bool "NEC VR4100 series based machines" 59342f77542SRalf Baechle select CEVT_R4K 594940f6b48SRalf Baechle select CSRC_R4K 5957cf8053bSRalf Baechle select SYS_HAS_CPU_VR41XX 596377cb1b6SRalf Baechle select SYS_SUPPORTS_MIPS16 597d30a2b47SLinus Walleij select GPIOLIB 5985e83d430SRalf Baechle 599baec970aSLauri Kasanenconfig MACH_NINTENDO64 600baec970aSLauri Kasanen bool "Nintendo 64 console" 601baec970aSLauri Kasanen select CEVT_R4K 602baec970aSLauri Kasanen select CSRC_R4K 603baec970aSLauri Kasanen select SYS_HAS_CPU_R4300 604baec970aSLauri Kasanen select SYS_SUPPORTS_BIG_ENDIAN 605baec970aSLauri Kasanen select SYS_SUPPORTS_ZBOOT 606baec970aSLauri Kasanen select SYS_SUPPORTS_32BIT_KERNEL 607baec970aSLauri Kasanen select SYS_SUPPORTS_64BIT_KERNEL 608baec970aSLauri Kasanen select DMA_NONCOHERENT 609baec970aSLauri Kasanen select IRQ_MIPS_CPU 610baec970aSLauri Kasanen 611ae2b5bb6SJohn Crispinconfig RALINK 612ae2b5bb6SJohn Crispin bool "Ralink based machines" 613ae2b5bb6SJohn Crispin select CEVT_R4K 61435f752beSArnd Bergmann select COMMON_CLK 615ae2b5bb6SJohn Crispin select CSRC_R4K 616ae2b5bb6SJohn Crispin select BOOT_RAW 617ae2b5bb6SJohn Crispin select DMA_NONCOHERENT 61867e38cf2SRalf Baechle select IRQ_MIPS_CPU 619ae2b5bb6SJohn Crispin select USE_OF 620ae2b5bb6SJohn Crispin select SYS_HAS_CPU_MIPS32_R1 621ae2b5bb6SJohn Crispin select SYS_HAS_CPU_MIPS32_R2 622ae2b5bb6SJohn Crispin select SYS_SUPPORTS_32BIT_KERNEL 623ae2b5bb6SJohn Crispin select SYS_SUPPORTS_LITTLE_ENDIAN 624377cb1b6SRalf Baechle select SYS_SUPPORTS_MIPS16 6251f0400d0SChuanhong Guo select SYS_SUPPORTS_ZBOOT 626ae2b5bb6SJohn Crispin select SYS_HAS_EARLY_PRINTK 6272a153f1cSJohn Crispin select ARCH_HAS_RESET_CONTROLLER 6282a153f1cSJohn Crispin select RESET_CONTROLLER 629ae2b5bb6SJohn Crispin 6304042147aSBert Vermeulenconfig MACH_REALTEK_RTL 6314042147aSBert Vermeulen bool "Realtek RTL838x/RTL839x based machines" 6324042147aSBert Vermeulen select MIPS_GENERIC 6334042147aSBert Vermeulen select DMA_NONCOHERENT 6344042147aSBert Vermeulen select IRQ_MIPS_CPU 6354042147aSBert Vermeulen select CSRC_R4K 6364042147aSBert Vermeulen select CEVT_R4K 6374042147aSBert Vermeulen select SYS_HAS_CPU_MIPS32_R1 6384042147aSBert Vermeulen select SYS_HAS_CPU_MIPS32_R2 6394042147aSBert Vermeulen select SYS_SUPPORTS_BIG_ENDIAN 6404042147aSBert Vermeulen select SYS_SUPPORTS_32BIT_KERNEL 6414042147aSBert Vermeulen select SYS_SUPPORTS_MIPS16 6424042147aSBert Vermeulen select SYS_SUPPORTS_MULTITHREADING 6434042147aSBert Vermeulen select SYS_SUPPORTS_VPE_LOADER 6444042147aSBert Vermeulen select BOOT_RAW 6454042147aSBert Vermeulen select PINCTRL 6464042147aSBert Vermeulen select USE_OF 6474042147aSBert Vermeulen 6481da177e4SLinus Torvaldsconfig SGI_IP22 6493fa986faSMartin Michlmayr bool "SGI IP22 (Indy/Indigo2)" 650c0de00b2SThomas Bogendoerfer select ARC_MEMORY 65139b2d756SThomas Bogendoerfer select ARC_PROMLIB 6520e2794b0SRalf Baechle select FW_ARC 6530e2794b0SRalf Baechle select FW_ARC32 6547a407aa5SRalf Baechle select ARCH_MIGHT_HAVE_PC_SERIO 6551da177e4SLinus Torvalds select BOOT_ELF32 65642f77542SRalf Baechle select CEVT_R4K 657940f6b48SRalf Baechle select CSRC_R4K 658e2defae5SThomas Bogendoerfer select DEFAULT_SGI_PARTITION 6591da177e4SLinus Torvalds select DMA_NONCOHERENT 6606630a8e5SChristoph Hellwig select HAVE_EISA 661d865bea4SRalf Baechle select I8253 66268de4803SThomas Bogendoerfer select I8259 6631da177e4SLinus Torvalds select IP22_CPU_SCACHE 66467e38cf2SRalf Baechle select IRQ_MIPS_CPU 665aa414dffSRalf Baechle select GENERIC_ISA_DMA_SUPPORT_BROKEN 666e2defae5SThomas Bogendoerfer select SGI_HAS_I8042 667e2defae5SThomas Bogendoerfer select SGI_HAS_INDYDOG 66836e5c21dSThomas Bogendoerfer select SGI_HAS_HAL2 669e2defae5SThomas Bogendoerfer select SGI_HAS_SEEQ 670e2defae5SThomas Bogendoerfer select SGI_HAS_WD93 671e2defae5SThomas Bogendoerfer select SGI_HAS_ZILOG 6721da177e4SLinus Torvalds select SWAP_IO_SPACE 6737cf8053bSRalf Baechle select SYS_HAS_CPU_R4X00 6747cf8053bSRalf Baechle select SYS_HAS_CPU_R5000 675c0de00b2SThomas Bogendoerfer select SYS_HAS_EARLY_PRINTK 676ed5ba2fbSYoichi Yuasa select SYS_SUPPORTS_32BIT_KERNEL 677ed5ba2fbSYoichi Yuasa select SYS_SUPPORTS_64BIT_KERNEL 6785e83d430SRalf Baechle select SYS_SUPPORTS_BIG_ENDIAN 679802b8362SThomas Bogendoerfer select WAR_R4600_V1_INDEX_ICACHEOP 6805e5b6527SThomas Bogendoerfer select WAR_R4600_V1_HIT_CACHEOP 68144def342SThomas Bogendoerfer select WAR_R4600_V2_HIT_CACHEOP 682930beb5aSFlorian Fainelli select MIPS_L1_CACHE_SHIFT_7 6831da177e4SLinus Torvalds help 6841da177e4SLinus Torvalds This are the SGI Indy, Challenge S and Indigo2, as well as certain 6851da177e4SLinus Torvalds OEM variants like the Tandem CMN B006S. To compile a Linux kernel 6861da177e4SLinus Torvalds that runs on these, say Y here. 6871da177e4SLinus Torvalds 6881da177e4SLinus Torvaldsconfig SGI_IP27 6893fa986faSMartin Michlmayr bool "SGI IP27 (Origin200/2000)" 69054aed4ddSChristoph Hellwig select ARCH_HAS_PHYS_TO_DMA 691397dc00eSMike Rapoport select ARCH_SPARSEMEM_ENABLE 6920e2794b0SRalf Baechle select FW_ARC 6930e2794b0SRalf Baechle select FW_ARC64 694e9422427SThomas Bogendoerfer select ARC_CMDLINE_ONLY 6955e83d430SRalf Baechle select BOOT_ELF64 696e2defae5SThomas Bogendoerfer select DEFAULT_SGI_PARTITION 69704100459SChristoph Hellwig select FORCE_PCI 69836a88530SRalf Baechle select SYS_HAS_EARLY_PRINTK 699eb01d42aSChristoph Hellwig select HAVE_PCI 70069a07a41SThomas Bogendoerfer select IRQ_MIPS_CPU 701e6308b6dSThomas Bogendoerfer select IRQ_DOMAIN_HIERARCHY 702130e2fb7SRalf Baechle select NR_CPUS_DEFAULT_64 703a57140e9SThomas Bogendoerfer select PCI_DRIVERS_GENERIC 704a57140e9SThomas Bogendoerfer select PCI_XTALK_BRIDGE 7057cf8053bSRalf Baechle select SYS_HAS_CPU_R10000 706ed5ba2fbSYoichi Yuasa select SYS_SUPPORTS_64BIT_KERNEL 7075e83d430SRalf Baechle select SYS_SUPPORTS_BIG_ENDIAN 708d8cb4e11SRalf Baechle select SYS_SUPPORTS_NUMA 7091a5c5de1SRalf Baechle select SYS_SUPPORTS_SMP 710256ec489SThomas Bogendoerfer select WAR_R10000_LLSC 711930beb5aSFlorian Fainelli select MIPS_L1_CACHE_SHIFT_7 7126c86a302SMike Rapoport select NUMA 713f8f9f21cSFeiyang Chen select HAVE_ARCH_NODEDATA_EXTENSION 7141da177e4SLinus Torvalds help 7151da177e4SLinus Torvalds This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics 7161da177e4SLinus Torvalds workstations. To compile a Linux kernel that runs on these, say Y 7171da177e4SLinus Torvalds here. 7181da177e4SLinus Torvalds 719e2defae5SThomas Bogendoerferconfig SGI_IP28 7207d60717eSKees Cook bool "SGI IP28 (Indigo2 R10k)" 721c0de00b2SThomas Bogendoerfer select ARC_MEMORY 72239b2d756SThomas Bogendoerfer select ARC_PROMLIB 7230e2794b0SRalf Baechle select FW_ARC 7240e2794b0SRalf Baechle select FW_ARC64 7257a407aa5SRalf Baechle select ARCH_MIGHT_HAVE_PC_SERIO 726e2defae5SThomas Bogendoerfer select BOOT_ELF64 727e2defae5SThomas Bogendoerfer select CEVT_R4K 728e2defae5SThomas Bogendoerfer select CSRC_R4K 729e2defae5SThomas Bogendoerfer select DEFAULT_SGI_PARTITION 730e2defae5SThomas Bogendoerfer select DMA_NONCOHERENT 731e2defae5SThomas Bogendoerfer select GENERIC_ISA_DMA_SUPPORT_BROKEN 73267e38cf2SRalf Baechle select IRQ_MIPS_CPU 7336630a8e5SChristoph Hellwig select HAVE_EISA 734e2defae5SThomas Bogendoerfer select I8253 735e2defae5SThomas Bogendoerfer select I8259 736e2defae5SThomas Bogendoerfer select SGI_HAS_I8042 737e2defae5SThomas Bogendoerfer select SGI_HAS_INDYDOG 7385b438c44SThomas Bogendoerfer select SGI_HAS_HAL2 739e2defae5SThomas Bogendoerfer select SGI_HAS_SEEQ 740e2defae5SThomas Bogendoerfer select SGI_HAS_WD93 741e2defae5SThomas Bogendoerfer select SGI_HAS_ZILOG 742e2defae5SThomas Bogendoerfer select SWAP_IO_SPACE 743e2defae5SThomas Bogendoerfer select SYS_HAS_CPU_R10000 744c0de00b2SThomas Bogendoerfer select SYS_HAS_EARLY_PRINTK 745e2defae5SThomas Bogendoerfer select SYS_SUPPORTS_64BIT_KERNEL 746e2defae5SThomas Bogendoerfer select SYS_SUPPORTS_BIG_ENDIAN 747256ec489SThomas Bogendoerfer select WAR_R10000_LLSC 748dc24d68dSThomas Bogendoerfer select MIPS_L1_CACHE_SHIFT_7 749e2defae5SThomas Bogendoerfer help 750e2defae5SThomas Bogendoerfer This is the SGI Indigo2 with R10000 processor. To compile a Linux 751e2defae5SThomas Bogendoerfer kernel that runs on these, say Y here. 752e2defae5SThomas Bogendoerfer 7537505576dSThomas Bogendoerferconfig SGI_IP30 7547505576dSThomas Bogendoerfer bool "SGI IP30 (Octane/Octane2)" 7557505576dSThomas Bogendoerfer select ARCH_HAS_PHYS_TO_DMA 7567505576dSThomas Bogendoerfer select FW_ARC 7577505576dSThomas Bogendoerfer select FW_ARC64 7587505576dSThomas Bogendoerfer select BOOT_ELF64 7597505576dSThomas Bogendoerfer select CEVT_R4K 7607505576dSThomas Bogendoerfer select CSRC_R4K 76104100459SChristoph Hellwig select FORCE_PCI 7627505576dSThomas Bogendoerfer select SYNC_R4K if SMP 7637505576dSThomas Bogendoerfer select ZONE_DMA32 7647505576dSThomas Bogendoerfer select HAVE_PCI 7657505576dSThomas Bogendoerfer select IRQ_MIPS_CPU 7667505576dSThomas Bogendoerfer select IRQ_DOMAIN_HIERARCHY 7677505576dSThomas Bogendoerfer select PCI_DRIVERS_GENERIC 7687505576dSThomas Bogendoerfer select PCI_XTALK_BRIDGE 7697505576dSThomas Bogendoerfer select SYS_HAS_EARLY_PRINTK 7707505576dSThomas Bogendoerfer select SYS_HAS_CPU_R10000 7717505576dSThomas Bogendoerfer select SYS_SUPPORTS_64BIT_KERNEL 7727505576dSThomas Bogendoerfer select SYS_SUPPORTS_BIG_ENDIAN 7737505576dSThomas Bogendoerfer select SYS_SUPPORTS_SMP 774256ec489SThomas Bogendoerfer select WAR_R10000_LLSC 7757505576dSThomas Bogendoerfer select MIPS_L1_CACHE_SHIFT_7 7767505576dSThomas Bogendoerfer select ARC_MEMORY 7777505576dSThomas Bogendoerfer help 7787505576dSThomas Bogendoerfer These are the SGI Octane and Octane2 graphics workstations. To 7797505576dSThomas Bogendoerfer compile a Linux kernel that runs on these, say Y here. 7807505576dSThomas Bogendoerfer 7811da177e4SLinus Torvaldsconfig SGI_IP32 782cfd2afc0SRalf Baechle bool "SGI IP32 (O2)" 78339b2d756SThomas Bogendoerfer select ARC_MEMORY 78439b2d756SThomas Bogendoerfer select ARC_PROMLIB 78503df8229SChristoph Hellwig select ARCH_HAS_PHYS_TO_DMA 7860e2794b0SRalf Baechle select FW_ARC 7870e2794b0SRalf Baechle select FW_ARC32 7881da177e4SLinus Torvalds select BOOT_ELF32 78942f77542SRalf Baechle select CEVT_R4K 790940f6b48SRalf Baechle select CSRC_R4K 7911da177e4SLinus Torvalds select DMA_NONCOHERENT 792eb01d42aSChristoph Hellwig select HAVE_PCI 79367e38cf2SRalf Baechle select IRQ_MIPS_CPU 7941da177e4SLinus Torvalds select R5000_CPU_SCACHE 7951da177e4SLinus Torvalds select RM7000_CPU_SCACHE 7967cf8053bSRalf Baechle select SYS_HAS_CPU_R5000 7977cf8053bSRalf Baechle select SYS_HAS_CPU_R10000 if BROKEN 7987cf8053bSRalf Baechle select SYS_HAS_CPU_RM7000 799dd2f18feSRalf Baechle select SYS_HAS_CPU_NEVADA 800ed5ba2fbSYoichi Yuasa select SYS_SUPPORTS_64BIT_KERNEL 8015e83d430SRalf Baechle select SYS_SUPPORTS_BIG_ENDIAN 802886ee136SThomas Bogendoerfer select WAR_ICACHE_REFILLS 8031da177e4SLinus Torvalds help 8041da177e4SLinus Torvalds If you want this kernel to run on SGI O2 workstation, say Y here. 8051da177e4SLinus Torvalds 806ade299d8SYoichi Yuasaconfig SIBYTE_CRHINE 807ade299d8SYoichi Yuasa bool "Sibyte BCM91120C-CRhine" 8085e83d430SRalf Baechle select BOOT_ELF32 8095e83d430SRalf Baechle select SIBYTE_BCM1120 8105e83d430SRalf Baechle select SWAP_IO_SPACE 8117cf8053bSRalf Baechle select SYS_HAS_CPU_SB1 8125e83d430SRalf Baechle select SYS_SUPPORTS_BIG_ENDIAN 8135e83d430SRalf Baechle select SYS_SUPPORTS_LITTLE_ENDIAN 8145e83d430SRalf Baechle 815ade299d8SYoichi Yuasaconfig SIBYTE_CARMEL 816ade299d8SYoichi Yuasa bool "Sibyte BCM91120x-Carmel" 8175e83d430SRalf Baechle select BOOT_ELF32 8185e83d430SRalf Baechle select SIBYTE_BCM1120 8195e83d430SRalf Baechle select SWAP_IO_SPACE 8207cf8053bSRalf Baechle select SYS_HAS_CPU_SB1 8215e83d430SRalf Baechle select SYS_SUPPORTS_BIG_ENDIAN 8225e83d430SRalf Baechle select SYS_SUPPORTS_LITTLE_ENDIAN 8235e83d430SRalf Baechle 8245e83d430SRalf Baechleconfig SIBYTE_CRHONE 8253fa986faSMartin Michlmayr bool "Sibyte BCM91125C-CRhone" 8265e83d430SRalf Baechle select BOOT_ELF32 8275e83d430SRalf Baechle select SIBYTE_BCM1125 8285e83d430SRalf Baechle select SWAP_IO_SPACE 8297cf8053bSRalf Baechle select SYS_HAS_CPU_SB1 8305e83d430SRalf Baechle select SYS_SUPPORTS_BIG_ENDIAN 8315e83d430SRalf Baechle select SYS_SUPPORTS_HIGHMEM 8325e83d430SRalf Baechle select SYS_SUPPORTS_LITTLE_ENDIAN 8335e83d430SRalf Baechle 834ade299d8SYoichi Yuasaconfig SIBYTE_RHONE 835ade299d8SYoichi Yuasa bool "Sibyte BCM91125E-Rhone" 836ade299d8SYoichi Yuasa select BOOT_ELF32 837ade299d8SYoichi Yuasa select SIBYTE_BCM1125H 838ade299d8SYoichi Yuasa select SWAP_IO_SPACE 839ade299d8SYoichi Yuasa select SYS_HAS_CPU_SB1 840ade299d8SYoichi Yuasa select SYS_SUPPORTS_BIG_ENDIAN 841ade299d8SYoichi Yuasa select SYS_SUPPORTS_LITTLE_ENDIAN 842ade299d8SYoichi Yuasa 843ade299d8SYoichi Yuasaconfig SIBYTE_SWARM 844ade299d8SYoichi Yuasa bool "Sibyte BCM91250A-SWARM" 845ade299d8SYoichi Yuasa select BOOT_ELF32 846fcf3ca4cSSebastian Andrzej Siewior select HAVE_PATA_PLATFORM 847ade299d8SYoichi Yuasa select SIBYTE_SB1250 848ade299d8SYoichi Yuasa select SWAP_IO_SPACE 849ade299d8SYoichi Yuasa select SYS_HAS_CPU_SB1 850ade299d8SYoichi Yuasa select SYS_SUPPORTS_BIG_ENDIAN 851ade299d8SYoichi Yuasa select SYS_SUPPORTS_HIGHMEM 852ade299d8SYoichi Yuasa select SYS_SUPPORTS_LITTLE_ENDIAN 853cce335aeSRalf Baechle select ZONE_DMA32 if 64BIT 854e4849affSMaciej W. Rozycki select SWIOTLB if ARCH_DMA_ADDR_T_64BIT && PCI 855ade299d8SYoichi Yuasa 856ade299d8SYoichi Yuasaconfig SIBYTE_LITTLESUR 857ade299d8SYoichi Yuasa bool "Sibyte BCM91250C2-LittleSur" 858ade299d8SYoichi Yuasa select BOOT_ELF32 859fcf3ca4cSSebastian Andrzej Siewior select HAVE_PATA_PLATFORM 860ade299d8SYoichi Yuasa select SIBYTE_SB1250 861ade299d8SYoichi Yuasa select SWAP_IO_SPACE 862ade299d8SYoichi Yuasa select SYS_HAS_CPU_SB1 863ade299d8SYoichi Yuasa select SYS_SUPPORTS_BIG_ENDIAN 864ade299d8SYoichi Yuasa select SYS_SUPPORTS_HIGHMEM 865ade299d8SYoichi Yuasa select SYS_SUPPORTS_LITTLE_ENDIAN 866756d6d83SMaciej W. Rozycki select ZONE_DMA32 if 64BIT 867ade299d8SYoichi Yuasa 868ade299d8SYoichi Yuasaconfig SIBYTE_SENTOSA 869ade299d8SYoichi Yuasa bool "Sibyte BCM91250E-Sentosa" 870ade299d8SYoichi Yuasa select BOOT_ELF32 871ade299d8SYoichi Yuasa select SIBYTE_SB1250 872ade299d8SYoichi Yuasa select SWAP_IO_SPACE 873ade299d8SYoichi Yuasa select SYS_HAS_CPU_SB1 874ade299d8SYoichi Yuasa select SYS_SUPPORTS_BIG_ENDIAN 875ade299d8SYoichi Yuasa select SYS_SUPPORTS_LITTLE_ENDIAN 876e4849affSMaciej W. Rozycki select SWIOTLB if ARCH_DMA_ADDR_T_64BIT && PCI 877ade299d8SYoichi Yuasa 878ade299d8SYoichi Yuasaconfig SIBYTE_BIGSUR 879ade299d8SYoichi Yuasa bool "Sibyte BCM91480B-BigSur" 880ade299d8SYoichi Yuasa select BOOT_ELF32 881ade299d8SYoichi Yuasa select NR_CPUS_DEFAULT_4 882ade299d8SYoichi Yuasa select SIBYTE_BCM1x80 883ade299d8SYoichi Yuasa select SWAP_IO_SPACE 884ade299d8SYoichi Yuasa select SYS_HAS_CPU_SB1 885ade299d8SYoichi Yuasa select SYS_SUPPORTS_BIG_ENDIAN 886651194f8SRalf Baechle select SYS_SUPPORTS_HIGHMEM 887ade299d8SYoichi Yuasa select SYS_SUPPORTS_LITTLE_ENDIAN 888cce335aeSRalf Baechle select ZONE_DMA32 if 64BIT 889e4849affSMaciej W. Rozycki select SWIOTLB if ARCH_DMA_ADDR_T_64BIT && PCI 890ade299d8SYoichi Yuasa 89114b36af4SThomas Bogendoerferconfig SNI_RM 89214b36af4SThomas Bogendoerfer bool "SNI RM200/300/400" 89339b2d756SThomas Bogendoerfer select ARC_MEMORY 89439b2d756SThomas Bogendoerfer select ARC_PROMLIB 8950e2794b0SRalf Baechle select FW_ARC if CPU_LITTLE_ENDIAN 8960e2794b0SRalf Baechle select FW_ARC32 if CPU_LITTLE_ENDIAN 897aaa9fad3SPaul Bolle select FW_SNIPROM if CPU_BIG_ENDIAN 8985e83d430SRalf Baechle select ARCH_MAY_HAVE_PC_FDC 899a211a082SRalf Baechle select ARCH_MIGHT_HAVE_PC_PARPORT 9007a407aa5SRalf Baechle select ARCH_MIGHT_HAVE_PC_SERIO 9015e83d430SRalf Baechle select BOOT_ELF32 90242f77542SRalf Baechle select CEVT_R4K 903940f6b48SRalf Baechle select CSRC_R4K 904e2defae5SThomas Bogendoerfer select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN 9055e83d430SRalf Baechle select DMA_NONCOHERENT 9065e83d430SRalf Baechle select GENERIC_ISA_DMA 9076630a8e5SChristoph Hellwig select HAVE_EISA 9088a118c38SRalf Baechle select HAVE_PCSPKR_PLATFORM 909eb01d42aSChristoph Hellwig select HAVE_PCI 91067e38cf2SRalf Baechle select IRQ_MIPS_CPU 911d865bea4SRalf Baechle select I8253 9125e83d430SRalf Baechle select I8259 9135e83d430SRalf Baechle select ISA 914564c836fSThomas Bogendoerfer select MIPS_L1_CACHE_SHIFT_6 9154a0312fcSThomas Bogendoerfer select SWAP_IO_SPACE if CPU_BIG_ENDIAN 9167cf8053bSRalf Baechle select SYS_HAS_CPU_R4X00 9174a0312fcSThomas Bogendoerfer select SYS_HAS_CPU_R5000 918c066a32aSThomas Bogendoerfer select SYS_HAS_CPU_R10000 9194a0312fcSThomas Bogendoerfer select R5000_CPU_SCACHE 92036a88530SRalf Baechle select SYS_HAS_EARLY_PRINTK 921ed5ba2fbSYoichi Yuasa select SYS_SUPPORTS_32BIT_KERNEL 9227d60717eSKees Cook select SYS_SUPPORTS_64BIT_KERNEL 9234a0312fcSThomas Bogendoerfer select SYS_SUPPORTS_BIG_ENDIAN 9245e83d430SRalf Baechle select SYS_SUPPORTS_HIGHMEM 9255e83d430SRalf Baechle select SYS_SUPPORTS_LITTLE_ENDIAN 92644def342SThomas Bogendoerfer select WAR_R4600_V2_HIT_CACHEOP 9271da177e4SLinus Torvalds help 92814b36af4SThomas Bogendoerfer The SNI RM200/300/400 are MIPS-based machines manufactured by 92914b36af4SThomas Bogendoerfer Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid 9305e83d430SRalf Baechle Technology and now in turn merged with Fujitsu. Say Y here to 9315e83d430SRalf Baechle support this machine type. 9321da177e4SLinus Torvalds 933edcaf1a6SAtsushi Nemotoconfig MACH_TX49XX 934edcaf1a6SAtsushi Nemoto bool "Toshiba TX49 series based machines" 93524a1c023SThomas Bogendoerfer select WAR_TX49XX_ICACHE_INDEX_INV 93623fbee9dSRalf Baechle 93773b4390fSRalf Baechleconfig MIKROTIK_RB532 93873b4390fSRalf Baechle bool "Mikrotik RB532 boards" 93973b4390fSRalf Baechle select CEVT_R4K 94073b4390fSRalf Baechle select CSRC_R4K 94173b4390fSRalf Baechle select DMA_NONCOHERENT 942eb01d42aSChristoph Hellwig select HAVE_PCI 94367e38cf2SRalf Baechle select IRQ_MIPS_CPU 94473b4390fSRalf Baechle select SYS_HAS_CPU_MIPS32_R1 94573b4390fSRalf Baechle select SYS_SUPPORTS_32BIT_KERNEL 94673b4390fSRalf Baechle select SYS_SUPPORTS_LITTLE_ENDIAN 94773b4390fSRalf Baechle select SWAP_IO_SPACE 94873b4390fSRalf Baechle select BOOT_RAW 949d30a2b47SLinus Walleij select GPIOLIB 950930beb5aSFlorian Fainelli select MIPS_L1_CACHE_SHIFT_4 95173b4390fSRalf Baechle help 95273b4390fSRalf Baechle Support the Mikrotik(tm) RouterBoard 532 series, 95373b4390fSRalf Baechle based on the IDT RC32434 SoC. 95473b4390fSRalf Baechle 9559ddebc46SDavid Daneyconfig CAVIUM_OCTEON_SOC 9569ddebc46SDavid Daney bool "Cavium Networks Octeon SoC based boards" 957a86c7f72SDavid Daney select CEVT_R4K 958ea8c64acSChristoph Hellwig select ARCH_HAS_PHYS_TO_DMA 9591753d50cSChristoph Hellwig select HAVE_RAPIDIO 960d4a451d5SChristoph Hellwig select PHYS_ADDR_T_64BIT 961a86c7f72SDavid Daney select SYS_SUPPORTS_64BIT_KERNEL 962a86c7f72SDavid Daney select SYS_SUPPORTS_BIG_ENDIAN 963f65aad41SRalf Baechle select EDAC_SUPPORT 964b01aec9bSBorislav Petkov select EDAC_ATOMIC_SCRUB 96573569d87SDavid Daney select SYS_SUPPORTS_LITTLE_ENDIAN 96673569d87SDavid Daney select SYS_SUPPORTS_HOTPLUG_CPU if CPU_BIG_ENDIAN 967a86c7f72SDavid Daney select SYS_HAS_EARLY_PRINTK 9685e683389SDavid Daney select SYS_HAS_CPU_CAVIUM_OCTEON 969eb01d42aSChristoph Hellwig select HAVE_PCI 97078bdbbacSMasahiro Yamada select HAVE_PLAT_DELAY 97178bdbbacSMasahiro Yamada select HAVE_PLAT_FW_INIT_CMDLINE 97278bdbbacSMasahiro Yamada select HAVE_PLAT_MEMCPY 973f00e001eSDavid Daney select ZONE_DMA32 974d30a2b47SLinus Walleij select GPIOLIB 9756e511163SDavid Daney select USE_OF 9766e511163SDavid Daney select ARCH_SPARSEMEM_ENABLE 9776e511163SDavid Daney select SYS_SUPPORTS_SMP 9787820b84bSDavid Daney select NR_CPUS_DEFAULT_64 9797820b84bSDavid Daney select MIPS_NR_CPU_NR_MAP_1024 980e326479fSAndrew Bresticker select BUILTIN_DTB 981f766b28aSJulian Braha select MTD 9828c1e6b14SDavid Daney select MTD_COMPLEX_MAPPINGS 98309230cbcSChristoph Hellwig select SWIOTLB 9843ff72be4SSteven J. Hill select SYS_SUPPORTS_RELOCATABLE 985a86c7f72SDavid Daney help 986a86c7f72SDavid Daney This option supports all of the Octeon reference boards from Cavium 987a86c7f72SDavid Daney Networks. It builds a kernel that dynamically determines the Octeon 988a86c7f72SDavid Daney CPU type and supports all known board reference implementations. 989a86c7f72SDavid Daney Some of the supported boards are: 990a86c7f72SDavid Daney EBT3000 991a86c7f72SDavid Daney EBH3000 992a86c7f72SDavid Daney EBH3100 993a86c7f72SDavid Daney Thunder 994a86c7f72SDavid Daney Kodama 995a86c7f72SDavid Daney Hikari 996a86c7f72SDavid Daney Say Y here for most Octeon reference boards. 997a86c7f72SDavid Daney 9981da177e4SLinus Torvaldsendchoice 9991da177e4SLinus Torvalds 1000e8c7c482SRalf Baechlesource "arch/mips/alchemy/Kconfig" 10013b12308fSSergey Ryazanovsource "arch/mips/ath25/Kconfig" 1002d4a67d9dSGabor Juhossource "arch/mips/ath79/Kconfig" 1003a656ffcbSHauke Mehrtenssource "arch/mips/bcm47xx/Kconfig" 1004e7300d04SMaxime Bizonsource "arch/mips/bcm63xx/Kconfig" 10058945e37eSKevin Cernekeesource "arch/mips/bmips/Kconfig" 1006eed0eabdSPaul Burtonsource "arch/mips/generic/Kconfig" 1007a103e9b9SPaul Cercueilsource "arch/mips/ingenic/Kconfig" 10085e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig" 10098ec6d935SJohn Crispinsource "arch/mips/lantiq/Kconfig" 10102572f00dSJoshua Hendersonsource "arch/mips/pic32/Kconfig" 1011ae2b5bb6SJohn Crispinsource "arch/mips/ralink/Kconfig" 101229c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig" 101338b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig" 101422b1d707SAtsushi Nemotosource "arch/mips/txx9/Kconfig" 10155e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig" 1016a86c7f72SDavid Daneysource "arch/mips/cavium-octeon/Kconfig" 101771e2f4ddSJiaxun Yangsource "arch/mips/loongson2ef/Kconfig" 101830ad29bbSHuacai Chensource "arch/mips/loongson32/Kconfig" 101930ad29bbSHuacai Chensource "arch/mips/loongson64/Kconfig" 102038b18f72SRalf Baechle 10215e83d430SRalf Baechleendmenu 10225e83d430SRalf Baechle 10233c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT 10243c9ee7efSAkinobu Mita bool 10253c9ee7efSAkinobu Mita default y 10263c9ee7efSAkinobu Mita 10271da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY 10281da177e4SLinus Torvalds bool 10291da177e4SLinus Torvalds default y 10301da177e4SLinus Torvalds 1031ae1e9130SIngo Molnarconfig SCHED_OMIT_FRAME_POINTER 10321cc89038SAtsushi Nemoto bool 10331cc89038SAtsushi Nemoto default y 10341cc89038SAtsushi Nemoto 10351da177e4SLinus Torvalds# 10361da177e4SLinus Torvalds# Select some configuration options automatically based on user selections. 10371da177e4SLinus Torvalds# 10380e2794b0SRalf Baechleconfig FW_ARC 10391da177e4SLinus Torvalds bool 10401da177e4SLinus Torvalds 104161ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC 104261ed242dSRalf Baechle bool 104361ed242dSRalf Baechle 10449267a30dSMarc St-Jeanconfig BOOT_RAW 10459267a30dSMarc St-Jean bool 10469267a30dSMarc St-Jean 1047217dd11eSRalf Baechleconfig CEVT_BCM1480 1048217dd11eSRalf Baechle bool 1049217dd11eSRalf Baechle 10506457d9fcSYoichi Yuasaconfig CEVT_DS1287 10516457d9fcSYoichi Yuasa bool 10526457d9fcSYoichi Yuasa 10531097c6acSYoichi Yuasaconfig CEVT_GT641XX 10541097c6acSYoichi Yuasa bool 10551097c6acSYoichi Yuasa 105642f77542SRalf Baechleconfig CEVT_R4K 105742f77542SRalf Baechle bool 105842f77542SRalf Baechle 1059217dd11eSRalf Baechleconfig CEVT_SB1250 1060217dd11eSRalf Baechle bool 1061217dd11eSRalf Baechle 1062229f773eSAtsushi Nemotoconfig CEVT_TXX9 1063229f773eSAtsushi Nemoto bool 1064229f773eSAtsushi Nemoto 1065217dd11eSRalf Baechleconfig CSRC_BCM1480 1066217dd11eSRalf Baechle bool 1067217dd11eSRalf Baechle 10684247417dSYoichi Yuasaconfig CSRC_IOASIC 10694247417dSYoichi Yuasa bool 10704247417dSYoichi Yuasa 1071940f6b48SRalf Baechleconfig CSRC_R4K 107238586428SSerge Semin select CLOCKSOURCE_WATCHDOG if CPU_FREQ 1073940f6b48SRalf Baechle bool 1074940f6b48SRalf Baechle 1075217dd11eSRalf Baechleconfig CSRC_SB1250 1076217dd11eSRalf Baechle bool 1077217dd11eSRalf Baechle 1078a7f4df4eSAlex Smithconfig MIPS_CLOCK_VSYSCALL 1079a7f4df4eSAlex Smith def_bool CSRC_R4K || CLKSRC_MIPS_GIC 1080a7f4df4eSAlex Smith 1081a9aec7feSAtsushi Nemotoconfig GPIO_TXX9 1082d30a2b47SLinus Walleij select GPIOLIB 1083a9aec7feSAtsushi Nemoto bool 1084a9aec7feSAtsushi Nemoto 10850e2794b0SRalf Baechleconfig FW_CFE 1086df78b5c8SAurelien Jarno bool 1087df78b5c8SAurelien Jarno 108840e084a5SRalf Baechleconfig ARCH_SUPPORTS_UPROBES 108940e084a5SRalf Baechle bool 109040e084a5SRalf Baechle 109120d33064SPaul Burtonconfig DMA_PERDEV_COHERENT 109220d33064SPaul Burton bool 1093347cb6afSChristoph Hellwig select ARCH_HAS_SETUP_DMA_OPS 10945748e1b3SChristoph Hellwig select DMA_NONCOHERENT 109520d33064SPaul Burton 10961da177e4SLinus Torvaldsconfig DMA_NONCOHERENT 10971da177e4SLinus Torvalds bool 1098db91427bSChristoph Hellwig # 1099db91427bSChristoph Hellwig # MIPS allows mixing "slightly different" Cacheability and Coherency 1100db91427bSChristoph Hellwig # Attribute bits. It is believed that the uncached access through 1101db91427bSChristoph Hellwig # KSEG1 and the implementation specific "uncached accelerated" used 1102db91427bSChristoph Hellwig # by pgprot_writcombine can be mixed, and the latter sometimes provides 1103db91427bSChristoph Hellwig # significant advantages. 1104db91427bSChristoph Hellwig # 1105419e2f18SChristoph Hellwig select ARCH_HAS_DMA_WRITE_COMBINE 1106fa7e2247SChristoph Hellwig select ARCH_HAS_DMA_PREP_COHERENT 1107f8c55dc6SChristoph Hellwig select ARCH_HAS_SYNC_DMA_FOR_DEVICE 1108fa7e2247SChristoph Hellwig select ARCH_HAS_DMA_SET_UNCACHED 110934dc0ea6SChristoph Hellwig select DMA_NONCOHERENT_MMAP 111034dc0ea6SChristoph Hellwig select NEED_DMA_MAP_STATE 11114ce588cdSRalf Baechle 111236a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK 11131da177e4SLinus Torvalds bool 11141da177e4SLinus Torvalds 11151b2bc75cSRalf Baechleconfig SYS_SUPPORTS_HOTPLUG_CPU 1116dbb74540SRalf Baechle bool 1117dbb74540SRalf Baechle 11181da177e4SLinus Torvaldsconfig MIPS_BONITO64 11191da177e4SLinus Torvalds bool 11201da177e4SLinus Torvalds 11211da177e4SLinus Torvaldsconfig MIPS_MSC 11221da177e4SLinus Torvalds bool 11231da177e4SLinus Torvalds 112439b8d525SRalf Baechleconfig SYNC_R4K 112539b8d525SRalf Baechle bool 112639b8d525SRalf Baechle 1127ce816fa8SUwe Kleine-Königconfig NO_IOPORT_MAP 1128d388d685SMaciej W. Rozycki def_bool n 1129d388d685SMaciej W. Rozycki 11304e0748f5SMarkos Chandrasconfig GENERIC_CSUM 113118d84e2eSAlexander Lobakin def_bool CPU_NO_LOAD_STORE_LR 11324e0748f5SMarkos Chandras 11338313da30SRalf Baechleconfig GENERIC_ISA_DMA 11348313da30SRalf Baechle bool 11358313da30SRalf Baechle select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n 1136a35bee8aSNamhyung Kim select ISA_DMA_API 11378313da30SRalf Baechle 1138aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN 1139aa414dffSRalf Baechle bool 11408313da30SRalf Baechle select GENERIC_ISA_DMA 1141aa414dffSRalf Baechle 114278bdbbacSMasahiro Yamadaconfig HAVE_PLAT_DELAY 114378bdbbacSMasahiro Yamada bool 114478bdbbacSMasahiro Yamada 114578bdbbacSMasahiro Yamadaconfig HAVE_PLAT_FW_INIT_CMDLINE 114678bdbbacSMasahiro Yamada bool 114778bdbbacSMasahiro Yamada 114878bdbbacSMasahiro Yamadaconfig HAVE_PLAT_MEMCPY 114978bdbbacSMasahiro Yamada bool 115078bdbbacSMasahiro Yamada 1151a35bee8aSNamhyung Kimconfig ISA_DMA_API 1152a35bee8aSNamhyung Kim bool 1153a35bee8aSNamhyung Kim 11548c530ea3SMatt Redfearnconfig SYS_SUPPORTS_RELOCATABLE 11558c530ea3SMatt Redfearn bool 11568c530ea3SMatt Redfearn help 11578c530ea3SMatt Redfearn Selected if the platform supports relocating the kernel. 11588c530ea3SMatt Redfearn The platform must provide plat_get_fdt() if it selects CONFIG_USE_OF 11598c530ea3SMatt Redfearn to allow access to command line and entropy sources. 11608c530ea3SMatt Redfearn 11615e83d430SRalf Baechle# 11626b2aac42SMasanari Iida# Endianness selection. Sufficiently obscure so many users don't know what to 11635e83d430SRalf Baechle# answer,so we try hard to limit the available choices. Also the use of a 11645e83d430SRalf Baechle# choice statement should be more obvious to the user. 11655e83d430SRalf Baechle# 11665e83d430SRalf Baechlechoice 11676b2aac42SMasanari Iida prompt "Endianness selection" 11681da177e4SLinus Torvalds help 11691da177e4SLinus Torvalds Some MIPS machines can be configured for either little or big endian 11705e83d430SRalf Baechle byte order. These modes require different kernels and a different 11713cb2fcccSMatt LaPlante Linux distribution. In general there is one preferred byteorder for a 11725e83d430SRalf Baechle particular system but some systems are just as commonly used in the 11733dde6ad8SDavid Sterba one or the other endianness. 11745e83d430SRalf Baechle 11755e83d430SRalf Baechleconfig CPU_BIG_ENDIAN 11765e83d430SRalf Baechle bool "Big endian" 11775e83d430SRalf Baechle depends on SYS_SUPPORTS_BIG_ENDIAN 11785e83d430SRalf Baechle 11795e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN 11805e83d430SRalf Baechle bool "Little endian" 11815e83d430SRalf Baechle depends on SYS_SUPPORTS_LITTLE_ENDIAN 11825e83d430SRalf Baechle 11835e83d430SRalf Baechleendchoice 11845e83d430SRalf Baechle 118522b0763aSDavid Daneyconfig EXPORT_UASM 118622b0763aSDavid Daney bool 118722b0763aSDavid Daney 11882116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION 11892116245eSRalf Baechle bool 11902116245eSRalf Baechle 11915e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN 11925e83d430SRalf Baechle bool 11935e83d430SRalf Baechle 11945e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN 11955e83d430SRalf Baechle bool 11961da177e4SLinus Torvalds 1197aa1762f4SDavid Daneyconfig MIPS_HUGE_TLB_SUPPORT 1198aa1762f4SDavid Daney def_bool HUGETLB_PAGE || TRANSPARENT_HUGEPAGE 1199aa1762f4SDavid Daney 12009267a30dSMarc St-Jeanconfig IRQ_MSP_SLP 12019267a30dSMarc St-Jean bool 12029267a30dSMarc St-Jean 12039267a30dSMarc St-Jeanconfig IRQ_MSP_CIC 12049267a30dSMarc St-Jean bool 12059267a30dSMarc St-Jean 12068420fd00SAtsushi Nemotoconfig IRQ_TXX9 12078420fd00SAtsushi Nemoto bool 12088420fd00SAtsushi Nemoto 1209d5ab1a69SYoichi Yuasaconfig IRQ_GT641XX 1210d5ab1a69SYoichi Yuasa bool 1211d5ab1a69SYoichi Yuasa 1212252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0 12131da177e4SLinus Torvalds bool 12141da177e4SLinus Torvalds 1215a57140e9SThomas Bogendoerferconfig PCI_XTALK_BRIDGE 1216a57140e9SThomas Bogendoerfer bool 1217a57140e9SThomas Bogendoerfer 12189267a30dSMarc St-Jeanconfig NO_EXCEPT_FILL 12199267a30dSMarc St-Jean bool 12209267a30dSMarc St-Jean 1221a7e07b1aSMarkos Chandrasconfig MIPS_SPRAM 1222a7e07b1aSMarkos Chandras bool 1223a7e07b1aSMarkos Chandras 12241da177e4SLinus Torvaldsconfig SWAP_IO_SPACE 12251da177e4SLinus Torvalds bool 12261da177e4SLinus Torvalds 1227e2defae5SThomas Bogendoerferconfig SGI_HAS_INDYDOG 1228e2defae5SThomas Bogendoerfer bool 1229e2defae5SThomas Bogendoerfer 12305b438c44SThomas Bogendoerferconfig SGI_HAS_HAL2 12315b438c44SThomas Bogendoerfer bool 12325b438c44SThomas Bogendoerfer 1233e2defae5SThomas Bogendoerferconfig SGI_HAS_SEEQ 1234e2defae5SThomas Bogendoerfer bool 1235e2defae5SThomas Bogendoerfer 1236e2defae5SThomas Bogendoerferconfig SGI_HAS_WD93 1237e2defae5SThomas Bogendoerfer bool 1238e2defae5SThomas Bogendoerfer 1239e2defae5SThomas Bogendoerferconfig SGI_HAS_ZILOG 1240e2defae5SThomas Bogendoerfer bool 1241e2defae5SThomas Bogendoerfer 1242e2defae5SThomas Bogendoerferconfig SGI_HAS_I8042 1243e2defae5SThomas Bogendoerfer bool 1244e2defae5SThomas Bogendoerfer 1245e2defae5SThomas Bogendoerferconfig DEFAULT_SGI_PARTITION 1246e2defae5SThomas Bogendoerfer bool 1247e2defae5SThomas Bogendoerfer 12480e2794b0SRalf Baechleconfig FW_ARC32 12495e83d430SRalf Baechle bool 12505e83d430SRalf Baechle 1251aaa9fad3SPaul Bolleconfig FW_SNIPROM 1252231a35d3SThomas Bogendoerfer bool 1253231a35d3SThomas Bogendoerfer 12541da177e4SLinus Torvaldsconfig BOOT_ELF32 12551da177e4SLinus Torvalds bool 12561da177e4SLinus Torvalds 1257930beb5aSFlorian Fainelliconfig MIPS_L1_CACHE_SHIFT_4 1258930beb5aSFlorian Fainelli bool 1259930beb5aSFlorian Fainelli 1260930beb5aSFlorian Fainelliconfig MIPS_L1_CACHE_SHIFT_5 1261930beb5aSFlorian Fainelli bool 1262930beb5aSFlorian Fainelli 1263930beb5aSFlorian Fainelliconfig MIPS_L1_CACHE_SHIFT_6 1264930beb5aSFlorian Fainelli bool 1265930beb5aSFlorian Fainelli 1266930beb5aSFlorian Fainelliconfig MIPS_L1_CACHE_SHIFT_7 1267930beb5aSFlorian Fainelli bool 1268930beb5aSFlorian Fainelli 12691da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT 12701da177e4SLinus Torvalds int 1271a4c0201eSFlorian Fainelli default "7" if MIPS_L1_CACHE_SHIFT_7 12725432eeb6SKevin Cernekee default "6" if MIPS_L1_CACHE_SHIFT_6 12735432eeb6SKevin Cernekee default "5" if MIPS_L1_CACHE_SHIFT_5 12745432eeb6SKevin Cernekee default "4" if MIPS_L1_CACHE_SHIFT_4 12751da177e4SLinus Torvalds default "5" 12761da177e4SLinus Torvalds 1277e9422427SThomas Bogendoerferconfig ARC_CMDLINE_ONLY 1278e9422427SThomas Bogendoerfer bool 1279e9422427SThomas Bogendoerfer 12801da177e4SLinus Torvaldsconfig ARC_CONSOLE 12811da177e4SLinus Torvalds bool "ARC console support" 1282e2defae5SThomas Bogendoerfer depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN) 12831da177e4SLinus Torvalds 12841da177e4SLinus Torvaldsconfig ARC_MEMORY 12851da177e4SLinus Torvalds bool 12861da177e4SLinus Torvalds 12871da177e4SLinus Torvaldsconfig ARC_PROMLIB 12881da177e4SLinus Torvalds bool 12891da177e4SLinus Torvalds 12900e2794b0SRalf Baechleconfig FW_ARC64 12911da177e4SLinus Torvalds bool 12921da177e4SLinus Torvalds 12931da177e4SLinus Torvaldsconfig BOOT_ELF64 12941da177e4SLinus Torvalds bool 12951da177e4SLinus Torvalds 12961da177e4SLinus Torvaldsmenu "CPU selection" 12971da177e4SLinus Torvalds 12981da177e4SLinus Torvaldschoice 12991da177e4SLinus Torvalds prompt "CPU type" 13001da177e4SLinus Torvalds default CPU_R4X00 13011da177e4SLinus Torvalds 1302268a2d60SJiaxun Yangconfig CPU_LOONGSON64 1303caed1d1bSHuacai Chen bool "Loongson 64-bit CPU" 1304268a2d60SJiaxun Yang depends on SYS_HAS_CPU_LOONGSON64 1305d3bc81beSChristoph Hellwig select ARCH_HAS_PHYS_TO_DMA 130651522217SJiaxun Yang select CPU_MIPSR2 130751522217SJiaxun Yang select CPU_HAS_PREFETCH 13080e476d91SHuacai Chen select CPU_SUPPORTS_64BIT_KERNEL 13090e476d91SHuacai Chen select CPU_SUPPORTS_HIGHMEM 13100e476d91SHuacai Chen select CPU_SUPPORTS_HUGEPAGES 13117507445bSHuacai Chen select CPU_SUPPORTS_MSA 131251522217SJiaxun Yang select CPU_DIEI_BROKEN if !LOONGSON3_ENHANCEMENT 131351522217SJiaxun Yang select CPU_MIPSR2_IRQ_VI 13140e476d91SHuacai Chen select WEAK_ORDERING 13150e476d91SHuacai Chen select WEAK_REORDERING_BEYOND_LLSC 13167507445bSHuacai Chen select MIPS_ASID_BITS_VARIABLE 1317b2edcfc8SHuacai Chen select MIPS_PGD_C0_CONTEXT 131817c99d94SHuacai Chen select MIPS_L1_CACHE_SHIFT_6 13197f3b3c2bSJackie Liu select MIPS_FP_SUPPORT 1320d30a2b47SLinus Walleij select GPIOLIB 132109230cbcSChristoph Hellwig select SWIOTLB 13220f78355cSHuacai Chen select HAVE_KVM 13230e476d91SHuacai Chen help 1324caed1d1bSHuacai Chen The Loongson GSx64(GS264/GS464/GS464E/GS464V) series of processor 1325caed1d1bSHuacai Chen cores implements the MIPS64R2 instruction set with many extensions, 1326caed1d1bSHuacai Chen including most 64-bit Loongson-2 (2H, 2K) and Loongson-3 (3A1000, 1327caed1d1bSHuacai Chen 3B1000, 3B1500, 3A2000, 3A3000 and 3A4000) processors. However, old 1328caed1d1bSHuacai Chen Loongson-2E/2F is not covered here and will be removed in future. 13290e476d91SHuacai Chen 1330caed1d1bSHuacai Chenconfig LOONGSON3_ENHANCEMENT 1331caed1d1bSHuacai Chen bool "New Loongson-3 CPU Enhancements" 13321e820da3SHuacai Chen default n 1333268a2d60SJiaxun Yang depends on CPU_LOONGSON64 13341e820da3SHuacai Chen help 1335caed1d1bSHuacai Chen New Loongson-3 cores (since Loongson-3A R2, as opposed to Loongson-3A 13361e820da3SHuacai Chen R1, Loongson-3B R1 and Loongson-3B R2) has many enhancements, such as 1337268a2d60SJiaxun Yang FTLB, L1-VCache, EI/DI/Wait/Prefetch instruction, DSP/DSPr2 ASE, User 13381e820da3SHuacai Chen Local register, Read-Inhibit/Execute-Inhibit, SFB (Store Fill Buffer), 13391e820da3SHuacai Chen Fast TLB refill support, etc. 13401e820da3SHuacai Chen 13411e820da3SHuacai Chen This option enable those enhancements which are not probed at run 13421e820da3SHuacai Chen time. If you want a generic kernel to run on all Loongson 3 machines, 13431e820da3SHuacai Chen please say 'N' here. If you want a high-performance kernel to run on 1344caed1d1bSHuacai Chen new Loongson-3 machines only, please say 'Y' here. 13451e820da3SHuacai Chen 1346e02e07e3SHuacai Chenconfig CPU_LOONGSON3_WORKAROUNDS 13473f059a7eSXi Ruoyao bool "Loongson-3 LLSC Workarounds" 1348e02e07e3SHuacai Chen default y if SMP 1349268a2d60SJiaxun Yang depends on CPU_LOONGSON64 1350e02e07e3SHuacai Chen help 1351caed1d1bSHuacai Chen Loongson-3 processors have the llsc issues which require workarounds. 1352e02e07e3SHuacai Chen Without workarounds the system may hang unexpectedly. 1353e02e07e3SHuacai Chen 13543f059a7eSXi Ruoyao Say Y, unless you know what you are doing. 1355e02e07e3SHuacai Chen 1356ec7a9318SWANG Xueruiconfig CPU_LOONGSON3_CPUCFG_EMULATION 1357ec7a9318SWANG Xuerui bool "Emulate the CPUCFG instruction on older Loongson cores" 1358ec7a9318SWANG Xuerui default y 1359ec7a9318SWANG Xuerui depends on CPU_LOONGSON64 1360ec7a9318SWANG Xuerui help 1361ec7a9318SWANG Xuerui Loongson-3A R4 and newer have the CPUCFG instruction available for 1362ec7a9318SWANG Xuerui userland to query CPU capabilities, much like CPUID on x86. This 1363ec7a9318SWANG Xuerui option provides emulation of the instruction on older Loongson 1364ec7a9318SWANG Xuerui cores, back to Loongson-3A1000. 1365ec7a9318SWANG Xuerui 1366ec7a9318SWANG Xuerui If unsure, please say Y. 1367ec7a9318SWANG Xuerui 13683702bba5SWu Zhangjinconfig CPU_LOONGSON2E 13693702bba5SWu Zhangjin bool "Loongson 2E" 13703702bba5SWu Zhangjin depends on SYS_HAS_CPU_LOONGSON2E 1371268a2d60SJiaxun Yang select CPU_LOONGSON2EF 13722a21c730SFuxin Zhang help 13732a21c730SFuxin Zhang The Loongson 2E processor implements the MIPS III instruction set 13742a21c730SFuxin Zhang with many extensions. 13752a21c730SFuxin Zhang 137625985edcSLucas De Marchi It has an internal FPGA northbridge, which is compatible to 13776f7a251aSWu Zhangjin bonito64. 13786f7a251aSWu Zhangjin 13796f7a251aSWu Zhangjinconfig CPU_LOONGSON2F 13806f7a251aSWu Zhangjin bool "Loongson 2F" 13816f7a251aSWu Zhangjin depends on SYS_HAS_CPU_LOONGSON2F 1382268a2d60SJiaxun Yang select CPU_LOONGSON2EF 1383d30a2b47SLinus Walleij select GPIOLIB 13846f7a251aSWu Zhangjin help 13856f7a251aSWu Zhangjin The Loongson 2F processor implements the MIPS III instruction set 13866f7a251aSWu Zhangjin with many extensions. 13876f7a251aSWu Zhangjin 13886f7a251aSWu Zhangjin Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller 13896f7a251aSWu Zhangjin have a similar programming interface with FPGA northbridge used in 13906f7a251aSWu Zhangjin Loongson2E. 13916f7a251aSWu Zhangjin 1392ca585cf9SKelvin Cheungconfig CPU_LOONGSON1B 1393ca585cf9SKelvin Cheung bool "Loongson 1B" 1394ca585cf9SKelvin Cheung depends on SYS_HAS_CPU_LOONGSON1B 1395b2afb64cSHuacai Chen select CPU_LOONGSON32 13969ec88b60SKelvin Cheung select LEDS_GPIO_REGISTER 1397ca585cf9SKelvin Cheung help 1398ca585cf9SKelvin Cheung The Loongson 1B is a 32-bit SoC, which implements the MIPS32 1399968dc5a0S谢致邦 (XIE Zhibang) Release 1 instruction set and part of the MIPS32 Release 2 1400968dc5a0S谢致邦 (XIE Zhibang) instruction set. 1401ca585cf9SKelvin Cheung 140212e3280bSYang Lingconfig CPU_LOONGSON1C 140312e3280bSYang Ling bool "Loongson 1C" 140412e3280bSYang Ling depends on SYS_HAS_CPU_LOONGSON1C 1405b2afb64cSHuacai Chen select CPU_LOONGSON32 140612e3280bSYang Ling select LEDS_GPIO_REGISTER 140712e3280bSYang Ling help 140812e3280bSYang Ling The Loongson 1C is a 32-bit SoC, which implements the MIPS32 1409968dc5a0S谢致邦 (XIE Zhibang) Release 1 instruction set and part of the MIPS32 Release 2 1410968dc5a0S谢致邦 (XIE Zhibang) instruction set. 141112e3280bSYang Ling 14126e760c8dSRalf Baechleconfig CPU_MIPS32_R1 14136e760c8dSRalf Baechle bool "MIPS32 Release 1" 14147cf8053bSRalf Baechle depends on SYS_HAS_CPU_MIPS32_R1 14156e760c8dSRalf Baechle select CPU_HAS_PREFETCH 1416797798c1SRalf Baechle select CPU_SUPPORTS_32BIT_KERNEL 1417ec28f306SRalf Baechle select CPU_SUPPORTS_HIGHMEM 14186e760c8dSRalf Baechle help 14195e83d430SRalf Baechle Choose this option to build a kernel for release 1 or later of the 14201e5f1caaSRalf Baechle MIPS32 architecture. Most modern embedded systems with a 32-bit 14211e5f1caaSRalf Baechle MIPS processor are based on a MIPS32 processor. If you know the 14221e5f1caaSRalf Baechle specific type of processor in your system, choose those that one 14231e5f1caaSRalf Baechle otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system. 14241e5f1caaSRalf Baechle Release 2 of the MIPS32 architecture is available since several 14251e5f1caaSRalf Baechle years so chances are you even have a MIPS32 Release 2 processor 14261e5f1caaSRalf Baechle in which case you should choose CPU_MIPS32_R2 instead for better 14271e5f1caaSRalf Baechle performance. 14281e5f1caaSRalf Baechle 14291e5f1caaSRalf Baechleconfig CPU_MIPS32_R2 14301e5f1caaSRalf Baechle bool "MIPS32 Release 2" 14317cf8053bSRalf Baechle depends on SYS_HAS_CPU_MIPS32_R2 14321e5f1caaSRalf Baechle select CPU_HAS_PREFETCH 1433797798c1SRalf Baechle select CPU_SUPPORTS_32BIT_KERNEL 1434ec28f306SRalf Baechle select CPU_SUPPORTS_HIGHMEM 1435a5e9a69eSPaul Burton select CPU_SUPPORTS_MSA 14362235a54dSSanjay Lal select HAVE_KVM 14371e5f1caaSRalf Baechle help 14385e83d430SRalf Baechle Choose this option to build a kernel for release 2 or later of the 14396e760c8dSRalf Baechle MIPS32 architecture. Most modern embedded systems with a 32-bit 14406e760c8dSRalf Baechle MIPS processor are based on a MIPS32 processor. If you know the 14416e760c8dSRalf Baechle specific type of processor in your system, choose those that one 14426e760c8dSRalf Baechle otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system. 14431da177e4SLinus Torvalds 1444ab7c01fdSSerge Seminconfig CPU_MIPS32_R5 1445ab7c01fdSSerge Semin bool "MIPS32 Release 5" 1446ab7c01fdSSerge Semin depends on SYS_HAS_CPU_MIPS32_R5 1447ab7c01fdSSerge Semin select CPU_HAS_PREFETCH 1448ab7c01fdSSerge Semin select CPU_SUPPORTS_32BIT_KERNEL 1449ab7c01fdSSerge Semin select CPU_SUPPORTS_HIGHMEM 1450ab7c01fdSSerge Semin select CPU_SUPPORTS_MSA 1451ab7c01fdSSerge Semin select HAVE_KVM 1452ab7c01fdSSerge Semin select MIPS_O32_FP64_SUPPORT 1453ab7c01fdSSerge Semin help 1454ab7c01fdSSerge Semin Choose this option to build a kernel for release 5 or later of the 1455ab7c01fdSSerge Semin MIPS32 architecture. New MIPS processors, starting with the Warrior 1456ab7c01fdSSerge Semin family, are based on a MIPS32r5 processor. If you own an older 1457ab7c01fdSSerge Semin processor, you probably need to select MIPS32r1 or MIPS32r2 instead. 1458ab7c01fdSSerge Semin 14597fd08ca5SLeonid Yegoshinconfig CPU_MIPS32_R6 1460674d10e2SMarkos Chandras bool "MIPS32 Release 6" 14617fd08ca5SLeonid Yegoshin depends on SYS_HAS_CPU_MIPS32_R6 14627fd08ca5SLeonid Yegoshin select CPU_HAS_PREFETCH 146318d84e2eSAlexander Lobakin select CPU_NO_LOAD_STORE_LR 14647fd08ca5SLeonid Yegoshin select CPU_SUPPORTS_32BIT_KERNEL 14657fd08ca5SLeonid Yegoshin select CPU_SUPPORTS_HIGHMEM 14667fd08ca5SLeonid Yegoshin select CPU_SUPPORTS_MSA 14677fd08ca5SLeonid Yegoshin select HAVE_KVM 14687fd08ca5SLeonid Yegoshin select MIPS_O32_FP64_SUPPORT 14697fd08ca5SLeonid Yegoshin help 14707fd08ca5SLeonid Yegoshin Choose this option to build a kernel for release 6 or later of the 14717fd08ca5SLeonid Yegoshin MIPS32 architecture. New MIPS processors, starting with the Warrior 14727fd08ca5SLeonid Yegoshin family, are based on a MIPS32r6 processor. If you own an older 14737fd08ca5SLeonid Yegoshin processor, you probably need to select MIPS32r1 or MIPS32r2 instead. 14747fd08ca5SLeonid Yegoshin 14756e760c8dSRalf Baechleconfig CPU_MIPS64_R1 14766e760c8dSRalf Baechle bool "MIPS64 Release 1" 14777cf8053bSRalf Baechle depends on SYS_HAS_CPU_MIPS64_R1 1478797798c1SRalf Baechle select CPU_HAS_PREFETCH 1479ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_32BIT_KERNEL 1480ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_64BIT_KERNEL 1481ec28f306SRalf Baechle select CPU_SUPPORTS_HIGHMEM 14829cffd154SDavid Daney select CPU_SUPPORTS_HUGEPAGES 14836e760c8dSRalf Baechle help 14846e760c8dSRalf Baechle Choose this option to build a kernel for release 1 or later of the 14856e760c8dSRalf Baechle MIPS64 architecture. Many modern embedded systems with a 64-bit 14866e760c8dSRalf Baechle MIPS processor are based on a MIPS64 processor. If you know the 14876e760c8dSRalf Baechle specific type of processor in your system, choose those that one 14886e760c8dSRalf Baechle otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system. 14891e5f1caaSRalf Baechle Release 2 of the MIPS64 architecture is available since several 14901e5f1caaSRalf Baechle years so chances are you even have a MIPS64 Release 2 processor 14911e5f1caaSRalf Baechle in which case you should choose CPU_MIPS64_R2 instead for better 14921e5f1caaSRalf Baechle performance. 14931e5f1caaSRalf Baechle 14941e5f1caaSRalf Baechleconfig CPU_MIPS64_R2 14951e5f1caaSRalf Baechle bool "MIPS64 Release 2" 14967cf8053bSRalf Baechle depends on SYS_HAS_CPU_MIPS64_R2 1497797798c1SRalf Baechle select CPU_HAS_PREFETCH 14981e5f1caaSRalf Baechle select CPU_SUPPORTS_32BIT_KERNEL 14991e5f1caaSRalf Baechle select CPU_SUPPORTS_64BIT_KERNEL 1500ec28f306SRalf Baechle select CPU_SUPPORTS_HIGHMEM 15019cffd154SDavid Daney select CPU_SUPPORTS_HUGEPAGES 1502a5e9a69eSPaul Burton select CPU_SUPPORTS_MSA 150340a2df49SJames Hogan select HAVE_KVM 15041e5f1caaSRalf Baechle help 15051e5f1caaSRalf Baechle Choose this option to build a kernel for release 2 or later of the 15061e5f1caaSRalf Baechle MIPS64 architecture. Many modern embedded systems with a 64-bit 15071e5f1caaSRalf Baechle MIPS processor are based on a MIPS64 processor. If you know the 15081e5f1caaSRalf Baechle specific type of processor in your system, choose those that one 15091e5f1caaSRalf Baechle otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system. 15101da177e4SLinus Torvalds 1511ab7c01fdSSerge Seminconfig CPU_MIPS64_R5 1512ab7c01fdSSerge Semin bool "MIPS64 Release 5" 1513ab7c01fdSSerge Semin depends on SYS_HAS_CPU_MIPS64_R5 1514ab7c01fdSSerge Semin select CPU_HAS_PREFETCH 1515ab7c01fdSSerge Semin select CPU_SUPPORTS_32BIT_KERNEL 1516ab7c01fdSSerge Semin select CPU_SUPPORTS_64BIT_KERNEL 1517ab7c01fdSSerge Semin select CPU_SUPPORTS_HIGHMEM 1518ab7c01fdSSerge Semin select CPU_SUPPORTS_HUGEPAGES 1519ab7c01fdSSerge Semin select CPU_SUPPORTS_MSA 1520ab7c01fdSSerge Semin select MIPS_O32_FP64_SUPPORT if 32BIT || MIPS32_O32 1521ab7c01fdSSerge Semin select HAVE_KVM 1522ab7c01fdSSerge Semin help 1523ab7c01fdSSerge Semin Choose this option to build a kernel for release 5 or later of the 1524ab7c01fdSSerge Semin MIPS64 architecture. This is a intermediate MIPS architecture 1525ab7c01fdSSerge Semin release partly implementing release 6 features. Though there is no 1526ab7c01fdSSerge Semin any hardware known to be based on this release. 1527ab7c01fdSSerge Semin 15287fd08ca5SLeonid Yegoshinconfig CPU_MIPS64_R6 1529674d10e2SMarkos Chandras bool "MIPS64 Release 6" 15307fd08ca5SLeonid Yegoshin depends on SYS_HAS_CPU_MIPS64_R6 15317fd08ca5SLeonid Yegoshin select CPU_HAS_PREFETCH 153218d84e2eSAlexander Lobakin select CPU_NO_LOAD_STORE_LR 15337fd08ca5SLeonid Yegoshin select CPU_SUPPORTS_32BIT_KERNEL 15347fd08ca5SLeonid Yegoshin select CPU_SUPPORTS_64BIT_KERNEL 15357fd08ca5SLeonid Yegoshin select CPU_SUPPORTS_HIGHMEM 1536afd375dcSPaul Burton select CPU_SUPPORTS_HUGEPAGES 15377fd08ca5SLeonid Yegoshin select CPU_SUPPORTS_MSA 15382e6c7747SJames Hogan select MIPS_O32_FP64_SUPPORT if 32BIT || MIPS32_O32 153940a2df49SJames Hogan select HAVE_KVM 15407fd08ca5SLeonid Yegoshin help 15417fd08ca5SLeonid Yegoshin Choose this option to build a kernel for release 6 or later of the 15427fd08ca5SLeonid Yegoshin MIPS64 architecture. New MIPS processors, starting with the Warrior 15437fd08ca5SLeonid Yegoshin family, are based on a MIPS64r6 processor. If you own an older 15447fd08ca5SLeonid Yegoshin processor, you probably need to select MIPS64r1 or MIPS64r2 instead. 15457fd08ca5SLeonid Yegoshin 1546281e3aeaSSerge Seminconfig CPU_P5600 1547281e3aeaSSerge Semin bool "MIPS Warrior P5600" 1548281e3aeaSSerge Semin depends on SYS_HAS_CPU_P5600 1549281e3aeaSSerge Semin select CPU_HAS_PREFETCH 1550281e3aeaSSerge Semin select CPU_SUPPORTS_32BIT_KERNEL 1551281e3aeaSSerge Semin select CPU_SUPPORTS_HIGHMEM 1552281e3aeaSSerge Semin select CPU_SUPPORTS_MSA 1553281e3aeaSSerge Semin select CPU_SUPPORTS_CPUFREQ 1554281e3aeaSSerge Semin select CPU_MIPSR2_IRQ_VI 1555281e3aeaSSerge Semin select CPU_MIPSR2_IRQ_EI 1556281e3aeaSSerge Semin select HAVE_KVM 1557281e3aeaSSerge Semin select MIPS_O32_FP64_SUPPORT 1558281e3aeaSSerge Semin help 1559281e3aeaSSerge Semin Choose this option to build a kernel for MIPS Warrior P5600 CPU. 1560281e3aeaSSerge Semin It's based on MIPS32r5 ISA with XPA, EVA, dual/quad issue exec pipes, 1561281e3aeaSSerge Semin MMU with two-levels TLB, UCA, MSA, MDU core level features and system 1562281e3aeaSSerge Semin level features like up to six P5600 calculation cores, CM2 with L2 1563281e3aeaSSerge Semin cache, IOCU/IOMMU (though might be unused depending on the system- 1564281e3aeaSSerge Semin specific IP core configuration), GIC, CPC, virtualisation module, 1565281e3aeaSSerge Semin eJTAG and PDtrace. 1566281e3aeaSSerge Semin 15671da177e4SLinus Torvaldsconfig CPU_R3000 15681da177e4SLinus Torvalds bool "R3000" 15697cf8053bSRalf Baechle depends on SYS_HAS_CPU_R3000 1570f7062ddbSRalf Baechle select CPU_HAS_WB 157154746829SPaul Burton select CPU_R3K_TLB 1572ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_32BIT_KERNEL 1573797798c1SRalf Baechle select CPU_SUPPORTS_HIGHMEM 15741da177e4SLinus Torvalds help 15751da177e4SLinus Torvalds Please make sure to pick the right CPU type. Linux/MIPS is not 15761da177e4SLinus Torvalds designed to be generic, i.e. Kernels compiled for R3000 CPUs will 15771da177e4SLinus Torvalds *not* work on R4000 machines and vice versa. However, since most 15781da177e4SLinus Torvalds of the supported machines have an R4000 (or similar) CPU, R4x00 15791da177e4SLinus Torvalds might be a safe bet. If the resulting kernel does not work, 15801da177e4SLinus Torvalds try to recompile with R3000. 15811da177e4SLinus Torvalds 15821da177e4SLinus Torvaldsconfig CPU_VR41XX 15831da177e4SLinus Torvalds bool "R41xx" 15847cf8053bSRalf Baechle depends on SYS_HAS_CPU_VR41XX 1585ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_32BIT_KERNEL 1586ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_64BIT_KERNEL 15871da177e4SLinus Torvalds help 15885e83d430SRalf Baechle The options selects support for the NEC VR4100 series of processors. 15891da177e4SLinus Torvalds Only choose this option if you have one of these processors as a 15901da177e4SLinus Torvalds kernel built with this option will not run on any other type of 15911da177e4SLinus Torvalds processor or vice versa. 15921da177e4SLinus Torvalds 159365ce6197SLauri Kasanenconfig CPU_R4300 159465ce6197SLauri Kasanen bool "R4300" 159565ce6197SLauri Kasanen depends on SYS_HAS_CPU_R4300 159665ce6197SLauri Kasanen select CPU_SUPPORTS_32BIT_KERNEL 159765ce6197SLauri Kasanen select CPU_SUPPORTS_64BIT_KERNEL 159865ce6197SLauri Kasanen help 159965ce6197SLauri Kasanen MIPS Technologies R4300-series processors. 160065ce6197SLauri Kasanen 16011da177e4SLinus Torvaldsconfig CPU_R4X00 16021da177e4SLinus Torvalds bool "R4x00" 16037cf8053bSRalf Baechle depends on SYS_HAS_CPU_R4X00 1604ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_32BIT_KERNEL 1605ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_64BIT_KERNEL 1606970d032fSRalf Baechle select CPU_SUPPORTS_HUGEPAGES 16071da177e4SLinus Torvalds help 16081da177e4SLinus Torvalds MIPS Technologies R4000-series processors other than 4300, including 16091da177e4SLinus Torvalds the R4000, R4400, R4600, and 4700. 16101da177e4SLinus Torvalds 16111da177e4SLinus Torvaldsconfig CPU_TX49XX 16121da177e4SLinus Torvalds bool "R49XX" 16137cf8053bSRalf Baechle depends on SYS_HAS_CPU_TX49XX 1614de862b48SAtsushi Nemoto select CPU_HAS_PREFETCH 1615ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_32BIT_KERNEL 1616ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_64BIT_KERNEL 1617970d032fSRalf Baechle select CPU_SUPPORTS_HUGEPAGES 16181da177e4SLinus Torvalds 16191da177e4SLinus Torvaldsconfig CPU_R5000 16201da177e4SLinus Torvalds bool "R5000" 16217cf8053bSRalf Baechle depends on SYS_HAS_CPU_R5000 1622ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_32BIT_KERNEL 1623ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_64BIT_KERNEL 1624970d032fSRalf Baechle select CPU_SUPPORTS_HUGEPAGES 16251da177e4SLinus Torvalds help 16261da177e4SLinus Torvalds MIPS Technologies R5000-series processors other than the Nevada. 16271da177e4SLinus Torvalds 1628542c1020SShinya Kuribayashiconfig CPU_R5500 1629542c1020SShinya Kuribayashi bool "R5500" 1630542c1020SShinya Kuribayashi depends on SYS_HAS_CPU_R5500 1631542c1020SShinya Kuribayashi select CPU_SUPPORTS_32BIT_KERNEL 1632542c1020SShinya Kuribayashi select CPU_SUPPORTS_64BIT_KERNEL 16339cffd154SDavid Daney select CPU_SUPPORTS_HUGEPAGES 1634542c1020SShinya Kuribayashi help 1635542c1020SShinya Kuribayashi NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV 1636542c1020SShinya Kuribayashi instruction set. 1637542c1020SShinya Kuribayashi 16381da177e4SLinus Torvaldsconfig CPU_NEVADA 16391da177e4SLinus Torvalds bool "RM52xx" 16407cf8053bSRalf Baechle depends on SYS_HAS_CPU_NEVADA 1641ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_32BIT_KERNEL 1642ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_64BIT_KERNEL 1643970d032fSRalf Baechle select CPU_SUPPORTS_HUGEPAGES 16441da177e4SLinus Torvalds help 16451da177e4SLinus Torvalds QED / PMC-Sierra RM52xx-series ("Nevada") processors. 16461da177e4SLinus Torvalds 16471da177e4SLinus Torvaldsconfig CPU_R10000 16481da177e4SLinus Torvalds bool "R10000" 16497cf8053bSRalf Baechle depends on SYS_HAS_CPU_R10000 16505e83d430SRalf Baechle select CPU_HAS_PREFETCH 1651ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_32BIT_KERNEL 1652ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_64BIT_KERNEL 1653797798c1SRalf Baechle select CPU_SUPPORTS_HIGHMEM 1654970d032fSRalf Baechle select CPU_SUPPORTS_HUGEPAGES 16551da177e4SLinus Torvalds help 16561da177e4SLinus Torvalds MIPS Technologies R10000-series processors. 16571da177e4SLinus Torvalds 16581da177e4SLinus Torvaldsconfig CPU_RM7000 16591da177e4SLinus Torvalds bool "RM7000" 16607cf8053bSRalf Baechle depends on SYS_HAS_CPU_RM7000 16615e83d430SRalf Baechle select CPU_HAS_PREFETCH 1662ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_32BIT_KERNEL 1663ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_64BIT_KERNEL 1664797798c1SRalf Baechle select CPU_SUPPORTS_HIGHMEM 1665970d032fSRalf Baechle select CPU_SUPPORTS_HUGEPAGES 16661da177e4SLinus Torvalds 16671da177e4SLinus Torvaldsconfig CPU_SB1 16681da177e4SLinus Torvalds bool "SB1" 16697cf8053bSRalf Baechle depends on SYS_HAS_CPU_SB1 1670ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_32BIT_KERNEL 1671ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_64BIT_KERNEL 1672797798c1SRalf Baechle select CPU_SUPPORTS_HIGHMEM 1673970d032fSRalf Baechle select CPU_SUPPORTS_HUGEPAGES 16740004a9dfSRalf Baechle select WEAK_ORDERING 16751da177e4SLinus Torvalds 1676a86c7f72SDavid Daneyconfig CPU_CAVIUM_OCTEON 1677a86c7f72SDavid Daney bool "Cavium Octeon processor" 16785e683389SDavid Daney depends on SYS_HAS_CPU_CAVIUM_OCTEON 1679a86c7f72SDavid Daney select CPU_HAS_PREFETCH 1680a86c7f72SDavid Daney select CPU_SUPPORTS_64BIT_KERNEL 1681a86c7f72SDavid Daney select WEAK_ORDERING 1682a86c7f72SDavid Daney select CPU_SUPPORTS_HIGHMEM 16839cffd154SDavid Daney select CPU_SUPPORTS_HUGEPAGES 1684df115f3eSBen Hutchings select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 1685df115f3eSBen Hutchings select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 1686930beb5aSFlorian Fainelli select MIPS_L1_CACHE_SHIFT_7 16870ae3abcdSJames Hogan select HAVE_KVM 1688a86c7f72SDavid Daney help 1689a86c7f72SDavid Daney The Cavium Octeon processor is a highly integrated chip containing 1690a86c7f72SDavid Daney many ethernet hardware widgets for networking tasks. The processor 1691a86c7f72SDavid Daney can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets. 1692a86c7f72SDavid Daney Full details can be found at http://www.caviumnetworks.com. 1693a86c7f72SDavid Daney 1694cd746249SJonas Gorskiconfig CPU_BMIPS 1695cd746249SJonas Gorski bool "Broadcom BMIPS" 1696cd746249SJonas Gorski depends on SYS_HAS_CPU_BMIPS 1697cd746249SJonas Gorski select CPU_MIPS32 1698fe7f62c0SJonas Gorski select CPU_BMIPS32_3300 if SYS_HAS_CPU_BMIPS32_3300 1699cd746249SJonas Gorski select CPU_BMIPS4350 if SYS_HAS_CPU_BMIPS4350 1700cd746249SJonas Gorski select CPU_BMIPS4380 if SYS_HAS_CPU_BMIPS4380 1701cd746249SJonas Gorski select CPU_BMIPS5000 if SYS_HAS_CPU_BMIPS5000 1702cd746249SJonas Gorski select CPU_SUPPORTS_32BIT_KERNEL 1703cd746249SJonas Gorski select DMA_NONCOHERENT 170467e38cf2SRalf Baechle select IRQ_MIPS_CPU 1705cd746249SJonas Gorski select SWAP_IO_SPACE 1706cd746249SJonas Gorski select WEAK_ORDERING 1707c1c0c461SKevin Cernekee select CPU_SUPPORTS_HIGHMEM 170869aaf9c8SJonas Gorski select CPU_HAS_PREFETCH 1709a8d709b0SMarkus Mayer select CPU_SUPPORTS_CPUFREQ 1710a8d709b0SMarkus Mayer select MIPS_EXTERNAL_TIMER 1711bf8bde41SFlorian Fainelli select GENERIC_IRQ_MIGRATION if HOTPLUG_CPU 1712c1c0c461SKevin Cernekee help 1713fe7f62c0SJonas Gorski Support for BMIPS32/3300/4350/4380 and BMIPS5000 processors. 1714c1c0c461SKevin Cernekee 17151da177e4SLinus Torvaldsendchoice 17161da177e4SLinus Torvalds 1717a6e18781SLeonid Yegoshinconfig CPU_MIPS32_3_5_FEATURES 1718a6e18781SLeonid Yegoshin bool "MIPS32 Release 3.5 Features" 1719a6e18781SLeonid Yegoshin depends on SYS_HAS_CPU_MIPS32_R3_5 1720281e3aeaSSerge Semin depends on CPU_MIPS32_R2 || CPU_MIPS32_R5 || CPU_MIPS32_R6 || \ 1721281e3aeaSSerge Semin CPU_P5600 1722a6e18781SLeonid Yegoshin help 1723a6e18781SLeonid Yegoshin Choose this option to build a kernel for release 2 or later of the 1724a6e18781SLeonid Yegoshin MIPS32 architecture including features from the 3.5 release such as 1725a6e18781SLeonid Yegoshin support for Enhanced Virtual Addressing (EVA). 1726a6e18781SLeonid Yegoshin 1727a6e18781SLeonid Yegoshinconfig CPU_MIPS32_3_5_EVA 1728a6e18781SLeonid Yegoshin bool "Enhanced Virtual Addressing (EVA)" 1729a6e18781SLeonid Yegoshin depends on CPU_MIPS32_3_5_FEATURES 1730a6e18781SLeonid Yegoshin select EVA 1731a6e18781SLeonid Yegoshin default y 1732a6e18781SLeonid Yegoshin help 1733a6e18781SLeonid Yegoshin Choose this option if you want to enable the Enhanced Virtual 1734a6e18781SLeonid Yegoshin Addressing (EVA) on your MIPS32 core (such as proAptiv). 1735a6e18781SLeonid Yegoshin One of its primary benefits is an increase in the maximum size 1736a6e18781SLeonid Yegoshin of lowmem (up to 3GB). If unsure, say 'N' here. 1737a6e18781SLeonid Yegoshin 1738c5b36783SSteven J. Hillconfig CPU_MIPS32_R5_FEATURES 1739c5b36783SSteven J. Hill bool "MIPS32 Release 5 Features" 1740c5b36783SSteven J. Hill depends on SYS_HAS_CPU_MIPS32_R5 1741281e3aeaSSerge Semin depends on CPU_MIPS32_R2 || CPU_MIPS32_R5 || CPU_P5600 1742c5b36783SSteven J. Hill help 1743c5b36783SSteven J. Hill Choose this option to build a kernel for release 2 or later of the 1744c5b36783SSteven J. Hill MIPS32 architecture including features from release 5 such as 1745c5b36783SSteven J. Hill support for Extended Physical Addressing (XPA). 1746c5b36783SSteven J. Hill 1747c5b36783SSteven J. Hillconfig CPU_MIPS32_R5_XPA 1748c5b36783SSteven J. Hill bool "Extended Physical Addressing (XPA)" 1749c5b36783SSteven J. Hill depends on CPU_MIPS32_R5_FEATURES 1750c5b36783SSteven J. Hill depends on !EVA 1751c5b36783SSteven J. Hill depends on !PAGE_SIZE_4KB 1752c5b36783SSteven J. Hill depends on SYS_SUPPORTS_HIGHMEM 1753c5b36783SSteven J. Hill select XPA 1754c5b36783SSteven J. Hill select HIGHMEM 1755d4a451d5SChristoph Hellwig select PHYS_ADDR_T_64BIT 1756c5b36783SSteven J. Hill default n 1757c5b36783SSteven J. Hill help 1758c5b36783SSteven J. Hill Choose this option if you want to enable the Extended Physical 1759c5b36783SSteven J. Hill Addressing (XPA) on your MIPS32 core (such as P5600 series). The 1760c5b36783SSteven J. Hill benefit is to increase physical addressing equal to or greater 1761c5b36783SSteven J. Hill than 40 bits. Note that this has the side effect of turning on 1762c5b36783SSteven J. Hill 64-bit addressing which in turn makes the PTEs 64-bit in size. 1763c5b36783SSteven J. Hill If unsure, say 'N' here. 1764c5b36783SSteven J. Hill 1765622844bfSWu Zhangjinif CPU_LOONGSON2F 1766622844bfSWu Zhangjinconfig CPU_NOP_WORKAROUNDS 1767622844bfSWu Zhangjin bool 1768622844bfSWu Zhangjin 1769622844bfSWu Zhangjinconfig CPU_JUMP_WORKAROUNDS 1770622844bfSWu Zhangjin bool 1771622844bfSWu Zhangjin 1772622844bfSWu Zhangjinconfig CPU_LOONGSON2F_WORKAROUNDS 1773622844bfSWu Zhangjin bool "Loongson 2F Workarounds" 1774622844bfSWu Zhangjin default y 1775622844bfSWu Zhangjin select CPU_NOP_WORKAROUNDS 1776622844bfSWu Zhangjin select CPU_JUMP_WORKAROUNDS 1777622844bfSWu Zhangjin help 1778622844bfSWu Zhangjin Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which 1779622844bfSWu Zhangjin require workarounds. Without workarounds the system may hang 1780622844bfSWu Zhangjin unexpectedly. For more information please refer to the gas 1781622844bfSWu Zhangjin -mfix-loongson2f-nop and -mfix-loongson2f-jump options. 1782622844bfSWu Zhangjin 1783622844bfSWu Zhangjin Loongson 2F03 and later have fixed these issues and no workarounds 1784622844bfSWu Zhangjin are needed. The workarounds have no significant side effect on them 1785622844bfSWu Zhangjin but may decrease the performance of the system so this option should 1786622844bfSWu Zhangjin be disabled unless the kernel is intended to be run on 2F01 or 2F02 1787622844bfSWu Zhangjin systems. 1788622844bfSWu Zhangjin 1789622844bfSWu Zhangjin If unsure, please say Y. 1790622844bfSWu Zhangjinendif # CPU_LOONGSON2F 1791622844bfSWu Zhangjin 17921b93b3c3SWu Zhangjinconfig SYS_SUPPORTS_ZBOOT 17931b93b3c3SWu Zhangjin bool 17941b93b3c3SWu Zhangjin select HAVE_KERNEL_GZIP 17951b93b3c3SWu Zhangjin select HAVE_KERNEL_BZIP2 179631c4867dSFlorian Fainelli select HAVE_KERNEL_LZ4 17971b93b3c3SWu Zhangjin select HAVE_KERNEL_LZMA 1798fe1d45e0SWu Zhangjin select HAVE_KERNEL_LZO 17994e23eb63SFlorian Fainelli select HAVE_KERNEL_XZ 1800a510b616SPaul Cercueil select HAVE_KERNEL_ZSTD 18011b93b3c3SWu Zhangjin 18021b93b3c3SWu Zhangjinconfig SYS_SUPPORTS_ZBOOT_UART16550 18031b93b3c3SWu Zhangjin bool 18041b93b3c3SWu Zhangjin select SYS_SUPPORTS_ZBOOT 18051b93b3c3SWu Zhangjin 1806dbb98314SAlban Bedelconfig SYS_SUPPORTS_ZBOOT_UART_PROM 1807dbb98314SAlban Bedel bool 1808dbb98314SAlban Bedel select SYS_SUPPORTS_ZBOOT 1809dbb98314SAlban Bedel 1810268a2d60SJiaxun Yangconfig CPU_LOONGSON2EF 18113702bba5SWu Zhangjin bool 18123702bba5SWu Zhangjin select CPU_SUPPORTS_32BIT_KERNEL 18133702bba5SWu Zhangjin select CPU_SUPPORTS_64BIT_KERNEL 18143702bba5SWu Zhangjin select CPU_SUPPORTS_HIGHMEM 1815970d032fSRalf Baechle select CPU_SUPPORTS_HUGEPAGES 1816e905086eSChristoph Hellwig select ARCH_HAS_PHYS_TO_DMA 18173702bba5SWu Zhangjin 1818b2afb64cSHuacai Chenconfig CPU_LOONGSON32 1819ca585cf9SKelvin Cheung bool 1820ca585cf9SKelvin Cheung select CPU_MIPS32 18217e280f6bSJiaxun Yang select CPU_MIPSR2 1822ca585cf9SKelvin Cheung select CPU_HAS_PREFETCH 1823ca585cf9SKelvin Cheung select CPU_SUPPORTS_32BIT_KERNEL 1824ca585cf9SKelvin Cheung select CPU_SUPPORTS_HIGHMEM 1825f29ad10dSKelvin Cheung select CPU_SUPPORTS_CPUFREQ 1826ca585cf9SKelvin Cheung 1827fe7f62c0SJonas Gorskiconfig CPU_BMIPS32_3300 182804fa8bf7SJonas Gorski select SMP_UP if SMP 18291bbb6c1bSKevin Cernekee bool 1830cd746249SJonas Gorski 1831cd746249SJonas Gorskiconfig CPU_BMIPS4350 1832cd746249SJonas Gorski bool 1833cd746249SJonas Gorski select SYS_SUPPORTS_SMP 1834cd746249SJonas Gorski select SYS_SUPPORTS_HOTPLUG_CPU 1835cd746249SJonas Gorski 1836cd746249SJonas Gorskiconfig CPU_BMIPS4380 1837cd746249SJonas Gorski bool 1838bbf2ba67SKevin Cernekee select MIPS_L1_CACHE_SHIFT_6 1839cd746249SJonas Gorski select SYS_SUPPORTS_SMP 1840cd746249SJonas Gorski select SYS_SUPPORTS_HOTPLUG_CPU 1841b4720809SFlorian Fainelli select CPU_HAS_RIXI 1842cd746249SJonas Gorski 1843cd746249SJonas Gorskiconfig CPU_BMIPS5000 1844cd746249SJonas Gorski bool 1845cd746249SJonas Gorski select MIPS_CPU_SCACHE 1846bbf2ba67SKevin Cernekee select MIPS_L1_CACHE_SHIFT_7 1847cd746249SJonas Gorski select SYS_SUPPORTS_SMP 1848cd746249SJonas Gorski select SYS_SUPPORTS_HOTPLUG_CPU 1849b4720809SFlorian Fainelli select CPU_HAS_RIXI 18501bbb6c1bSKevin Cernekee 1851268a2d60SJiaxun Yangconfig SYS_HAS_CPU_LOONGSON64 18520e476d91SHuacai Chen bool 18530e476d91SHuacai Chen select CPU_SUPPORTS_CPUFREQ 1854b2edcfc8SHuacai Chen select CPU_HAS_RIXI 18550e476d91SHuacai Chen 18563702bba5SWu Zhangjinconfig SYS_HAS_CPU_LOONGSON2E 18572a21c730SFuxin Zhang bool 18582a21c730SFuxin Zhang 18596f7a251aSWu Zhangjinconfig SYS_HAS_CPU_LOONGSON2F 18606f7a251aSWu Zhangjin bool 186155045ff5SWu Zhangjin select CPU_SUPPORTS_CPUFREQ 186255045ff5SWu Zhangjin select CPU_SUPPORTS_ADDRWINCFG if 64BIT 18636f7a251aSWu Zhangjin 1864ca585cf9SKelvin Cheungconfig SYS_HAS_CPU_LOONGSON1B 1865ca585cf9SKelvin Cheung bool 1866ca585cf9SKelvin Cheung 186712e3280bSYang Lingconfig SYS_HAS_CPU_LOONGSON1C 186812e3280bSYang Ling bool 186912e3280bSYang Ling 18707cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1 18717cf8053bSRalf Baechle bool 18727cf8053bSRalf Baechle 18737cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2 18747cf8053bSRalf Baechle bool 18757cf8053bSRalf Baechle 1876a6e18781SLeonid Yegoshinconfig SYS_HAS_CPU_MIPS32_R3_5 1877a6e18781SLeonid Yegoshin bool 1878a6e18781SLeonid Yegoshin 1879c5b36783SSteven J. Hillconfig SYS_HAS_CPU_MIPS32_R5 1880c5b36783SSteven J. Hill bool 18819ae1f262SPaul Burton select ARCH_HAS_SYNC_DMA_FOR_CPU if DMA_NONCOHERENT 1882c5b36783SSteven J. Hill 18837fd08ca5SLeonid Yegoshinconfig SYS_HAS_CPU_MIPS32_R6 18847fd08ca5SLeonid Yegoshin bool 18859ae1f262SPaul Burton select ARCH_HAS_SYNC_DMA_FOR_CPU if DMA_NONCOHERENT 18867fd08ca5SLeonid Yegoshin 18877cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1 18887cf8053bSRalf Baechle bool 18897cf8053bSRalf Baechle 18907cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2 18917cf8053bSRalf Baechle bool 18927cf8053bSRalf Baechle 1893fd4eb90bSLukas Bulwahnconfig SYS_HAS_CPU_MIPS64_R5 1894fd4eb90bSLukas Bulwahn bool 1895fd4eb90bSLukas Bulwahn select ARCH_HAS_SYNC_DMA_FOR_CPU if DMA_NONCOHERENT 1896fd4eb90bSLukas Bulwahn 18977fd08ca5SLeonid Yegoshinconfig SYS_HAS_CPU_MIPS64_R6 18987fd08ca5SLeonid Yegoshin bool 18999ae1f262SPaul Burton select ARCH_HAS_SYNC_DMA_FOR_CPU if DMA_NONCOHERENT 19007fd08ca5SLeonid Yegoshin 1901281e3aeaSSerge Seminconfig SYS_HAS_CPU_P5600 1902281e3aeaSSerge Semin bool 1903281e3aeaSSerge Semin select ARCH_HAS_SYNC_DMA_FOR_CPU if DMA_NONCOHERENT 1904281e3aeaSSerge Semin 19057cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000 19067cf8053bSRalf Baechle bool 19077cf8053bSRalf Baechle 19087cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX 19097cf8053bSRalf Baechle bool 19107cf8053bSRalf Baechle 191165ce6197SLauri Kasanenconfig SYS_HAS_CPU_R4300 191265ce6197SLauri Kasanen bool 191365ce6197SLauri Kasanen 19147cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00 19157cf8053bSRalf Baechle bool 19167cf8053bSRalf Baechle 19177cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX 19187cf8053bSRalf Baechle bool 19197cf8053bSRalf Baechle 19207cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000 19217cf8053bSRalf Baechle bool 19227cf8053bSRalf Baechle 1923542c1020SShinya Kuribayashiconfig SYS_HAS_CPU_R5500 1924542c1020SShinya Kuribayashi bool 1925542c1020SShinya Kuribayashi 19267cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA 19277cf8053bSRalf Baechle bool 19287cf8053bSRalf Baechle 19297cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000 19307cf8053bSRalf Baechle bool 19319ae1f262SPaul Burton select ARCH_HAS_SYNC_DMA_FOR_CPU if DMA_NONCOHERENT 19327cf8053bSRalf Baechle 19337cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000 19347cf8053bSRalf Baechle bool 19357cf8053bSRalf Baechle 19367cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1 19377cf8053bSRalf Baechle bool 19387cf8053bSRalf Baechle 19395e683389SDavid Daneyconfig SYS_HAS_CPU_CAVIUM_OCTEON 19405e683389SDavid Daney bool 19415e683389SDavid Daney 1942cd746249SJonas Gorskiconfig SYS_HAS_CPU_BMIPS 1943c1c0c461SKevin Cernekee bool 1944c1c0c461SKevin Cernekee 1945fe7f62c0SJonas Gorskiconfig SYS_HAS_CPU_BMIPS32_3300 1946c1c0c461SKevin Cernekee bool 1947cd746249SJonas Gorski select SYS_HAS_CPU_BMIPS 1948c1c0c461SKevin Cernekee 1949c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS4350 1950c1c0c461SKevin Cernekee bool 1951cd746249SJonas Gorski select SYS_HAS_CPU_BMIPS 1952c1c0c461SKevin Cernekee 1953c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS4380 1954c1c0c461SKevin Cernekee bool 1955cd746249SJonas Gorski select SYS_HAS_CPU_BMIPS 1956c1c0c461SKevin Cernekee 1957c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS5000 1958c1c0c461SKevin Cernekee bool 1959cd746249SJonas Gorski select SYS_HAS_CPU_BMIPS 1960f263f2a2SHauke Mehrtens select ARCH_HAS_SYNC_DMA_FOR_CPU 1961c1c0c461SKevin Cernekee 196217099b11SRalf Baechle# 196317099b11SRalf Baechle# CPU may reorder R->R, R->W, W->R, W->W 196417099b11SRalf Baechle# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC 196517099b11SRalf Baechle# 19660004a9dfSRalf Baechleconfig WEAK_ORDERING 19670004a9dfSRalf Baechle bool 196817099b11SRalf Baechle 196917099b11SRalf Baechle# 197017099b11SRalf Baechle# CPU may reorder reads and writes beyond LL/SC 197117099b11SRalf Baechle# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC 197217099b11SRalf Baechle# 197317099b11SRalf Baechleconfig WEAK_REORDERING_BEYOND_LLSC 197417099b11SRalf Baechle bool 19755e83d430SRalf Baechleendmenu 19765e83d430SRalf Baechle 19775e83d430SRalf Baechle# 19785e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture 19795e83d430SRalf Baechle# 19805e83d430SRalf Baechleconfig CPU_MIPS32 19815e83d430SRalf Baechle bool 1982ab7c01fdSSerge Semin default y if CPU_MIPS32_R1 || CPU_MIPS32_R2 || CPU_MIPS32_R5 || \ 1983281e3aeaSSerge Semin CPU_MIPS32_R6 || CPU_P5600 19845e83d430SRalf Baechle 19855e83d430SRalf Baechleconfig CPU_MIPS64 19865e83d430SRalf Baechle bool 1987ab7c01fdSSerge Semin default y if CPU_MIPS64_R1 || CPU_MIPS64_R2 || CPU_MIPS64_R5 || \ 19885a4fa44fSJason A. Donenfeld CPU_MIPS64_R6 || CPU_LOONGSON64 || CPU_CAVIUM_OCTEON 19895e83d430SRalf Baechle 19905e83d430SRalf Baechle# 199157eeacedSPaul Burton# These indicate the revision of the architecture 19925e83d430SRalf Baechle# 19935e83d430SRalf Baechleconfig CPU_MIPSR1 19945e83d430SRalf Baechle bool 19955e83d430SRalf Baechle default y if CPU_MIPS32_R1 || CPU_MIPS64_R1 19965e83d430SRalf Baechle 19975e83d430SRalf Baechleconfig CPU_MIPSR2 19985e83d430SRalf Baechle bool 1999a86c7f72SDavid Daney default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON 20008256b17eSFlorian Fainelli select CPU_HAS_RIXI 2001ba9196d2SJiaxun Yang select CPU_HAS_DIEI if !CPU_DIEI_BROKEN 2002a7e07b1aSMarkos Chandras select MIPS_SPRAM 20035e83d430SRalf Baechle 2004ab7c01fdSSerge Seminconfig CPU_MIPSR5 2005ab7c01fdSSerge Semin bool 2006281e3aeaSSerge Semin default y if CPU_MIPS32_R5 || CPU_MIPS64_R5 || CPU_P5600 2007ab7c01fdSSerge Semin select CPU_HAS_RIXI 2008ab7c01fdSSerge Semin select CPU_HAS_DIEI if !CPU_DIEI_BROKEN 2009ab7c01fdSSerge Semin select MIPS_SPRAM 2010ab7c01fdSSerge Semin 20117fd08ca5SLeonid Yegoshinconfig CPU_MIPSR6 20127fd08ca5SLeonid Yegoshin bool 20137fd08ca5SLeonid Yegoshin default y if CPU_MIPS32_R6 || CPU_MIPS64_R6 20148256b17eSFlorian Fainelli select CPU_HAS_RIXI 2015ba9196d2SJiaxun Yang select CPU_HAS_DIEI if !CPU_DIEI_BROKEN 201687321fddSPaul Burton select HAVE_ARCH_BITREVERSE 20172db003a5SPaul Burton select MIPS_ASID_BITS_VARIABLE 20184a5dc51eSMarcin Nowakowski select MIPS_CRC_SUPPORT 2019a7e07b1aSMarkos Chandras select MIPS_SPRAM 20205e83d430SRalf Baechle 202157eeacedSPaul Burtonconfig TARGET_ISA_REV 202257eeacedSPaul Burton int 202357eeacedSPaul Burton default 1 if CPU_MIPSR1 202457eeacedSPaul Burton default 2 if CPU_MIPSR2 2025ab7c01fdSSerge Semin default 5 if CPU_MIPSR5 202657eeacedSPaul Burton default 6 if CPU_MIPSR6 202757eeacedSPaul Burton default 0 202857eeacedSPaul Burton help 202957eeacedSPaul Burton Reflects the ISA revision being targeted by the kernel build. This 203057eeacedSPaul Burton is effectively the Kconfig equivalent of MIPS_ISA_REV. 203157eeacedSPaul Burton 2032a6e18781SLeonid Yegoshinconfig EVA 2033a6e18781SLeonid Yegoshin bool 2034a6e18781SLeonid Yegoshin 2035c5b36783SSteven J. Hillconfig XPA 2036c5b36783SSteven J. Hill bool 2037c5b36783SSteven J. Hill 20385e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL 20395e83d430SRalf Baechle bool 20405e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL 20415e83d430SRalf Baechle bool 20425e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL 20435e83d430SRalf Baechle bool 20445e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL 20455e83d430SRalf Baechle bool 204655045ff5SWu Zhangjinconfig CPU_SUPPORTS_CPUFREQ 204755045ff5SWu Zhangjin bool 204855045ff5SWu Zhangjinconfig CPU_SUPPORTS_ADDRWINCFG 204955045ff5SWu Zhangjin bool 20509cffd154SDavid Daneyconfig CPU_SUPPORTS_HUGEPAGES 20519cffd154SDavid Daney bool 2052a670c82dSLukas Bulwahn depends on !(32BIT && (PHYS_ADDR_T_64BIT || EVA)) 205382622284SDavid Daneyconfig MIPS_PGD_C0_CONTEXT 205482622284SDavid Daney bool 2055c6972fb9SHuang Pei depends on 64BIT 205695b8a5e0SThomas Bogendoerfer default y if (CPU_MIPSR2 || CPU_MIPSR6) 20575e83d430SRalf Baechle 20588192c9eaSDavid Daney# 20598192c9eaSDavid Daney# Set to y for ptrace access to watch registers. 20608192c9eaSDavid Daney# 20618192c9eaSDavid Daneyconfig HARDWARE_WATCHPOINTS 20628192c9eaSDavid Daney bool 2063679eb637SJames Hogan default y if CPU_MIPSR1 || CPU_MIPSR2 || CPU_MIPSR6 20648192c9eaSDavid Daney 20655e83d430SRalf Baechlemenu "Kernel type" 20665e83d430SRalf Baechle 20675e83d430SRalf Baechlechoice 20685e83d430SRalf Baechle prompt "Kernel code model" 20695e83d430SRalf Baechle help 20705e83d430SRalf Baechle You should only select this option if you have a workload that 20715e83d430SRalf Baechle actually benefits from 64-bit processing or if your machine has 20725e83d430SRalf Baechle large memory. You will only be presented a single option in this 20735e83d430SRalf Baechle menu if your system does not support both 32-bit and 64-bit kernels. 20745e83d430SRalf Baechle 20755e83d430SRalf Baechleconfig 32BIT 20765e83d430SRalf Baechle bool "32-bit kernel" 20775e83d430SRalf Baechle depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL 20785e83d430SRalf Baechle select TRAD_SIGNALS 20795e83d430SRalf Baechle help 20805e83d430SRalf Baechle Select this option if you want to build a 32-bit kernel. 2081f17c4ca3SRalf Baechle 20825e83d430SRalf Baechleconfig 64BIT 20835e83d430SRalf Baechle bool "64-bit kernel" 20845e83d430SRalf Baechle depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL 20855e83d430SRalf Baechle help 20865e83d430SRalf Baechle Select this option if you want to build a 64-bit kernel. 20875e83d430SRalf Baechle 20885e83d430SRalf Baechleendchoice 20895e83d430SRalf Baechle 20901e321fa9SLeonid Yegoshinconfig MIPS_VA_BITS_48 20911e321fa9SLeonid Yegoshin bool "48 bits virtual memory" 20921e321fa9SLeonid Yegoshin depends on 64BIT 20931e321fa9SLeonid Yegoshin help 20943377e227SAlex Belits Support a maximum at least 48 bits of application virtual 20953377e227SAlex Belits memory. Default is 40 bits or less, depending on the CPU. 20963377e227SAlex Belits For page sizes 16k and above, this option results in a small 20973377e227SAlex Belits memory overhead for page tables. For 4k page size, a fourth 20983377e227SAlex Belits level of page tables is added which imposes both a memory 20993377e227SAlex Belits overhead as well as slower TLB fault handling. 21003377e227SAlex Belits 21011e321fa9SLeonid Yegoshin If unsure, say N. 21021e321fa9SLeonid Yegoshin 210379876cc1SYunQiang Suconfig ZBOOT_LOAD_ADDRESS 210479876cc1SYunQiang Su hex "Compressed kernel load address" 210579876cc1SYunQiang Su default 0xffffffff80400000 if BCM47XX 210679876cc1SYunQiang Su default 0x0 210779876cc1SYunQiang Su depends on SYS_SUPPORTS_ZBOOT 210879876cc1SYunQiang Su help 210979876cc1SYunQiang Su The address to load compressed kernel, aka vmlinuz. 211079876cc1SYunQiang Su 211179876cc1SYunQiang Su This is only used if non-zero. 211279876cc1SYunQiang Su 21131da177e4SLinus Torvaldschoice 21141da177e4SLinus Torvalds prompt "Kernel page size" 21151da177e4SLinus Torvalds default PAGE_SIZE_4KB 21161da177e4SLinus Torvalds 21171da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB 21181da177e4SLinus Torvalds bool "4kB" 2119268a2d60SJiaxun Yang depends on !CPU_LOONGSON2EF && !CPU_LOONGSON64 21201da177e4SLinus Torvalds help 21211da177e4SLinus Torvalds This option select the standard 4kB Linux page size. On some 21221da177e4SLinus Torvalds R3000-family processors this is the only available page size. Using 21231da177e4SLinus Torvalds 4kB page size will minimize memory consumption and is therefore 21241da177e4SLinus Torvalds recommended for low memory systems. 21251da177e4SLinus Torvalds 21261da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB 21271da177e4SLinus Torvalds bool "8kB" 2128c2aeaaeaSPaul Burton depends on CPU_CAVIUM_OCTEON 21291e321fa9SLeonid Yegoshin depends on !MIPS_VA_BITS_48 21301da177e4SLinus Torvalds help 21311da177e4SLinus Torvalds Using 8kB page size will result in higher performance kernel at 21321da177e4SLinus Torvalds the price of higher memory consumption. This option is available 2133c2aeaaeaSPaul Burton only on cnMIPS processors. Note that you will need a suitable Linux 2134c2aeaaeaSPaul Burton distribution to support this. 21351da177e4SLinus Torvalds 21361da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB 21371da177e4SLinus Torvalds bool "16kB" 2138455481fcSThomas Bogendoerfer depends on !CPU_R3000 21391da177e4SLinus Torvalds help 21401da177e4SLinus Torvalds Using 16kB page size will result in higher performance kernel at 21411da177e4SLinus Torvalds the price of higher memory consumption. This option is available on 2142714bfad6SRalf Baechle all non-R3000 family processors. Note that you will need a suitable 2143714bfad6SRalf Baechle Linux distribution to support this. 21441da177e4SLinus Torvalds 2145c52399beSRalf Baechleconfig PAGE_SIZE_32KB 2146c52399beSRalf Baechle bool "32kB" 2147c52399beSRalf Baechle depends on CPU_CAVIUM_OCTEON 21481e321fa9SLeonid Yegoshin depends on !MIPS_VA_BITS_48 2149c52399beSRalf Baechle help 2150c52399beSRalf Baechle Using 32kB page size will result in higher performance kernel at 2151c52399beSRalf Baechle the price of higher memory consumption. This option is available 2152c52399beSRalf Baechle only on cnMIPS cores. Note that you will need a suitable Linux 2153c52399beSRalf Baechle distribution to support this. 2154c52399beSRalf Baechle 21551da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB 21561da177e4SLinus Torvalds bool "64kB" 2157455481fcSThomas Bogendoerfer depends on !CPU_R3000 21581da177e4SLinus Torvalds help 21591da177e4SLinus Torvalds Using 64kB page size will result in higher performance kernel at 21601da177e4SLinus Torvalds the price of higher memory consumption. This option is available on 21611da177e4SLinus Torvalds all non-R3000 family processor. Not that at the time of this 2162714bfad6SRalf Baechle writing this option is still high experimental. 21631da177e4SLinus Torvalds 21641da177e4SLinus Torvaldsendchoice 21651da177e4SLinus Torvalds 2166c9bace7cSDavid Daneyconfig FORCE_MAX_ZONEORDER 2167c9bace7cSDavid Daney int "Maximum zone order" 2168e4362d1eSAlex Smith range 14 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB 2169e4362d1eSAlex Smith default "14" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB 2170e4362d1eSAlex Smith range 13 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB 2171e4362d1eSAlex Smith default "13" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB 2172e4362d1eSAlex Smith range 12 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB 2173e4362d1eSAlex Smith default "12" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB 2174ef923a76SPaul Cercueil range 0 64 2175c9bace7cSDavid Daney default "11" 2176c9bace7cSDavid Daney help 2177c9bace7cSDavid Daney The kernel memory allocator divides physically contiguous memory 2178c9bace7cSDavid Daney blocks into "zones", where each zone is a power of two number of 2179c9bace7cSDavid Daney pages. This option selects the largest power of two that the kernel 2180c9bace7cSDavid Daney keeps in the memory allocator. If you need to allocate very large 2181c9bace7cSDavid Daney blocks of physically contiguous memory, then you may need to 2182c9bace7cSDavid Daney increase this value. 2183c9bace7cSDavid Daney 2184c9bace7cSDavid Daney This config option is actually maximum order plus one. For example, 2185c9bace7cSDavid Daney a value of 11 means that the largest free memory block is 2^10 pages. 2186c9bace7cSDavid Daney 2187c9bace7cSDavid Daney The page size is not necessarily 4KB. Keep this in mind 2188c9bace7cSDavid Daney when choosing a value for this option. 2189c9bace7cSDavid Daney 21901da177e4SLinus Torvaldsconfig BOARD_SCACHE 21911da177e4SLinus Torvalds bool 21921da177e4SLinus Torvalds 21931da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE 21941da177e4SLinus Torvalds bool 21951da177e4SLinus Torvalds select BOARD_SCACHE 21961da177e4SLinus Torvalds 21979318c51aSChris Dearman# 21989318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches 21999318c51aSChris Dearman# 22009318c51aSChris Dearmanconfig MIPS_CPU_SCACHE 22019318c51aSChris Dearman bool 22029318c51aSChris Dearman select BOARD_SCACHE 22039318c51aSChris Dearman 22041da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE 22051da177e4SLinus Torvalds bool 22061da177e4SLinus Torvalds select BOARD_SCACHE 22071da177e4SLinus Torvalds 22081da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE 22091da177e4SLinus Torvalds bool 22101da177e4SLinus Torvalds select BOARD_SCACHE 22111da177e4SLinus Torvalds 22121da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS 22131da177e4SLinus Torvalds bool "Use DMA to clear/copy pages" 22141da177e4SLinus Torvalds depends on CPU_SB1 22151da177e4SLinus Torvalds help 22161da177e4SLinus Torvalds Instead of using the CPU to zero and copy pages, use a Data Mover 22171da177e4SLinus Torvalds channel. These DMA channels are otherwise unused by the standard 22181da177e4SLinus Torvalds SiByte Linux port. Seems to give a small performance benefit. 22191da177e4SLinus Torvalds 22201da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH 2221c8094b53SRalf Baechle bool 22221da177e4SLinus Torvalds 22233165c846SFlorian Fainelliconfig CPU_GENERIC_DUMP_TLB 22243165c846SFlorian Fainelli bool 2225455481fcSThomas Bogendoerfer default y if !CPU_R3000 22263165c846SFlorian Fainelli 2227c92e47e5SPaul Burtonconfig MIPS_FP_SUPPORT 2228183b40f9SPaul Burton bool "Floating Point support" if EXPERT 2229183b40f9SPaul Burton default y 2230183b40f9SPaul Burton help 2231183b40f9SPaul Burton Select y to include support for floating point in the kernel 2232183b40f9SPaul Burton including initialization of FPU hardware, FP context save & restore 2233183b40f9SPaul Burton and emulation of an FPU where necessary. Without this support any 2234183b40f9SPaul Burton userland program attempting to use floating point instructions will 2235183b40f9SPaul Burton receive a SIGILL. 2236183b40f9SPaul Burton 2237183b40f9SPaul Burton If you know that your userland will not attempt to use floating point 2238183b40f9SPaul Burton instructions then you can say n here to shrink the kernel a little. 2239183b40f9SPaul Burton 2240183b40f9SPaul Burton If unsure, say y. 2241c92e47e5SPaul Burton 224297f7dcbfSPaul Burtonconfig CPU_R2300_FPU 224397f7dcbfSPaul Burton bool 2244c92e47e5SPaul Burton depends on MIPS_FP_SUPPORT 2245455481fcSThomas Bogendoerfer default y if CPU_R3000 224697f7dcbfSPaul Burton 224754746829SPaul Burtonconfig CPU_R3K_TLB 224854746829SPaul Burton bool 224954746829SPaul Burton 225091405eb6SFlorian Fainelliconfig CPU_R4K_FPU 225191405eb6SFlorian Fainelli bool 2252c92e47e5SPaul Burton depends on MIPS_FP_SUPPORT 225397f7dcbfSPaul Burton default y if !CPU_R2300_FPU 225491405eb6SFlorian Fainelli 225562cedc4fSFlorian Fainelliconfig CPU_R4K_CACHE_TLB 225662cedc4fSFlorian Fainelli bool 225754746829SPaul Burton default y if !(CPU_R3K_TLB || CPU_SB1 || CPU_CAVIUM_OCTEON) 225862cedc4fSFlorian Fainelli 225959d6ab86SRalf Baechleconfig MIPS_MT_SMP 2260a92b7f87SMarkos Chandras bool "MIPS MT SMP support (1 TC on each available VPE)" 22615cbf9688SPaul Burton default y 2262527f1028SPaul Burton depends on SYS_SUPPORTS_MULTITHREADING && !CPU_MIPSR6 && !CPU_MICROMIPS 226359d6ab86SRalf Baechle select CPU_MIPSR2_IRQ_VI 2264d725cf38SChris Dearman select CPU_MIPSR2_IRQ_EI 2265c080faa5SSteven J. Hill select SYNC_R4K 226659d6ab86SRalf Baechle select MIPS_MT 226759d6ab86SRalf Baechle select SMP 226887353d8aSRalf Baechle select SMP_UP 2269c080faa5SSteven J. Hill select SYS_SUPPORTS_SMP 2270c080faa5SSteven J. Hill select SYS_SUPPORTS_SCHED_SMT 2271399aaa25SAl Cooper select MIPS_PERF_SHARED_TC_COUNTERS 227259d6ab86SRalf Baechle help 2273c080faa5SSteven J. Hill This is a kernel model which is known as SMVP. This is supported 2274c080faa5SSteven J. Hill on cores with the MT ASE and uses the available VPEs to implement 2275c080faa5SSteven J. Hill virtual processors which supports SMP. This is equivalent to the 2276c080faa5SSteven J. Hill Intel Hyperthreading feature. For further information go to 2277c080faa5SSteven J. Hill <http://www.imgtec.com/mips/mips-multithreading.asp>. 227859d6ab86SRalf Baechle 2279f41ae0b2SRalf Baechleconfig MIPS_MT 2280f41ae0b2SRalf Baechle bool 2281f41ae0b2SRalf Baechle 22820ab7aefcSRalf Baechleconfig SCHED_SMT 22830ab7aefcSRalf Baechle bool "SMT (multithreading) scheduler support" 22840ab7aefcSRalf Baechle depends on SYS_SUPPORTS_SCHED_SMT 22850ab7aefcSRalf Baechle default n 22860ab7aefcSRalf Baechle help 22870ab7aefcSRalf Baechle SMT scheduler support improves the CPU scheduler's decision making 22880ab7aefcSRalf Baechle when dealing with MIPS MT enabled cores at a cost of slightly 22890ab7aefcSRalf Baechle increased overhead in some places. If unsure say N here. 22900ab7aefcSRalf Baechle 22910ab7aefcSRalf Baechleconfig SYS_SUPPORTS_SCHED_SMT 22920ab7aefcSRalf Baechle bool 22930ab7aefcSRalf Baechle 2294f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING 2295f41ae0b2SRalf Baechle bool 2296f41ae0b2SRalf Baechle 2297f088fc84SRalf Baechleconfig MIPS_MT_FPAFF 2298f088fc84SRalf Baechle bool "Dynamic FPU affinity for FP-intensive threads" 2299f088fc84SRalf Baechle default y 2300b633648cSRalf Baechle depends on MIPS_MT_SMP 230107cc0c9eSRalf Baechle 2302b0a668fbSLeonid Yegoshinconfig MIPSR2_TO_R6_EMULATOR 2303b0a668fbSLeonid Yegoshin bool "MIPS R2-to-R6 emulator" 23049eaa9a82SPaul Burton depends on CPU_MIPSR6 2305c92e47e5SPaul Burton depends on MIPS_FP_SUPPORT 2306b0a668fbSLeonid Yegoshin default y 2307b0a668fbSLeonid Yegoshin help 2308b0a668fbSLeonid Yegoshin Choose this option if you want to run non-R6 MIPS userland code. 2309b0a668fbSLeonid Yegoshin Even if you say 'Y' here, the emulator will still be disabled by 231007edf0d4SMarkos Chandras default. You can enable it using the 'mipsr2emu' kernel option. 2311b0a668fbSLeonid Yegoshin The only reason this is a build-time option is to save ~14K from the 2312b0a668fbSLeonid Yegoshin final kernel image. 2313b0a668fbSLeonid Yegoshin 2314f35764e7SJames Hoganconfig SYS_SUPPORTS_VPE_LOADER 2315f35764e7SJames Hogan bool 2316f35764e7SJames Hogan depends on SYS_SUPPORTS_MULTITHREADING 2317f35764e7SJames Hogan help 2318f35764e7SJames Hogan Indicates that the platform supports the VPE loader, and provides 2319f35764e7SJames Hogan physical_memsize. 2320f35764e7SJames Hogan 232107cc0c9eSRalf Baechleconfig MIPS_VPE_LOADER 232207cc0c9eSRalf Baechle bool "VPE loader support." 2323f35764e7SJames Hogan depends on SYS_SUPPORTS_VPE_LOADER && MODULES 232407cc0c9eSRalf Baechle select CPU_MIPSR2_IRQ_VI 232507cc0c9eSRalf Baechle select CPU_MIPSR2_IRQ_EI 232607cc0c9eSRalf Baechle select MIPS_MT 232707cc0c9eSRalf Baechle help 232807cc0c9eSRalf Baechle Includes a loader for loading an elf relocatable object 232907cc0c9eSRalf Baechle onto another VPE and running it. 2330f088fc84SRalf Baechle 233117a1d523SDeng-Cheng Zhuconfig MIPS_VPE_LOADER_CMP 233217a1d523SDeng-Cheng Zhu bool 233317a1d523SDeng-Cheng Zhu default "y" 233417a1d523SDeng-Cheng Zhu depends on MIPS_VPE_LOADER && MIPS_CMP 233517a1d523SDeng-Cheng Zhu 23361a2a6d7eSDeng-Cheng Zhuconfig MIPS_VPE_LOADER_MT 23371a2a6d7eSDeng-Cheng Zhu bool 23381a2a6d7eSDeng-Cheng Zhu default "y" 23391a2a6d7eSDeng-Cheng Zhu depends on MIPS_VPE_LOADER && !MIPS_CMP 23401a2a6d7eSDeng-Cheng Zhu 2341e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM 2342e01402b1SRalf Baechle bool "Load VPE program into memory hidden from linux" 2343e01402b1SRalf Baechle depends on MIPS_VPE_LOADER 2344e01402b1SRalf Baechle default y 2345e01402b1SRalf Baechle help 2346e01402b1SRalf Baechle The loader can use memory that is present but has been hidden from 2347e01402b1SRalf Baechle Linux using the kernel command line option "mem=xxMB". It's up to 2348e01402b1SRalf Baechle you to ensure the amount you put in the option and the space your 2349e01402b1SRalf Baechle program requires is less or equal to the amount physically present. 2350e01402b1SRalf Baechle 2351e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API 2352e01402b1SRalf Baechle bool "Enable support for AP/SP API (RTLX)" 2353e01402b1SRalf Baechle depends on MIPS_VPE_LOADER 2354e01402b1SRalf Baechle 2355da615cf6SDeng-Cheng Zhuconfig MIPS_VPE_APSP_API_CMP 2356da615cf6SDeng-Cheng Zhu bool 2357da615cf6SDeng-Cheng Zhu default "y" 2358da615cf6SDeng-Cheng Zhu depends on MIPS_VPE_APSP_API && MIPS_CMP 2359da615cf6SDeng-Cheng Zhu 23602c973ef0SDeng-Cheng Zhuconfig MIPS_VPE_APSP_API_MT 23612c973ef0SDeng-Cheng Zhu bool 23622c973ef0SDeng-Cheng Zhu default "y" 23632c973ef0SDeng-Cheng Zhu depends on MIPS_VPE_APSP_API && !MIPS_CMP 23642c973ef0SDeng-Cheng Zhu 23654a16ff4cSRalf Baechleconfig MIPS_CMP 23665cac93b3SPaul Burton bool "MIPS CMP framework support (DEPRECATED)" 23675676319cSMarkos Chandras depends on SYS_SUPPORTS_MIPS_CMP && !CPU_MIPSR6 2368b10b43baSMarkos Chandras select SMP 2369eb9b5141STim Anderson select SYNC_R4K 2370b10b43baSMarkos Chandras select SYS_SUPPORTS_SMP 23714a16ff4cSRalf Baechle select WEAK_ORDERING 23724a16ff4cSRalf Baechle default n 23734a16ff4cSRalf Baechle help 2374044505c7SPaul Burton Select this if you are using a bootloader which implements the "CMP 2375044505c7SPaul Burton framework" protocol (ie. YAMON) and want your kernel to make use of 2376044505c7SPaul Burton its ability to start secondary CPUs. 23774a16ff4cSRalf Baechle 23785cac93b3SPaul Burton Unless you have a specific need, you should use CONFIG_MIPS_CPS 23795cac93b3SPaul Burton instead of this. 23805cac93b3SPaul Burton 23810ee958e1SPaul Burtonconfig MIPS_CPS 23820ee958e1SPaul Burton bool "MIPS Coherent Processing System support" 23835a3e7c02SPaul Burton depends on SYS_SUPPORTS_MIPS_CPS 23840ee958e1SPaul Burton select MIPS_CM 23851d8f1f5aSPaul Burton select MIPS_CPS_PM if HOTPLUG_CPU 23860ee958e1SPaul Burton select SMP 23870ee958e1SPaul Burton select SYNC_R4K if (CEVT_R4K || CSRC_R4K) 23881d8f1f5aSPaul Burton select SYS_SUPPORTS_HOTPLUG_CPU 2389c8b7712cSPaul Burton select SYS_SUPPORTS_SCHED_SMT if CPU_MIPSR6 23900ee958e1SPaul Burton select SYS_SUPPORTS_SMP 23910ee958e1SPaul Burton select WEAK_ORDERING 2392d8d3276bSWei Li select GENERIC_IRQ_MIGRATION if HOTPLUG_CPU 23930ee958e1SPaul Burton help 23940ee958e1SPaul Burton Select this if you wish to run an SMP kernel across multiple cores 23950ee958e1SPaul Burton within a MIPS Coherent Processing System. When this option is 23960ee958e1SPaul Burton enabled the kernel will probe for other cores and boot them with 23970ee958e1SPaul Burton no external assistance. It is safe to enable this when hardware 23980ee958e1SPaul Burton support is unavailable. 23990ee958e1SPaul Burton 24003179d37eSPaul Burtonconfig MIPS_CPS_PM 240139a59593SMarkos Chandras depends on MIPS_CPS 24023179d37eSPaul Burton bool 24033179d37eSPaul Burton 24049f98f3ddSPaul Burtonconfig MIPS_CM 24059f98f3ddSPaul Burton bool 24063c9b4166SPaul Burton select MIPS_CPC 24079f98f3ddSPaul Burton 24089c38cf44SPaul Burtonconfig MIPS_CPC 24099c38cf44SPaul Burton bool 24102600990eSRalf Baechle 24111da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS 24121da177e4SLinus Torvalds bool 24131da177e4SLinus Torvalds depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2) 24141da177e4SLinus Torvalds default y 24151da177e4SLinus Torvalds 24161da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS 24171da177e4SLinus Torvalds bool 24181da177e4SLinus Torvalds depends on CPU_SB1 && CPU_SB1_PASS_2 24191da177e4SLinus Torvalds default y 24201da177e4SLinus Torvalds 24219e2b5372SMarkos Chandraschoice 24229e2b5372SMarkos Chandras prompt "SmartMIPS or microMIPS ASE support" 24239e2b5372SMarkos Chandras 24249e2b5372SMarkos Chandrasconfig CPU_NEEDS_NO_SMARTMIPS_OR_MICROMIPS 24259e2b5372SMarkos Chandras bool "None" 24269e2b5372SMarkos Chandras help 24279e2b5372SMarkos Chandras Select this if you want neither microMIPS nor SmartMIPS support 24289e2b5372SMarkos Chandras 24299693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS 24309693a853SFranck Bui-Huu depends on SYS_SUPPORTS_SMARTMIPS 24319e2b5372SMarkos Chandras bool "SmartMIPS" 24329693a853SFranck Bui-Huu help 24339693a853SFranck Bui-Huu SmartMIPS is a extension of the MIPS32 architecture aimed at 24349693a853SFranck Bui-Huu increased security at both hardware and software level for 24359693a853SFranck Bui-Huu smartcards. Enabling this option will allow proper use of the 24369693a853SFranck Bui-Huu SmartMIPS instructions by Linux applications. However a kernel with 24379693a853SFranck Bui-Huu this option will not work on a MIPS core without SmartMIPS core. If 24389693a853SFranck Bui-Huu you don't know you probably don't have SmartMIPS and should say N 24399693a853SFranck Bui-Huu here. 24409693a853SFranck Bui-Huu 2441bce86083SSteven J. Hillconfig CPU_MICROMIPS 24427fd08ca5SLeonid Yegoshin depends on 32BIT && SYS_SUPPORTS_MICROMIPS && !CPU_MIPSR6 24439e2b5372SMarkos Chandras bool "microMIPS" 2444bce86083SSteven J. Hill help 2445bce86083SSteven J. Hill When this option is enabled the kernel will be built using the 2446bce86083SSteven J. Hill microMIPS ISA 2447bce86083SSteven J. Hill 24489e2b5372SMarkos Chandrasendchoice 24499e2b5372SMarkos Chandras 2450a5e9a69eSPaul Burtonconfig CPU_HAS_MSA 24510ce3417eSPaul Burton bool "Support for the MIPS SIMD Architecture" 2452a5e9a69eSPaul Burton depends on CPU_SUPPORTS_MSA 2453c92e47e5SPaul Burton depends on MIPS_FP_SUPPORT 24542a6cb669SPaul Burton depends on 64BIT || MIPS_O32_FP64_SUPPORT 2455a5e9a69eSPaul Burton help 2456a5e9a69eSPaul Burton MIPS SIMD Architecture (MSA) introduces 128 bit wide vector registers 2457a5e9a69eSPaul Burton and a set of SIMD instructions to operate on them. When this option 24581db1af84SPaul Burton is enabled the kernel will support allocating & switching MSA 24591db1af84SPaul Burton vector register contexts. If you know that your kernel will only be 24601db1af84SPaul Burton running on CPUs which do not support MSA or that your userland will 24611db1af84SPaul Burton not be making use of it then you may wish to say N here to reduce 24621db1af84SPaul Burton the size & complexity of your kernel. 2463a5e9a69eSPaul Burton 2464a5e9a69eSPaul Burton If unsure, say Y. 2465a5e9a69eSPaul Burton 24661da177e4SLinus Torvaldsconfig CPU_HAS_WB 2467f7062ddbSRalf Baechle bool 2468e01402b1SRalf Baechle 2469df0ac8a4SKevin Cernekeeconfig XKS01 2470df0ac8a4SKevin Cernekee bool 2471df0ac8a4SKevin Cernekee 2472ba9196d2SJiaxun Yangconfig CPU_HAS_DIEI 2473ba9196d2SJiaxun Yang depends on !CPU_DIEI_BROKEN 2474ba9196d2SJiaxun Yang bool 2475ba9196d2SJiaxun Yang 2476ba9196d2SJiaxun Yangconfig CPU_DIEI_BROKEN 2477ba9196d2SJiaxun Yang bool 2478ba9196d2SJiaxun Yang 24798256b17eSFlorian Fainelliconfig CPU_HAS_RIXI 24808256b17eSFlorian Fainelli bool 24818256b17eSFlorian Fainelli 248218d84e2eSAlexander Lobakinconfig CPU_NO_LOAD_STORE_LR 2483932afdeeSYasha Cherikovsky bool 2484932afdeeSYasha Cherikovsky help 248518d84e2eSAlexander Lobakin CPU lacks support for unaligned load and store instructions: 2486932afdeeSYasha Cherikovsky LWL, LWR, SWL, SWR (Load/store word left/right). 248718d84e2eSAlexander Lobakin LDL, LDR, SDL, SDR (Load/store doubleword left/right, for 64bit 248818d84e2eSAlexander Lobakin systems). 2489932afdeeSYasha Cherikovsky 2490f41ae0b2SRalf Baechle# 2491f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature 2492f41ae0b2SRalf Baechle# 2493e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI 2494f41ae0b2SRalf Baechle bool 2495e01402b1SRalf Baechle 2496f41ae0b2SRalf Baechle# 2497f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature 2498f41ae0b2SRalf Baechle# 2499e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI 2500f41ae0b2SRalf Baechle bool 2501e01402b1SRalf Baechle 25021da177e4SLinus Torvaldsconfig CPU_HAS_SYNC 25031da177e4SLinus Torvalds bool 25041da177e4SLinus Torvalds depends on !CPU_R3000 25051da177e4SLinus Torvalds default y 25061da177e4SLinus Torvalds 25071da177e4SLinus Torvalds# 250820d60d99SMaciej W. Rozycki# CPU non-features 250920d60d99SMaciej W. Rozycki# 2510b56d1cafSThomas Bogendoerfer 2511b56d1cafSThomas Bogendoerfer# Work around the "daddi" and "daddiu" CPU errata: 2512b56d1cafSThomas Bogendoerfer# 2513b56d1cafSThomas Bogendoerfer# - The `daddi' instruction fails to trap on overflow. 2514b56d1cafSThomas Bogendoerfer# "MIPS R4000PC/SC Errata, Processor Revision 2.2 and 3.0", 2515b56d1cafSThomas Bogendoerfer# erratum #23 2516b56d1cafSThomas Bogendoerfer# 2517b56d1cafSThomas Bogendoerfer# - The `daddiu' instruction can produce an incorrect result. 2518b56d1cafSThomas Bogendoerfer# "MIPS R4000PC/SC Errata, Processor Revision 2.2 and 3.0", 2519b56d1cafSThomas Bogendoerfer# erratum #41 2520b56d1cafSThomas Bogendoerfer# "MIPS R4000MC Errata, Processor Revision 2.2 and 3.0", erratum 2521b56d1cafSThomas Bogendoerfer# #15 2522b56d1cafSThomas Bogendoerfer# "MIPS R4400PC/SC Errata, Processor Revision 1.0", erratum #7 2523b56d1cafSThomas Bogendoerfer# "MIPS R4400MC Errata, Processor Revision 1.0", erratum #5 252420d60d99SMaciej W. Rozyckiconfig CPU_DADDI_WORKAROUNDS 252520d60d99SMaciej W. Rozycki bool 252620d60d99SMaciej W. Rozycki 2527b56d1cafSThomas Bogendoerfer# Work around certain R4000 CPU errata (as implemented by GCC): 2528b56d1cafSThomas Bogendoerfer# 2529b56d1cafSThomas Bogendoerfer# - A double-word or a variable shift may give an incorrect result 2530b56d1cafSThomas Bogendoerfer# if executed immediately after starting an integer division: 2531b56d1cafSThomas Bogendoerfer# "MIPS R4000PC/SC Errata, Processor Revision 2.2 and 3.0", 2532b56d1cafSThomas Bogendoerfer# erratum #28 2533b56d1cafSThomas Bogendoerfer# "MIPS R4000MC Errata, Processor Revision 2.2 and 3.0", erratum 2534b56d1cafSThomas Bogendoerfer# #19 2535b56d1cafSThomas Bogendoerfer# 2536b56d1cafSThomas Bogendoerfer# - A double-word or a variable shift may give an incorrect result 2537b56d1cafSThomas Bogendoerfer# if executed while an integer multiplication is in progress: 2538b56d1cafSThomas Bogendoerfer# "MIPS R4000PC/SC Errata, Processor Revision 2.2 and 3.0", 2539b56d1cafSThomas Bogendoerfer# errata #16 & #28 2540b56d1cafSThomas Bogendoerfer# 2541b56d1cafSThomas Bogendoerfer# - An integer division may give an incorrect result if started in 2542b56d1cafSThomas Bogendoerfer# a delay slot of a taken branch or a jump: 2543b56d1cafSThomas Bogendoerfer# "MIPS R4000PC/SC Errata, Processor Revision 2.2 and 3.0", 2544b56d1cafSThomas Bogendoerfer# erratum #52 254520d60d99SMaciej W. Rozyckiconfig CPU_R4000_WORKAROUNDS 254620d60d99SMaciej W. Rozycki bool 254720d60d99SMaciej W. Rozycki select CPU_R4400_WORKAROUNDS 254820d60d99SMaciej W. Rozycki 2549b56d1cafSThomas Bogendoerfer# Work around certain R4400 CPU errata (as implemented by GCC): 2550b56d1cafSThomas Bogendoerfer# 2551b56d1cafSThomas Bogendoerfer# - A double-word or a variable shift may give an incorrect result 2552b56d1cafSThomas Bogendoerfer# if executed immediately after starting an integer division: 2553b56d1cafSThomas Bogendoerfer# "MIPS R4400MC Errata, Processor Revision 1.0", erratum #10 2554b56d1cafSThomas Bogendoerfer# "MIPS R4400MC Errata, Processor Revision 2.0 & 3.0", erratum #4 255520d60d99SMaciej W. Rozyckiconfig CPU_R4400_WORKAROUNDS 255620d60d99SMaciej W. Rozycki bool 255720d60d99SMaciej W. Rozycki 2558071d2f0bSPaul Burtonconfig CPU_R4X00_BUGS64 2559071d2f0bSPaul Burton bool 2560071d2f0bSPaul Burton default y if SYS_HAS_CPU_R4X00 && 64BIT && (TARGET_ISA_REV < 1) 2561071d2f0bSPaul Burton 25624edf00a4SPaul Burtonconfig MIPS_ASID_SHIFT 25634edf00a4SPaul Burton int 2564455481fcSThomas Bogendoerfer default 6 if CPU_R3000 25654edf00a4SPaul Burton default 0 25664edf00a4SPaul Burton 25674edf00a4SPaul Burtonconfig MIPS_ASID_BITS 25684edf00a4SPaul Burton int 25692db003a5SPaul Burton default 0 if MIPS_ASID_BITS_VARIABLE 2570455481fcSThomas Bogendoerfer default 6 if CPU_R3000 25714edf00a4SPaul Burton default 8 25724edf00a4SPaul Burton 25732db003a5SPaul Burtonconfig MIPS_ASID_BITS_VARIABLE 25742db003a5SPaul Burton bool 25752db003a5SPaul Burton 25764a5dc51eSMarcin Nowakowskiconfig MIPS_CRC_SUPPORT 25774a5dc51eSMarcin Nowakowski bool 25784a5dc51eSMarcin Nowakowski 2579802b8362SThomas Bogendoerfer# R4600 erratum. Due to the lack of errata information the exact 2580802b8362SThomas Bogendoerfer# technical details aren't known. I've experimentally found that disabling 2581802b8362SThomas Bogendoerfer# interrupts during indexed I-cache flushes seems to be sufficient to deal 2582802b8362SThomas Bogendoerfer# with the issue. 2583802b8362SThomas Bogendoerferconfig WAR_R4600_V1_INDEX_ICACHEOP 2584802b8362SThomas Bogendoerfer bool 2585802b8362SThomas Bogendoerfer 25865e5b6527SThomas Bogendoerfer# Pleasures of the R4600 V1.x. Cite from the IDT R4600 V1.7 errata: 25875e5b6527SThomas Bogendoerfer# 25885e5b6527SThomas Bogendoerfer# 18. The CACHE instructions Hit_Writeback_Invalidate_D, Hit_Writeback_D, 25895e5b6527SThomas Bogendoerfer# Hit_Invalidate_D and Create_Dirty_Excl_D should only be 25905e5b6527SThomas Bogendoerfer# executed if there is no other dcache activity. If the dcache is 259118ff14c8SColin Ian King# accessed for another instruction immediately preceding when these 25925e5b6527SThomas Bogendoerfer# cache instructions are executing, it is possible that the dcache 25935e5b6527SThomas Bogendoerfer# tag match outputs used by these cache instructions will be 25945e5b6527SThomas Bogendoerfer# incorrect. These cache instructions should be preceded by at least 25955e5b6527SThomas Bogendoerfer# four instructions that are not any kind of load or store 25965e5b6527SThomas Bogendoerfer# instruction. 25975e5b6527SThomas Bogendoerfer# 25985e5b6527SThomas Bogendoerfer# This is not allowed: lw 25995e5b6527SThomas Bogendoerfer# nop 26005e5b6527SThomas Bogendoerfer# nop 26015e5b6527SThomas Bogendoerfer# nop 26025e5b6527SThomas Bogendoerfer# cache Hit_Writeback_Invalidate_D 26035e5b6527SThomas Bogendoerfer# 26045e5b6527SThomas Bogendoerfer# This is allowed: lw 26055e5b6527SThomas Bogendoerfer# nop 26065e5b6527SThomas Bogendoerfer# nop 26075e5b6527SThomas Bogendoerfer# nop 26085e5b6527SThomas Bogendoerfer# nop 26095e5b6527SThomas Bogendoerfer# cache Hit_Writeback_Invalidate_D 26105e5b6527SThomas Bogendoerferconfig WAR_R4600_V1_HIT_CACHEOP 26115e5b6527SThomas Bogendoerfer bool 26125e5b6527SThomas Bogendoerfer 261344def342SThomas Bogendoerfer# Writeback and invalidate the primary cache dcache before DMA. 261444def342SThomas Bogendoerfer# 261544def342SThomas Bogendoerfer# R4600 v2.0 bug: "The CACHE instructions Hit_Writeback_Inv_D, 261644def342SThomas Bogendoerfer# Hit_Writeback_D, Hit_Invalidate_D and Create_Dirty_Exclusive_D will only 261744def342SThomas Bogendoerfer# operate correctly if the internal data cache refill buffer is empty. These 261844def342SThomas Bogendoerfer# CACHE instructions should be separated from any potential data cache miss 261944def342SThomas Bogendoerfer# by a load instruction to an uncached address to empty the response buffer." 262044def342SThomas Bogendoerfer# (Revision 2.0 device errata from IDT available on https://www.idt.com/ 262144def342SThomas Bogendoerfer# in .pdf format.) 262244def342SThomas Bogendoerferconfig WAR_R4600_V2_HIT_CACHEOP 262344def342SThomas Bogendoerfer bool 262444def342SThomas Bogendoerfer 262524a1c023SThomas Bogendoerfer# From TX49/H2 manual: "If the instruction (i.e. CACHE) is issued for 262624a1c023SThomas Bogendoerfer# the line which this instruction itself exists, the following 262724a1c023SThomas Bogendoerfer# operation is not guaranteed." 262824a1c023SThomas Bogendoerfer# 262924a1c023SThomas Bogendoerfer# Workaround: do two phase flushing for Index_Invalidate_I 263024a1c023SThomas Bogendoerferconfig WAR_TX49XX_ICACHE_INDEX_INV 263124a1c023SThomas Bogendoerfer bool 263224a1c023SThomas Bogendoerfer 2633886ee136SThomas Bogendoerfer# The RM7000 processors and the E9000 cores have a bug (though PMC-Sierra 2634886ee136SThomas Bogendoerfer# opposes it being called that) where invalid instructions in the same 2635886ee136SThomas Bogendoerfer# I-cache line worth of instructions being fetched may case spurious 2636886ee136SThomas Bogendoerfer# exceptions. 2637886ee136SThomas Bogendoerferconfig WAR_ICACHE_REFILLS 2638886ee136SThomas Bogendoerfer bool 2639886ee136SThomas Bogendoerfer 2640256ec489SThomas Bogendoerfer# On the R10000 up to version 2.6 (not sure about 2.7) there is a bug that 2641256ec489SThomas Bogendoerfer# may cause ll / sc and lld / scd sequences to execute non-atomically. 2642256ec489SThomas Bogendoerferconfig WAR_R10000_LLSC 2643256ec489SThomas Bogendoerfer bool 2644256ec489SThomas Bogendoerfer 2645a7fbed98SThomas Bogendoerfer# 34K core erratum: "Problems Executing the TLBR Instruction" 2646a7fbed98SThomas Bogendoerferconfig WAR_MIPS34K_MISSED_ITLB 2647a7fbed98SThomas Bogendoerfer bool 2648a7fbed98SThomas Bogendoerfer 264920d60d99SMaciej W. Rozycki# 26501da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel. 26511da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed 26521da177e4SLinus Torvalds# caches such as R3000, SB1, R7000 or those that look like they're virtually 26531da177e4SLinus Torvalds# indexed such as R4000/R4400 SC and MC versions or R10000. So for the 26541da177e4SLinus Torvalds# moment we protect the user and offer the highmem option only on machines 26551da177e4SLinus Torvalds# where it's known to be safe. This will not offer highmem on a few systems 26561da177e4SLinus Torvalds# such as MIPS32 and MIPS64 CPUs which may have virtual and physically 26571da177e4SLinus Torvalds# indexed CPUs but we're playing safe. 2658797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we 2659797798c1SRalf Baechle# know they might have memory configurations that could make use of highmem 2660797798c1SRalf Baechle# support. 26611da177e4SLinus Torvalds# 26621da177e4SLinus Torvaldsconfig HIGHMEM 26631da177e4SLinus Torvalds bool "High Memory Support" 2664a6e18781SLeonid Yegoshin depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM && !CPU_MIPS32_3_5_EVA 2665a4c33e83SThomas Gleixner select KMAP_LOCAL 2666797798c1SRalf Baechle 2667797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM 2668797798c1SRalf Baechle bool 2669797798c1SRalf Baechle 2670797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM 2671797798c1SRalf Baechle bool 26721da177e4SLinus Torvalds 26739693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS 26749693a853SFranck Bui-Huu bool 26759693a853SFranck Bui-Huu 2676a6a4834cSSteven J. Hillconfig SYS_SUPPORTS_MICROMIPS 2677a6a4834cSSteven J. Hill bool 2678a6a4834cSSteven J. Hill 2679377cb1b6SRalf Baechleconfig SYS_SUPPORTS_MIPS16 2680377cb1b6SRalf Baechle bool 2681377cb1b6SRalf Baechle help 2682377cb1b6SRalf Baechle This option must be set if a kernel might be executed on a MIPS16- 2683377cb1b6SRalf Baechle enabled CPU even if MIPS16 is not actually being used. In other 2684377cb1b6SRalf Baechle words, it makes the kernel MIPS16-tolerant. 2685377cb1b6SRalf Baechle 2686a5e9a69eSPaul Burtonconfig CPU_SUPPORTS_MSA 2687a5e9a69eSPaul Burton bool 2688a5e9a69eSPaul Burton 2689b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE 2690b4819b59SYoichi Yuasa def_bool y 2691268a2d60SJiaxun Yang depends on !NUMA && !CPU_LOONGSON2EF 2692b4819b59SYoichi Yuasa 2693b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE 2694b1c6cd42SAtsushi Nemoto bool 2695397dc00eSMike Rapoport select SPARSEMEM_STATIC if !SGI_IP27 269631473747SAtsushi Nemoto 2697d8cb4e11SRalf Baechleconfig NUMA 2698d8cb4e11SRalf Baechle bool "NUMA Support" 2699d8cb4e11SRalf Baechle depends on SYS_SUPPORTS_NUMA 2700cf8194e4STiezhu Yang select SMP 27017ecd19cfSKefeng Wang select HAVE_SETUP_PER_CPU_AREA 27027ecd19cfSKefeng Wang select NEED_PER_CPU_EMBED_FIRST_CHUNK 2703d8cb4e11SRalf Baechle help 2704d8cb4e11SRalf Baechle Say Y to compile the kernel to support NUMA (Non-Uniform Memory 2705d8cb4e11SRalf Baechle Access). This option improves performance on systems with more 2706d8cb4e11SRalf Baechle than two nodes; on two node systems it is generally better to 2707172a37e9SRandy Dunlap leave it disabled; on single node systems leave this option 2708d8cb4e11SRalf Baechle disabled. 2709d8cb4e11SRalf Baechle 2710d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA 2711d8cb4e11SRalf Baechle bool 2712d8cb4e11SRalf Baechle 2713f8f9f21cSFeiyang Chenconfig HAVE_ARCH_NODEDATA_EXTENSION 2714f8f9f21cSFeiyang Chen bool 2715f8f9f21cSFeiyang Chen 27168c530ea3SMatt Redfearnconfig RELOCATABLE 27178c530ea3SMatt Redfearn bool "Relocatable kernel" 2718ab7c01fdSSerge Semin depends on SYS_SUPPORTS_RELOCATABLE 2719ab7c01fdSSerge Semin depends on CPU_MIPS32_R2 || CPU_MIPS64_R2 || \ 2720ab7c01fdSSerge Semin CPU_MIPS32_R5 || CPU_MIPS64_R5 || \ 2721ab7c01fdSSerge Semin CPU_MIPS32_R6 || CPU_MIPS64_R6 || \ 2722a307a4ceSJinyang He CPU_P5600 || CAVIUM_OCTEON_SOC || \ 2723a307a4ceSJinyang He CPU_LOONGSON64 27248c530ea3SMatt Redfearn help 27258c530ea3SMatt Redfearn This builds a kernel image that retains relocation information 27268c530ea3SMatt Redfearn so it can be loaded someplace besides the default 1MB. 27278c530ea3SMatt Redfearn The relocations make the kernel binary about 15% larger, 27288c530ea3SMatt Redfearn but are discarded at runtime 27298c530ea3SMatt Redfearn 2730069fd766SMatt Redfearnconfig RELOCATION_TABLE_SIZE 2731069fd766SMatt Redfearn hex "Relocation table size" 2732069fd766SMatt Redfearn depends on RELOCATABLE 2733069fd766SMatt Redfearn range 0x0 0x01000000 2734a307a4ceSJinyang He default "0x00200000" if CPU_LOONGSON64 2735069fd766SMatt Redfearn default "0x00100000" 2736a7f7f624SMasahiro Yamada help 2737069fd766SMatt Redfearn A table of relocation data will be appended to the kernel binary 2738069fd766SMatt Redfearn and parsed at boot to fix up the relocated kernel. 2739069fd766SMatt Redfearn 2740069fd766SMatt Redfearn This option allows the amount of space reserved for the table to be 2741069fd766SMatt Redfearn adjusted, although the default of 1Mb should be ok in most cases. 2742069fd766SMatt Redfearn 2743069fd766SMatt Redfearn The build will fail and a valid size suggested if this is too small. 2744069fd766SMatt Redfearn 2745069fd766SMatt Redfearn If unsure, leave at the default value. 2746069fd766SMatt Redfearn 2747405bc8fdSMatt Redfearnconfig RANDOMIZE_BASE 2748405bc8fdSMatt Redfearn bool "Randomize the address of the kernel image" 2749405bc8fdSMatt Redfearn depends on RELOCATABLE 2750a7f7f624SMasahiro Yamada help 2751405bc8fdSMatt Redfearn Randomizes the physical and virtual address at which the 2752405bc8fdSMatt Redfearn kernel image is loaded, as a security feature that 2753405bc8fdSMatt Redfearn deters exploit attempts relying on knowledge of the location 2754405bc8fdSMatt Redfearn of kernel internals. 2755405bc8fdSMatt Redfearn 2756405bc8fdSMatt Redfearn Entropy is generated using any coprocessor 0 registers available. 2757405bc8fdSMatt Redfearn 2758405bc8fdSMatt Redfearn The kernel will be offset by up to RANDOMIZE_BASE_MAX_OFFSET. 2759405bc8fdSMatt Redfearn 2760405bc8fdSMatt Redfearn If unsure, say N. 2761405bc8fdSMatt Redfearn 2762405bc8fdSMatt Redfearnconfig RANDOMIZE_BASE_MAX_OFFSET 2763405bc8fdSMatt Redfearn hex "Maximum kASLR offset" if EXPERT 2764405bc8fdSMatt Redfearn depends on RANDOMIZE_BASE 2765405bc8fdSMatt Redfearn range 0x0 0x40000000 if EVA || 64BIT 2766405bc8fdSMatt Redfearn range 0x0 0x08000000 2767405bc8fdSMatt Redfearn default "0x01000000" 2768a7f7f624SMasahiro Yamada help 2769405bc8fdSMatt Redfearn When kASLR is active, this provides the maximum offset that will 2770405bc8fdSMatt Redfearn be applied to the kernel image. It should be set according to the 2771405bc8fdSMatt Redfearn amount of physical RAM available in the target system minus 2772405bc8fdSMatt Redfearn PHYSICAL_START and must be a power of 2. 2773405bc8fdSMatt Redfearn 2774405bc8fdSMatt Redfearn This is limited by the size of KSEG0, 256Mb on 32-bit or 1Gb with 2775405bc8fdSMatt Redfearn EVA or 64-bit. The default is 16Mb. 2776405bc8fdSMatt Redfearn 2777c80d79d7SYasunori Gotoconfig NODES_SHIFT 2778c80d79d7SYasunori Goto int 2779c80d79d7SYasunori Goto default "6" 2780a9ee6cf5SMike Rapoport depends on NUMA 2781c80d79d7SYasunori Goto 278214f70012SDeng-Cheng Zhuconfig HW_PERF_EVENTS 278314f70012SDeng-Cheng Zhu bool "Enable hardware performance counter support for perf events" 278495b8a5e0SThomas Bogendoerfer depends on PERF_EVENTS && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON || CPU_LOONGSON64) 278514f70012SDeng-Cheng Zhu default y 278614f70012SDeng-Cheng Zhu help 278714f70012SDeng-Cheng Zhu Enable hardware performance counter support for perf events. If 278814f70012SDeng-Cheng Zhu disabled, perf events will use software events only. 278914f70012SDeng-Cheng Zhu 2790be8fa1cbSTiezhu Yangconfig DMI 2791be8fa1cbSTiezhu Yang bool "Enable DMI scanning" 2792be8fa1cbSTiezhu Yang depends on MACH_LOONGSON64 2793be8fa1cbSTiezhu Yang select DMI_SCAN_MACHINE_NON_EFI_FALLBACK 2794be8fa1cbSTiezhu Yang default y 2795be8fa1cbSTiezhu Yang help 2796be8fa1cbSTiezhu Yang Enabled scanning of DMI to identify machine quirks. Say Y 2797be8fa1cbSTiezhu Yang here unless you have verified that your setup is not 2798be8fa1cbSTiezhu Yang affected by entries in the DMI blacklist. Required by PNP 2799be8fa1cbSTiezhu Yang BIOS code. 2800be8fa1cbSTiezhu Yang 28011da177e4SLinus Torvaldsconfig SMP 28021da177e4SLinus Torvalds bool "Multi-Processing support" 2803e73ea273SRalf Baechle depends on SYS_SUPPORTS_SMP 2804e73ea273SRalf Baechle help 28051da177e4SLinus Torvalds This enables support for systems with more than one CPU. If you have 28064a474157SRobert Graffham a system with only one CPU, say N. If you have a system with more 28074a474157SRobert Graffham than one CPU, say Y. 28081da177e4SLinus Torvalds 28094a474157SRobert Graffham If you say N here, the kernel will run on uni- and multiprocessor 28101da177e4SLinus Torvalds machines, but will use only one CPU of a multiprocessor machine. If 28111da177e4SLinus Torvalds you say Y here, the kernel will run on many, but not all, 28124a474157SRobert Graffham uniprocessor machines. On a uniprocessor machine, the kernel 28131da177e4SLinus Torvalds will run faster if you say N here. 28141da177e4SLinus Torvalds 28151da177e4SLinus Torvalds People using multiprocessor machines who say Y here should also say 28161da177e4SLinus Torvalds Y to "Enhanced Real Time Clock Support", below. 28171da177e4SLinus Torvalds 281803502faaSAdrian Bunk See also the SMP-HOWTO available at 2819ef054ad3SAlexander A. Klimov <https://www.tldp.org/docs.html#howto>. 28201da177e4SLinus Torvalds 28211da177e4SLinus Torvalds If you don't know what to do here, say N. 28221da177e4SLinus Torvalds 28237840d618SMatt Redfearnconfig HOTPLUG_CPU 28247840d618SMatt Redfearn bool "Support for hot-pluggable CPUs" 28257840d618SMatt Redfearn depends on SMP && SYS_SUPPORTS_HOTPLUG_CPU 28267840d618SMatt Redfearn help 28277840d618SMatt Redfearn Say Y here to allow turning CPUs off and on. CPUs can be 28287840d618SMatt Redfearn controlled through /sys/devices/system/cpu. 28297840d618SMatt Redfearn (Note: power management support will enable this option 28307840d618SMatt Redfearn automatically on SMP systems. ) 28317840d618SMatt Redfearn Say N if you want to disable CPU hotplug. 28327840d618SMatt Redfearn 283387353d8aSRalf Baechleconfig SMP_UP 283487353d8aSRalf Baechle bool 283587353d8aSRalf Baechle 28364a16ff4cSRalf Baechleconfig SYS_SUPPORTS_MIPS_CMP 28374a16ff4cSRalf Baechle bool 28384a16ff4cSRalf Baechle 28390ee958e1SPaul Burtonconfig SYS_SUPPORTS_MIPS_CPS 28400ee958e1SPaul Burton bool 28410ee958e1SPaul Burton 2842e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP 2843e73ea273SRalf Baechle bool 2844e73ea273SRalf Baechle 2845130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4 2846130e2fb7SRalf Baechle bool 2847130e2fb7SRalf Baechle 2848130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8 2849130e2fb7SRalf Baechle bool 2850130e2fb7SRalf Baechle 2851130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16 2852130e2fb7SRalf Baechle bool 2853130e2fb7SRalf Baechle 2854130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32 2855130e2fb7SRalf Baechle bool 2856130e2fb7SRalf Baechle 2857130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64 2858130e2fb7SRalf Baechle bool 2859130e2fb7SRalf Baechle 28601da177e4SLinus Torvaldsconfig NR_CPUS 2861a91796a9SJayachandran C int "Maximum number of CPUs (2-256)" 2862a91796a9SJayachandran C range 2 256 28631da177e4SLinus Torvalds depends on SMP 2864130e2fb7SRalf Baechle default "4" if NR_CPUS_DEFAULT_4 2865130e2fb7SRalf Baechle default "8" if NR_CPUS_DEFAULT_8 2866130e2fb7SRalf Baechle default "16" if NR_CPUS_DEFAULT_16 2867130e2fb7SRalf Baechle default "32" if NR_CPUS_DEFAULT_32 2868130e2fb7SRalf Baechle default "64" if NR_CPUS_DEFAULT_64 28691da177e4SLinus Torvalds help 28701da177e4SLinus Torvalds This allows you to specify the maximum number of CPUs which this 28711da177e4SLinus Torvalds kernel will support. The maximum supported value is 32 for 32-bit 28721da177e4SLinus Torvalds kernel and 64 for 64-bit kernels; the minimum value which makes 287372ede9b1SAtsushi Nemoto sense is 1 for Qemu (useful only for kernel debugging purposes) 287472ede9b1SAtsushi Nemoto and 2 for all others. 28751da177e4SLinus Torvalds 28761da177e4SLinus Torvalds This is purely to save memory - each supported CPU adds 287772ede9b1SAtsushi Nemoto approximately eight kilobytes to the kernel image. For best 287872ede9b1SAtsushi Nemoto performance should round up your number of processors to the next 287972ede9b1SAtsushi Nemoto power of two. 28801da177e4SLinus Torvalds 2881399aaa25SAl Cooperconfig MIPS_PERF_SHARED_TC_COUNTERS 2882399aaa25SAl Cooper bool 2883399aaa25SAl Cooper 28847820b84bSDavid Daneyconfig MIPS_NR_CPU_NR_MAP_1024 28857820b84bSDavid Daney bool 28867820b84bSDavid Daney 28877820b84bSDavid Daneyconfig MIPS_NR_CPU_NR_MAP 28887820b84bSDavid Daney int 28897820b84bSDavid Daney depends on SMP 28907820b84bSDavid Daney default 1024 if MIPS_NR_CPU_NR_MAP_1024 28917820b84bSDavid Daney default NR_CPUS if !MIPS_NR_CPU_NR_MAP_1024 28927820b84bSDavid Daney 28931723b4a3SAtsushi Nemoto# 28941723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration 28951723b4a3SAtsushi Nemoto# 28961723b4a3SAtsushi Nemoto 28971723b4a3SAtsushi Nemotochoice 28981723b4a3SAtsushi Nemoto prompt "Timer frequency" 28991723b4a3SAtsushi Nemoto default HZ_250 29001723b4a3SAtsushi Nemoto help 29011723b4a3SAtsushi Nemoto Allows the configuration of the timer frequency. 29021723b4a3SAtsushi Nemoto 290367596573SPaul Burton config HZ_24 290467596573SPaul Burton bool "24 HZ" if SYS_SUPPORTS_24HZ || SYS_SUPPORTS_ARBIT_HZ 290567596573SPaul Burton 29061723b4a3SAtsushi Nemoto config HZ_48 29070f873585SRalf Baechle bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ 29081723b4a3SAtsushi Nemoto 29091723b4a3SAtsushi Nemoto config HZ_100 29101723b4a3SAtsushi Nemoto bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ 29111723b4a3SAtsushi Nemoto 29121723b4a3SAtsushi Nemoto config HZ_128 29131723b4a3SAtsushi Nemoto bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ 29141723b4a3SAtsushi Nemoto 29151723b4a3SAtsushi Nemoto config HZ_250 29161723b4a3SAtsushi Nemoto bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ 29171723b4a3SAtsushi Nemoto 29181723b4a3SAtsushi Nemoto config HZ_256 29191723b4a3SAtsushi Nemoto bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ 29201723b4a3SAtsushi Nemoto 29211723b4a3SAtsushi Nemoto config HZ_1000 29221723b4a3SAtsushi Nemoto bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ 29231723b4a3SAtsushi Nemoto 29241723b4a3SAtsushi Nemoto config HZ_1024 29251723b4a3SAtsushi Nemoto bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ 29261723b4a3SAtsushi Nemoto 29271723b4a3SAtsushi Nemotoendchoice 29281723b4a3SAtsushi Nemoto 292967596573SPaul Burtonconfig SYS_SUPPORTS_24HZ 293067596573SPaul Burton bool 293167596573SPaul Burton 29321723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ 29331723b4a3SAtsushi Nemoto bool 29341723b4a3SAtsushi Nemoto 29351723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ 29361723b4a3SAtsushi Nemoto bool 29371723b4a3SAtsushi Nemoto 29381723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ 29391723b4a3SAtsushi Nemoto bool 29401723b4a3SAtsushi Nemoto 29411723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ 29421723b4a3SAtsushi Nemoto bool 29431723b4a3SAtsushi Nemoto 29441723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ 29451723b4a3SAtsushi Nemoto bool 29461723b4a3SAtsushi Nemoto 29471723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ 29481723b4a3SAtsushi Nemoto bool 29491723b4a3SAtsushi Nemoto 29501723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ 29511723b4a3SAtsushi Nemoto bool 29521723b4a3SAtsushi Nemoto 29531723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ 29541723b4a3SAtsushi Nemoto bool 295567596573SPaul Burton default y if !SYS_SUPPORTS_24HZ && \ 295667596573SPaul Burton !SYS_SUPPORTS_48HZ && \ 295767596573SPaul Burton !SYS_SUPPORTS_100HZ && \ 295867596573SPaul Burton !SYS_SUPPORTS_128HZ && \ 295967596573SPaul Burton !SYS_SUPPORTS_250HZ && \ 296067596573SPaul Burton !SYS_SUPPORTS_256HZ && \ 296167596573SPaul Burton !SYS_SUPPORTS_1000HZ && \ 29621723b4a3SAtsushi Nemoto !SYS_SUPPORTS_1024HZ 29631723b4a3SAtsushi Nemoto 29641723b4a3SAtsushi Nemotoconfig HZ 29651723b4a3SAtsushi Nemoto int 296667596573SPaul Burton default 24 if HZ_24 29671723b4a3SAtsushi Nemoto default 48 if HZ_48 29681723b4a3SAtsushi Nemoto default 100 if HZ_100 29691723b4a3SAtsushi Nemoto default 128 if HZ_128 29701723b4a3SAtsushi Nemoto default 250 if HZ_250 29711723b4a3SAtsushi Nemoto default 256 if HZ_256 29721723b4a3SAtsushi Nemoto default 1000 if HZ_1000 29731723b4a3SAtsushi Nemoto default 1024 if HZ_1024 29741723b4a3SAtsushi Nemoto 297596685b17SDeng-Cheng Zhuconfig SCHED_HRTICK 297696685b17SDeng-Cheng Zhu def_bool HIGH_RES_TIMERS 297796685b17SDeng-Cheng Zhu 2978ea6e942bSAtsushi Nemotoconfig KEXEC 29797d60717eSKees Cook bool "Kexec system call" 29802965faa5SDave Young select KEXEC_CORE 2981ea6e942bSAtsushi Nemoto help 2982ea6e942bSAtsushi Nemoto kexec is a system call that implements the ability to shutdown your 2983ea6e942bSAtsushi Nemoto current kernel, and to start another kernel. It is like a reboot 29843dde6ad8SDavid Sterba but it is independent of the system firmware. And like a reboot 2985ea6e942bSAtsushi Nemoto you can start any kernel with it, not just Linux. 2986ea6e942bSAtsushi Nemoto 298701dd2fbfSMatt LaPlante The name comes from the similarity to the exec system call. 2988ea6e942bSAtsushi Nemoto 2989ea6e942bSAtsushi Nemoto It is an ongoing process to be certain the hardware in a machine 2990ea6e942bSAtsushi Nemoto is properly shutdown, so do not be surprised if this code does not 2991bf220695SGeert Uytterhoeven initially work for you. As of this writing the exact hardware 2992bf220695SGeert Uytterhoeven interface is strongly in flux, so no good recommendation can be 2993bf220695SGeert Uytterhoeven made. 2994ea6e942bSAtsushi Nemoto 29957aa1c8f4SRalf Baechleconfig CRASH_DUMP 29967aa1c8f4SRalf Baechle bool "Kernel crash dumps" 29977aa1c8f4SRalf Baechle help 29987aa1c8f4SRalf Baechle Generate crash dump after being started by kexec. 29997aa1c8f4SRalf Baechle This should be normally only set in special crash dump kernels 30007aa1c8f4SRalf Baechle which are loaded in the main kernel with kexec-tools into 30017aa1c8f4SRalf Baechle a specially reserved region and then later executed after 30027aa1c8f4SRalf Baechle a crash by kdump/kexec. The crash dump kernel must be compiled 30037aa1c8f4SRalf Baechle to a memory address not used by the main kernel or firmware using 30047aa1c8f4SRalf Baechle PHYSICAL_START. 30057aa1c8f4SRalf Baechle 30067aa1c8f4SRalf Baechleconfig PHYSICAL_START 30077aa1c8f4SRalf Baechle hex "Physical address where the kernel is loaded" 30088bda3e26SMaciej W. Rozycki default "0xffffffff84000000" 30097aa1c8f4SRalf Baechle depends on CRASH_DUMP 30107aa1c8f4SRalf Baechle help 30117aa1c8f4SRalf Baechle This gives the CKSEG0 or KSEG0 address where the kernel is loaded. 30127aa1c8f4SRalf Baechle If you plan to use kernel for capturing the crash dump change 30137aa1c8f4SRalf Baechle this value to start of the reserved region (the "X" value as 30147aa1c8f4SRalf Baechle specified in the "crashkernel=YM@XM" command line boot parameter 30157aa1c8f4SRalf Baechle passed to the panic-ed kernel). 30167aa1c8f4SRalf Baechle 3017597ce172SPaul Burtonconfig MIPS_O32_FP64_SUPPORT 3018b7f1e273SPaul Burton bool "Support for O32 binaries using 64-bit FP" if !CPU_MIPSR6 3019597ce172SPaul Burton depends on 32BIT || MIPS32_O32 3020597ce172SPaul Burton help 3021597ce172SPaul Burton When this is enabled, the kernel will support use of 64-bit floating 3022597ce172SPaul Burton point registers with binaries using the O32 ABI along with the 3023597ce172SPaul Burton EF_MIPS_FP64 ELF header flag (typically built with -mfp64). On 3024597ce172SPaul Burton 32-bit MIPS systems this support is at the cost of increasing the 3025597ce172SPaul Burton size and complexity of the compiled FPU emulator. Thus if you are 3026597ce172SPaul Burton running a MIPS32 system and know that none of your userland binaries 3027597ce172SPaul Burton will require 64-bit floating point, you may wish to reduce the size 3028597ce172SPaul Burton of your kernel & potentially improve FP emulation performance by 3029597ce172SPaul Burton saying N here. 3030597ce172SPaul Burton 303106e2e882SPaul Burton Although binutils currently supports use of this flag the details 303206e2e882SPaul Burton concerning its effect upon the O32 ABI in userland are still being 303318ff14c8SColin Ian King worked on. In order to avoid userland becoming dependent upon current 303406e2e882SPaul Burton behaviour before the details have been finalised, this option should 303506e2e882SPaul Burton be considered experimental and only enabled by those working upon 303606e2e882SPaul Burton said details. 303706e2e882SPaul Burton 303806e2e882SPaul Burton If unsure, say N. 3039597ce172SPaul Burton 3040f2ffa5abSDezhong Diaoconfig USE_OF 30410b3e06fdSJonas Gorski bool 3042f2ffa5abSDezhong Diao select OF 3043e6ce1324SStephen Neuendorffer select OF_EARLY_FLATTREE 3044abd2363fSGrant Likely select IRQ_DOMAIN 3045f2ffa5abSDezhong Diao 30462fe8ea39SDengcheng Zhuconfig UHI_BOOT 30472fe8ea39SDengcheng Zhu bool 30482fe8ea39SDengcheng Zhu 30497fafb068SAndrew Brestickerconfig BUILTIN_DTB 30507fafb068SAndrew Bresticker bool 30517fafb068SAndrew Bresticker 30521da8f179SJonas Gorskichoice 30535b24d52cSJonas Gorski prompt "Kernel appended dtb support" if USE_OF 30541da8f179SJonas Gorski default MIPS_NO_APPENDED_DTB 30551da8f179SJonas Gorski 30561da8f179SJonas Gorski config MIPS_NO_APPENDED_DTB 30571da8f179SJonas Gorski bool "None" 30581da8f179SJonas Gorski help 30591da8f179SJonas Gorski Do not enable appended dtb support. 30601da8f179SJonas Gorski 306187db537dSAaro Koskinen config MIPS_ELF_APPENDED_DTB 306287db537dSAaro Koskinen bool "vmlinux" 306387db537dSAaro Koskinen help 306487db537dSAaro Koskinen With this option, the boot code will look for a device tree binary 306587db537dSAaro Koskinen DTB) included in the vmlinux ELF section .appended_dtb. By default 306687db537dSAaro Koskinen it is empty and the DTB can be appended using binutils command 306787db537dSAaro Koskinen objcopy: 306887db537dSAaro Koskinen 306987db537dSAaro Koskinen objcopy --update-section .appended_dtb=<filename>.dtb vmlinux 307087db537dSAaro Koskinen 307118ff14c8SColin Ian King This is meant as a backward compatibility convenience for those 307287db537dSAaro Koskinen systems with a bootloader that can't be upgraded to accommodate 307387db537dSAaro Koskinen the documented boot protocol using a device tree. 307487db537dSAaro Koskinen 30751da8f179SJonas Gorski config MIPS_RAW_APPENDED_DTB 3076b8f54f2cSJonas Gorski bool "vmlinux.bin or vmlinuz.bin" 30771da8f179SJonas Gorski help 30781da8f179SJonas Gorski With this option, the boot code will look for a device tree binary 3079b8f54f2cSJonas Gorski DTB) appended to raw vmlinux.bin or vmlinuz.bin. 30801da8f179SJonas Gorski (e.g. cat vmlinux.bin <filename>.dtb > vmlinux_w_dtb). 30811da8f179SJonas Gorski 30821da8f179SJonas Gorski This is meant as a backward compatibility convenience for those 30831da8f179SJonas Gorski systems with a bootloader that can't be upgraded to accommodate 30841da8f179SJonas Gorski the documented boot protocol using a device tree. 30851da8f179SJonas Gorski 30861da8f179SJonas Gorski Beware that there is very little in terms of protection against 30871da8f179SJonas Gorski this option being confused by leftover garbage in memory that might 30881da8f179SJonas Gorski look like a DTB header after a reboot if no actual DTB is appended 30891da8f179SJonas Gorski to vmlinux.bin. Do not leave this option active in a production kernel 30901da8f179SJonas Gorski if you don't intend to always append a DTB. 30911da8f179SJonas Gorskiendchoice 30921da8f179SJonas Gorski 30932024972eSJonas Gorskichoice 30942024972eSJonas Gorski prompt "Kernel command line type" if !CMDLINE_OVERRIDE 30952bcef9b4SJonas Gorski default MIPS_CMDLINE_FROM_DTB if USE_OF && !ATH79 && !MACH_INGENIC && \ 309687fcfa7bSJiaxun Yang !MACH_LOONGSON64 && !MIPS_MALTA && \ 30972bcef9b4SJonas Gorski !CAVIUM_OCTEON_SOC 30982024972eSJonas Gorski default MIPS_CMDLINE_FROM_BOOTLOADER 30992024972eSJonas Gorski 31002024972eSJonas Gorski config MIPS_CMDLINE_FROM_DTB 31012024972eSJonas Gorski depends on USE_OF 31022024972eSJonas Gorski bool "Dtb kernel arguments if available" 31032024972eSJonas Gorski 31042024972eSJonas Gorski config MIPS_CMDLINE_DTB_EXTEND 31052024972eSJonas Gorski depends on USE_OF 31062024972eSJonas Gorski bool "Extend dtb kernel arguments with bootloader arguments" 31072024972eSJonas Gorski 31082024972eSJonas Gorski config MIPS_CMDLINE_FROM_BOOTLOADER 31092024972eSJonas Gorski bool "Bootloader kernel arguments if available" 3110ed47e153SRabin Vincent 3111ed47e153SRabin Vincent config MIPS_CMDLINE_BUILTIN_EXTEND 3112ed47e153SRabin Vincent depends on CMDLINE_BOOL 3113ed47e153SRabin Vincent bool "Extend builtin kernel arguments with bootloader arguments" 31142024972eSJonas Gorskiendchoice 31152024972eSJonas Gorski 31165e83d430SRalf Baechleendmenu 31175e83d430SRalf Baechle 31181df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT 31191df0f0ffSAtsushi Nemoto bool 31201df0f0ffSAtsushi Nemoto default y 31211df0f0ffSAtsushi Nemoto 31221df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT 31231df0f0ffSAtsushi Nemoto bool 31241df0f0ffSAtsushi Nemoto default y 31251df0f0ffSAtsushi Nemoto 3126a728ab52SKirill A. Shutemovconfig PGTABLE_LEVELS 3127a728ab52SKirill A. Shutemov int 31283377e227SAlex Belits default 4 if PAGE_SIZE_4KB && MIPS_VA_BITS_48 312941ce097fSHuang Pei default 3 if 64BIT && (!PAGE_SIZE_64KB || MIPS_VA_BITS_48) 3130a728ab52SKirill A. Shutemov default 2 3131a728ab52SKirill A. Shutemov 31326c359eb1SPaul Burtonconfig MIPS_AUTO_PFN_OFFSET 31336c359eb1SPaul Burton bool 31346c359eb1SPaul Burton 31351da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)" 31361da177e4SLinus Torvalds 3137c5611df9SPaul Burtonconfig PCI_DRIVERS_GENERIC 31382eac9c2dSChristoph Hellwig select PCI_DOMAINS_GENERIC if PCI 3139c5611df9SPaul Burton bool 3140c5611df9SPaul Burton 3141c5611df9SPaul Burtonconfig PCI_DRIVERS_LEGACY 3142c5611df9SPaul Burton def_bool !PCI_DRIVERS_GENERIC 3143c5611df9SPaul Burton select NO_GENERIC_PCI_IOPORT_MAP 31442eac9c2dSChristoph Hellwig select PCI_DOMAINS if PCI 31451da177e4SLinus Torvalds 31461da177e4SLinus Torvalds# 31471da177e4SLinus Torvalds# ISA support is now enabled via select. Too many systems still have the one 31481da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect 31491da177e4SLinus Torvalds# users to choose the right thing ... 31501da177e4SLinus Torvalds# 31511da177e4SLinus Torvaldsconfig ISA 31521da177e4SLinus Torvalds bool 31531da177e4SLinus Torvalds 31541da177e4SLinus Torvaldsconfig TC 31551da177e4SLinus Torvalds bool "TURBOchannel support" 31561da177e4SLinus Torvalds depends on MACH_DECSTATION 31571da177e4SLinus Torvalds help 315850a23e6eSJustin P. Mattock TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS 315950a23e6eSJustin P. Mattock processors. TURBOchannel programming specifications are available 316050a23e6eSJustin P. Mattock at: 316150a23e6eSJustin P. Mattock <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/> 316250a23e6eSJustin P. Mattock and: 316350a23e6eSJustin P. Mattock <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/> 316450a23e6eSJustin P. Mattock Linux driver support status is documented at: 316550a23e6eSJustin P. Mattock <http://www.linux-mips.org/wiki/DECstation> 31661da177e4SLinus Torvalds 31671da177e4SLinus Torvaldsconfig MMU 31681da177e4SLinus Torvalds bool 31691da177e4SLinus Torvalds default y 31701da177e4SLinus Torvalds 3171109c32ffSMatt Redfearnconfig ARCH_MMAP_RND_BITS_MIN 3172109c32ffSMatt Redfearn default 12 if 64BIT 3173109c32ffSMatt Redfearn default 8 3174109c32ffSMatt Redfearn 3175109c32ffSMatt Redfearnconfig ARCH_MMAP_RND_BITS_MAX 3176109c32ffSMatt Redfearn default 18 if 64BIT 3177109c32ffSMatt Redfearn default 15 3178109c32ffSMatt Redfearn 3179109c32ffSMatt Redfearnconfig ARCH_MMAP_RND_COMPAT_BITS_MIN 3180109c32ffSMatt Redfearn default 8 3181109c32ffSMatt Redfearn 3182109c32ffSMatt Redfearnconfig ARCH_MMAP_RND_COMPAT_BITS_MAX 3183109c32ffSMatt Redfearn default 15 3184109c32ffSMatt Redfearn 3185d865bea4SRalf Baechleconfig I8253 3186d865bea4SRalf Baechle bool 3187798778b8SRussell King select CLKSRC_I8253 31882d02612fSThomas Gleixner select CLKEVT_I8253 31899726b43aSWu Zhangjin select MIPS_EXTERNAL_TIMER 31901da177e4SLinus Torvaldsendmenu 31911da177e4SLinus Torvalds 31921da177e4SLinus Torvaldsconfig TRAD_SIGNALS 31931da177e4SLinus Torvalds bool 31941da177e4SLinus Torvalds 31951da177e4SLinus Torvaldsconfig MIPS32_COMPAT 319678aaf956SRalf Baechle bool 31971da177e4SLinus Torvalds 31981da177e4SLinus Torvaldsconfig COMPAT 31991da177e4SLinus Torvalds bool 32001da177e4SLinus Torvalds 32011da177e4SLinus Torvaldsconfig MIPS32_O32 32021da177e4SLinus Torvalds bool "Kernel support for o32 binaries" 320378aaf956SRalf Baechle depends on 64BIT 320478aaf956SRalf Baechle select ARCH_WANT_OLD_COMPAT_IPC 320578aaf956SRalf Baechle select COMPAT 320678aaf956SRalf Baechle select MIPS32_COMPAT 32071da177e4SLinus Torvalds help 32081da177e4SLinus Torvalds Select this option if you want to run o32 binaries. These are pure 32091da177e4SLinus Torvalds 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of 32101da177e4SLinus Torvalds existing binaries are in this format. 32111da177e4SLinus Torvalds 32121da177e4SLinus Torvalds If unsure, say Y. 32131da177e4SLinus Torvalds 32141da177e4SLinus Torvaldsconfig MIPS32_N32 32151da177e4SLinus Torvalds bool "Kernel support for n32 binaries" 3216c22eacfeSRalf Baechle depends on 64BIT 32175a9372f7SArnd Bergmann select ARCH_WANT_COMPAT_IPC_PARSE_VERSION 321878aaf956SRalf Baechle select COMPAT 321978aaf956SRalf Baechle select MIPS32_COMPAT 32201da177e4SLinus Torvalds help 32211da177e4SLinus Torvalds Select this option if you want to run n32 binaries. These are 32221da177e4SLinus Torvalds 64-bit binaries using 32-bit quantities for addressing and certain 32231da177e4SLinus Torvalds data that would normally be 64-bit. They are used in special 32241da177e4SLinus Torvalds cases. 32251da177e4SLinus Torvalds 32261da177e4SLinus Torvalds If unsure, say N. 32271da177e4SLinus Torvalds 3228d49fc692SNathan Chancellorconfig CC_HAS_MNO_BRANCH_LIKELY 3229d49fc692SNathan Chancellor def_bool y 3230d49fc692SNathan Chancellor depends on $(cc-option,-mno-branch-likely) 3231d49fc692SNathan Chancellor 32322116245eSRalf Baechlemenu "Power management options" 3233952fa954SRodolfo Giometti 3234363c55caSWu Zhangjinconfig ARCH_HIBERNATION_POSSIBLE 3235363c55caSWu Zhangjin def_bool y 32363f5b3e17SRalf Baechle depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP 3237363c55caSWu Zhangjin 3238f4cb5700SJohannes Bergconfig ARCH_SUSPEND_POSSIBLE 3239f4cb5700SJohannes Berg def_bool y 32403f5b3e17SRalf Baechle depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP 3241f4cb5700SJohannes Berg 32422116245eSRalf Baechlesource "kernel/power/Kconfig" 3243952fa954SRodolfo Giometti 32441da177e4SLinus Torvaldsendmenu 32451da177e4SLinus Torvalds 32467a998935SViresh Kumarconfig MIPS_EXTERNAL_TIMER 32477a998935SViresh Kumar bool 32487a998935SViresh Kumar 32497a998935SViresh Kumarmenu "CPU Power Management" 3250c095ebafSPaul Burton 3251c095ebafSPaul Burtonif CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER 32527a998935SViresh Kumarsource "drivers/cpufreq/Kconfig" 325331f12fdcSJuerg Haefligerendif # CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER 32549726b43aSWu Zhangjin 3255c095ebafSPaul Burtonsource "drivers/cpuidle/Kconfig" 3256c095ebafSPaul Burton 3257c095ebafSPaul Burtonendmenu 3258c095ebafSPaul Burton 32592235a54dSSanjay Lalsource "arch/mips/kvm/Kconfig" 3260e91946d6SNathan Chancellor 3261e91946d6SNathan Chancellorsource "arch/mips/vdso/Kconfig" 3262