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 496ca297d4SPeter Zijlstra select GUP_GET_PXX_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 5924a9c541SFrederic 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 1030bb87f05SAl Viro select ARCH_HAS_ELFCORE_COMPAT 104e0a8b93eSNemanja Rakovic select HAVE_ARCH_KCSAN if 64BIT 1051da177e4SLinus Torvalds 106d3991572SChristoph Hellwigconfig MIPS_FIXUP_BIGPHYS_ADDR 107d3991572SChristoph Hellwig bool 108d3991572SChristoph Hellwig 109c434b9f8SPaul Cercueilconfig MIPS_GENERIC 110c434b9f8SPaul Cercueil bool 111c434b9f8SPaul Cercueil 112f0f4a753SPaul Cercueilconfig MACH_INGENIC 113f0f4a753SPaul Cercueil bool 114f0f4a753SPaul Cercueil select SYS_SUPPORTS_32BIT_KERNEL 115f0f4a753SPaul Cercueil select SYS_SUPPORTS_LITTLE_ENDIAN 116f0f4a753SPaul Cercueil select SYS_SUPPORTS_ZBOOT 117f0f4a753SPaul Cercueil select DMA_NONCOHERENT 118f0f4a753SPaul Cercueil select IRQ_MIPS_CPU 119f0f4a753SPaul Cercueil select PINCTRL 120f0f4a753SPaul Cercueil select GPIOLIB 121f0f4a753SPaul Cercueil select COMMON_CLK 122f0f4a753SPaul Cercueil select GENERIC_IRQ_CHIP 123f0f4a753SPaul Cercueil select BUILTIN_DTB if MIPS_NO_APPENDED_DTB 124f0f4a753SPaul Cercueil select USE_OF 125f0f4a753SPaul Cercueil select CPU_SUPPORTS_CPUFREQ 126f0f4a753SPaul Cercueil select MIPS_EXTERNAL_TIMER 127f0f4a753SPaul Cercueil 1281da177e4SLinus Torvaldsmenu "Machine selection" 1291da177e4SLinus Torvalds 1305e83d430SRalf Baechlechoice 1315e83d430SRalf Baechle prompt "System type" 132c434b9f8SPaul Cercueil default MIPS_GENERIC_KERNEL 1331da177e4SLinus Torvalds 134c434b9f8SPaul Cercueilconfig MIPS_GENERIC_KERNEL 135eed0eabdSPaul Burton bool "Generic board-agnostic MIPS kernel" 136c434b9f8SPaul Cercueil select MIPS_GENERIC 137eed0eabdSPaul Burton select BOOT_RAW 138eed0eabdSPaul Burton select BUILTIN_DTB 139eed0eabdSPaul Burton select CEVT_R4K 140eed0eabdSPaul Burton select CLKSRC_MIPS_GIC 141eed0eabdSPaul Burton select COMMON_CLK 142eed0eabdSPaul Burton select CPU_MIPSR2_IRQ_EI 14334c01e41SAlexander Lobakin select CPU_MIPSR2_IRQ_VI 144eed0eabdSPaul Burton select CSRC_R4K 1454e066441SChristoph Hellwig select DMA_NONCOHERENT 146eb01d42aSChristoph Hellwig select HAVE_PCI 147eed0eabdSPaul Burton select IRQ_MIPS_CPU 1480211d49eSPaul Burton select MIPS_AUTO_PFN_OFFSET 149eed0eabdSPaul Burton select MIPS_CPU_SCACHE 150eed0eabdSPaul Burton select MIPS_GIC 151eed0eabdSPaul Burton select MIPS_L1_CACHE_SHIFT_7 152eed0eabdSPaul Burton select NO_EXCEPT_FILL 153eed0eabdSPaul Burton select PCI_DRIVERS_GENERIC 154eed0eabdSPaul Burton select SMP_UP if SMP 155a3078e59SMatt Redfearn select SWAP_IO_SPACE 156*de340077SJiaxun Yang select SYS_HAS_CPU_CAVIUM_OCTEON 157*de340077SJiaxun Yang select SYS_HAS_CPU_LOONGSON2E 158*de340077SJiaxun Yang select SYS_HAS_CPU_LOONGSON2F 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 165*de340077SJiaxun Yang select SYS_HAS_CPU_R4X00 166eed0eabdSPaul Burton select SYS_SUPPORTS_32BIT_KERNEL 167eed0eabdSPaul Burton select SYS_SUPPORTS_64BIT_KERNEL 168eed0eabdSPaul Burton select SYS_SUPPORTS_BIG_ENDIAN 169eed0eabdSPaul Burton select SYS_SUPPORTS_HIGHMEM 170eed0eabdSPaul Burton select SYS_SUPPORTS_LITTLE_ENDIAN 171eed0eabdSPaul Burton select SYS_SUPPORTS_MICROMIPS 172eed0eabdSPaul Burton select SYS_SUPPORTS_MIPS16 17334c01e41SAlexander Lobakin select SYS_SUPPORTS_MIPS_CPS 174eed0eabdSPaul Burton select SYS_SUPPORTS_MULTITHREADING 175eed0eabdSPaul Burton select SYS_SUPPORTS_RELOCATABLE 176eed0eabdSPaul Burton select SYS_SUPPORTS_SMARTMIPS 177c3e2ee65SPaul Cercueil select SYS_SUPPORTS_ZBOOT 17834c01e41SAlexander Lobakin select UHI_BOOT 1792e6522c5SCorentin Labbe select USB_EHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN 1802e6522c5SCorentin Labbe select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 1812e6522c5SCorentin Labbe select USB_OHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN 1822e6522c5SCorentin Labbe select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 1832e6522c5SCorentin Labbe select USB_UHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN 1842e6522c5SCorentin Labbe select USB_UHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 185eed0eabdSPaul Burton select USE_OF 186eed0eabdSPaul Burton help 187eed0eabdSPaul Burton Select this to build a kernel which aims to support multiple boards, 188eed0eabdSPaul Burton generally using a flattened device tree passed from the bootloader 189eed0eabdSPaul Burton using the boot protocol defined in the UHI (Unified Hosting 190eed0eabdSPaul Burton Interface) specification. 191eed0eabdSPaul Burton 19242a4f17dSManuel Laussconfig MIPS_ALCHEMY 193c3543e25SYoichi Yuasa bool "Alchemy processor based machines" 194d4a451d5SChristoph Hellwig select PHYS_ADDR_T_64BIT 195f772cdb2SRalf Baechle select CEVT_R4K 196d7ea335cSSteven J. Hill select CSRC_R4K 19767e38cf2SRalf Baechle select IRQ_MIPS_CPU 198a86497d6SChristoph Hellwig select DMA_NONCOHERENT # Au1000,1500,1100 aren't, rest is 199d3991572SChristoph Hellwig select MIPS_FIXUP_BIGPHYS_ADDR if PCI 20042a4f17dSManuel Lauss select SYS_HAS_CPU_MIPS32_R1 20142a4f17dSManuel Lauss select SYS_SUPPORTS_32BIT_KERNEL 20242a4f17dSManuel Lauss select SYS_SUPPORTS_APM_EMULATION 203d30a2b47SLinus Walleij select GPIOLIB 2041b93b3c3SWu Zhangjin select SYS_SUPPORTS_ZBOOT 20547440229SManuel Lauss select COMMON_CLK 2061da177e4SLinus Torvalds 2077ca5dc14SFlorian Fainelliconfig AR7 2087ca5dc14SFlorian Fainelli bool "Texas Instruments AR7" 2097ca5dc14SFlorian Fainelli select BOOT_ELF32 210b408b611SArnd Bergmann select COMMON_CLK 2117ca5dc14SFlorian Fainelli select DMA_NONCOHERENT 2127ca5dc14SFlorian Fainelli select CEVT_R4K 2137ca5dc14SFlorian Fainelli select CSRC_R4K 21467e38cf2SRalf Baechle select IRQ_MIPS_CPU 2157ca5dc14SFlorian Fainelli select NO_EXCEPT_FILL 2167ca5dc14SFlorian Fainelli select SWAP_IO_SPACE 2177ca5dc14SFlorian Fainelli select SYS_HAS_CPU_MIPS32_R1 2187ca5dc14SFlorian Fainelli select SYS_HAS_EARLY_PRINTK 2197ca5dc14SFlorian Fainelli select SYS_SUPPORTS_32BIT_KERNEL 2207ca5dc14SFlorian Fainelli select SYS_SUPPORTS_LITTLE_ENDIAN 221377cb1b6SRalf Baechle select SYS_SUPPORTS_MIPS16 2221b93b3c3SWu Zhangjin select SYS_SUPPORTS_ZBOOT_UART16550 223d30a2b47SLinus Walleij select GPIOLIB 2247ca5dc14SFlorian Fainelli select VLYNQ 2257ca5dc14SFlorian Fainelli help 2267ca5dc14SFlorian Fainelli Support for the Texas Instruments AR7 System-on-a-Chip 2277ca5dc14SFlorian Fainelli family: TNETD7100, 7200 and 7300. 2287ca5dc14SFlorian Fainelli 22943cc739fSSergey Ryazanovconfig ATH25 23043cc739fSSergey Ryazanov bool "Atheros AR231x/AR531x SoC support" 23143cc739fSSergey Ryazanov select CEVT_R4K 23243cc739fSSergey Ryazanov select CSRC_R4K 23343cc739fSSergey Ryazanov select DMA_NONCOHERENT 23467e38cf2SRalf Baechle select IRQ_MIPS_CPU 2351753e74eSSergey Ryazanov select IRQ_DOMAIN 23643cc739fSSergey Ryazanov select SYS_HAS_CPU_MIPS32_R1 23743cc739fSSergey Ryazanov select SYS_SUPPORTS_BIG_ENDIAN 23843cc739fSSergey Ryazanov select SYS_SUPPORTS_32BIT_KERNEL 2398aaa7278SSergey Ryazanov select SYS_HAS_EARLY_PRINTK 24043cc739fSSergey Ryazanov help 24143cc739fSSergey Ryazanov Support for Atheros AR231x and Atheros AR531x based boards 24243cc739fSSergey Ryazanov 243d4a67d9dSGabor Juhosconfig ATH79 244d4a67d9dSGabor Juhos bool "Atheros AR71XX/AR724X/AR913X based boards" 245ff591a91SAlban Bedel select ARCH_HAS_RESET_CONTROLLER 246d4a67d9dSGabor Juhos select BOOT_RAW 247d4a67d9dSGabor Juhos select CEVT_R4K 248d4a67d9dSGabor Juhos select CSRC_R4K 249d4a67d9dSGabor Juhos select DMA_NONCOHERENT 250d30a2b47SLinus Walleij select GPIOLIB 251a08227a2SJohn Crispin select PINCTRL 252411520afSAlban Bedel select COMMON_CLK 25367e38cf2SRalf Baechle select IRQ_MIPS_CPU 254d4a67d9dSGabor Juhos select SYS_HAS_CPU_MIPS32_R2 255d4a67d9dSGabor Juhos select SYS_HAS_EARLY_PRINTK 256d4a67d9dSGabor Juhos select SYS_SUPPORTS_32BIT_KERNEL 257d4a67d9dSGabor Juhos select SYS_SUPPORTS_BIG_ENDIAN 258377cb1b6SRalf Baechle select SYS_SUPPORTS_MIPS16 259b3f0a250SAlban Bedel select SYS_SUPPORTS_ZBOOT_UART_PROM 26003c8c407SAlban Bedel select USE_OF 26153d473fcSAlban Bedel select USB_EHCI_ROOT_HUB_TT if USB_EHCI_HCD_PLATFORM 262d4a67d9dSGabor Juhos help 263d4a67d9dSGabor Juhos Support for the Atheros AR71XX/AR724X/AR913X SoCs. 264d4a67d9dSGabor Juhos 2655f2d4459SKevin Cernekeeconfig BMIPS_GENERIC 2665f2d4459SKevin Cernekee bool "Broadcom Generic BMIPS kernel" 26729906e1aSÁlvaro Fernández Rojas select ARCH_HAS_RESET_CONTROLLER 268d59098a0SChristoph Hellwig select ARCH_HAS_SYNC_DMA_FOR_CPU_ALL 269d666cd02SKevin Cernekee select BOOT_RAW 270d666cd02SKevin Cernekee select NO_EXCEPT_FILL 271d666cd02SKevin Cernekee select USE_OF 272d666cd02SKevin Cernekee select CEVT_R4K 273d666cd02SKevin Cernekee select CSRC_R4K 274d666cd02SKevin Cernekee select SYNC_R4K 275d666cd02SKevin Cernekee select COMMON_CLK 276c7c42ec2SSimon Arlott select BCM6345_L1_IRQ 27760b858f2SKevin Cernekee select BCM7038_L1_IRQ 27860b858f2SKevin Cernekee select BCM7120_L2_IRQ 27960b858f2SKevin Cernekee select BRCMSTB_L2_IRQ 28067e38cf2SRalf Baechle select IRQ_MIPS_CPU 28160b858f2SKevin Cernekee select DMA_NONCOHERENT 282d666cd02SKevin Cernekee select SYS_SUPPORTS_32BIT_KERNEL 28360b858f2SKevin Cernekee select SYS_SUPPORTS_LITTLE_ENDIAN 284d666cd02SKevin Cernekee select SYS_SUPPORTS_BIG_ENDIAN 285d666cd02SKevin Cernekee select SYS_SUPPORTS_HIGHMEM 28660b858f2SKevin Cernekee select SYS_HAS_CPU_BMIPS32_3300 28760b858f2SKevin Cernekee select SYS_HAS_CPU_BMIPS4350 28860b858f2SKevin Cernekee select SYS_HAS_CPU_BMIPS4380 289d666cd02SKevin Cernekee select SYS_HAS_CPU_BMIPS5000 290d666cd02SKevin Cernekee select SWAP_IO_SPACE 29160b858f2SKevin Cernekee select USB_EHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN 29260b858f2SKevin Cernekee select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 29360b858f2SKevin Cernekee select USB_OHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN 29460b858f2SKevin Cernekee select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 2954dc4704cSJustin Chen select HARDIRQS_SW_RESEND 2961d987052SFlorian Fainelli select HAVE_PCI 2971d987052SFlorian Fainelli select PCI_DRIVERS_GENERIC 298466ab2eaSFlorian Fainelli select FW_CFE 299d666cd02SKevin Cernekee help 3005f2d4459SKevin Cernekee Build a generic DT-based kernel image that boots on select 3015f2d4459SKevin Cernekee BCM33xx cable modem chips, BCM63xx DSL chips, and BCM7xxx set-top 3025f2d4459SKevin Cernekee box chips. Note that CONFIG_CPU_BIG_ENDIAN/CONFIG_CPU_LITTLE_ENDIAN 3035f2d4459SKevin Cernekee must be set appropriately for your board. 304d666cd02SKevin Cernekee 3051c0c13ebSAurelien Jarnoconfig BCM47XX 306c619366eSFlorian Fainelli bool "Broadcom BCM47XX based boards" 307fe08f8c2SHauke Mehrtens select BOOT_RAW 30842f77542SRalf Baechle select CEVT_R4K 309940f6b48SRalf Baechle select CSRC_R4K 3101c0c13ebSAurelien Jarno select DMA_NONCOHERENT 311eb01d42aSChristoph Hellwig select HAVE_PCI 31267e38cf2SRalf Baechle select IRQ_MIPS_CPU 313314878d2SMarkos Chandras select SYS_HAS_CPU_MIPS32_R1 314dd54deddSHauke Mehrtens select NO_EXCEPT_FILL 3151c0c13ebSAurelien Jarno select SYS_SUPPORTS_32BIT_KERNEL 3161c0c13ebSAurelien Jarno select SYS_SUPPORTS_LITTLE_ENDIAN 317377cb1b6SRalf Baechle select SYS_SUPPORTS_MIPS16 3186507831fSAaro Koskinen select SYS_SUPPORTS_ZBOOT 31925e5fb97SAurelien Jarno select SYS_HAS_EARLY_PRINTK 320e6086557SRalf Baechle select USE_GENERIC_EARLY_PRINTK_8250 321c949c0bcSRafał Miłecki select GPIOLIB 322c949c0bcSRafał Miłecki select LEDS_GPIO_REGISTER 323f6e734a8SRafał Miłecki select BCM47XX_NVRAM 3242ab71a02SRafał Miłecki select BCM47XX_SPROM 325dfe00495SMatt Redfearn select BCM47XX_SSB if !BCM47XX_BCMA 3261c0c13ebSAurelien Jarno help 3271c0c13ebSAurelien Jarno Support for BCM47XX based boards 3281c0c13ebSAurelien Jarno 329e7300d04SMaxime Bizonconfig BCM63XX 330e7300d04SMaxime Bizon bool "Broadcom BCM63XX based boards" 331ae8de61cSFlorian Fainelli select BOOT_RAW 332e7300d04SMaxime Bizon select CEVT_R4K 333e7300d04SMaxime Bizon select CSRC_R4K 334fc264022SJonas Gorski select SYNC_R4K 335e7300d04SMaxime Bizon select DMA_NONCOHERENT 33667e38cf2SRalf Baechle select IRQ_MIPS_CPU 337e7300d04SMaxime Bizon select SYS_SUPPORTS_32BIT_KERNEL 338e7300d04SMaxime Bizon select SYS_SUPPORTS_BIG_ENDIAN 339e7300d04SMaxime Bizon select SYS_HAS_EARLY_PRINTK 3405eeaafc8SRandy Dunlap select SYS_HAS_CPU_BMIPS32_3300 3415eeaafc8SRandy Dunlap select SYS_HAS_CPU_BMIPS4350 3425eeaafc8SRandy Dunlap select SYS_HAS_CPU_BMIPS4380 343e7300d04SMaxime Bizon select SWAP_IO_SPACE 344d30a2b47SLinus Walleij select GPIOLIB 345af2418beSFlorian Fainelli select MIPS_L1_CACHE_SHIFT_4 346bbd7ffdbSStephen Boyd select HAVE_LEGACY_CLK 347e7300d04SMaxime Bizon help 348e7300d04SMaxime Bizon Support for BCM63XX based boards 349e7300d04SMaxime Bizon 3501da177e4SLinus Torvaldsconfig MIPS_COBALT 3513fa986faSMartin Michlmayr bool "Cobalt Server" 35242f77542SRalf Baechle select CEVT_R4K 353940f6b48SRalf Baechle select CSRC_R4K 3541097c6acSYoichi Yuasa select CEVT_GT641XX 3551da177e4SLinus Torvalds select DMA_NONCOHERENT 356eb01d42aSChristoph Hellwig select FORCE_PCI 357d865bea4SRalf Baechle select I8253 3581da177e4SLinus Torvalds select I8259 35967e38cf2SRalf Baechle select IRQ_MIPS_CPU 360d5ab1a69SYoichi Yuasa select IRQ_GT641XX 361252161ecSYoichi Yuasa select PCI_GT64XXX_PCI0 3627cf8053bSRalf Baechle select SYS_HAS_CPU_NEVADA 3630a22e0d4SYoichi Yuasa select SYS_HAS_EARLY_PRINTK 364ed5ba2fbSYoichi Yuasa select SYS_SUPPORTS_32BIT_KERNEL 3650e8774b6SFlorian Fainelli select SYS_SUPPORTS_64BIT_KERNEL 3665e83d430SRalf Baechle select SYS_SUPPORTS_LITTLE_ENDIAN 367e6086557SRalf Baechle select USE_GENERIC_EARLY_PRINTK_8250 3681da177e4SLinus Torvalds 3691da177e4SLinus Torvaldsconfig MACH_DECSTATION 3703fa986faSMartin Michlmayr bool "DECstations" 3711da177e4SLinus Torvalds select BOOT_ELF32 3726457d9fcSYoichi Yuasa select CEVT_DS1287 37381d10badSMaciej W. Rozycki select CEVT_R4K if CPU_R4X00 3744247417dSYoichi Yuasa select CSRC_IOASIC 37581d10badSMaciej W. Rozycki select CSRC_R4K if CPU_R4X00 37620d60d99SMaciej W. Rozycki select CPU_DADDI_WORKAROUNDS if 64BIT 37720d60d99SMaciej W. Rozycki select CPU_R4000_WORKAROUNDS if 64BIT 37820d60d99SMaciej W. Rozycki select CPU_R4400_WORKAROUNDS if 64BIT 3791da177e4SLinus Torvalds select DMA_NONCOHERENT 380ce816fa8SUwe Kleine-König select NO_IOPORT_MAP 38167e38cf2SRalf Baechle select IRQ_MIPS_CPU 3827cf8053bSRalf Baechle select SYS_HAS_CPU_R3000 3837cf8053bSRalf Baechle select SYS_HAS_CPU_R4X00 384ed5ba2fbSYoichi Yuasa select SYS_SUPPORTS_32BIT_KERNEL 3857d60717eSKees Cook select SYS_SUPPORTS_64BIT_KERNEL 3865e83d430SRalf Baechle select SYS_SUPPORTS_LITTLE_ENDIAN 3871723b4a3SAtsushi Nemoto select SYS_SUPPORTS_128HZ 3881723b4a3SAtsushi Nemoto select SYS_SUPPORTS_256HZ 3891723b4a3SAtsushi Nemoto select SYS_SUPPORTS_1024HZ 390930beb5aSFlorian Fainelli select MIPS_L1_CACHE_SHIFT_4 3915e83d430SRalf Baechle help 3921da177e4SLinus Torvalds This enables support for DEC's MIPS based workstations. For details 3931da177e4SLinus Torvalds see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the 3941da177e4SLinus Torvalds DECstation porting pages on <http://decstation.unix-ag.org/>. 3951da177e4SLinus Torvalds 3961da177e4SLinus Torvalds If you have one of the following DECstation Models you definitely 3971da177e4SLinus Torvalds want to choose R4xx0 for the CPU Type: 3981da177e4SLinus Torvalds 3991da177e4SLinus Torvalds DECstation 5000/50 4001da177e4SLinus Torvalds DECstation 5000/150 4011da177e4SLinus Torvalds DECstation 5000/260 4021da177e4SLinus Torvalds DECsystem 5900/260 4031da177e4SLinus Torvalds 4041da177e4SLinus Torvalds otherwise choose R3000. 4051da177e4SLinus Torvalds 4065e83d430SRalf Baechleconfig MACH_JAZZ 4073fa986faSMartin Michlmayr bool "Jazz family of machines" 40839b2d756SThomas Bogendoerfer select ARC_MEMORY 40939b2d756SThomas Bogendoerfer select ARC_PROMLIB 410a211a082SRalf Baechle select ARCH_MIGHT_HAVE_PC_PARPORT 4117a407aa5SRalf Baechle select ARCH_MIGHT_HAVE_PC_SERIO 4122f9237d4SChristoph Hellwig select DMA_OPS 4130e2794b0SRalf Baechle select FW_ARC 4140e2794b0SRalf Baechle select FW_ARC32 4155e83d430SRalf Baechle select ARCH_MAY_HAVE_PC_FDC 41642f77542SRalf Baechle select CEVT_R4K 417940f6b48SRalf Baechle select CSRC_R4K 418e2defae5SThomas Bogendoerfer select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN 4195e83d430SRalf Baechle select GENERIC_ISA_DMA 4208a118c38SRalf Baechle select HAVE_PCSPKR_PLATFORM 42167e38cf2SRalf Baechle select IRQ_MIPS_CPU 422d865bea4SRalf Baechle select I8253 4235e83d430SRalf Baechle select I8259 4245e83d430SRalf Baechle select ISA 4257cf8053bSRalf Baechle select SYS_HAS_CPU_R4X00 4265e83d430SRalf Baechle select SYS_SUPPORTS_32BIT_KERNEL 4277d60717eSKees Cook select SYS_SUPPORTS_64BIT_KERNEL 4281723b4a3SAtsushi Nemoto select SYS_SUPPORTS_100HZ 429aadfe4b5SArnd Bergmann select SYS_SUPPORTS_LITTLE_ENDIAN 4301da177e4SLinus Torvalds help 4315e83d430SRalf Baechle This a family of machines based on the MIPS R4030 chipset which was 4325e83d430SRalf Baechle used by several vendors to build RISC/os and Windows NT workstations. 433692105b8SMatt LaPlante Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and 4345e83d430SRalf Baechle Olivetti M700-10 workstations. 4355e83d430SRalf Baechle 436f0f4a753SPaul Cercueilconfig MACH_INGENIC_SOC 437de361e8bSPaul Burton bool "Ingenic SoC based machines" 438f0f4a753SPaul Cercueil select MIPS_GENERIC 439f0f4a753SPaul Cercueil select MACH_INGENIC 440f9c9affcSLluís Batlle i Rossell select SYS_SUPPORTS_ZBOOT_UART16550 441eb384937SPaul Cercueil select CPU_SUPPORTS_CPUFREQ 442eb384937SPaul Cercueil select MIPS_EXTERNAL_TIMER 4435ebabe59SLars-Peter Clausen 444171bb2f1SJohn Crispinconfig LANTIQ 445171bb2f1SJohn Crispin bool "Lantiq based platforms" 446171bb2f1SJohn Crispin select DMA_NONCOHERENT 44767e38cf2SRalf Baechle select IRQ_MIPS_CPU 448171bb2f1SJohn Crispin select CEVT_R4K 449171bb2f1SJohn Crispin select CSRC_R4K 450b74cc639SSander Vanheule select NO_EXCEPT_FILL 451171bb2f1SJohn Crispin select SYS_HAS_CPU_MIPS32_R1 452171bb2f1SJohn Crispin select SYS_HAS_CPU_MIPS32_R2 453171bb2f1SJohn Crispin select SYS_SUPPORTS_BIG_ENDIAN 454171bb2f1SJohn Crispin select SYS_SUPPORTS_32BIT_KERNEL 455377cb1b6SRalf Baechle select SYS_SUPPORTS_MIPS16 456171bb2f1SJohn Crispin select SYS_SUPPORTS_MULTITHREADING 457f35764e7SJames Hogan select SYS_SUPPORTS_VPE_LOADER 458171bb2f1SJohn Crispin select SYS_HAS_EARLY_PRINTK 459d30a2b47SLinus Walleij select GPIOLIB 460171bb2f1SJohn Crispin select SWAP_IO_SPACE 461171bb2f1SJohn Crispin select BOOT_RAW 462bbd7ffdbSStephen Boyd select HAVE_LEGACY_CLK 463a0392222SJohn Crispin select USE_OF 4643f8c50c9SJohn Crispin select PINCTRL 4653f8c50c9SJohn Crispin select PINCTRL_LANTIQ 466c530781cSJohn Crispin select ARCH_HAS_RESET_CONTROLLER 467c530781cSJohn Crispin select RESET_CONTROLLER 468171bb2f1SJohn Crispin 46930ad29bbSHuacai Chenconfig MACH_LOONGSON32 470caed1d1bSHuacai Chen bool "Loongson 32-bit family of machines" 471c7e8c668SWu Zhangjin select SYS_SUPPORTS_ZBOOT 472ade299d8SYoichi Yuasa help 47330ad29bbSHuacai Chen This enables support for the Loongson-1 family of machines. 47485749d24SWu Zhangjin 47530ad29bbSHuacai Chen Loongson-1 is a family of 32-bit MIPS-compatible SoCs developed by 47630ad29bbSHuacai Chen the Institute of Computing Technology (ICT), Chinese Academy of 47730ad29bbSHuacai Chen Sciences (CAS). 478ade299d8SYoichi Yuasa 47971e2f4ddSJiaxun Yangconfig MACH_LOONGSON2EF 48071e2f4ddSJiaxun Yang bool "Loongson-2E/F family of machines" 481ca585cf9SKelvin Cheung select SYS_SUPPORTS_ZBOOT 482ca585cf9SKelvin Cheung help 48371e2f4ddSJiaxun Yang This enables the support of early Loongson-2E/F family of machines. 484ca585cf9SKelvin Cheung 48571e2f4ddSJiaxun Yangconfig MACH_LOONGSON64 486caed1d1bSHuacai Chen bool "Loongson 64-bit family of machines" 4876fbde6b4SJiaxun Yang select ARCH_SPARSEMEM_ENABLE 4886fbde6b4SJiaxun Yang select ARCH_MIGHT_HAVE_PC_PARPORT 4896fbde6b4SJiaxun Yang select ARCH_MIGHT_HAVE_PC_SERIO 4906fbde6b4SJiaxun Yang select GENERIC_ISA_DMA_SUPPORT_BROKEN 4916fbde6b4SJiaxun Yang select BOOT_ELF32 4926fbde6b4SJiaxun Yang select BOARD_SCACHE 4936fbde6b4SJiaxun Yang select CSRC_R4K 4946fbde6b4SJiaxun Yang select CEVT_R4K 4956fbde6b4SJiaxun Yang select FORCE_PCI 4966fbde6b4SJiaxun Yang select ISA 4976fbde6b4SJiaxun Yang select I8259 4986fbde6b4SJiaxun Yang select IRQ_MIPS_CPU 4997d6d2837SJiaxun Yang select NO_EXCEPT_FILL 5005125bfeeSTiezhu Yang select NR_CPUS_DEFAULT_64 5016fbde6b4SJiaxun Yang select USE_GENERIC_EARLY_PRINTK_8250 5026423e59aSJiaxun Yang select PCI_DRIVERS_GENERIC 5036fbde6b4SJiaxun Yang select SYS_HAS_CPU_LOONGSON64 5046fbde6b4SJiaxun Yang select SYS_HAS_EARLY_PRINTK 5056fbde6b4SJiaxun Yang select SYS_SUPPORTS_SMP 5066fbde6b4SJiaxun Yang select SYS_SUPPORTS_HOTPLUG_CPU 5076fbde6b4SJiaxun Yang select SYS_SUPPORTS_NUMA 5086fbde6b4SJiaxun Yang select SYS_SUPPORTS_64BIT_KERNEL 5096fbde6b4SJiaxun Yang select SYS_SUPPORTS_HIGHMEM 5106fbde6b4SJiaxun Yang select SYS_SUPPORTS_LITTLE_ENDIAN 51171e2f4ddSJiaxun Yang select SYS_SUPPORTS_ZBOOT 512a307a4ceSJinyang He select SYS_SUPPORTS_RELOCATABLE 5136fbde6b4SJiaxun Yang select ZONE_DMA32 51487fcfa7bSJiaxun Yang select COMMON_CLK 51587fcfa7bSJiaxun Yang select USE_OF 51687fcfa7bSJiaxun Yang select BUILTIN_DTB 51739c1485cSHuacai Chen select PCI_HOST_GENERIC 518f8f9f21cSFeiyang Chen select HAVE_ARCH_NODEDATA_EXTENSION if NUMA 51971e2f4ddSJiaxun Yang help 520caed1d1bSHuacai Chen This enables the support of Loongson-2/3 family of machines. 521caed1d1bSHuacai Chen 522caed1d1bSHuacai Chen Loongson-2 and Loongson-3 are 64-bit general-purpose processors with 523caed1d1bSHuacai Chen GS264/GS464/GS464E/GS464V microarchitecture (except old Loongson-2E 524caed1d1bSHuacai Chen and Loongson-2F which will be removed), developed by the Institute 525caed1d1bSHuacai Chen of Computing Technology (ICT), Chinese Academy of Sciences (CAS). 526ca585cf9SKelvin Cheung 5271da177e4SLinus Torvaldsconfig MIPS_MALTA 5283fa986faSMartin Michlmayr bool "MIPS Malta board" 52961ed242dSRalf Baechle select ARCH_MAY_HAVE_PC_FDC 530a211a082SRalf Baechle select ARCH_MIGHT_HAVE_PC_PARPORT 5317a407aa5SRalf Baechle select ARCH_MIGHT_HAVE_PC_SERIO 5321da177e4SLinus Torvalds select BOOT_ELF32 533fa71c960SRalf Baechle select BOOT_RAW 534e8823d26SPaul Burton select BUILTIN_DTB 53542f77542SRalf Baechle select CEVT_R4K 536fa5635a2SAndrew Bresticker select CLKSRC_MIPS_GIC 53742b002abSGuenter Roeck select COMMON_CLK 53847bf2b03SMaksym Kokhan select CSRC_R4K 539a86497d6SChristoph Hellwig select DMA_NONCOHERENT 5401da177e4SLinus Torvalds select GENERIC_ISA_DMA 5418a118c38SRalf Baechle select HAVE_PCSPKR_PLATFORM 542eb01d42aSChristoph Hellwig select HAVE_PCI 543d865bea4SRalf Baechle select I8253 5441da177e4SLinus Torvalds select I8259 54547bf2b03SMaksym Kokhan select IRQ_MIPS_CPU 5465e83d430SRalf Baechle select MIPS_BONITO64 5479318c51aSChris Dearman select MIPS_CPU_SCACHE 54847bf2b03SMaksym Kokhan select MIPS_GIC 549a7ef1eadSKevin Cernekee select MIPS_L1_CACHE_SHIFT_6 5505e83d430SRalf Baechle select MIPS_MSC 55147bf2b03SMaksym Kokhan select PCI_GT64XXX_PCI0 552ecafe3e9SPaul Burton select SMP_UP if SMP 5531da177e4SLinus Torvalds select SWAP_IO_SPACE 5547cf8053bSRalf Baechle select SYS_HAS_CPU_MIPS32_R1 5557cf8053bSRalf Baechle select SYS_HAS_CPU_MIPS32_R2 556bfc3c5a6SMarkos Chandras select SYS_HAS_CPU_MIPS32_R3_5 557c5b36783SSteven J. Hill select SYS_HAS_CPU_MIPS32_R5 558575509b6SMarkos Chandras select SYS_HAS_CPU_MIPS32_R6 5597cf8053bSRalf Baechle select SYS_HAS_CPU_MIPS64_R1 5605d9fbed1SLeonid Yegoshin select SYS_HAS_CPU_MIPS64_R2 561575509b6SMarkos Chandras select SYS_HAS_CPU_MIPS64_R6 5627cf8053bSRalf Baechle select SYS_HAS_CPU_NEVADA 5637cf8053bSRalf Baechle select SYS_HAS_CPU_RM7000 564ed5ba2fbSYoichi Yuasa select SYS_SUPPORTS_32BIT_KERNEL 565ed5ba2fbSYoichi Yuasa select SYS_SUPPORTS_64BIT_KERNEL 5665e83d430SRalf Baechle select SYS_SUPPORTS_BIG_ENDIAN 567c5b36783SSteven J. Hill select SYS_SUPPORTS_HIGHMEM 5685e83d430SRalf Baechle select SYS_SUPPORTS_LITTLE_ENDIAN 569424ebcdfSMaciej W. Rozycki select SYS_SUPPORTS_MICROMIPS 57047bf2b03SMaksym Kokhan select SYS_SUPPORTS_MIPS16 5710365070fSTim Anderson select SYS_SUPPORTS_MIPS_CMP 572e56b6aa6SPaul Burton select SYS_SUPPORTS_MIPS_CPS 573f41ae0b2SRalf Baechle select SYS_SUPPORTS_MULTITHREADING 57447bf2b03SMaksym Kokhan select SYS_SUPPORTS_RELOCATABLE 5759693a853SFranck Bui-Huu select SYS_SUPPORTS_SMARTMIPS 576f35764e7SJames Hogan select SYS_SUPPORTS_VPE_LOADER 5771b93b3c3SWu Zhangjin select SYS_SUPPORTS_ZBOOT 578e8823d26SPaul Burton select USE_OF 579886ee136SThomas Bogendoerfer select WAR_ICACHE_REFILLS 580abcc82b1SJames Hogan select ZONE_DMA32 if 64BIT 5811da177e4SLinus Torvalds help 582f638d197SMaciej W. Rozycki This enables support for the MIPS Technologies Malta evaluation 5831da177e4SLinus Torvalds board. 5841da177e4SLinus Torvalds 5852572f00dSJoshua Hendersonconfig MACH_PIC32 5862572f00dSJoshua Henderson bool "Microchip PIC32 Family" 5872572f00dSJoshua Henderson help 5882572f00dSJoshua Henderson This enables support for the Microchip PIC32 family of platforms. 5892572f00dSJoshua Henderson 5902572f00dSJoshua Henderson Microchip PIC32 is a family of general-purpose 32 bit MIPS core 5912572f00dSJoshua Henderson microcontrollers. 5922572f00dSJoshua Henderson 593baec970aSLauri Kasanenconfig MACH_NINTENDO64 594baec970aSLauri Kasanen bool "Nintendo 64 console" 595baec970aSLauri Kasanen select CEVT_R4K 596baec970aSLauri Kasanen select CSRC_R4K 597baec970aSLauri Kasanen select SYS_HAS_CPU_R4300 598baec970aSLauri Kasanen select SYS_SUPPORTS_BIG_ENDIAN 599baec970aSLauri Kasanen select SYS_SUPPORTS_ZBOOT 600baec970aSLauri Kasanen select SYS_SUPPORTS_32BIT_KERNEL 601baec970aSLauri Kasanen select SYS_SUPPORTS_64BIT_KERNEL 602baec970aSLauri Kasanen select DMA_NONCOHERENT 603baec970aSLauri Kasanen select IRQ_MIPS_CPU 604baec970aSLauri Kasanen 605ae2b5bb6SJohn Crispinconfig RALINK 606ae2b5bb6SJohn Crispin bool "Ralink based machines" 607ae2b5bb6SJohn Crispin select CEVT_R4K 60835f752beSArnd Bergmann select COMMON_CLK 609ae2b5bb6SJohn Crispin select CSRC_R4K 610ae2b5bb6SJohn Crispin select BOOT_RAW 611ae2b5bb6SJohn Crispin select DMA_NONCOHERENT 61267e38cf2SRalf Baechle select IRQ_MIPS_CPU 613ae2b5bb6SJohn Crispin select USE_OF 614ae2b5bb6SJohn Crispin select SYS_HAS_CPU_MIPS32_R2 615ae2b5bb6SJohn Crispin select SYS_SUPPORTS_32BIT_KERNEL 616ae2b5bb6SJohn Crispin select SYS_SUPPORTS_LITTLE_ENDIAN 617377cb1b6SRalf Baechle select SYS_SUPPORTS_MIPS16 6181f0400d0SChuanhong Guo select SYS_SUPPORTS_ZBOOT 619ae2b5bb6SJohn Crispin select SYS_HAS_EARLY_PRINTK 6202a153f1cSJohn Crispin select ARCH_HAS_RESET_CONTROLLER 6212a153f1cSJohn Crispin select RESET_CONTROLLER 622ae2b5bb6SJohn Crispin 6234042147aSBert Vermeulenconfig MACH_REALTEK_RTL 6244042147aSBert Vermeulen bool "Realtek RTL838x/RTL839x based machines" 6254042147aSBert Vermeulen select MIPS_GENERIC 6264042147aSBert Vermeulen select DMA_NONCOHERENT 6274042147aSBert Vermeulen select IRQ_MIPS_CPU 6284042147aSBert Vermeulen select CSRC_R4K 6294042147aSBert Vermeulen select CEVT_R4K 6304042147aSBert Vermeulen select SYS_HAS_CPU_MIPS32_R1 6314042147aSBert Vermeulen select SYS_HAS_CPU_MIPS32_R2 6324042147aSBert Vermeulen select SYS_SUPPORTS_BIG_ENDIAN 6334042147aSBert Vermeulen select SYS_SUPPORTS_32BIT_KERNEL 6344042147aSBert Vermeulen select SYS_SUPPORTS_MIPS16 6354042147aSBert Vermeulen select SYS_SUPPORTS_MULTITHREADING 6364042147aSBert Vermeulen select SYS_SUPPORTS_VPE_LOADER 6374042147aSBert Vermeulen select BOOT_RAW 6384042147aSBert Vermeulen select PINCTRL 6394042147aSBert Vermeulen select USE_OF 6404042147aSBert Vermeulen 6411da177e4SLinus Torvaldsconfig SGI_IP22 6423fa986faSMartin Michlmayr bool "SGI IP22 (Indy/Indigo2)" 643c0de00b2SThomas Bogendoerfer select ARC_MEMORY 64439b2d756SThomas Bogendoerfer select ARC_PROMLIB 6450e2794b0SRalf Baechle select FW_ARC 6460e2794b0SRalf Baechle select FW_ARC32 6477a407aa5SRalf Baechle select ARCH_MIGHT_HAVE_PC_SERIO 6481da177e4SLinus Torvalds select BOOT_ELF32 64942f77542SRalf Baechle select CEVT_R4K 650940f6b48SRalf Baechle select CSRC_R4K 651e2defae5SThomas Bogendoerfer select DEFAULT_SGI_PARTITION 6521da177e4SLinus Torvalds select DMA_NONCOHERENT 6536630a8e5SChristoph Hellwig select HAVE_EISA 654d865bea4SRalf Baechle select I8253 65568de4803SThomas Bogendoerfer select I8259 6561da177e4SLinus Torvalds select IP22_CPU_SCACHE 65767e38cf2SRalf Baechle select IRQ_MIPS_CPU 658aa414dffSRalf Baechle select GENERIC_ISA_DMA_SUPPORT_BROKEN 659e2defae5SThomas Bogendoerfer select SGI_HAS_I8042 660e2defae5SThomas Bogendoerfer select SGI_HAS_INDYDOG 66136e5c21dSThomas Bogendoerfer select SGI_HAS_HAL2 662e2defae5SThomas Bogendoerfer select SGI_HAS_SEEQ 663e2defae5SThomas Bogendoerfer select SGI_HAS_WD93 664e2defae5SThomas Bogendoerfer select SGI_HAS_ZILOG 6651da177e4SLinus Torvalds select SWAP_IO_SPACE 6667cf8053bSRalf Baechle select SYS_HAS_CPU_R4X00 6677cf8053bSRalf Baechle select SYS_HAS_CPU_R5000 668c0de00b2SThomas Bogendoerfer select SYS_HAS_EARLY_PRINTK 669ed5ba2fbSYoichi Yuasa select SYS_SUPPORTS_32BIT_KERNEL 670ed5ba2fbSYoichi Yuasa select SYS_SUPPORTS_64BIT_KERNEL 6715e83d430SRalf Baechle select SYS_SUPPORTS_BIG_ENDIAN 672802b8362SThomas Bogendoerfer select WAR_R4600_V1_INDEX_ICACHEOP 6735e5b6527SThomas Bogendoerfer select WAR_R4600_V1_HIT_CACHEOP 67444def342SThomas Bogendoerfer select WAR_R4600_V2_HIT_CACHEOP 675930beb5aSFlorian Fainelli select MIPS_L1_CACHE_SHIFT_7 6761da177e4SLinus Torvalds help 6771da177e4SLinus Torvalds This are the SGI Indy, Challenge S and Indigo2, as well as certain 6781da177e4SLinus Torvalds OEM variants like the Tandem CMN B006S. To compile a Linux kernel 6791da177e4SLinus Torvalds that runs on these, say Y here. 6801da177e4SLinus Torvalds 6811da177e4SLinus Torvaldsconfig SGI_IP27 6823fa986faSMartin Michlmayr bool "SGI IP27 (Origin200/2000)" 68354aed4ddSChristoph Hellwig select ARCH_HAS_PHYS_TO_DMA 684397dc00eSMike Rapoport select ARCH_SPARSEMEM_ENABLE 6850e2794b0SRalf Baechle select FW_ARC 6860e2794b0SRalf Baechle select FW_ARC64 687e9422427SThomas Bogendoerfer select ARC_CMDLINE_ONLY 6885e83d430SRalf Baechle select BOOT_ELF64 689e2defae5SThomas Bogendoerfer select DEFAULT_SGI_PARTITION 69004100459SChristoph Hellwig select FORCE_PCI 69136a88530SRalf Baechle select SYS_HAS_EARLY_PRINTK 692eb01d42aSChristoph Hellwig select HAVE_PCI 69369a07a41SThomas Bogendoerfer select IRQ_MIPS_CPU 694e6308b6dSThomas Bogendoerfer select IRQ_DOMAIN_HIERARCHY 695130e2fb7SRalf Baechle select NR_CPUS_DEFAULT_64 696a57140e9SThomas Bogendoerfer select PCI_DRIVERS_GENERIC 697a57140e9SThomas Bogendoerfer select PCI_XTALK_BRIDGE 6987cf8053bSRalf Baechle select SYS_HAS_CPU_R10000 699ed5ba2fbSYoichi Yuasa select SYS_SUPPORTS_64BIT_KERNEL 7005e83d430SRalf Baechle select SYS_SUPPORTS_BIG_ENDIAN 701d8cb4e11SRalf Baechle select SYS_SUPPORTS_NUMA 7021a5c5de1SRalf Baechle select SYS_SUPPORTS_SMP 703256ec489SThomas Bogendoerfer select WAR_R10000_LLSC 704930beb5aSFlorian Fainelli select MIPS_L1_CACHE_SHIFT_7 7056c86a302SMike Rapoport select NUMA 706f8f9f21cSFeiyang Chen select HAVE_ARCH_NODEDATA_EXTENSION 7071da177e4SLinus Torvalds help 7081da177e4SLinus Torvalds This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics 7091da177e4SLinus Torvalds workstations. To compile a Linux kernel that runs on these, say Y 7101da177e4SLinus Torvalds here. 7111da177e4SLinus Torvalds 712e2defae5SThomas Bogendoerferconfig SGI_IP28 7137d60717eSKees Cook bool "SGI IP28 (Indigo2 R10k)" 714c0de00b2SThomas Bogendoerfer select ARC_MEMORY 71539b2d756SThomas Bogendoerfer select ARC_PROMLIB 7160e2794b0SRalf Baechle select FW_ARC 7170e2794b0SRalf Baechle select FW_ARC64 7187a407aa5SRalf Baechle select ARCH_MIGHT_HAVE_PC_SERIO 719e2defae5SThomas Bogendoerfer select BOOT_ELF64 720e2defae5SThomas Bogendoerfer select CEVT_R4K 721e2defae5SThomas Bogendoerfer select CSRC_R4K 722e2defae5SThomas Bogendoerfer select DEFAULT_SGI_PARTITION 723e2defae5SThomas Bogendoerfer select DMA_NONCOHERENT 724e2defae5SThomas Bogendoerfer select GENERIC_ISA_DMA_SUPPORT_BROKEN 72567e38cf2SRalf Baechle select IRQ_MIPS_CPU 7266630a8e5SChristoph Hellwig select HAVE_EISA 727e2defae5SThomas Bogendoerfer select I8253 728e2defae5SThomas Bogendoerfer select I8259 729e2defae5SThomas Bogendoerfer select SGI_HAS_I8042 730e2defae5SThomas Bogendoerfer select SGI_HAS_INDYDOG 7315b438c44SThomas Bogendoerfer select SGI_HAS_HAL2 732e2defae5SThomas Bogendoerfer select SGI_HAS_SEEQ 733e2defae5SThomas Bogendoerfer select SGI_HAS_WD93 734e2defae5SThomas Bogendoerfer select SGI_HAS_ZILOG 735e2defae5SThomas Bogendoerfer select SWAP_IO_SPACE 736e2defae5SThomas Bogendoerfer select SYS_HAS_CPU_R10000 737c0de00b2SThomas Bogendoerfer select SYS_HAS_EARLY_PRINTK 738e2defae5SThomas Bogendoerfer select SYS_SUPPORTS_64BIT_KERNEL 739e2defae5SThomas Bogendoerfer select SYS_SUPPORTS_BIG_ENDIAN 740256ec489SThomas Bogendoerfer select WAR_R10000_LLSC 741dc24d68dSThomas Bogendoerfer select MIPS_L1_CACHE_SHIFT_7 742e2defae5SThomas Bogendoerfer help 743e2defae5SThomas Bogendoerfer This is the SGI Indigo2 with R10000 processor. To compile a Linux 744e2defae5SThomas Bogendoerfer kernel that runs on these, say Y here. 745e2defae5SThomas Bogendoerfer 7467505576dSThomas Bogendoerferconfig SGI_IP30 7477505576dSThomas Bogendoerfer bool "SGI IP30 (Octane/Octane2)" 7487505576dSThomas Bogendoerfer select ARCH_HAS_PHYS_TO_DMA 7497505576dSThomas Bogendoerfer select FW_ARC 7507505576dSThomas Bogendoerfer select FW_ARC64 7517505576dSThomas Bogendoerfer select BOOT_ELF64 7527505576dSThomas Bogendoerfer select CEVT_R4K 7537505576dSThomas Bogendoerfer select CSRC_R4K 75404100459SChristoph Hellwig select FORCE_PCI 7557505576dSThomas Bogendoerfer select SYNC_R4K if SMP 7567505576dSThomas Bogendoerfer select ZONE_DMA32 7577505576dSThomas Bogendoerfer select HAVE_PCI 7587505576dSThomas Bogendoerfer select IRQ_MIPS_CPU 7597505576dSThomas Bogendoerfer select IRQ_DOMAIN_HIERARCHY 7607505576dSThomas Bogendoerfer select PCI_DRIVERS_GENERIC 7617505576dSThomas Bogendoerfer select PCI_XTALK_BRIDGE 7627505576dSThomas Bogendoerfer select SYS_HAS_EARLY_PRINTK 7637505576dSThomas Bogendoerfer select SYS_HAS_CPU_R10000 7647505576dSThomas Bogendoerfer select SYS_SUPPORTS_64BIT_KERNEL 7657505576dSThomas Bogendoerfer select SYS_SUPPORTS_BIG_ENDIAN 7667505576dSThomas Bogendoerfer select SYS_SUPPORTS_SMP 767256ec489SThomas Bogendoerfer select WAR_R10000_LLSC 7687505576dSThomas Bogendoerfer select MIPS_L1_CACHE_SHIFT_7 7697505576dSThomas Bogendoerfer select ARC_MEMORY 7707505576dSThomas Bogendoerfer help 7717505576dSThomas Bogendoerfer These are the SGI Octane and Octane2 graphics workstations. To 7727505576dSThomas Bogendoerfer compile a Linux kernel that runs on these, say Y here. 7737505576dSThomas Bogendoerfer 7741da177e4SLinus Torvaldsconfig SGI_IP32 775cfd2afc0SRalf Baechle bool "SGI IP32 (O2)" 77639b2d756SThomas Bogendoerfer select ARC_MEMORY 77739b2d756SThomas Bogendoerfer select ARC_PROMLIB 77803df8229SChristoph Hellwig select ARCH_HAS_PHYS_TO_DMA 7790e2794b0SRalf Baechle select FW_ARC 7800e2794b0SRalf Baechle select FW_ARC32 7811da177e4SLinus Torvalds select BOOT_ELF32 78242f77542SRalf Baechle select CEVT_R4K 783940f6b48SRalf Baechle select CSRC_R4K 7841da177e4SLinus Torvalds select DMA_NONCOHERENT 785eb01d42aSChristoph Hellwig select HAVE_PCI 78667e38cf2SRalf Baechle select IRQ_MIPS_CPU 7871da177e4SLinus Torvalds select R5000_CPU_SCACHE 7881da177e4SLinus Torvalds select RM7000_CPU_SCACHE 7897cf8053bSRalf Baechle select SYS_HAS_CPU_R5000 7907cf8053bSRalf Baechle select SYS_HAS_CPU_R10000 if BROKEN 7917cf8053bSRalf Baechle select SYS_HAS_CPU_RM7000 792dd2f18feSRalf Baechle select SYS_HAS_CPU_NEVADA 793ed5ba2fbSYoichi Yuasa select SYS_SUPPORTS_64BIT_KERNEL 7945e83d430SRalf Baechle select SYS_SUPPORTS_BIG_ENDIAN 795886ee136SThomas Bogendoerfer select WAR_ICACHE_REFILLS 7961da177e4SLinus Torvalds help 7971da177e4SLinus Torvalds If you want this kernel to run on SGI O2 workstation, say Y here. 7981da177e4SLinus Torvalds 7995e83d430SRalf Baechleconfig SIBYTE_CRHONE 8003fa986faSMartin Michlmayr bool "Sibyte BCM91125C-CRhone" 8015e83d430SRalf Baechle select BOOT_ELF32 8025e83d430SRalf Baechle select SIBYTE_BCM1125 8035e83d430SRalf Baechle select SWAP_IO_SPACE 8047cf8053bSRalf Baechle select SYS_HAS_CPU_SB1 8055e83d430SRalf Baechle select SYS_SUPPORTS_BIG_ENDIAN 8065e83d430SRalf Baechle select SYS_SUPPORTS_HIGHMEM 8075e83d430SRalf Baechle select SYS_SUPPORTS_LITTLE_ENDIAN 8085e83d430SRalf Baechle 809ade299d8SYoichi Yuasaconfig SIBYTE_RHONE 810ade299d8SYoichi Yuasa bool "Sibyte BCM91125E-Rhone" 811ade299d8SYoichi Yuasa select BOOT_ELF32 81203452347SThomas Bogendoerfer select SIBYTE_SB1250 813ade299d8SYoichi Yuasa select SWAP_IO_SPACE 814ade299d8SYoichi Yuasa select SYS_HAS_CPU_SB1 815ade299d8SYoichi Yuasa select SYS_SUPPORTS_BIG_ENDIAN 816ade299d8SYoichi Yuasa select SYS_SUPPORTS_LITTLE_ENDIAN 817ade299d8SYoichi Yuasa 818ade299d8SYoichi Yuasaconfig SIBYTE_SWARM 819ade299d8SYoichi Yuasa bool "Sibyte BCM91250A-SWARM" 820ade299d8SYoichi Yuasa select BOOT_ELF32 821fcf3ca4cSSebastian Andrzej Siewior select HAVE_PATA_PLATFORM 822ade299d8SYoichi Yuasa select SIBYTE_SB1250 823ade299d8SYoichi Yuasa select SWAP_IO_SPACE 824ade299d8SYoichi Yuasa select SYS_HAS_CPU_SB1 825ade299d8SYoichi Yuasa select SYS_SUPPORTS_BIG_ENDIAN 826ade299d8SYoichi Yuasa select SYS_SUPPORTS_HIGHMEM 827ade299d8SYoichi Yuasa select SYS_SUPPORTS_LITTLE_ENDIAN 828cce335aeSRalf Baechle select ZONE_DMA32 if 64BIT 829e4849affSMaciej W. Rozycki select SWIOTLB if ARCH_DMA_ADDR_T_64BIT && PCI 830ade299d8SYoichi Yuasa 831ade299d8SYoichi Yuasaconfig SIBYTE_LITTLESUR 832ade299d8SYoichi Yuasa bool "Sibyte BCM91250C2-LittleSur" 833ade299d8SYoichi Yuasa select BOOT_ELF32 834fcf3ca4cSSebastian Andrzej Siewior select HAVE_PATA_PLATFORM 835ade299d8SYoichi Yuasa select SIBYTE_SB1250 836ade299d8SYoichi Yuasa select SWAP_IO_SPACE 837ade299d8SYoichi Yuasa select SYS_HAS_CPU_SB1 838ade299d8SYoichi Yuasa select SYS_SUPPORTS_BIG_ENDIAN 839ade299d8SYoichi Yuasa select SYS_SUPPORTS_HIGHMEM 840ade299d8SYoichi Yuasa select SYS_SUPPORTS_LITTLE_ENDIAN 841756d6d83SMaciej W. Rozycki select ZONE_DMA32 if 64BIT 842ade299d8SYoichi Yuasa 843ade299d8SYoichi Yuasaconfig SIBYTE_SENTOSA 844ade299d8SYoichi Yuasa bool "Sibyte BCM91250E-Sentosa" 845ade299d8SYoichi Yuasa select BOOT_ELF32 846ade299d8SYoichi Yuasa select SIBYTE_SB1250 847ade299d8SYoichi Yuasa select SWAP_IO_SPACE 848ade299d8SYoichi Yuasa select SYS_HAS_CPU_SB1 849ade299d8SYoichi Yuasa select SYS_SUPPORTS_BIG_ENDIAN 850ade299d8SYoichi Yuasa select SYS_SUPPORTS_LITTLE_ENDIAN 851e4849affSMaciej W. Rozycki select SWIOTLB if ARCH_DMA_ADDR_T_64BIT && PCI 852ade299d8SYoichi Yuasa 853ade299d8SYoichi Yuasaconfig SIBYTE_BIGSUR 854ade299d8SYoichi Yuasa bool "Sibyte BCM91480B-BigSur" 855ade299d8SYoichi Yuasa select BOOT_ELF32 856ade299d8SYoichi Yuasa select NR_CPUS_DEFAULT_4 857ade299d8SYoichi Yuasa select SIBYTE_BCM1x80 858ade299d8SYoichi Yuasa select SWAP_IO_SPACE 859ade299d8SYoichi Yuasa select SYS_HAS_CPU_SB1 860ade299d8SYoichi Yuasa select SYS_SUPPORTS_BIG_ENDIAN 861651194f8SRalf Baechle select SYS_SUPPORTS_HIGHMEM 862ade299d8SYoichi Yuasa select SYS_SUPPORTS_LITTLE_ENDIAN 863cce335aeSRalf Baechle select ZONE_DMA32 if 64BIT 864e4849affSMaciej W. Rozycki select SWIOTLB if ARCH_DMA_ADDR_T_64BIT && PCI 865ade299d8SYoichi Yuasa 86614b36af4SThomas Bogendoerferconfig SNI_RM 86714b36af4SThomas Bogendoerfer bool "SNI RM200/300/400" 86839b2d756SThomas Bogendoerfer select ARC_MEMORY 86939b2d756SThomas Bogendoerfer select ARC_PROMLIB 8700e2794b0SRalf Baechle select FW_ARC if CPU_LITTLE_ENDIAN 8710e2794b0SRalf Baechle select FW_ARC32 if CPU_LITTLE_ENDIAN 872aaa9fad3SPaul Bolle select FW_SNIPROM if CPU_BIG_ENDIAN 8735e83d430SRalf Baechle select ARCH_MAY_HAVE_PC_FDC 874a211a082SRalf Baechle select ARCH_MIGHT_HAVE_PC_PARPORT 8757a407aa5SRalf Baechle select ARCH_MIGHT_HAVE_PC_SERIO 8765e83d430SRalf Baechle select BOOT_ELF32 87742f77542SRalf Baechle select CEVT_R4K 878940f6b48SRalf Baechle select CSRC_R4K 879e2defae5SThomas Bogendoerfer select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN 8805e83d430SRalf Baechle select DMA_NONCOHERENT 8815e83d430SRalf Baechle select GENERIC_ISA_DMA 8826630a8e5SChristoph Hellwig select HAVE_EISA 8838a118c38SRalf Baechle select HAVE_PCSPKR_PLATFORM 884eb01d42aSChristoph Hellwig select HAVE_PCI 88567e38cf2SRalf Baechle select IRQ_MIPS_CPU 886d865bea4SRalf Baechle select I8253 8875e83d430SRalf Baechle select I8259 8885e83d430SRalf Baechle select ISA 889564c836fSThomas Bogendoerfer select MIPS_L1_CACHE_SHIFT_6 8904a0312fcSThomas Bogendoerfer select SWAP_IO_SPACE if CPU_BIG_ENDIAN 8917cf8053bSRalf Baechle select SYS_HAS_CPU_R4X00 8924a0312fcSThomas Bogendoerfer select SYS_HAS_CPU_R5000 893c066a32aSThomas Bogendoerfer select SYS_HAS_CPU_R10000 8944a0312fcSThomas Bogendoerfer select R5000_CPU_SCACHE 89536a88530SRalf Baechle select SYS_HAS_EARLY_PRINTK 896ed5ba2fbSYoichi Yuasa select SYS_SUPPORTS_32BIT_KERNEL 8977d60717eSKees Cook select SYS_SUPPORTS_64BIT_KERNEL 8984a0312fcSThomas Bogendoerfer select SYS_SUPPORTS_BIG_ENDIAN 8995e83d430SRalf Baechle select SYS_SUPPORTS_HIGHMEM 9005e83d430SRalf Baechle select SYS_SUPPORTS_LITTLE_ENDIAN 90144def342SThomas Bogendoerfer select WAR_R4600_V2_HIT_CACHEOP 9021da177e4SLinus Torvalds help 90314b36af4SThomas Bogendoerfer The SNI RM200/300/400 are MIPS-based machines manufactured by 90414b36af4SThomas Bogendoerfer Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid 9055e83d430SRalf Baechle Technology and now in turn merged with Fujitsu. Say Y here to 9065e83d430SRalf Baechle support this machine type. 9071da177e4SLinus Torvalds 908edcaf1a6SAtsushi Nemotoconfig MACH_TX49XX 909edcaf1a6SAtsushi Nemoto bool "Toshiba TX49 series based machines" 91024a1c023SThomas Bogendoerfer select WAR_TX49XX_ICACHE_INDEX_INV 91123fbee9dSRalf Baechle 91273b4390fSRalf Baechleconfig MIKROTIK_RB532 91373b4390fSRalf Baechle bool "Mikrotik RB532 boards" 91473b4390fSRalf Baechle select CEVT_R4K 91573b4390fSRalf Baechle select CSRC_R4K 91673b4390fSRalf Baechle select DMA_NONCOHERENT 917eb01d42aSChristoph Hellwig select HAVE_PCI 91867e38cf2SRalf Baechle select IRQ_MIPS_CPU 91973b4390fSRalf Baechle select SYS_HAS_CPU_MIPS32_R1 92073b4390fSRalf Baechle select SYS_SUPPORTS_32BIT_KERNEL 92173b4390fSRalf Baechle select SYS_SUPPORTS_LITTLE_ENDIAN 92273b4390fSRalf Baechle select SWAP_IO_SPACE 92373b4390fSRalf Baechle select BOOT_RAW 924d30a2b47SLinus Walleij select GPIOLIB 925930beb5aSFlorian Fainelli select MIPS_L1_CACHE_SHIFT_4 92673b4390fSRalf Baechle help 92773b4390fSRalf Baechle Support the Mikrotik(tm) RouterBoard 532 series, 92873b4390fSRalf Baechle based on the IDT RC32434 SoC. 92973b4390fSRalf Baechle 9309ddebc46SDavid Daneyconfig CAVIUM_OCTEON_SOC 9319ddebc46SDavid Daney bool "Cavium Networks Octeon SoC based boards" 932a86c7f72SDavid Daney select CEVT_R4K 933ea8c64acSChristoph Hellwig select ARCH_HAS_PHYS_TO_DMA 9341753d50cSChristoph Hellwig select HAVE_RAPIDIO 935d4a451d5SChristoph Hellwig select PHYS_ADDR_T_64BIT 936a86c7f72SDavid Daney select SYS_SUPPORTS_64BIT_KERNEL 937a86c7f72SDavid Daney select SYS_SUPPORTS_BIG_ENDIAN 938f65aad41SRalf Baechle select EDAC_SUPPORT 939b01aec9bSBorislav Petkov select EDAC_ATOMIC_SCRUB 94073569d87SDavid Daney select SYS_SUPPORTS_LITTLE_ENDIAN 94173569d87SDavid Daney select SYS_SUPPORTS_HOTPLUG_CPU if CPU_BIG_ENDIAN 942a86c7f72SDavid Daney select SYS_HAS_EARLY_PRINTK 9435e683389SDavid Daney select SYS_HAS_CPU_CAVIUM_OCTEON 944eb01d42aSChristoph Hellwig select HAVE_PCI 94578bdbbacSMasahiro Yamada select HAVE_PLAT_DELAY 94678bdbbacSMasahiro Yamada select HAVE_PLAT_FW_INIT_CMDLINE 94778bdbbacSMasahiro Yamada select HAVE_PLAT_MEMCPY 948f00e001eSDavid Daney select ZONE_DMA32 949d30a2b47SLinus Walleij select GPIOLIB 9506e511163SDavid Daney select USE_OF 9516e511163SDavid Daney select ARCH_SPARSEMEM_ENABLE 9526e511163SDavid Daney select SYS_SUPPORTS_SMP 9537820b84bSDavid Daney select NR_CPUS_DEFAULT_64 9547820b84bSDavid Daney select MIPS_NR_CPU_NR_MAP_1024 955e326479fSAndrew Bresticker select BUILTIN_DTB 956f766b28aSJulian Braha select MTD 9578c1e6b14SDavid Daney select MTD_COMPLEX_MAPPINGS 95809230cbcSChristoph Hellwig select SWIOTLB 9593ff72be4SSteven J. Hill select SYS_SUPPORTS_RELOCATABLE 960a86c7f72SDavid Daney help 961a86c7f72SDavid Daney This option supports all of the Octeon reference boards from Cavium 962a86c7f72SDavid Daney Networks. It builds a kernel that dynamically determines the Octeon 963a86c7f72SDavid Daney CPU type and supports all known board reference implementations. 964a86c7f72SDavid Daney Some of the supported boards are: 965a86c7f72SDavid Daney EBT3000 966a86c7f72SDavid Daney EBH3000 967a86c7f72SDavid Daney EBH3100 968a86c7f72SDavid Daney Thunder 969a86c7f72SDavid Daney Kodama 970a86c7f72SDavid Daney Hikari 971a86c7f72SDavid Daney Say Y here for most Octeon reference boards. 972a86c7f72SDavid Daney 9731da177e4SLinus Torvaldsendchoice 9741da177e4SLinus Torvalds 975e8c7c482SRalf Baechlesource "arch/mips/alchemy/Kconfig" 9763b12308fSSergey Ryazanovsource "arch/mips/ath25/Kconfig" 977d4a67d9dSGabor Juhossource "arch/mips/ath79/Kconfig" 978a656ffcbSHauke Mehrtenssource "arch/mips/bcm47xx/Kconfig" 979e7300d04SMaxime Bizonsource "arch/mips/bcm63xx/Kconfig" 9808945e37eSKevin Cernekeesource "arch/mips/bmips/Kconfig" 981eed0eabdSPaul Burtonsource "arch/mips/generic/Kconfig" 982a103e9b9SPaul Cercueilsource "arch/mips/ingenic/Kconfig" 9835e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig" 9848ec6d935SJohn Crispinsource "arch/mips/lantiq/Kconfig" 9852572f00dSJoshua Hendersonsource "arch/mips/pic32/Kconfig" 986ae2b5bb6SJohn Crispinsource "arch/mips/ralink/Kconfig" 98729c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig" 98838b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig" 98922b1d707SAtsushi Nemotosource "arch/mips/txx9/Kconfig" 990a86c7f72SDavid Daneysource "arch/mips/cavium-octeon/Kconfig" 99171e2f4ddSJiaxun Yangsource "arch/mips/loongson2ef/Kconfig" 99230ad29bbSHuacai Chensource "arch/mips/loongson32/Kconfig" 99330ad29bbSHuacai Chensource "arch/mips/loongson64/Kconfig" 99438b18f72SRalf Baechle 9955e83d430SRalf Baechleendmenu 9965e83d430SRalf Baechle 9973c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT 9983c9ee7efSAkinobu Mita bool 9993c9ee7efSAkinobu Mita default y 10003c9ee7efSAkinobu Mita 10011da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY 10021da177e4SLinus Torvalds bool 10031da177e4SLinus Torvalds default y 10041da177e4SLinus Torvalds 1005ae1e9130SIngo Molnarconfig SCHED_OMIT_FRAME_POINTER 10061cc89038SAtsushi Nemoto bool 10071cc89038SAtsushi Nemoto default y 10081cc89038SAtsushi Nemoto 10091da177e4SLinus Torvalds# 10101da177e4SLinus Torvalds# Select some configuration options automatically based on user selections. 10111da177e4SLinus Torvalds# 10120e2794b0SRalf Baechleconfig FW_ARC 10131da177e4SLinus Torvalds bool 10141da177e4SLinus Torvalds 101561ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC 101661ed242dSRalf Baechle bool 101761ed242dSRalf Baechle 10189267a30dSMarc St-Jeanconfig BOOT_RAW 10199267a30dSMarc St-Jean bool 10209267a30dSMarc St-Jean 1021217dd11eSRalf Baechleconfig CEVT_BCM1480 1022217dd11eSRalf Baechle bool 1023217dd11eSRalf Baechle 10246457d9fcSYoichi Yuasaconfig CEVT_DS1287 10256457d9fcSYoichi Yuasa bool 10266457d9fcSYoichi Yuasa 10271097c6acSYoichi Yuasaconfig CEVT_GT641XX 10281097c6acSYoichi Yuasa bool 10291097c6acSYoichi Yuasa 103042f77542SRalf Baechleconfig CEVT_R4K 103142f77542SRalf Baechle bool 103242f77542SRalf Baechle 1033217dd11eSRalf Baechleconfig CEVT_SB1250 1034217dd11eSRalf Baechle bool 1035217dd11eSRalf Baechle 1036229f773eSAtsushi Nemotoconfig CEVT_TXX9 1037229f773eSAtsushi Nemoto bool 1038229f773eSAtsushi Nemoto 1039217dd11eSRalf Baechleconfig CSRC_BCM1480 1040217dd11eSRalf Baechle bool 1041217dd11eSRalf Baechle 10424247417dSYoichi Yuasaconfig CSRC_IOASIC 10434247417dSYoichi Yuasa bool 10444247417dSYoichi Yuasa 1045940f6b48SRalf Baechleconfig CSRC_R4K 104638586428SSerge Semin select CLOCKSOURCE_WATCHDOG if CPU_FREQ 1047940f6b48SRalf Baechle bool 1048940f6b48SRalf Baechle 1049217dd11eSRalf Baechleconfig CSRC_SB1250 1050217dd11eSRalf Baechle bool 1051217dd11eSRalf Baechle 1052a7f4df4eSAlex Smithconfig MIPS_CLOCK_VSYSCALL 1053a7f4df4eSAlex Smith def_bool CSRC_R4K || CLKSRC_MIPS_GIC 1054a7f4df4eSAlex Smith 1055a9aec7feSAtsushi Nemotoconfig GPIO_TXX9 1056d30a2b47SLinus Walleij select GPIOLIB 1057a9aec7feSAtsushi Nemoto bool 1058a9aec7feSAtsushi Nemoto 10590e2794b0SRalf Baechleconfig FW_CFE 1060df78b5c8SAurelien Jarno bool 1061df78b5c8SAurelien Jarno 106240e084a5SRalf Baechleconfig ARCH_SUPPORTS_UPROBES 106340e084a5SRalf Baechle bool 106440e084a5SRalf Baechle 10651da177e4SLinus Torvaldsconfig DMA_NONCOHERENT 10661da177e4SLinus Torvalds bool 1067db91427bSChristoph Hellwig # 1068db91427bSChristoph Hellwig # MIPS allows mixing "slightly different" Cacheability and Coherency 1069db91427bSChristoph Hellwig # Attribute bits. It is believed that the uncached access through 1070db91427bSChristoph Hellwig # KSEG1 and the implementation specific "uncached accelerated" used 1071db91427bSChristoph Hellwig # by pgprot_writcombine can be mixed, and the latter sometimes provides 1072db91427bSChristoph Hellwig # significant advantages. 1073db91427bSChristoph Hellwig # 10746be87d61SJiaxun Yang select ARCH_HAS_SETUP_DMA_OPS 1075419e2f18SChristoph Hellwig select ARCH_HAS_DMA_WRITE_COMBINE 1076fa7e2247SChristoph Hellwig select ARCH_HAS_DMA_PREP_COHERENT 1077e0b7fd12SJiaxun Yang select ARCH_HAS_SYNC_DMA_FOR_CPU 1078f8c55dc6SChristoph Hellwig select ARCH_HAS_SYNC_DMA_FOR_DEVICE 1079fa7e2247SChristoph Hellwig select ARCH_HAS_DMA_SET_UNCACHED 108034dc0ea6SChristoph Hellwig select DMA_NONCOHERENT_MMAP 108134dc0ea6SChristoph Hellwig select NEED_DMA_MAP_STATE 10824ce588cdSRalf Baechle 108336a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK 10841da177e4SLinus Torvalds bool 10851da177e4SLinus Torvalds 10861b2bc75cSRalf Baechleconfig SYS_SUPPORTS_HOTPLUG_CPU 1087dbb74540SRalf Baechle bool 1088dbb74540SRalf Baechle 10891da177e4SLinus Torvaldsconfig MIPS_BONITO64 10901da177e4SLinus Torvalds bool 10911da177e4SLinus Torvalds 10921da177e4SLinus Torvaldsconfig MIPS_MSC 10931da177e4SLinus Torvalds bool 10941da177e4SLinus Torvalds 109539b8d525SRalf Baechleconfig SYNC_R4K 109639b8d525SRalf Baechle bool 109739b8d525SRalf Baechle 1098ce816fa8SUwe Kleine-Königconfig NO_IOPORT_MAP 1099d388d685SMaciej W. Rozycki def_bool n 1100d388d685SMaciej W. Rozycki 11014e0748f5SMarkos Chandrasconfig GENERIC_CSUM 110218d84e2eSAlexander Lobakin def_bool CPU_NO_LOAD_STORE_LR 11034e0748f5SMarkos Chandras 11048313da30SRalf Baechleconfig GENERIC_ISA_DMA 11058313da30SRalf Baechle bool 11068313da30SRalf Baechle select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n 1107a35bee8aSNamhyung Kim select ISA_DMA_API 11088313da30SRalf Baechle 1109aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN 1110aa414dffSRalf Baechle bool 11118313da30SRalf Baechle select GENERIC_ISA_DMA 1112aa414dffSRalf Baechle 111378bdbbacSMasahiro Yamadaconfig HAVE_PLAT_DELAY 111478bdbbacSMasahiro Yamada bool 111578bdbbacSMasahiro Yamada 111678bdbbacSMasahiro Yamadaconfig HAVE_PLAT_FW_INIT_CMDLINE 111778bdbbacSMasahiro Yamada bool 111878bdbbacSMasahiro Yamada 111978bdbbacSMasahiro Yamadaconfig HAVE_PLAT_MEMCPY 112078bdbbacSMasahiro Yamada bool 112178bdbbacSMasahiro Yamada 1122a35bee8aSNamhyung Kimconfig ISA_DMA_API 1123a35bee8aSNamhyung Kim bool 1124a35bee8aSNamhyung Kim 11258c530ea3SMatt Redfearnconfig SYS_SUPPORTS_RELOCATABLE 11268c530ea3SMatt Redfearn bool 11278c530ea3SMatt Redfearn help 11288c530ea3SMatt Redfearn Selected if the platform supports relocating the kernel. 11298c530ea3SMatt Redfearn The platform must provide plat_get_fdt() if it selects CONFIG_USE_OF 11308c530ea3SMatt Redfearn to allow access to command line and entropy sources. 11318c530ea3SMatt Redfearn 11325e83d430SRalf Baechle# 11336b2aac42SMasanari Iida# Endianness selection. Sufficiently obscure so many users don't know what to 11345e83d430SRalf Baechle# answer,so we try hard to limit the available choices. Also the use of a 11355e83d430SRalf Baechle# choice statement should be more obvious to the user. 11365e83d430SRalf Baechle# 11375e83d430SRalf Baechlechoice 11386b2aac42SMasanari Iida prompt "Endianness selection" 11391da177e4SLinus Torvalds help 11401da177e4SLinus Torvalds Some MIPS machines can be configured for either little or big endian 11415e83d430SRalf Baechle byte order. These modes require different kernels and a different 11423cb2fcccSMatt LaPlante Linux distribution. In general there is one preferred byteorder for a 11435e83d430SRalf Baechle particular system but some systems are just as commonly used in the 11443dde6ad8SDavid Sterba one or the other endianness. 11455e83d430SRalf Baechle 11465e83d430SRalf Baechleconfig CPU_BIG_ENDIAN 11475e83d430SRalf Baechle bool "Big endian" 11485e83d430SRalf Baechle depends on SYS_SUPPORTS_BIG_ENDIAN 11495e83d430SRalf Baechle 11505e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN 11515e83d430SRalf Baechle bool "Little endian" 11525e83d430SRalf Baechle depends on SYS_SUPPORTS_LITTLE_ENDIAN 11535e83d430SRalf Baechle 11545e83d430SRalf Baechleendchoice 11555e83d430SRalf Baechle 115622b0763aSDavid Daneyconfig EXPORT_UASM 115722b0763aSDavid Daney bool 115822b0763aSDavid Daney 11592116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION 11602116245eSRalf Baechle bool 11612116245eSRalf Baechle 11625e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN 11635e83d430SRalf Baechle bool 11645e83d430SRalf Baechle 11655e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN 11665e83d430SRalf Baechle bool 11671da177e4SLinus Torvalds 1168aa1762f4SDavid Daneyconfig MIPS_HUGE_TLB_SUPPORT 1169aa1762f4SDavid Daney def_bool HUGETLB_PAGE || TRANSPARENT_HUGEPAGE 1170aa1762f4SDavid Daney 11718420fd00SAtsushi Nemotoconfig IRQ_TXX9 11728420fd00SAtsushi Nemoto bool 11738420fd00SAtsushi Nemoto 1174d5ab1a69SYoichi Yuasaconfig IRQ_GT641XX 1175d5ab1a69SYoichi Yuasa bool 1176d5ab1a69SYoichi Yuasa 1177252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0 11781da177e4SLinus Torvalds bool 11791da177e4SLinus Torvalds 1180a57140e9SThomas Bogendoerferconfig PCI_XTALK_BRIDGE 1181a57140e9SThomas Bogendoerfer bool 1182a57140e9SThomas Bogendoerfer 11839267a30dSMarc St-Jeanconfig NO_EXCEPT_FILL 11849267a30dSMarc St-Jean bool 11859267a30dSMarc St-Jean 1186a7e07b1aSMarkos Chandrasconfig MIPS_SPRAM 1187a7e07b1aSMarkos Chandras bool 1188a7e07b1aSMarkos Chandras 11891da177e4SLinus Torvaldsconfig SWAP_IO_SPACE 11901da177e4SLinus Torvalds bool 11911da177e4SLinus Torvalds 1192e2defae5SThomas Bogendoerferconfig SGI_HAS_INDYDOG 1193e2defae5SThomas Bogendoerfer bool 1194e2defae5SThomas Bogendoerfer 11955b438c44SThomas Bogendoerferconfig SGI_HAS_HAL2 11965b438c44SThomas Bogendoerfer bool 11975b438c44SThomas Bogendoerfer 1198e2defae5SThomas Bogendoerferconfig SGI_HAS_SEEQ 1199e2defae5SThomas Bogendoerfer bool 1200e2defae5SThomas Bogendoerfer 1201e2defae5SThomas Bogendoerferconfig SGI_HAS_WD93 1202e2defae5SThomas Bogendoerfer bool 1203e2defae5SThomas Bogendoerfer 1204e2defae5SThomas Bogendoerferconfig SGI_HAS_ZILOG 1205e2defae5SThomas Bogendoerfer bool 1206e2defae5SThomas Bogendoerfer 1207e2defae5SThomas Bogendoerferconfig SGI_HAS_I8042 1208e2defae5SThomas Bogendoerfer bool 1209e2defae5SThomas Bogendoerfer 1210e2defae5SThomas Bogendoerferconfig DEFAULT_SGI_PARTITION 1211e2defae5SThomas Bogendoerfer bool 1212e2defae5SThomas Bogendoerfer 12130e2794b0SRalf Baechleconfig FW_ARC32 12145e83d430SRalf Baechle bool 12155e83d430SRalf Baechle 1216aaa9fad3SPaul Bolleconfig FW_SNIPROM 1217231a35d3SThomas Bogendoerfer bool 1218231a35d3SThomas Bogendoerfer 12191da177e4SLinus Torvaldsconfig BOOT_ELF32 12201da177e4SLinus Torvalds bool 12211da177e4SLinus Torvalds 1222930beb5aSFlorian Fainelliconfig MIPS_L1_CACHE_SHIFT_4 1223930beb5aSFlorian Fainelli bool 1224930beb5aSFlorian Fainelli 1225930beb5aSFlorian Fainelliconfig MIPS_L1_CACHE_SHIFT_5 1226930beb5aSFlorian Fainelli bool 1227930beb5aSFlorian Fainelli 1228930beb5aSFlorian Fainelliconfig MIPS_L1_CACHE_SHIFT_6 1229930beb5aSFlorian Fainelli bool 1230930beb5aSFlorian Fainelli 1231930beb5aSFlorian Fainelliconfig MIPS_L1_CACHE_SHIFT_7 1232930beb5aSFlorian Fainelli bool 1233930beb5aSFlorian Fainelli 12341da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT 12351da177e4SLinus Torvalds int 1236a4c0201eSFlorian Fainelli default "7" if MIPS_L1_CACHE_SHIFT_7 12375432eeb6SKevin Cernekee default "6" if MIPS_L1_CACHE_SHIFT_6 12385432eeb6SKevin Cernekee default "5" if MIPS_L1_CACHE_SHIFT_5 12395432eeb6SKevin Cernekee default "4" if MIPS_L1_CACHE_SHIFT_4 12401da177e4SLinus Torvalds default "5" 12411da177e4SLinus Torvalds 1242e9422427SThomas Bogendoerferconfig ARC_CMDLINE_ONLY 1243e9422427SThomas Bogendoerfer bool 1244e9422427SThomas Bogendoerfer 12451da177e4SLinus Torvaldsconfig ARC_CONSOLE 12461da177e4SLinus Torvalds bool "ARC console support" 1247e2defae5SThomas Bogendoerfer depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN) 12481da177e4SLinus Torvalds 12491da177e4SLinus Torvaldsconfig ARC_MEMORY 12501da177e4SLinus Torvalds bool 12511da177e4SLinus Torvalds 12521da177e4SLinus Torvaldsconfig ARC_PROMLIB 12531da177e4SLinus Torvalds bool 12541da177e4SLinus Torvalds 12550e2794b0SRalf Baechleconfig FW_ARC64 12561da177e4SLinus Torvalds bool 12571da177e4SLinus Torvalds 12581da177e4SLinus Torvaldsconfig BOOT_ELF64 12591da177e4SLinus Torvalds bool 12601da177e4SLinus Torvalds 12611da177e4SLinus Torvaldsmenu "CPU selection" 12621da177e4SLinus Torvalds 12631da177e4SLinus Torvaldschoice 12641da177e4SLinus Torvalds prompt "CPU type" 12651da177e4SLinus Torvalds default CPU_R4X00 12661da177e4SLinus Torvalds 1267268a2d60SJiaxun Yangconfig CPU_LOONGSON64 1268caed1d1bSHuacai Chen bool "Loongson 64-bit CPU" 1269268a2d60SJiaxun Yang depends on SYS_HAS_CPU_LOONGSON64 1270d3bc81beSChristoph Hellwig select ARCH_HAS_PHYS_TO_DMA 127151522217SJiaxun Yang select CPU_MIPSR2 127251522217SJiaxun Yang select CPU_HAS_PREFETCH 12730e476d91SHuacai Chen select CPU_SUPPORTS_64BIT_KERNEL 12740e476d91SHuacai Chen select CPU_SUPPORTS_HIGHMEM 12750e476d91SHuacai Chen select CPU_SUPPORTS_HUGEPAGES 12767507445bSHuacai Chen select CPU_SUPPORTS_MSA 127751522217SJiaxun Yang select CPU_DIEI_BROKEN if !LOONGSON3_ENHANCEMENT 127851522217SJiaxun Yang select CPU_MIPSR2_IRQ_VI 12790e476d91SHuacai Chen select WEAK_ORDERING 12800e476d91SHuacai Chen select WEAK_REORDERING_BEYOND_LLSC 12817507445bSHuacai Chen select MIPS_ASID_BITS_VARIABLE 1282b2edcfc8SHuacai Chen select MIPS_PGD_C0_CONTEXT 128317c99d94SHuacai Chen select MIPS_L1_CACHE_SHIFT_6 12847f3b3c2bSJackie Liu select MIPS_FP_SUPPORT 1285d30a2b47SLinus Walleij select GPIOLIB 128609230cbcSChristoph Hellwig select SWIOTLB 12870f78355cSHuacai Chen select HAVE_KVM 12880e476d91SHuacai Chen help 1289caed1d1bSHuacai Chen The Loongson GSx64(GS264/GS464/GS464E/GS464V) series of processor 1290caed1d1bSHuacai Chen cores implements the MIPS64R2 instruction set with many extensions, 1291caed1d1bSHuacai Chen including most 64-bit Loongson-2 (2H, 2K) and Loongson-3 (3A1000, 1292caed1d1bSHuacai Chen 3B1000, 3B1500, 3A2000, 3A3000 and 3A4000) processors. However, old 1293caed1d1bSHuacai Chen Loongson-2E/2F is not covered here and will be removed in future. 12940e476d91SHuacai Chen 1295caed1d1bSHuacai Chenconfig LOONGSON3_ENHANCEMENT 1296caed1d1bSHuacai Chen bool "New Loongson-3 CPU Enhancements" 12971e820da3SHuacai Chen default n 1298268a2d60SJiaxun Yang depends on CPU_LOONGSON64 12991e820da3SHuacai Chen help 1300caed1d1bSHuacai Chen New Loongson-3 cores (since Loongson-3A R2, as opposed to Loongson-3A 13011e820da3SHuacai Chen R1, Loongson-3B R1 and Loongson-3B R2) has many enhancements, such as 1302268a2d60SJiaxun Yang FTLB, L1-VCache, EI/DI/Wait/Prefetch instruction, DSP/DSPr2 ASE, User 13031e820da3SHuacai Chen Local register, Read-Inhibit/Execute-Inhibit, SFB (Store Fill Buffer), 13041e820da3SHuacai Chen Fast TLB refill support, etc. 13051e820da3SHuacai Chen 13061e820da3SHuacai Chen This option enable those enhancements which are not probed at run 13071e820da3SHuacai Chen time. If you want a generic kernel to run on all Loongson 3 machines, 13081e820da3SHuacai Chen please say 'N' here. If you want a high-performance kernel to run on 1309caed1d1bSHuacai Chen new Loongson-3 machines only, please say 'Y' here. 13101e820da3SHuacai Chen 1311e02e07e3SHuacai Chenconfig CPU_LOONGSON3_WORKAROUNDS 13123f059a7eSXi Ruoyao bool "Loongson-3 LLSC Workarounds" 1313e02e07e3SHuacai Chen default y if SMP 1314268a2d60SJiaxun Yang depends on CPU_LOONGSON64 1315e02e07e3SHuacai Chen help 1316caed1d1bSHuacai Chen Loongson-3 processors have the llsc issues which require workarounds. 1317e02e07e3SHuacai Chen Without workarounds the system may hang unexpectedly. 1318e02e07e3SHuacai Chen 13193f059a7eSXi Ruoyao Say Y, unless you know what you are doing. 1320e02e07e3SHuacai Chen 1321ec7a9318SWANG Xueruiconfig CPU_LOONGSON3_CPUCFG_EMULATION 1322ec7a9318SWANG Xuerui bool "Emulate the CPUCFG instruction on older Loongson cores" 1323ec7a9318SWANG Xuerui default y 1324ec7a9318SWANG Xuerui depends on CPU_LOONGSON64 1325ec7a9318SWANG Xuerui help 1326ec7a9318SWANG Xuerui Loongson-3A R4 and newer have the CPUCFG instruction available for 1327ec7a9318SWANG Xuerui userland to query CPU capabilities, much like CPUID on x86. This 1328ec7a9318SWANG Xuerui option provides emulation of the instruction on older Loongson 1329ec7a9318SWANG Xuerui cores, back to Loongson-3A1000. 1330ec7a9318SWANG Xuerui 1331ec7a9318SWANG Xuerui If unsure, please say Y. 1332ec7a9318SWANG Xuerui 13333702bba5SWu Zhangjinconfig CPU_LOONGSON2E 13343702bba5SWu Zhangjin bool "Loongson 2E" 13353702bba5SWu Zhangjin depends on SYS_HAS_CPU_LOONGSON2E 1336268a2d60SJiaxun Yang select CPU_LOONGSON2EF 13372a21c730SFuxin Zhang help 13382a21c730SFuxin Zhang The Loongson 2E processor implements the MIPS III instruction set 13392a21c730SFuxin Zhang with many extensions. 13402a21c730SFuxin Zhang 134125985edcSLucas De Marchi It has an internal FPGA northbridge, which is compatible to 13426f7a251aSWu Zhangjin bonito64. 13436f7a251aSWu Zhangjin 13446f7a251aSWu Zhangjinconfig CPU_LOONGSON2F 13456f7a251aSWu Zhangjin bool "Loongson 2F" 13466f7a251aSWu Zhangjin depends on SYS_HAS_CPU_LOONGSON2F 1347268a2d60SJiaxun Yang select CPU_LOONGSON2EF 13486f7a251aSWu Zhangjin help 13496f7a251aSWu Zhangjin The Loongson 2F processor implements the MIPS III instruction set 13506f7a251aSWu Zhangjin with many extensions. 13516f7a251aSWu Zhangjin 13526f7a251aSWu Zhangjin Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller 13536f7a251aSWu Zhangjin have a similar programming interface with FPGA northbridge used in 13546f7a251aSWu Zhangjin Loongson2E. 13556f7a251aSWu Zhangjin 1356ca585cf9SKelvin Cheungconfig CPU_LOONGSON1B 1357ca585cf9SKelvin Cheung bool "Loongson 1B" 1358ca585cf9SKelvin Cheung depends on SYS_HAS_CPU_LOONGSON1B 1359b2afb64cSHuacai Chen select CPU_LOONGSON32 13609ec88b60SKelvin Cheung select LEDS_GPIO_REGISTER 1361ca585cf9SKelvin Cheung help 1362ca585cf9SKelvin Cheung The Loongson 1B is a 32-bit SoC, which implements the MIPS32 1363968dc5a0S谢致邦 (XIE Zhibang) Release 1 instruction set and part of the MIPS32 Release 2 1364968dc5a0S谢致邦 (XIE Zhibang) instruction set. 1365ca585cf9SKelvin Cheung 136612e3280bSYang Lingconfig CPU_LOONGSON1C 136712e3280bSYang Ling bool "Loongson 1C" 136812e3280bSYang Ling depends on SYS_HAS_CPU_LOONGSON1C 1369b2afb64cSHuacai Chen select CPU_LOONGSON32 137012e3280bSYang Ling select LEDS_GPIO_REGISTER 137112e3280bSYang Ling help 137212e3280bSYang Ling The Loongson 1C is a 32-bit SoC, which implements the MIPS32 1373968dc5a0S谢致邦 (XIE Zhibang) Release 1 instruction set and part of the MIPS32 Release 2 1374968dc5a0S谢致邦 (XIE Zhibang) instruction set. 137512e3280bSYang Ling 13766e760c8dSRalf Baechleconfig CPU_MIPS32_R1 13776e760c8dSRalf Baechle bool "MIPS32 Release 1" 13787cf8053bSRalf Baechle depends on SYS_HAS_CPU_MIPS32_R1 13796e760c8dSRalf Baechle select CPU_HAS_PREFETCH 1380797798c1SRalf Baechle select CPU_SUPPORTS_32BIT_KERNEL 1381ec28f306SRalf Baechle select CPU_SUPPORTS_HIGHMEM 13826e760c8dSRalf Baechle help 13835e83d430SRalf Baechle Choose this option to build a kernel for release 1 or later of the 13841e5f1caaSRalf Baechle MIPS32 architecture. Most modern embedded systems with a 32-bit 13851e5f1caaSRalf Baechle MIPS processor are based on a MIPS32 processor. If you know the 13861e5f1caaSRalf Baechle specific type of processor in your system, choose those that one 13871e5f1caaSRalf Baechle otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system. 13881e5f1caaSRalf Baechle Release 2 of the MIPS32 architecture is available since several 13891e5f1caaSRalf Baechle years so chances are you even have a MIPS32 Release 2 processor 13901e5f1caaSRalf Baechle in which case you should choose CPU_MIPS32_R2 instead for better 13911e5f1caaSRalf Baechle performance. 13921e5f1caaSRalf Baechle 13931e5f1caaSRalf Baechleconfig CPU_MIPS32_R2 13941e5f1caaSRalf Baechle bool "MIPS32 Release 2" 13957cf8053bSRalf Baechle depends on SYS_HAS_CPU_MIPS32_R2 13961e5f1caaSRalf Baechle select CPU_HAS_PREFETCH 1397797798c1SRalf Baechle select CPU_SUPPORTS_32BIT_KERNEL 1398ec28f306SRalf Baechle select CPU_SUPPORTS_HIGHMEM 1399a5e9a69eSPaul Burton select CPU_SUPPORTS_MSA 14002235a54dSSanjay Lal select HAVE_KVM 14011e5f1caaSRalf Baechle help 14025e83d430SRalf Baechle Choose this option to build a kernel for release 2 or later of the 14036e760c8dSRalf Baechle MIPS32 architecture. Most modern embedded systems with a 32-bit 14046e760c8dSRalf Baechle MIPS processor are based on a MIPS32 processor. If you know the 14056e760c8dSRalf Baechle specific type of processor in your system, choose those that one 14066e760c8dSRalf Baechle otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system. 14071da177e4SLinus Torvalds 1408ab7c01fdSSerge Seminconfig CPU_MIPS32_R5 1409ab7c01fdSSerge Semin bool "MIPS32 Release 5" 1410ab7c01fdSSerge Semin depends on SYS_HAS_CPU_MIPS32_R5 1411ab7c01fdSSerge Semin select CPU_HAS_PREFETCH 1412ab7c01fdSSerge Semin select CPU_SUPPORTS_32BIT_KERNEL 1413ab7c01fdSSerge Semin select CPU_SUPPORTS_HIGHMEM 1414ab7c01fdSSerge Semin select CPU_SUPPORTS_MSA 1415ab7c01fdSSerge Semin select HAVE_KVM 1416ab7c01fdSSerge Semin select MIPS_O32_FP64_SUPPORT 1417ab7c01fdSSerge Semin help 1418ab7c01fdSSerge Semin Choose this option to build a kernel for release 5 or later of the 1419ab7c01fdSSerge Semin MIPS32 architecture. New MIPS processors, starting with the Warrior 1420ab7c01fdSSerge Semin family, are based on a MIPS32r5 processor. If you own an older 1421ab7c01fdSSerge Semin processor, you probably need to select MIPS32r1 or MIPS32r2 instead. 1422ab7c01fdSSerge Semin 14237fd08ca5SLeonid Yegoshinconfig CPU_MIPS32_R6 1424674d10e2SMarkos Chandras bool "MIPS32 Release 6" 14257fd08ca5SLeonid Yegoshin depends on SYS_HAS_CPU_MIPS32_R6 14267fd08ca5SLeonid Yegoshin select CPU_HAS_PREFETCH 142718d84e2eSAlexander Lobakin select CPU_NO_LOAD_STORE_LR 14287fd08ca5SLeonid Yegoshin select CPU_SUPPORTS_32BIT_KERNEL 14297fd08ca5SLeonid Yegoshin select CPU_SUPPORTS_HIGHMEM 14307fd08ca5SLeonid Yegoshin select CPU_SUPPORTS_MSA 14317fd08ca5SLeonid Yegoshin select HAVE_KVM 14327fd08ca5SLeonid Yegoshin select MIPS_O32_FP64_SUPPORT 14337fd08ca5SLeonid Yegoshin help 14347fd08ca5SLeonid Yegoshin Choose this option to build a kernel for release 6 or later of the 14357fd08ca5SLeonid Yegoshin MIPS32 architecture. New MIPS processors, starting with the Warrior 14367fd08ca5SLeonid Yegoshin family, are based on a MIPS32r6 processor. If you own an older 14377fd08ca5SLeonid Yegoshin processor, you probably need to select MIPS32r1 or MIPS32r2 instead. 14387fd08ca5SLeonid Yegoshin 14396e760c8dSRalf Baechleconfig CPU_MIPS64_R1 14406e760c8dSRalf Baechle bool "MIPS64 Release 1" 14417cf8053bSRalf Baechle depends on SYS_HAS_CPU_MIPS64_R1 1442797798c1SRalf Baechle select CPU_HAS_PREFETCH 1443ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_32BIT_KERNEL 1444ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_64BIT_KERNEL 1445ec28f306SRalf Baechle select CPU_SUPPORTS_HIGHMEM 14469cffd154SDavid Daney select CPU_SUPPORTS_HUGEPAGES 14476e760c8dSRalf Baechle help 14486e760c8dSRalf Baechle Choose this option to build a kernel for release 1 or later of the 14496e760c8dSRalf Baechle MIPS64 architecture. Many modern embedded systems with a 64-bit 14506e760c8dSRalf Baechle MIPS processor are based on a MIPS64 processor. If you know the 14516e760c8dSRalf Baechle specific type of processor in your system, choose those that one 14526e760c8dSRalf Baechle otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system. 14531e5f1caaSRalf Baechle Release 2 of the MIPS64 architecture is available since several 14541e5f1caaSRalf Baechle years so chances are you even have a MIPS64 Release 2 processor 14551e5f1caaSRalf Baechle in which case you should choose CPU_MIPS64_R2 instead for better 14561e5f1caaSRalf Baechle performance. 14571e5f1caaSRalf Baechle 14581e5f1caaSRalf Baechleconfig CPU_MIPS64_R2 14591e5f1caaSRalf Baechle bool "MIPS64 Release 2" 14607cf8053bSRalf Baechle depends on SYS_HAS_CPU_MIPS64_R2 1461797798c1SRalf Baechle select CPU_HAS_PREFETCH 14621e5f1caaSRalf Baechle select CPU_SUPPORTS_32BIT_KERNEL 14631e5f1caaSRalf Baechle select CPU_SUPPORTS_64BIT_KERNEL 1464ec28f306SRalf Baechle select CPU_SUPPORTS_HIGHMEM 14659cffd154SDavid Daney select CPU_SUPPORTS_HUGEPAGES 1466a5e9a69eSPaul Burton select CPU_SUPPORTS_MSA 146740a2df49SJames Hogan select HAVE_KVM 14681e5f1caaSRalf Baechle help 14691e5f1caaSRalf Baechle Choose this option to build a kernel for release 2 or later of the 14701e5f1caaSRalf Baechle MIPS64 architecture. Many modern embedded systems with a 64-bit 14711e5f1caaSRalf Baechle MIPS processor are based on a MIPS64 processor. If you know the 14721e5f1caaSRalf Baechle specific type of processor in your system, choose those that one 14731e5f1caaSRalf Baechle otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system. 14741da177e4SLinus Torvalds 1475ab7c01fdSSerge Seminconfig CPU_MIPS64_R5 1476ab7c01fdSSerge Semin bool "MIPS64 Release 5" 1477ab7c01fdSSerge Semin depends on SYS_HAS_CPU_MIPS64_R5 1478ab7c01fdSSerge Semin select CPU_HAS_PREFETCH 1479ab7c01fdSSerge Semin select CPU_SUPPORTS_32BIT_KERNEL 1480ab7c01fdSSerge Semin select CPU_SUPPORTS_64BIT_KERNEL 1481ab7c01fdSSerge Semin select CPU_SUPPORTS_HIGHMEM 1482ab7c01fdSSerge Semin select CPU_SUPPORTS_HUGEPAGES 1483ab7c01fdSSerge Semin select CPU_SUPPORTS_MSA 1484ab7c01fdSSerge Semin select MIPS_O32_FP64_SUPPORT if 32BIT || MIPS32_O32 1485ab7c01fdSSerge Semin select HAVE_KVM 1486ab7c01fdSSerge Semin help 1487ab7c01fdSSerge Semin Choose this option to build a kernel for release 5 or later of the 1488ab7c01fdSSerge Semin MIPS64 architecture. This is a intermediate MIPS architecture 1489ab7c01fdSSerge Semin release partly implementing release 6 features. Though there is no 1490ab7c01fdSSerge Semin any hardware known to be based on this release. 1491ab7c01fdSSerge Semin 14927fd08ca5SLeonid Yegoshinconfig CPU_MIPS64_R6 1493674d10e2SMarkos Chandras bool "MIPS64 Release 6" 14947fd08ca5SLeonid Yegoshin depends on SYS_HAS_CPU_MIPS64_R6 14957fd08ca5SLeonid Yegoshin select CPU_HAS_PREFETCH 149618d84e2eSAlexander Lobakin select CPU_NO_LOAD_STORE_LR 14977fd08ca5SLeonid Yegoshin select CPU_SUPPORTS_32BIT_KERNEL 14987fd08ca5SLeonid Yegoshin select CPU_SUPPORTS_64BIT_KERNEL 14997fd08ca5SLeonid Yegoshin select CPU_SUPPORTS_HIGHMEM 1500afd375dcSPaul Burton select CPU_SUPPORTS_HUGEPAGES 15017fd08ca5SLeonid Yegoshin select CPU_SUPPORTS_MSA 15022e6c7747SJames Hogan select MIPS_O32_FP64_SUPPORT if 32BIT || MIPS32_O32 150340a2df49SJames Hogan select HAVE_KVM 15047fd08ca5SLeonid Yegoshin help 15057fd08ca5SLeonid Yegoshin Choose this option to build a kernel for release 6 or later of the 15067fd08ca5SLeonid Yegoshin MIPS64 architecture. New MIPS processors, starting with the Warrior 15077fd08ca5SLeonid Yegoshin family, are based on a MIPS64r6 processor. If you own an older 15087fd08ca5SLeonid Yegoshin processor, you probably need to select MIPS64r1 or MIPS64r2 instead. 15097fd08ca5SLeonid Yegoshin 1510281e3aeaSSerge Seminconfig CPU_P5600 1511281e3aeaSSerge Semin bool "MIPS Warrior P5600" 1512281e3aeaSSerge Semin depends on SYS_HAS_CPU_P5600 1513281e3aeaSSerge Semin select CPU_HAS_PREFETCH 1514281e3aeaSSerge Semin select CPU_SUPPORTS_32BIT_KERNEL 1515281e3aeaSSerge Semin select CPU_SUPPORTS_HIGHMEM 1516281e3aeaSSerge Semin select CPU_SUPPORTS_MSA 1517281e3aeaSSerge Semin select CPU_SUPPORTS_CPUFREQ 1518281e3aeaSSerge Semin select CPU_MIPSR2_IRQ_VI 1519281e3aeaSSerge Semin select CPU_MIPSR2_IRQ_EI 1520281e3aeaSSerge Semin select HAVE_KVM 1521281e3aeaSSerge Semin select MIPS_O32_FP64_SUPPORT 1522281e3aeaSSerge Semin help 1523281e3aeaSSerge Semin Choose this option to build a kernel for MIPS Warrior P5600 CPU. 1524281e3aeaSSerge Semin It's based on MIPS32r5 ISA with XPA, EVA, dual/quad issue exec pipes, 1525281e3aeaSSerge Semin MMU with two-levels TLB, UCA, MSA, MDU core level features and system 1526281e3aeaSSerge Semin level features like up to six P5600 calculation cores, CM2 with L2 1527281e3aeaSSerge Semin cache, IOCU/IOMMU (though might be unused depending on the system- 1528281e3aeaSSerge Semin specific IP core configuration), GIC, CPC, virtualisation module, 1529281e3aeaSSerge Semin eJTAG and PDtrace. 1530281e3aeaSSerge Semin 15311da177e4SLinus Torvaldsconfig CPU_R3000 15321da177e4SLinus Torvalds bool "R3000" 15337cf8053bSRalf Baechle depends on SYS_HAS_CPU_R3000 1534f7062ddbSRalf Baechle select CPU_HAS_WB 153554746829SPaul Burton select CPU_R3K_TLB 1536ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_32BIT_KERNEL 1537797798c1SRalf Baechle select CPU_SUPPORTS_HIGHMEM 15381da177e4SLinus Torvalds help 15391da177e4SLinus Torvalds Please make sure to pick the right CPU type. Linux/MIPS is not 15401da177e4SLinus Torvalds designed to be generic, i.e. Kernels compiled for R3000 CPUs will 15411da177e4SLinus Torvalds *not* work on R4000 machines and vice versa. However, since most 15421da177e4SLinus Torvalds of the supported machines have an R4000 (or similar) CPU, R4x00 15431da177e4SLinus Torvalds might be a safe bet. If the resulting kernel does not work, 15441da177e4SLinus Torvalds try to recompile with R3000. 15451da177e4SLinus Torvalds 154665ce6197SLauri Kasanenconfig CPU_R4300 154765ce6197SLauri Kasanen bool "R4300" 154865ce6197SLauri Kasanen depends on SYS_HAS_CPU_R4300 154965ce6197SLauri Kasanen select CPU_SUPPORTS_32BIT_KERNEL 155065ce6197SLauri Kasanen select CPU_SUPPORTS_64BIT_KERNEL 155165ce6197SLauri Kasanen help 155265ce6197SLauri Kasanen MIPS Technologies R4300-series processors. 155365ce6197SLauri Kasanen 15541da177e4SLinus Torvaldsconfig CPU_R4X00 15551da177e4SLinus Torvalds bool "R4x00" 15567cf8053bSRalf Baechle depends on SYS_HAS_CPU_R4X00 1557ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_32BIT_KERNEL 1558ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_64BIT_KERNEL 1559970d032fSRalf Baechle select CPU_SUPPORTS_HUGEPAGES 15601da177e4SLinus Torvalds help 15611da177e4SLinus Torvalds MIPS Technologies R4000-series processors other than 4300, including 15621da177e4SLinus Torvalds the R4000, R4400, R4600, and 4700. 15631da177e4SLinus Torvalds 15641da177e4SLinus Torvaldsconfig CPU_TX49XX 15651da177e4SLinus Torvalds bool "R49XX" 15667cf8053bSRalf Baechle depends on SYS_HAS_CPU_TX49XX 1567de862b48SAtsushi Nemoto select CPU_HAS_PREFETCH 1568ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_32BIT_KERNEL 1569ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_64BIT_KERNEL 1570970d032fSRalf Baechle select CPU_SUPPORTS_HUGEPAGES 15711da177e4SLinus Torvalds 15721da177e4SLinus Torvaldsconfig CPU_R5000 15731da177e4SLinus Torvalds bool "R5000" 15747cf8053bSRalf Baechle depends on SYS_HAS_CPU_R5000 1575ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_32BIT_KERNEL 1576ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_64BIT_KERNEL 1577970d032fSRalf Baechle select CPU_SUPPORTS_HUGEPAGES 15781da177e4SLinus Torvalds help 15791da177e4SLinus Torvalds MIPS Technologies R5000-series processors other than the Nevada. 15801da177e4SLinus Torvalds 1581542c1020SShinya Kuribayashiconfig CPU_R5500 1582542c1020SShinya Kuribayashi bool "R5500" 1583542c1020SShinya Kuribayashi depends on SYS_HAS_CPU_R5500 1584542c1020SShinya Kuribayashi select CPU_SUPPORTS_32BIT_KERNEL 1585542c1020SShinya Kuribayashi select CPU_SUPPORTS_64BIT_KERNEL 15869cffd154SDavid Daney select CPU_SUPPORTS_HUGEPAGES 1587542c1020SShinya Kuribayashi help 1588542c1020SShinya Kuribayashi NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV 1589542c1020SShinya Kuribayashi instruction set. 1590542c1020SShinya Kuribayashi 15911da177e4SLinus Torvaldsconfig CPU_NEVADA 15921da177e4SLinus Torvalds bool "RM52xx" 15937cf8053bSRalf Baechle depends on SYS_HAS_CPU_NEVADA 1594ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_32BIT_KERNEL 1595ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_64BIT_KERNEL 1596970d032fSRalf Baechle select CPU_SUPPORTS_HUGEPAGES 15971da177e4SLinus Torvalds help 15981da177e4SLinus Torvalds QED / PMC-Sierra RM52xx-series ("Nevada") processors. 15991da177e4SLinus Torvalds 16001da177e4SLinus Torvaldsconfig CPU_R10000 16011da177e4SLinus Torvalds bool "R10000" 16027cf8053bSRalf Baechle depends on SYS_HAS_CPU_R10000 16035e83d430SRalf Baechle select CPU_HAS_PREFETCH 1604ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_32BIT_KERNEL 1605ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_64BIT_KERNEL 1606797798c1SRalf Baechle select CPU_SUPPORTS_HIGHMEM 1607970d032fSRalf Baechle select CPU_SUPPORTS_HUGEPAGES 16081da177e4SLinus Torvalds help 16091da177e4SLinus Torvalds MIPS Technologies R10000-series processors. 16101da177e4SLinus Torvalds 16111da177e4SLinus Torvaldsconfig CPU_RM7000 16121da177e4SLinus Torvalds bool "RM7000" 16137cf8053bSRalf Baechle depends on SYS_HAS_CPU_RM7000 16145e83d430SRalf Baechle select CPU_HAS_PREFETCH 1615ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_32BIT_KERNEL 1616ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_64BIT_KERNEL 1617797798c1SRalf Baechle select CPU_SUPPORTS_HIGHMEM 1618970d032fSRalf Baechle select CPU_SUPPORTS_HUGEPAGES 16191da177e4SLinus Torvalds 16201da177e4SLinus Torvaldsconfig CPU_SB1 16211da177e4SLinus Torvalds bool "SB1" 16227cf8053bSRalf Baechle depends on SYS_HAS_CPU_SB1 1623ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_32BIT_KERNEL 1624ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_64BIT_KERNEL 1625797798c1SRalf Baechle select CPU_SUPPORTS_HIGHMEM 1626970d032fSRalf Baechle select CPU_SUPPORTS_HUGEPAGES 16270004a9dfSRalf Baechle select WEAK_ORDERING 16281da177e4SLinus Torvalds 1629a86c7f72SDavid Daneyconfig CPU_CAVIUM_OCTEON 1630a86c7f72SDavid Daney bool "Cavium Octeon processor" 16315e683389SDavid Daney depends on SYS_HAS_CPU_CAVIUM_OCTEON 1632a86c7f72SDavid Daney select CPU_HAS_PREFETCH 1633a86c7f72SDavid Daney select CPU_SUPPORTS_64BIT_KERNEL 1634a86c7f72SDavid Daney select WEAK_ORDERING 1635a86c7f72SDavid Daney select CPU_SUPPORTS_HIGHMEM 16369cffd154SDavid Daney select CPU_SUPPORTS_HUGEPAGES 1637df115f3eSBen Hutchings select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 1638df115f3eSBen Hutchings select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 1639930beb5aSFlorian Fainelli select MIPS_L1_CACHE_SHIFT_7 16400ae3abcdSJames Hogan select HAVE_KVM 1641a86c7f72SDavid Daney help 1642a86c7f72SDavid Daney The Cavium Octeon processor is a highly integrated chip containing 1643a86c7f72SDavid Daney many ethernet hardware widgets for networking tasks. The processor 1644a86c7f72SDavid Daney can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets. 1645a86c7f72SDavid Daney Full details can be found at http://www.caviumnetworks.com. 1646a86c7f72SDavid Daney 1647cd746249SJonas Gorskiconfig CPU_BMIPS 1648cd746249SJonas Gorski bool "Broadcom BMIPS" 1649cd746249SJonas Gorski depends on SYS_HAS_CPU_BMIPS 1650cd746249SJonas Gorski select CPU_MIPS32 1651fe7f62c0SJonas Gorski select CPU_BMIPS32_3300 if SYS_HAS_CPU_BMIPS32_3300 1652cd746249SJonas Gorski select CPU_BMIPS4350 if SYS_HAS_CPU_BMIPS4350 1653cd746249SJonas Gorski select CPU_BMIPS4380 if SYS_HAS_CPU_BMIPS4380 1654cd746249SJonas Gorski select CPU_BMIPS5000 if SYS_HAS_CPU_BMIPS5000 1655cd746249SJonas Gorski select CPU_SUPPORTS_32BIT_KERNEL 1656cd746249SJonas Gorski select DMA_NONCOHERENT 165767e38cf2SRalf Baechle select IRQ_MIPS_CPU 1658cd746249SJonas Gorski select SWAP_IO_SPACE 1659cd746249SJonas Gorski select WEAK_ORDERING 1660c1c0c461SKevin Cernekee select CPU_SUPPORTS_HIGHMEM 166169aaf9c8SJonas Gorski select CPU_HAS_PREFETCH 1662a8d709b0SMarkus Mayer select CPU_SUPPORTS_CPUFREQ 1663a8d709b0SMarkus Mayer select MIPS_EXTERNAL_TIMER 1664bf8bde41SFlorian Fainelli select GENERIC_IRQ_MIGRATION if HOTPLUG_CPU 1665c1c0c461SKevin Cernekee help 1666fe7f62c0SJonas Gorski Support for BMIPS32/3300/4350/4380 and BMIPS5000 processors. 1667c1c0c461SKevin Cernekee 16681da177e4SLinus Torvaldsendchoice 16691da177e4SLinus Torvalds 1670a6e18781SLeonid Yegoshinconfig CPU_MIPS32_3_5_FEATURES 1671a6e18781SLeonid Yegoshin bool "MIPS32 Release 3.5 Features" 1672a6e18781SLeonid Yegoshin depends on SYS_HAS_CPU_MIPS32_R3_5 1673281e3aeaSSerge Semin depends on CPU_MIPS32_R2 || CPU_MIPS32_R5 || CPU_MIPS32_R6 || \ 1674281e3aeaSSerge Semin CPU_P5600 1675a6e18781SLeonid Yegoshin help 1676a6e18781SLeonid Yegoshin Choose this option to build a kernel for release 2 or later of the 1677a6e18781SLeonid Yegoshin MIPS32 architecture including features from the 3.5 release such as 1678a6e18781SLeonid Yegoshin support for Enhanced Virtual Addressing (EVA). 1679a6e18781SLeonid Yegoshin 1680a6e18781SLeonid Yegoshinconfig CPU_MIPS32_3_5_EVA 1681a6e18781SLeonid Yegoshin bool "Enhanced Virtual Addressing (EVA)" 1682a6e18781SLeonid Yegoshin depends on CPU_MIPS32_3_5_FEATURES 1683a6e18781SLeonid Yegoshin select EVA 1684a6e18781SLeonid Yegoshin default y 1685a6e18781SLeonid Yegoshin help 1686a6e18781SLeonid Yegoshin Choose this option if you want to enable the Enhanced Virtual 1687a6e18781SLeonid Yegoshin Addressing (EVA) on your MIPS32 core (such as proAptiv). 1688a6e18781SLeonid Yegoshin One of its primary benefits is an increase in the maximum size 1689a6e18781SLeonid Yegoshin of lowmem (up to 3GB). If unsure, say 'N' here. 1690a6e18781SLeonid Yegoshin 1691c5b36783SSteven J. Hillconfig CPU_MIPS32_R5_FEATURES 1692c5b36783SSteven J. Hill bool "MIPS32 Release 5 Features" 1693c5b36783SSteven J. Hill depends on SYS_HAS_CPU_MIPS32_R5 1694281e3aeaSSerge Semin depends on CPU_MIPS32_R2 || CPU_MIPS32_R5 || CPU_P5600 1695c5b36783SSteven J. Hill help 1696c5b36783SSteven J. Hill Choose this option to build a kernel for release 2 or later of the 1697c5b36783SSteven J. Hill MIPS32 architecture including features from release 5 such as 1698c5b36783SSteven J. Hill support for Extended Physical Addressing (XPA). 1699c5b36783SSteven J. Hill 1700c5b36783SSteven J. Hillconfig CPU_MIPS32_R5_XPA 1701c5b36783SSteven J. Hill bool "Extended Physical Addressing (XPA)" 1702c5b36783SSteven J. Hill depends on CPU_MIPS32_R5_FEATURES 1703c5b36783SSteven J. Hill depends on !EVA 1704c5b36783SSteven J. Hill depends on !PAGE_SIZE_4KB 1705c5b36783SSteven J. Hill depends on SYS_SUPPORTS_HIGHMEM 1706c5b36783SSteven J. Hill select XPA 1707c5b36783SSteven J. Hill select HIGHMEM 1708d4a451d5SChristoph Hellwig select PHYS_ADDR_T_64BIT 1709c5b36783SSteven J. Hill default n 1710c5b36783SSteven J. Hill help 1711c5b36783SSteven J. Hill Choose this option if you want to enable the Extended Physical 1712c5b36783SSteven J. Hill Addressing (XPA) on your MIPS32 core (such as P5600 series). The 1713c5b36783SSteven J. Hill benefit is to increase physical addressing equal to or greater 1714c5b36783SSteven J. Hill than 40 bits. Note that this has the side effect of turning on 1715c5b36783SSteven J. Hill 64-bit addressing which in turn makes the PTEs 64-bit in size. 1716c5b36783SSteven J. Hill If unsure, say 'N' here. 1717c5b36783SSteven J. Hill 1718622844bfSWu Zhangjinif CPU_LOONGSON2F 1719622844bfSWu Zhangjinconfig CPU_NOP_WORKAROUNDS 1720622844bfSWu Zhangjin bool 1721622844bfSWu Zhangjin 1722622844bfSWu Zhangjinconfig CPU_JUMP_WORKAROUNDS 1723622844bfSWu Zhangjin bool 1724622844bfSWu Zhangjin 1725622844bfSWu Zhangjinconfig CPU_LOONGSON2F_WORKAROUNDS 1726622844bfSWu Zhangjin bool "Loongson 2F Workarounds" 1727622844bfSWu Zhangjin default y 1728622844bfSWu Zhangjin select CPU_NOP_WORKAROUNDS 1729622844bfSWu Zhangjin select CPU_JUMP_WORKAROUNDS 1730622844bfSWu Zhangjin help 1731622844bfSWu Zhangjin Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which 1732622844bfSWu Zhangjin require workarounds. Without workarounds the system may hang 1733622844bfSWu Zhangjin unexpectedly. For more information please refer to the gas 1734622844bfSWu Zhangjin -mfix-loongson2f-nop and -mfix-loongson2f-jump options. 1735622844bfSWu Zhangjin 1736622844bfSWu Zhangjin Loongson 2F03 and later have fixed these issues and no workarounds 1737622844bfSWu Zhangjin are needed. The workarounds have no significant side effect on them 1738622844bfSWu Zhangjin but may decrease the performance of the system so this option should 1739622844bfSWu Zhangjin be disabled unless the kernel is intended to be run on 2F01 or 2F02 1740622844bfSWu Zhangjin systems. 1741622844bfSWu Zhangjin 1742622844bfSWu Zhangjin If unsure, please say Y. 1743622844bfSWu Zhangjinendif # CPU_LOONGSON2F 1744622844bfSWu Zhangjin 17451b93b3c3SWu Zhangjinconfig SYS_SUPPORTS_ZBOOT 17461b93b3c3SWu Zhangjin bool 17471b93b3c3SWu Zhangjin select HAVE_KERNEL_GZIP 17481b93b3c3SWu Zhangjin select HAVE_KERNEL_BZIP2 174931c4867dSFlorian Fainelli select HAVE_KERNEL_LZ4 17501b93b3c3SWu Zhangjin select HAVE_KERNEL_LZMA 1751fe1d45e0SWu Zhangjin select HAVE_KERNEL_LZO 17524e23eb63SFlorian Fainelli select HAVE_KERNEL_XZ 1753a510b616SPaul Cercueil select HAVE_KERNEL_ZSTD 17541b93b3c3SWu Zhangjin 17551b93b3c3SWu Zhangjinconfig SYS_SUPPORTS_ZBOOT_UART16550 17561b93b3c3SWu Zhangjin bool 17571b93b3c3SWu Zhangjin select SYS_SUPPORTS_ZBOOT 17581b93b3c3SWu Zhangjin 1759dbb98314SAlban Bedelconfig SYS_SUPPORTS_ZBOOT_UART_PROM 1760dbb98314SAlban Bedel bool 1761dbb98314SAlban Bedel select SYS_SUPPORTS_ZBOOT 1762dbb98314SAlban Bedel 1763268a2d60SJiaxun Yangconfig CPU_LOONGSON2EF 17643702bba5SWu Zhangjin bool 17653702bba5SWu Zhangjin select CPU_SUPPORTS_32BIT_KERNEL 17663702bba5SWu Zhangjin select CPU_SUPPORTS_64BIT_KERNEL 17673702bba5SWu Zhangjin select CPU_SUPPORTS_HIGHMEM 1768970d032fSRalf Baechle select CPU_SUPPORTS_HUGEPAGES 17693702bba5SWu Zhangjin 1770b2afb64cSHuacai Chenconfig CPU_LOONGSON32 1771ca585cf9SKelvin Cheung bool 1772ca585cf9SKelvin Cheung select CPU_MIPS32 17737e280f6bSJiaxun Yang select CPU_MIPSR2 1774ca585cf9SKelvin Cheung select CPU_HAS_PREFETCH 1775ca585cf9SKelvin Cheung select CPU_SUPPORTS_32BIT_KERNEL 1776ca585cf9SKelvin Cheung select CPU_SUPPORTS_HIGHMEM 1777f29ad10dSKelvin Cheung select CPU_SUPPORTS_CPUFREQ 1778ca585cf9SKelvin Cheung 1779fe7f62c0SJonas Gorskiconfig CPU_BMIPS32_3300 178004fa8bf7SJonas Gorski select SMP_UP if SMP 17811bbb6c1bSKevin Cernekee bool 1782cd746249SJonas Gorski 1783cd746249SJonas Gorskiconfig CPU_BMIPS4350 1784cd746249SJonas Gorski bool 1785cd746249SJonas Gorski select SYS_SUPPORTS_SMP 1786cd746249SJonas Gorski select SYS_SUPPORTS_HOTPLUG_CPU 1787cd746249SJonas Gorski 1788cd746249SJonas Gorskiconfig CPU_BMIPS4380 1789cd746249SJonas Gorski bool 1790bbf2ba67SKevin Cernekee select MIPS_L1_CACHE_SHIFT_6 1791cd746249SJonas Gorski select SYS_SUPPORTS_SMP 1792cd746249SJonas Gorski select SYS_SUPPORTS_HOTPLUG_CPU 1793b4720809SFlorian Fainelli select CPU_HAS_RIXI 1794cd746249SJonas Gorski 1795cd746249SJonas Gorskiconfig CPU_BMIPS5000 1796cd746249SJonas Gorski bool 1797cd746249SJonas Gorski select MIPS_CPU_SCACHE 1798bbf2ba67SKevin Cernekee select MIPS_L1_CACHE_SHIFT_7 1799cd746249SJonas Gorski select SYS_SUPPORTS_SMP 1800cd746249SJonas Gorski select SYS_SUPPORTS_HOTPLUG_CPU 1801b4720809SFlorian Fainelli select CPU_HAS_RIXI 18021bbb6c1bSKevin Cernekee 1803268a2d60SJiaxun Yangconfig SYS_HAS_CPU_LOONGSON64 18040e476d91SHuacai Chen bool 18050e476d91SHuacai Chen select CPU_SUPPORTS_CPUFREQ 1806b2edcfc8SHuacai Chen select CPU_HAS_RIXI 18070e476d91SHuacai Chen 18083702bba5SWu Zhangjinconfig SYS_HAS_CPU_LOONGSON2E 18092a21c730SFuxin Zhang bool 18102a21c730SFuxin Zhang 18116f7a251aSWu Zhangjinconfig SYS_HAS_CPU_LOONGSON2F 18126f7a251aSWu Zhangjin bool 181355045ff5SWu Zhangjin select CPU_SUPPORTS_CPUFREQ 181455045ff5SWu Zhangjin select CPU_SUPPORTS_ADDRWINCFG if 64BIT 18156f7a251aSWu Zhangjin 1816ca585cf9SKelvin Cheungconfig SYS_HAS_CPU_LOONGSON1B 1817ca585cf9SKelvin Cheung bool 1818ca585cf9SKelvin Cheung 181912e3280bSYang Lingconfig SYS_HAS_CPU_LOONGSON1C 182012e3280bSYang Ling bool 182112e3280bSYang Ling 18227cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1 18237cf8053bSRalf Baechle bool 18247cf8053bSRalf Baechle 18257cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2 18267cf8053bSRalf Baechle bool 18277cf8053bSRalf Baechle 1828a6e18781SLeonid Yegoshinconfig SYS_HAS_CPU_MIPS32_R3_5 1829a6e18781SLeonid Yegoshin bool 1830a6e18781SLeonid Yegoshin 1831c5b36783SSteven J. Hillconfig SYS_HAS_CPU_MIPS32_R5 1832c5b36783SSteven J. Hill bool 1833c5b36783SSteven J. Hill 18347fd08ca5SLeonid Yegoshinconfig SYS_HAS_CPU_MIPS32_R6 18357fd08ca5SLeonid Yegoshin bool 18367fd08ca5SLeonid Yegoshin 18377cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1 18387cf8053bSRalf Baechle bool 18397cf8053bSRalf Baechle 18407cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2 18417cf8053bSRalf Baechle bool 18427cf8053bSRalf Baechle 1843fd4eb90bSLukas Bulwahnconfig SYS_HAS_CPU_MIPS64_R5 1844fd4eb90bSLukas Bulwahn bool 1845fd4eb90bSLukas Bulwahn 18467fd08ca5SLeonid Yegoshinconfig SYS_HAS_CPU_MIPS64_R6 18477fd08ca5SLeonid Yegoshin bool 18487fd08ca5SLeonid Yegoshin 1849281e3aeaSSerge Seminconfig SYS_HAS_CPU_P5600 1850281e3aeaSSerge Semin bool 1851281e3aeaSSerge Semin 18527cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000 18537cf8053bSRalf Baechle bool 18547cf8053bSRalf Baechle 185565ce6197SLauri Kasanenconfig SYS_HAS_CPU_R4300 185665ce6197SLauri Kasanen bool 185765ce6197SLauri Kasanen 18587cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00 18597cf8053bSRalf Baechle bool 18607cf8053bSRalf Baechle 18617cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX 18627cf8053bSRalf Baechle bool 18637cf8053bSRalf Baechle 18647cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000 18657cf8053bSRalf Baechle bool 18667cf8053bSRalf Baechle 1867542c1020SShinya Kuribayashiconfig SYS_HAS_CPU_R5500 1868542c1020SShinya Kuribayashi bool 1869542c1020SShinya Kuribayashi 18707cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA 18717cf8053bSRalf Baechle bool 18727cf8053bSRalf Baechle 18737cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000 18747cf8053bSRalf Baechle bool 18757cf8053bSRalf Baechle 18767cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000 18777cf8053bSRalf Baechle bool 18787cf8053bSRalf Baechle 18797cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1 18807cf8053bSRalf Baechle bool 18817cf8053bSRalf Baechle 18825e683389SDavid Daneyconfig SYS_HAS_CPU_CAVIUM_OCTEON 18835e683389SDavid Daney bool 18845e683389SDavid Daney 1885cd746249SJonas Gorskiconfig SYS_HAS_CPU_BMIPS 1886c1c0c461SKevin Cernekee bool 1887c1c0c461SKevin Cernekee 1888fe7f62c0SJonas Gorskiconfig SYS_HAS_CPU_BMIPS32_3300 1889c1c0c461SKevin Cernekee bool 1890cd746249SJonas Gorski select SYS_HAS_CPU_BMIPS 1891c1c0c461SKevin Cernekee 1892c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS4350 1893c1c0c461SKevin Cernekee bool 1894cd746249SJonas Gorski select SYS_HAS_CPU_BMIPS 1895c1c0c461SKevin Cernekee 1896c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS4380 1897c1c0c461SKevin Cernekee bool 1898cd746249SJonas Gorski select SYS_HAS_CPU_BMIPS 1899c1c0c461SKevin Cernekee 1900c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS5000 1901c1c0c461SKevin Cernekee bool 1902cd746249SJonas Gorski select SYS_HAS_CPU_BMIPS 1903c1c0c461SKevin Cernekee 190417099b11SRalf Baechle# 190517099b11SRalf Baechle# CPU may reorder R->R, R->W, W->R, W->W 190617099b11SRalf Baechle# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC 190717099b11SRalf Baechle# 19080004a9dfSRalf Baechleconfig WEAK_ORDERING 19090004a9dfSRalf Baechle bool 191017099b11SRalf Baechle 191117099b11SRalf Baechle# 191217099b11SRalf Baechle# CPU may reorder reads and writes beyond LL/SC 191317099b11SRalf Baechle# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC 191417099b11SRalf Baechle# 191517099b11SRalf Baechleconfig WEAK_REORDERING_BEYOND_LLSC 191617099b11SRalf Baechle bool 19175e83d430SRalf Baechleendmenu 19185e83d430SRalf Baechle 19195e83d430SRalf Baechle# 19205e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture 19215e83d430SRalf Baechle# 19225e83d430SRalf Baechleconfig CPU_MIPS32 19235e83d430SRalf Baechle bool 1924ab7c01fdSSerge Semin default y if CPU_MIPS32_R1 || CPU_MIPS32_R2 || CPU_MIPS32_R5 || \ 1925281e3aeaSSerge Semin CPU_MIPS32_R6 || CPU_P5600 19265e83d430SRalf Baechle 19275e83d430SRalf Baechleconfig CPU_MIPS64 19285e83d430SRalf Baechle bool 1929ab7c01fdSSerge Semin default y if CPU_MIPS64_R1 || CPU_MIPS64_R2 || CPU_MIPS64_R5 || \ 19305a4fa44fSJason A. Donenfeld CPU_MIPS64_R6 || CPU_LOONGSON64 || CPU_CAVIUM_OCTEON 19315e83d430SRalf Baechle 19325e83d430SRalf Baechle# 193357eeacedSPaul Burton# These indicate the revision of the architecture 19345e83d430SRalf Baechle# 19355e83d430SRalf Baechleconfig CPU_MIPSR1 19365e83d430SRalf Baechle bool 19375e83d430SRalf Baechle default y if CPU_MIPS32_R1 || CPU_MIPS64_R1 19385e83d430SRalf Baechle 19395e83d430SRalf Baechleconfig CPU_MIPSR2 19405e83d430SRalf Baechle bool 1941a86c7f72SDavid Daney default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON 19428256b17eSFlorian Fainelli select CPU_HAS_RIXI 1943ba9196d2SJiaxun Yang select CPU_HAS_DIEI if !CPU_DIEI_BROKEN 1944a7e07b1aSMarkos Chandras select MIPS_SPRAM 19455e83d430SRalf Baechle 1946ab7c01fdSSerge Seminconfig CPU_MIPSR5 1947ab7c01fdSSerge Semin bool 1948281e3aeaSSerge Semin default y if CPU_MIPS32_R5 || CPU_MIPS64_R5 || CPU_P5600 1949ab7c01fdSSerge Semin select CPU_HAS_RIXI 1950ab7c01fdSSerge Semin select CPU_HAS_DIEI if !CPU_DIEI_BROKEN 1951ab7c01fdSSerge Semin select MIPS_SPRAM 1952ab7c01fdSSerge Semin 19537fd08ca5SLeonid Yegoshinconfig CPU_MIPSR6 19547fd08ca5SLeonid Yegoshin bool 19557fd08ca5SLeonid Yegoshin default y if CPU_MIPS32_R6 || CPU_MIPS64_R6 19568256b17eSFlorian Fainelli select CPU_HAS_RIXI 1957ba9196d2SJiaxun Yang select CPU_HAS_DIEI if !CPU_DIEI_BROKEN 195887321fddSPaul Burton select HAVE_ARCH_BITREVERSE 19592db003a5SPaul Burton select MIPS_ASID_BITS_VARIABLE 19604a5dc51eSMarcin Nowakowski select MIPS_CRC_SUPPORT 1961a7e07b1aSMarkos Chandras select MIPS_SPRAM 19625e83d430SRalf Baechle 196357eeacedSPaul Burtonconfig TARGET_ISA_REV 196457eeacedSPaul Burton int 196557eeacedSPaul Burton default 1 if CPU_MIPSR1 196657eeacedSPaul Burton default 2 if CPU_MIPSR2 1967ab7c01fdSSerge Semin default 5 if CPU_MIPSR5 196857eeacedSPaul Burton default 6 if CPU_MIPSR6 196957eeacedSPaul Burton default 0 197057eeacedSPaul Burton help 197157eeacedSPaul Burton Reflects the ISA revision being targeted by the kernel build. This 197257eeacedSPaul Burton is effectively the Kconfig equivalent of MIPS_ISA_REV. 197357eeacedSPaul Burton 1974a6e18781SLeonid Yegoshinconfig EVA 1975a6e18781SLeonid Yegoshin bool 1976a6e18781SLeonid Yegoshin 1977c5b36783SSteven J. Hillconfig XPA 1978c5b36783SSteven J. Hill bool 1979c5b36783SSteven J. Hill 19805e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL 19815e83d430SRalf Baechle bool 19825e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL 19835e83d430SRalf Baechle bool 19845e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL 19855e83d430SRalf Baechle bool 19865e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL 19875e83d430SRalf Baechle bool 198855045ff5SWu Zhangjinconfig CPU_SUPPORTS_CPUFREQ 198955045ff5SWu Zhangjin bool 199055045ff5SWu Zhangjinconfig CPU_SUPPORTS_ADDRWINCFG 199155045ff5SWu Zhangjin bool 19929cffd154SDavid Daneyconfig CPU_SUPPORTS_HUGEPAGES 19939cffd154SDavid Daney bool 1994a670c82dSLukas Bulwahn depends on !(32BIT && (PHYS_ADDR_T_64BIT || EVA)) 199582622284SDavid Daneyconfig MIPS_PGD_C0_CONTEXT 199682622284SDavid Daney bool 1997c6972fb9SHuang Pei depends on 64BIT 199895b8a5e0SThomas Bogendoerfer default y if (CPU_MIPSR2 || CPU_MIPSR6) 19995e83d430SRalf Baechle 20008192c9eaSDavid Daney# 20018192c9eaSDavid Daney# Set to y for ptrace access to watch registers. 20028192c9eaSDavid Daney# 20038192c9eaSDavid Daneyconfig HARDWARE_WATCHPOINTS 20048192c9eaSDavid Daney bool 2005679eb637SJames Hogan default y if CPU_MIPSR1 || CPU_MIPSR2 || CPU_MIPSR6 20068192c9eaSDavid Daney 20075e83d430SRalf Baechlemenu "Kernel type" 20085e83d430SRalf Baechle 20095e83d430SRalf Baechlechoice 20105e83d430SRalf Baechle prompt "Kernel code model" 20115e83d430SRalf Baechle help 20125e83d430SRalf Baechle You should only select this option if you have a workload that 20135e83d430SRalf Baechle actually benefits from 64-bit processing or if your machine has 20145e83d430SRalf Baechle large memory. You will only be presented a single option in this 20155e83d430SRalf Baechle menu if your system does not support both 32-bit and 64-bit kernels. 20165e83d430SRalf Baechle 20175e83d430SRalf Baechleconfig 32BIT 20185e83d430SRalf Baechle bool "32-bit kernel" 20195e83d430SRalf Baechle depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL 20205e83d430SRalf Baechle select TRAD_SIGNALS 20215e83d430SRalf Baechle help 20225e83d430SRalf Baechle Select this option if you want to build a 32-bit kernel. 2023f17c4ca3SRalf Baechle 20245e83d430SRalf Baechleconfig 64BIT 20255e83d430SRalf Baechle bool "64-bit kernel" 20265e83d430SRalf Baechle depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL 20275e83d430SRalf Baechle help 20285e83d430SRalf Baechle Select this option if you want to build a 64-bit kernel. 20295e83d430SRalf Baechle 20305e83d430SRalf Baechleendchoice 20315e83d430SRalf Baechle 20321e321fa9SLeonid Yegoshinconfig MIPS_VA_BITS_48 20331e321fa9SLeonid Yegoshin bool "48 bits virtual memory" 20341e321fa9SLeonid Yegoshin depends on 64BIT 20351e321fa9SLeonid Yegoshin help 20363377e227SAlex Belits Support a maximum at least 48 bits of application virtual 20373377e227SAlex Belits memory. Default is 40 bits or less, depending on the CPU. 20383377e227SAlex Belits For page sizes 16k and above, this option results in a small 20393377e227SAlex Belits memory overhead for page tables. For 4k page size, a fourth 20403377e227SAlex Belits level of page tables is added which imposes both a memory 20413377e227SAlex Belits overhead as well as slower TLB fault handling. 20423377e227SAlex Belits 20431e321fa9SLeonid Yegoshin If unsure, say N. 20441e321fa9SLeonid Yegoshin 204579876cc1SYunQiang Suconfig ZBOOT_LOAD_ADDRESS 204679876cc1SYunQiang Su hex "Compressed kernel load address" 204779876cc1SYunQiang Su default 0xffffffff80400000 if BCM47XX 204879876cc1SYunQiang Su default 0x0 204979876cc1SYunQiang Su depends on SYS_SUPPORTS_ZBOOT 205079876cc1SYunQiang Su help 205179876cc1SYunQiang Su The address to load compressed kernel, aka vmlinuz. 205279876cc1SYunQiang Su 205379876cc1SYunQiang Su This is only used if non-zero. 205479876cc1SYunQiang Su 20551da177e4SLinus Torvaldschoice 20561da177e4SLinus Torvalds prompt "Kernel page size" 20571da177e4SLinus Torvalds default PAGE_SIZE_4KB 20581da177e4SLinus Torvalds 20591da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB 20601da177e4SLinus Torvalds bool "4kB" 2061268a2d60SJiaxun Yang depends on !CPU_LOONGSON2EF && !CPU_LOONGSON64 20621da177e4SLinus Torvalds help 20631da177e4SLinus Torvalds This option select the standard 4kB Linux page size. On some 20641da177e4SLinus Torvalds R3000-family processors this is the only available page size. Using 20651da177e4SLinus Torvalds 4kB page size will minimize memory consumption and is therefore 20661da177e4SLinus Torvalds recommended for low memory systems. 20671da177e4SLinus Torvalds 20681da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB 20691da177e4SLinus Torvalds bool "8kB" 2070c2aeaaeaSPaul Burton depends on CPU_CAVIUM_OCTEON 20711e321fa9SLeonid Yegoshin depends on !MIPS_VA_BITS_48 20721da177e4SLinus Torvalds help 20731da177e4SLinus Torvalds Using 8kB page size will result in higher performance kernel at 20741da177e4SLinus Torvalds the price of higher memory consumption. This option is available 2075c2aeaaeaSPaul Burton only on cnMIPS processors. Note that you will need a suitable Linux 2076c2aeaaeaSPaul Burton distribution to support this. 20771da177e4SLinus Torvalds 20781da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB 20791da177e4SLinus Torvalds bool "16kB" 2080455481fcSThomas Bogendoerfer depends on !CPU_R3000 20811da177e4SLinus Torvalds help 20821da177e4SLinus Torvalds Using 16kB page size will result in higher performance kernel at 20831da177e4SLinus Torvalds the price of higher memory consumption. This option is available on 2084714bfad6SRalf Baechle all non-R3000 family processors. Note that you will need a suitable 2085714bfad6SRalf Baechle Linux distribution to support this. 20861da177e4SLinus Torvalds 2087c52399beSRalf Baechleconfig PAGE_SIZE_32KB 2088c52399beSRalf Baechle bool "32kB" 2089c52399beSRalf Baechle depends on CPU_CAVIUM_OCTEON 20901e321fa9SLeonid Yegoshin depends on !MIPS_VA_BITS_48 2091c52399beSRalf Baechle help 2092c52399beSRalf Baechle Using 32kB page size will result in higher performance kernel at 2093c52399beSRalf Baechle the price of higher memory consumption. This option is available 2094c52399beSRalf Baechle only on cnMIPS cores. Note that you will need a suitable Linux 2095c52399beSRalf Baechle distribution to support this. 2096c52399beSRalf Baechle 20971da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB 20981da177e4SLinus Torvalds bool "64kB" 2099455481fcSThomas Bogendoerfer depends on !CPU_R3000 21001da177e4SLinus Torvalds help 21011da177e4SLinus Torvalds Using 64kB page size will result in higher performance kernel at 21021da177e4SLinus Torvalds the price of higher memory consumption. This option is available on 21031da177e4SLinus Torvalds all non-R3000 family processor. Not that at the time of this 2104714bfad6SRalf Baechle writing this option is still high experimental. 21051da177e4SLinus Torvalds 21061da177e4SLinus Torvaldsendchoice 21071da177e4SLinus Torvalds 21080192445cSZi Yanconfig ARCH_FORCE_MAX_ORDER 2109c9bace7cSDavid Daney int "Maximum zone order" 2110e4362d1eSAlex Smith range 14 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB 2111e4362d1eSAlex Smith default "14" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB 2112e4362d1eSAlex Smith range 13 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB 2113e4362d1eSAlex Smith default "13" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB 2114e4362d1eSAlex Smith range 12 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB 2115e4362d1eSAlex Smith default "12" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB 2116ef923a76SPaul Cercueil range 0 64 2117c9bace7cSDavid Daney default "11" 2118c9bace7cSDavid Daney help 2119c9bace7cSDavid Daney The kernel memory allocator divides physically contiguous memory 2120c9bace7cSDavid Daney blocks into "zones", where each zone is a power of two number of 2121c9bace7cSDavid Daney pages. This option selects the largest power of two that the kernel 2122c9bace7cSDavid Daney keeps in the memory allocator. If you need to allocate very large 2123c9bace7cSDavid Daney blocks of physically contiguous memory, then you may need to 2124c9bace7cSDavid Daney increase this value. 2125c9bace7cSDavid Daney 2126c9bace7cSDavid Daney This config option is actually maximum order plus one. For example, 2127c9bace7cSDavid Daney a value of 11 means that the largest free memory block is 2^10 pages. 2128c9bace7cSDavid Daney 2129c9bace7cSDavid Daney The page size is not necessarily 4KB. Keep this in mind 2130c9bace7cSDavid Daney when choosing a value for this option. 2131c9bace7cSDavid Daney 21321da177e4SLinus Torvaldsconfig BOARD_SCACHE 21331da177e4SLinus Torvalds bool 21341da177e4SLinus Torvalds 21351da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE 21361da177e4SLinus Torvalds bool 21371da177e4SLinus Torvalds select BOARD_SCACHE 21381da177e4SLinus Torvalds 21399318c51aSChris Dearman# 21409318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches 21419318c51aSChris Dearman# 21429318c51aSChris Dearmanconfig MIPS_CPU_SCACHE 21439318c51aSChris Dearman bool 21449318c51aSChris Dearman select BOARD_SCACHE 21459318c51aSChris Dearman 21461da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE 21471da177e4SLinus Torvalds bool 21481da177e4SLinus Torvalds select BOARD_SCACHE 21491da177e4SLinus Torvalds 21501da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE 21511da177e4SLinus Torvalds bool 21521da177e4SLinus Torvalds select BOARD_SCACHE 21531da177e4SLinus Torvalds 21541da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS 21551da177e4SLinus Torvalds bool "Use DMA to clear/copy pages" 21561da177e4SLinus Torvalds depends on CPU_SB1 21571da177e4SLinus Torvalds help 21581da177e4SLinus Torvalds Instead of using the CPU to zero and copy pages, use a Data Mover 21591da177e4SLinus Torvalds channel. These DMA channels are otherwise unused by the standard 21601da177e4SLinus Torvalds SiByte Linux port. Seems to give a small performance benefit. 21611da177e4SLinus Torvalds 21621da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH 2163c8094b53SRalf Baechle bool 21641da177e4SLinus Torvalds 21653165c846SFlorian Fainelliconfig CPU_GENERIC_DUMP_TLB 21663165c846SFlorian Fainelli bool 2167455481fcSThomas Bogendoerfer default y if !CPU_R3000 21683165c846SFlorian Fainelli 2169c92e47e5SPaul Burtonconfig MIPS_FP_SUPPORT 2170183b40f9SPaul Burton bool "Floating Point support" if EXPERT 2171183b40f9SPaul Burton default y 2172183b40f9SPaul Burton help 2173183b40f9SPaul Burton Select y to include support for floating point in the kernel 2174183b40f9SPaul Burton including initialization of FPU hardware, FP context save & restore 2175183b40f9SPaul Burton and emulation of an FPU where necessary. Without this support any 2176183b40f9SPaul Burton userland program attempting to use floating point instructions will 2177183b40f9SPaul Burton receive a SIGILL. 2178183b40f9SPaul Burton 2179183b40f9SPaul Burton If you know that your userland will not attempt to use floating point 2180183b40f9SPaul Burton instructions then you can say n here to shrink the kernel a little. 2181183b40f9SPaul Burton 2182183b40f9SPaul Burton If unsure, say y. 2183c92e47e5SPaul Burton 218497f7dcbfSPaul Burtonconfig CPU_R2300_FPU 218597f7dcbfSPaul Burton bool 2186c92e47e5SPaul Burton depends on MIPS_FP_SUPPORT 2187455481fcSThomas Bogendoerfer default y if CPU_R3000 218897f7dcbfSPaul Burton 218954746829SPaul Burtonconfig CPU_R3K_TLB 219054746829SPaul Burton bool 219154746829SPaul Burton 219291405eb6SFlorian Fainelliconfig CPU_R4K_FPU 219391405eb6SFlorian Fainelli bool 2194c92e47e5SPaul Burton depends on MIPS_FP_SUPPORT 219597f7dcbfSPaul Burton default y if !CPU_R2300_FPU 219691405eb6SFlorian Fainelli 219762cedc4fSFlorian Fainelliconfig CPU_R4K_CACHE_TLB 219862cedc4fSFlorian Fainelli bool 219954746829SPaul Burton default y if !(CPU_R3K_TLB || CPU_SB1 || CPU_CAVIUM_OCTEON) 220062cedc4fSFlorian Fainelli 220159d6ab86SRalf Baechleconfig MIPS_MT_SMP 2202a92b7f87SMarkos Chandras bool "MIPS MT SMP support (1 TC on each available VPE)" 22035cbf9688SPaul Burton default y 2204527f1028SPaul Burton depends on SYS_SUPPORTS_MULTITHREADING && !CPU_MIPSR6 && !CPU_MICROMIPS 220559d6ab86SRalf Baechle select CPU_MIPSR2_IRQ_VI 2206d725cf38SChris Dearman select CPU_MIPSR2_IRQ_EI 2207c080faa5SSteven J. Hill select SYNC_R4K 220859d6ab86SRalf Baechle select MIPS_MT 220959d6ab86SRalf Baechle select SMP 221087353d8aSRalf Baechle select SMP_UP 2211c080faa5SSteven J. Hill select SYS_SUPPORTS_SMP 2212c080faa5SSteven J. Hill select SYS_SUPPORTS_SCHED_SMT 2213399aaa25SAl Cooper select MIPS_PERF_SHARED_TC_COUNTERS 221459d6ab86SRalf Baechle help 2215c080faa5SSteven J. Hill This is a kernel model which is known as SMVP. This is supported 2216c080faa5SSteven J. Hill on cores with the MT ASE and uses the available VPEs to implement 2217c080faa5SSteven J. Hill virtual processors which supports SMP. This is equivalent to the 2218c080faa5SSteven J. Hill Intel Hyperthreading feature. For further information go to 2219c080faa5SSteven J. Hill <http://www.imgtec.com/mips/mips-multithreading.asp>. 222059d6ab86SRalf Baechle 2221f41ae0b2SRalf Baechleconfig MIPS_MT 2222f41ae0b2SRalf Baechle bool 2223f41ae0b2SRalf Baechle 22240ab7aefcSRalf Baechleconfig SCHED_SMT 22250ab7aefcSRalf Baechle bool "SMT (multithreading) scheduler support" 22260ab7aefcSRalf Baechle depends on SYS_SUPPORTS_SCHED_SMT 22270ab7aefcSRalf Baechle default n 22280ab7aefcSRalf Baechle help 22290ab7aefcSRalf Baechle SMT scheduler support improves the CPU scheduler's decision making 22300ab7aefcSRalf Baechle when dealing with MIPS MT enabled cores at a cost of slightly 22310ab7aefcSRalf Baechle increased overhead in some places. If unsure say N here. 22320ab7aefcSRalf Baechle 22330ab7aefcSRalf Baechleconfig SYS_SUPPORTS_SCHED_SMT 22340ab7aefcSRalf Baechle bool 22350ab7aefcSRalf Baechle 2236f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING 2237f41ae0b2SRalf Baechle bool 2238f41ae0b2SRalf Baechle 2239f088fc84SRalf Baechleconfig MIPS_MT_FPAFF 2240f088fc84SRalf Baechle bool "Dynamic FPU affinity for FP-intensive threads" 2241f088fc84SRalf Baechle default y 2242b633648cSRalf Baechle depends on MIPS_MT_SMP 224307cc0c9eSRalf Baechle 2244b0a668fbSLeonid Yegoshinconfig MIPSR2_TO_R6_EMULATOR 2245b0a668fbSLeonid Yegoshin bool "MIPS R2-to-R6 emulator" 22469eaa9a82SPaul Burton depends on CPU_MIPSR6 2247c92e47e5SPaul Burton depends on MIPS_FP_SUPPORT 2248b0a668fbSLeonid Yegoshin default y 2249b0a668fbSLeonid Yegoshin help 2250b0a668fbSLeonid Yegoshin Choose this option if you want to run non-R6 MIPS userland code. 2251b0a668fbSLeonid Yegoshin Even if you say 'Y' here, the emulator will still be disabled by 225207edf0d4SMarkos Chandras default. You can enable it using the 'mipsr2emu' kernel option. 2253b0a668fbSLeonid Yegoshin The only reason this is a build-time option is to save ~14K from the 2254b0a668fbSLeonid Yegoshin final kernel image. 2255b0a668fbSLeonid Yegoshin 2256f35764e7SJames Hoganconfig SYS_SUPPORTS_VPE_LOADER 2257f35764e7SJames Hogan bool 2258f35764e7SJames Hogan depends on SYS_SUPPORTS_MULTITHREADING 2259f35764e7SJames Hogan help 2260f35764e7SJames Hogan Indicates that the platform supports the VPE loader, and provides 2261f35764e7SJames Hogan physical_memsize. 2262f35764e7SJames Hogan 226307cc0c9eSRalf Baechleconfig MIPS_VPE_LOADER 226407cc0c9eSRalf Baechle bool "VPE loader support." 2265f35764e7SJames Hogan depends on SYS_SUPPORTS_VPE_LOADER && MODULES 226607cc0c9eSRalf Baechle select CPU_MIPSR2_IRQ_VI 226707cc0c9eSRalf Baechle select CPU_MIPSR2_IRQ_EI 226807cc0c9eSRalf Baechle select MIPS_MT 226907cc0c9eSRalf Baechle help 227007cc0c9eSRalf Baechle Includes a loader for loading an elf relocatable object 227107cc0c9eSRalf Baechle onto another VPE and running it. 2272f088fc84SRalf Baechle 227317a1d523SDeng-Cheng Zhuconfig MIPS_VPE_LOADER_CMP 227417a1d523SDeng-Cheng Zhu bool 227517a1d523SDeng-Cheng Zhu default "y" 227617a1d523SDeng-Cheng Zhu depends on MIPS_VPE_LOADER && MIPS_CMP 227717a1d523SDeng-Cheng Zhu 22781a2a6d7eSDeng-Cheng Zhuconfig MIPS_VPE_LOADER_MT 22791a2a6d7eSDeng-Cheng Zhu bool 22801a2a6d7eSDeng-Cheng Zhu default "y" 22811a2a6d7eSDeng-Cheng Zhu depends on MIPS_VPE_LOADER && !MIPS_CMP 22821a2a6d7eSDeng-Cheng Zhu 2283e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM 2284e01402b1SRalf Baechle bool "Load VPE program into memory hidden from linux" 2285e01402b1SRalf Baechle depends on MIPS_VPE_LOADER 2286e01402b1SRalf Baechle default y 2287e01402b1SRalf Baechle help 2288e01402b1SRalf Baechle The loader can use memory that is present but has been hidden from 2289e01402b1SRalf Baechle Linux using the kernel command line option "mem=xxMB". It's up to 2290e01402b1SRalf Baechle you to ensure the amount you put in the option and the space your 2291e01402b1SRalf Baechle program requires is less or equal to the amount physically present. 2292e01402b1SRalf Baechle 2293e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API 2294e01402b1SRalf Baechle bool "Enable support for AP/SP API (RTLX)" 2295e01402b1SRalf Baechle depends on MIPS_VPE_LOADER 2296e01402b1SRalf Baechle 2297da615cf6SDeng-Cheng Zhuconfig MIPS_VPE_APSP_API_CMP 2298da615cf6SDeng-Cheng Zhu bool 2299da615cf6SDeng-Cheng Zhu default "y" 2300da615cf6SDeng-Cheng Zhu depends on MIPS_VPE_APSP_API && MIPS_CMP 2301da615cf6SDeng-Cheng Zhu 23022c973ef0SDeng-Cheng Zhuconfig MIPS_VPE_APSP_API_MT 23032c973ef0SDeng-Cheng Zhu bool 23042c973ef0SDeng-Cheng Zhu default "y" 23052c973ef0SDeng-Cheng Zhu depends on MIPS_VPE_APSP_API && !MIPS_CMP 23062c973ef0SDeng-Cheng Zhu 23074a16ff4cSRalf Baechleconfig MIPS_CMP 23085cac93b3SPaul Burton bool "MIPS CMP framework support (DEPRECATED)" 23095676319cSMarkos Chandras depends on SYS_SUPPORTS_MIPS_CMP && !CPU_MIPSR6 2310b10b43baSMarkos Chandras select SMP 2311eb9b5141STim Anderson select SYNC_R4K 2312b10b43baSMarkos Chandras select SYS_SUPPORTS_SMP 23134a16ff4cSRalf Baechle select WEAK_ORDERING 23144a16ff4cSRalf Baechle default n 23154a16ff4cSRalf Baechle help 2316044505c7SPaul Burton Select this if you are using a bootloader which implements the "CMP 2317044505c7SPaul Burton framework" protocol (ie. YAMON) and want your kernel to make use of 2318044505c7SPaul Burton its ability to start secondary CPUs. 23194a16ff4cSRalf Baechle 23205cac93b3SPaul Burton Unless you have a specific need, you should use CONFIG_MIPS_CPS 23215cac93b3SPaul Burton instead of this. 23225cac93b3SPaul Burton 23230ee958e1SPaul Burtonconfig MIPS_CPS 23240ee958e1SPaul Burton bool "MIPS Coherent Processing System support" 23255a3e7c02SPaul Burton depends on SYS_SUPPORTS_MIPS_CPS 23260ee958e1SPaul Burton select MIPS_CM 23271d8f1f5aSPaul Burton select MIPS_CPS_PM if HOTPLUG_CPU 23280ee958e1SPaul Burton select SMP 23290ee958e1SPaul Burton select SYNC_R4K if (CEVT_R4K || CSRC_R4K) 23301d8f1f5aSPaul Burton select SYS_SUPPORTS_HOTPLUG_CPU 2331c8b7712cSPaul Burton select SYS_SUPPORTS_SCHED_SMT if CPU_MIPSR6 23320ee958e1SPaul Burton select SYS_SUPPORTS_SMP 23330ee958e1SPaul Burton select WEAK_ORDERING 2334d8d3276bSWei Li select GENERIC_IRQ_MIGRATION if HOTPLUG_CPU 23350ee958e1SPaul Burton help 23360ee958e1SPaul Burton Select this if you wish to run an SMP kernel across multiple cores 23370ee958e1SPaul Burton within a MIPS Coherent Processing System. When this option is 23380ee958e1SPaul Burton enabled the kernel will probe for other cores and boot them with 23390ee958e1SPaul Burton no external assistance. It is safe to enable this when hardware 23400ee958e1SPaul Burton support is unavailable. 23410ee958e1SPaul Burton 23423179d37eSPaul Burtonconfig MIPS_CPS_PM 234339a59593SMarkos Chandras depends on MIPS_CPS 23443179d37eSPaul Burton bool 23453179d37eSPaul Burton 23469f98f3ddSPaul Burtonconfig MIPS_CM 23479f98f3ddSPaul Burton bool 23483c9b4166SPaul Burton select MIPS_CPC 23499f98f3ddSPaul Burton 23509c38cf44SPaul Burtonconfig MIPS_CPC 23519c38cf44SPaul Burton bool 23522600990eSRalf Baechle 23531da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS 23541da177e4SLinus Torvalds bool 23551da177e4SLinus Torvalds depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2) 23561da177e4SLinus Torvalds default y 23571da177e4SLinus Torvalds 23581da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS 23591da177e4SLinus Torvalds bool 23601da177e4SLinus Torvalds depends on CPU_SB1 && CPU_SB1_PASS_2 23611da177e4SLinus Torvalds default y 23621da177e4SLinus Torvalds 23639e2b5372SMarkos Chandraschoice 23649e2b5372SMarkos Chandras prompt "SmartMIPS or microMIPS ASE support" 23659e2b5372SMarkos Chandras 23669e2b5372SMarkos Chandrasconfig CPU_NEEDS_NO_SMARTMIPS_OR_MICROMIPS 23679e2b5372SMarkos Chandras bool "None" 23689e2b5372SMarkos Chandras help 23699e2b5372SMarkos Chandras Select this if you want neither microMIPS nor SmartMIPS support 23709e2b5372SMarkos Chandras 23719693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS 23729693a853SFranck Bui-Huu depends on SYS_SUPPORTS_SMARTMIPS 23739e2b5372SMarkos Chandras bool "SmartMIPS" 23749693a853SFranck Bui-Huu help 23759693a853SFranck Bui-Huu SmartMIPS is a extension of the MIPS32 architecture aimed at 23769693a853SFranck Bui-Huu increased security at both hardware and software level for 23779693a853SFranck Bui-Huu smartcards. Enabling this option will allow proper use of the 23789693a853SFranck Bui-Huu SmartMIPS instructions by Linux applications. However a kernel with 23799693a853SFranck Bui-Huu this option will not work on a MIPS core without SmartMIPS core. If 23809693a853SFranck Bui-Huu you don't know you probably don't have SmartMIPS and should say N 23819693a853SFranck Bui-Huu here. 23829693a853SFranck Bui-Huu 2383bce86083SSteven J. Hillconfig CPU_MICROMIPS 23847fd08ca5SLeonid Yegoshin depends on 32BIT && SYS_SUPPORTS_MICROMIPS && !CPU_MIPSR6 23859e2b5372SMarkos Chandras bool "microMIPS" 2386bce86083SSteven J. Hill help 2387bce86083SSteven J. Hill When this option is enabled the kernel will be built using the 2388bce86083SSteven J. Hill microMIPS ISA 2389bce86083SSteven J. Hill 23909e2b5372SMarkos Chandrasendchoice 23919e2b5372SMarkos Chandras 2392a5e9a69eSPaul Burtonconfig CPU_HAS_MSA 23930ce3417eSPaul Burton bool "Support for the MIPS SIMD Architecture" 2394a5e9a69eSPaul Burton depends on CPU_SUPPORTS_MSA 2395c92e47e5SPaul Burton depends on MIPS_FP_SUPPORT 23962a6cb669SPaul Burton depends on 64BIT || MIPS_O32_FP64_SUPPORT 2397a5e9a69eSPaul Burton help 2398a5e9a69eSPaul Burton MIPS SIMD Architecture (MSA) introduces 128 bit wide vector registers 2399a5e9a69eSPaul Burton and a set of SIMD instructions to operate on them. When this option 24001db1af84SPaul Burton is enabled the kernel will support allocating & switching MSA 24011db1af84SPaul Burton vector register contexts. If you know that your kernel will only be 24021db1af84SPaul Burton running on CPUs which do not support MSA or that your userland will 24031db1af84SPaul Burton not be making use of it then you may wish to say N here to reduce 24041db1af84SPaul Burton the size & complexity of your kernel. 2405a5e9a69eSPaul Burton 2406a5e9a69eSPaul Burton If unsure, say Y. 2407a5e9a69eSPaul Burton 24081da177e4SLinus Torvaldsconfig CPU_HAS_WB 2409f7062ddbSRalf Baechle bool 2410e01402b1SRalf Baechle 2411df0ac8a4SKevin Cernekeeconfig XKS01 2412df0ac8a4SKevin Cernekee bool 2413df0ac8a4SKevin Cernekee 2414ba9196d2SJiaxun Yangconfig CPU_HAS_DIEI 2415ba9196d2SJiaxun Yang depends on !CPU_DIEI_BROKEN 2416ba9196d2SJiaxun Yang bool 2417ba9196d2SJiaxun Yang 2418ba9196d2SJiaxun Yangconfig CPU_DIEI_BROKEN 2419ba9196d2SJiaxun Yang bool 2420ba9196d2SJiaxun Yang 24218256b17eSFlorian Fainelliconfig CPU_HAS_RIXI 24228256b17eSFlorian Fainelli bool 24238256b17eSFlorian Fainelli 242418d84e2eSAlexander Lobakinconfig CPU_NO_LOAD_STORE_LR 2425932afdeeSYasha Cherikovsky bool 2426932afdeeSYasha Cherikovsky help 242718d84e2eSAlexander Lobakin CPU lacks support for unaligned load and store instructions: 2428932afdeeSYasha Cherikovsky LWL, LWR, SWL, SWR (Load/store word left/right). 242918d84e2eSAlexander Lobakin LDL, LDR, SDL, SDR (Load/store doubleword left/right, for 64bit 243018d84e2eSAlexander Lobakin systems). 2431932afdeeSYasha Cherikovsky 2432f41ae0b2SRalf Baechle# 2433f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature 2434f41ae0b2SRalf Baechle# 2435e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI 2436f41ae0b2SRalf Baechle bool 2437e01402b1SRalf Baechle 2438f41ae0b2SRalf Baechle# 2439f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature 2440f41ae0b2SRalf Baechle# 2441e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI 2442f41ae0b2SRalf Baechle bool 2443e01402b1SRalf Baechle 24441da177e4SLinus Torvaldsconfig CPU_HAS_SYNC 24451da177e4SLinus Torvalds bool 24461da177e4SLinus Torvalds depends on !CPU_R3000 24471da177e4SLinus Torvalds default y 24481da177e4SLinus Torvalds 24491da177e4SLinus Torvalds# 245020d60d99SMaciej W. Rozycki# CPU non-features 245120d60d99SMaciej W. Rozycki# 2452b56d1cafSThomas Bogendoerfer 2453b56d1cafSThomas Bogendoerfer# Work around the "daddi" and "daddiu" CPU errata: 2454b56d1cafSThomas Bogendoerfer# 2455b56d1cafSThomas Bogendoerfer# - The `daddi' instruction fails to trap on overflow. 2456b56d1cafSThomas Bogendoerfer# "MIPS R4000PC/SC Errata, Processor Revision 2.2 and 3.0", 2457b56d1cafSThomas Bogendoerfer# erratum #23 2458b56d1cafSThomas Bogendoerfer# 2459b56d1cafSThomas Bogendoerfer# - The `daddiu' instruction can produce an incorrect result. 2460b56d1cafSThomas Bogendoerfer# "MIPS R4000PC/SC Errata, Processor Revision 2.2 and 3.0", 2461b56d1cafSThomas Bogendoerfer# erratum #41 2462b56d1cafSThomas Bogendoerfer# "MIPS R4000MC Errata, Processor Revision 2.2 and 3.0", erratum 2463b56d1cafSThomas Bogendoerfer# #15 2464b56d1cafSThomas Bogendoerfer# "MIPS R4400PC/SC Errata, Processor Revision 1.0", erratum #7 2465b56d1cafSThomas Bogendoerfer# "MIPS R4400MC Errata, Processor Revision 1.0", erratum #5 246620d60d99SMaciej W. Rozyckiconfig CPU_DADDI_WORKAROUNDS 246720d60d99SMaciej W. Rozycki bool 246820d60d99SMaciej W. Rozycki 2469b56d1cafSThomas Bogendoerfer# Work around certain R4000 CPU errata (as implemented by GCC): 2470b56d1cafSThomas Bogendoerfer# 2471b56d1cafSThomas Bogendoerfer# - A double-word or a variable shift may give an incorrect result 2472b56d1cafSThomas Bogendoerfer# if executed immediately after starting an integer division: 2473b56d1cafSThomas Bogendoerfer# "MIPS R4000PC/SC Errata, Processor Revision 2.2 and 3.0", 2474b56d1cafSThomas Bogendoerfer# erratum #28 2475b56d1cafSThomas Bogendoerfer# "MIPS R4000MC Errata, Processor Revision 2.2 and 3.0", erratum 2476b56d1cafSThomas Bogendoerfer# #19 2477b56d1cafSThomas Bogendoerfer# 2478b56d1cafSThomas Bogendoerfer# - A double-word or a variable shift may give an incorrect result 2479b56d1cafSThomas Bogendoerfer# if executed while an integer multiplication is in progress: 2480b56d1cafSThomas Bogendoerfer# "MIPS R4000PC/SC Errata, Processor Revision 2.2 and 3.0", 2481b56d1cafSThomas Bogendoerfer# errata #16 & #28 2482b56d1cafSThomas Bogendoerfer# 2483b56d1cafSThomas Bogendoerfer# - An integer division may give an incorrect result if started in 2484b56d1cafSThomas Bogendoerfer# a delay slot of a taken branch or a jump: 2485b56d1cafSThomas Bogendoerfer# "MIPS R4000PC/SC Errata, Processor Revision 2.2 and 3.0", 2486b56d1cafSThomas Bogendoerfer# erratum #52 248720d60d99SMaciej W. Rozyckiconfig CPU_R4000_WORKAROUNDS 248820d60d99SMaciej W. Rozycki bool 248920d60d99SMaciej W. Rozycki select CPU_R4400_WORKAROUNDS 249020d60d99SMaciej W. Rozycki 2491b56d1cafSThomas Bogendoerfer# Work around certain R4400 CPU errata (as implemented by GCC): 2492b56d1cafSThomas Bogendoerfer# 2493b56d1cafSThomas Bogendoerfer# - A double-word or a variable shift may give an incorrect result 2494b56d1cafSThomas Bogendoerfer# if executed immediately after starting an integer division: 2495b56d1cafSThomas Bogendoerfer# "MIPS R4400MC Errata, Processor Revision 1.0", erratum #10 2496b56d1cafSThomas Bogendoerfer# "MIPS R4400MC Errata, Processor Revision 2.0 & 3.0", erratum #4 249720d60d99SMaciej W. Rozyckiconfig CPU_R4400_WORKAROUNDS 249820d60d99SMaciej W. Rozycki bool 249920d60d99SMaciej W. Rozycki 2500071d2f0bSPaul Burtonconfig CPU_R4X00_BUGS64 2501071d2f0bSPaul Burton bool 2502071d2f0bSPaul Burton default y if SYS_HAS_CPU_R4X00 && 64BIT && (TARGET_ISA_REV < 1) 2503071d2f0bSPaul Burton 25044edf00a4SPaul Burtonconfig MIPS_ASID_SHIFT 25054edf00a4SPaul Burton int 2506455481fcSThomas Bogendoerfer default 6 if CPU_R3000 25074edf00a4SPaul Burton default 0 25084edf00a4SPaul Burton 25094edf00a4SPaul Burtonconfig MIPS_ASID_BITS 25104edf00a4SPaul Burton int 25112db003a5SPaul Burton default 0 if MIPS_ASID_BITS_VARIABLE 2512455481fcSThomas Bogendoerfer default 6 if CPU_R3000 25134edf00a4SPaul Burton default 8 25144edf00a4SPaul Burton 25152db003a5SPaul Burtonconfig MIPS_ASID_BITS_VARIABLE 25162db003a5SPaul Burton bool 25172db003a5SPaul Burton 25184a5dc51eSMarcin Nowakowskiconfig MIPS_CRC_SUPPORT 25194a5dc51eSMarcin Nowakowski bool 25204a5dc51eSMarcin Nowakowski 2521802b8362SThomas Bogendoerfer# R4600 erratum. Due to the lack of errata information the exact 2522802b8362SThomas Bogendoerfer# technical details aren't known. I've experimentally found that disabling 2523802b8362SThomas Bogendoerfer# interrupts during indexed I-cache flushes seems to be sufficient to deal 2524802b8362SThomas Bogendoerfer# with the issue. 2525802b8362SThomas Bogendoerferconfig WAR_R4600_V1_INDEX_ICACHEOP 2526802b8362SThomas Bogendoerfer bool 2527802b8362SThomas Bogendoerfer 25285e5b6527SThomas Bogendoerfer# Pleasures of the R4600 V1.x. Cite from the IDT R4600 V1.7 errata: 25295e5b6527SThomas Bogendoerfer# 25305e5b6527SThomas Bogendoerfer# 18. The CACHE instructions Hit_Writeback_Invalidate_D, Hit_Writeback_D, 25315e5b6527SThomas Bogendoerfer# Hit_Invalidate_D and Create_Dirty_Excl_D should only be 25325e5b6527SThomas Bogendoerfer# executed if there is no other dcache activity. If the dcache is 253318ff14c8SColin Ian King# accessed for another instruction immediately preceding when these 25345e5b6527SThomas Bogendoerfer# cache instructions are executing, it is possible that the dcache 25355e5b6527SThomas Bogendoerfer# tag match outputs used by these cache instructions will be 25365e5b6527SThomas Bogendoerfer# incorrect. These cache instructions should be preceded by at least 25375e5b6527SThomas Bogendoerfer# four instructions that are not any kind of load or store 25385e5b6527SThomas Bogendoerfer# instruction. 25395e5b6527SThomas Bogendoerfer# 25405e5b6527SThomas Bogendoerfer# This is not allowed: lw 25415e5b6527SThomas Bogendoerfer# nop 25425e5b6527SThomas Bogendoerfer# nop 25435e5b6527SThomas Bogendoerfer# nop 25445e5b6527SThomas Bogendoerfer# cache Hit_Writeback_Invalidate_D 25455e5b6527SThomas Bogendoerfer# 25465e5b6527SThomas Bogendoerfer# This is allowed: lw 25475e5b6527SThomas Bogendoerfer# nop 25485e5b6527SThomas Bogendoerfer# nop 25495e5b6527SThomas Bogendoerfer# nop 25505e5b6527SThomas Bogendoerfer# nop 25515e5b6527SThomas Bogendoerfer# cache Hit_Writeback_Invalidate_D 25525e5b6527SThomas Bogendoerferconfig WAR_R4600_V1_HIT_CACHEOP 25535e5b6527SThomas Bogendoerfer bool 25545e5b6527SThomas Bogendoerfer 255544def342SThomas Bogendoerfer# Writeback and invalidate the primary cache dcache before DMA. 255644def342SThomas Bogendoerfer# 255744def342SThomas Bogendoerfer# R4600 v2.0 bug: "The CACHE instructions Hit_Writeback_Inv_D, 255844def342SThomas Bogendoerfer# Hit_Writeback_D, Hit_Invalidate_D and Create_Dirty_Exclusive_D will only 255944def342SThomas Bogendoerfer# operate correctly if the internal data cache refill buffer is empty. These 256044def342SThomas Bogendoerfer# CACHE instructions should be separated from any potential data cache miss 256144def342SThomas Bogendoerfer# by a load instruction to an uncached address to empty the response buffer." 256244def342SThomas Bogendoerfer# (Revision 2.0 device errata from IDT available on https://www.idt.com/ 256344def342SThomas Bogendoerfer# in .pdf format.) 256444def342SThomas Bogendoerferconfig WAR_R4600_V2_HIT_CACHEOP 256544def342SThomas Bogendoerfer bool 256644def342SThomas Bogendoerfer 256724a1c023SThomas Bogendoerfer# From TX49/H2 manual: "If the instruction (i.e. CACHE) is issued for 256824a1c023SThomas Bogendoerfer# the line which this instruction itself exists, the following 256924a1c023SThomas Bogendoerfer# operation is not guaranteed." 257024a1c023SThomas Bogendoerfer# 257124a1c023SThomas Bogendoerfer# Workaround: do two phase flushing for Index_Invalidate_I 257224a1c023SThomas Bogendoerferconfig WAR_TX49XX_ICACHE_INDEX_INV 257324a1c023SThomas Bogendoerfer bool 257424a1c023SThomas Bogendoerfer 2575886ee136SThomas Bogendoerfer# The RM7000 processors and the E9000 cores have a bug (though PMC-Sierra 2576886ee136SThomas Bogendoerfer# opposes it being called that) where invalid instructions in the same 2577886ee136SThomas Bogendoerfer# I-cache line worth of instructions being fetched may case spurious 2578886ee136SThomas Bogendoerfer# exceptions. 2579886ee136SThomas Bogendoerferconfig WAR_ICACHE_REFILLS 2580886ee136SThomas Bogendoerfer bool 2581886ee136SThomas Bogendoerfer 2582256ec489SThomas Bogendoerfer# On the R10000 up to version 2.6 (not sure about 2.7) there is a bug that 2583256ec489SThomas Bogendoerfer# may cause ll / sc and lld / scd sequences to execute non-atomically. 2584256ec489SThomas Bogendoerferconfig WAR_R10000_LLSC 2585256ec489SThomas Bogendoerfer bool 2586256ec489SThomas Bogendoerfer 2587a7fbed98SThomas Bogendoerfer# 34K core erratum: "Problems Executing the TLBR Instruction" 2588a7fbed98SThomas Bogendoerferconfig WAR_MIPS34K_MISSED_ITLB 2589a7fbed98SThomas Bogendoerfer bool 2590a7fbed98SThomas Bogendoerfer 259120d60d99SMaciej W. Rozycki# 25921da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel. 25931da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed 25941da177e4SLinus Torvalds# caches such as R3000, SB1, R7000 or those that look like they're virtually 25951da177e4SLinus Torvalds# indexed such as R4000/R4400 SC and MC versions or R10000. So for the 25961da177e4SLinus Torvalds# moment we protect the user and offer the highmem option only on machines 25971da177e4SLinus Torvalds# where it's known to be safe. This will not offer highmem on a few systems 25981da177e4SLinus Torvalds# such as MIPS32 and MIPS64 CPUs which may have virtual and physically 25991da177e4SLinus Torvalds# indexed CPUs but we're playing safe. 2600797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we 2601797798c1SRalf Baechle# know they might have memory configurations that could make use of highmem 2602797798c1SRalf Baechle# support. 26031da177e4SLinus Torvalds# 26041da177e4SLinus Torvaldsconfig HIGHMEM 26051da177e4SLinus Torvalds bool "High Memory Support" 2606a6e18781SLeonid Yegoshin depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM && !CPU_MIPS32_3_5_EVA 2607a4c33e83SThomas Gleixner select KMAP_LOCAL 2608797798c1SRalf Baechle 2609797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM 2610797798c1SRalf Baechle bool 2611797798c1SRalf Baechle 2612797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM 2613797798c1SRalf Baechle bool 26141da177e4SLinus Torvalds 26159693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS 26169693a853SFranck Bui-Huu bool 26179693a853SFranck Bui-Huu 2618a6a4834cSSteven J. Hillconfig SYS_SUPPORTS_MICROMIPS 2619a6a4834cSSteven J. Hill bool 2620a6a4834cSSteven J. Hill 2621377cb1b6SRalf Baechleconfig SYS_SUPPORTS_MIPS16 2622377cb1b6SRalf Baechle bool 2623377cb1b6SRalf Baechle help 2624377cb1b6SRalf Baechle This option must be set if a kernel might be executed on a MIPS16- 2625377cb1b6SRalf Baechle enabled CPU even if MIPS16 is not actually being used. In other 2626377cb1b6SRalf Baechle words, it makes the kernel MIPS16-tolerant. 2627377cb1b6SRalf Baechle 2628a5e9a69eSPaul Burtonconfig CPU_SUPPORTS_MSA 2629a5e9a69eSPaul Burton bool 2630a5e9a69eSPaul Burton 2631b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE 2632b4819b59SYoichi Yuasa def_bool y 2633268a2d60SJiaxun Yang depends on !NUMA && !CPU_LOONGSON2EF 2634b4819b59SYoichi Yuasa 2635b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE 2636b1c6cd42SAtsushi Nemoto bool 263731473747SAtsushi Nemoto 2638d8cb4e11SRalf Baechleconfig NUMA 2639d8cb4e11SRalf Baechle bool "NUMA Support" 2640d8cb4e11SRalf Baechle depends on SYS_SUPPORTS_NUMA 2641cf8194e4STiezhu Yang select SMP 26427ecd19cfSKefeng Wang select HAVE_SETUP_PER_CPU_AREA 26437ecd19cfSKefeng Wang select NEED_PER_CPU_EMBED_FIRST_CHUNK 2644d8cb4e11SRalf Baechle help 2645d8cb4e11SRalf Baechle Say Y to compile the kernel to support NUMA (Non-Uniform Memory 2646d8cb4e11SRalf Baechle Access). This option improves performance on systems with more 2647d8cb4e11SRalf Baechle than two nodes; on two node systems it is generally better to 2648172a37e9SRandy Dunlap leave it disabled; on single node systems leave this option 2649d8cb4e11SRalf Baechle disabled. 2650d8cb4e11SRalf Baechle 2651d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA 2652d8cb4e11SRalf Baechle bool 2653d8cb4e11SRalf Baechle 2654f8f9f21cSFeiyang Chenconfig HAVE_ARCH_NODEDATA_EXTENSION 2655f8f9f21cSFeiyang Chen bool 2656f8f9f21cSFeiyang Chen 26578c530ea3SMatt Redfearnconfig RELOCATABLE 26588c530ea3SMatt Redfearn bool "Relocatable kernel" 2659ab7c01fdSSerge Semin depends on SYS_SUPPORTS_RELOCATABLE 2660ab7c01fdSSerge Semin depends on CPU_MIPS32_R2 || CPU_MIPS64_R2 || \ 2661ab7c01fdSSerge Semin CPU_MIPS32_R5 || CPU_MIPS64_R5 || \ 2662ab7c01fdSSerge Semin CPU_MIPS32_R6 || CPU_MIPS64_R6 || \ 2663a307a4ceSJinyang He CPU_P5600 || CAVIUM_OCTEON_SOC || \ 2664a307a4ceSJinyang He CPU_LOONGSON64 26658c530ea3SMatt Redfearn help 26668c530ea3SMatt Redfearn This builds a kernel image that retains relocation information 26678c530ea3SMatt Redfearn so it can be loaded someplace besides the default 1MB. 26688c530ea3SMatt Redfearn The relocations make the kernel binary about 15% larger, 26698c530ea3SMatt Redfearn but are discarded at runtime 26708c530ea3SMatt Redfearn 2671069fd766SMatt Redfearnconfig RELOCATION_TABLE_SIZE 2672069fd766SMatt Redfearn hex "Relocation table size" 2673069fd766SMatt Redfearn depends on RELOCATABLE 2674069fd766SMatt Redfearn range 0x0 0x01000000 2675a307a4ceSJinyang He default "0x00200000" if CPU_LOONGSON64 2676069fd766SMatt Redfearn default "0x00100000" 2677a7f7f624SMasahiro Yamada help 2678069fd766SMatt Redfearn A table of relocation data will be appended to the kernel binary 2679069fd766SMatt Redfearn and parsed at boot to fix up the relocated kernel. 2680069fd766SMatt Redfearn 2681069fd766SMatt Redfearn This option allows the amount of space reserved for the table to be 2682069fd766SMatt Redfearn adjusted, although the default of 1Mb should be ok in most cases. 2683069fd766SMatt Redfearn 2684069fd766SMatt Redfearn The build will fail and a valid size suggested if this is too small. 2685069fd766SMatt Redfearn 2686069fd766SMatt Redfearn If unsure, leave at the default value. 2687069fd766SMatt Redfearn 2688405bc8fdSMatt Redfearnconfig RANDOMIZE_BASE 2689405bc8fdSMatt Redfearn bool "Randomize the address of the kernel image" 2690405bc8fdSMatt Redfearn depends on RELOCATABLE 2691a7f7f624SMasahiro Yamada help 2692405bc8fdSMatt Redfearn Randomizes the physical and virtual address at which the 2693405bc8fdSMatt Redfearn kernel image is loaded, as a security feature that 2694405bc8fdSMatt Redfearn deters exploit attempts relying on knowledge of the location 2695405bc8fdSMatt Redfearn of kernel internals. 2696405bc8fdSMatt Redfearn 2697405bc8fdSMatt Redfearn Entropy is generated using any coprocessor 0 registers available. 2698405bc8fdSMatt Redfearn 2699405bc8fdSMatt Redfearn The kernel will be offset by up to RANDOMIZE_BASE_MAX_OFFSET. 2700405bc8fdSMatt Redfearn 2701405bc8fdSMatt Redfearn If unsure, say N. 2702405bc8fdSMatt Redfearn 2703405bc8fdSMatt Redfearnconfig RANDOMIZE_BASE_MAX_OFFSET 2704405bc8fdSMatt Redfearn hex "Maximum kASLR offset" if EXPERT 2705405bc8fdSMatt Redfearn depends on RANDOMIZE_BASE 2706405bc8fdSMatt Redfearn range 0x0 0x40000000 if EVA || 64BIT 2707405bc8fdSMatt Redfearn range 0x0 0x08000000 2708405bc8fdSMatt Redfearn default "0x01000000" 2709a7f7f624SMasahiro Yamada help 2710405bc8fdSMatt Redfearn When kASLR is active, this provides the maximum offset that will 2711405bc8fdSMatt Redfearn be applied to the kernel image. It should be set according to the 2712405bc8fdSMatt Redfearn amount of physical RAM available in the target system minus 2713405bc8fdSMatt Redfearn PHYSICAL_START and must be a power of 2. 2714405bc8fdSMatt Redfearn 2715405bc8fdSMatt Redfearn This is limited by the size of KSEG0, 256Mb on 32-bit or 1Gb with 2716405bc8fdSMatt Redfearn EVA or 64-bit. The default is 16Mb. 2717405bc8fdSMatt Redfearn 2718c80d79d7SYasunori Gotoconfig NODES_SHIFT 2719c80d79d7SYasunori Goto int 2720c80d79d7SYasunori Goto default "6" 2721a9ee6cf5SMike Rapoport depends on NUMA 2722c80d79d7SYasunori Goto 272314f70012SDeng-Cheng Zhuconfig HW_PERF_EVENTS 272414f70012SDeng-Cheng Zhu bool "Enable hardware performance counter support for perf events" 272595b8a5e0SThomas Bogendoerfer depends on PERF_EVENTS && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON || CPU_LOONGSON64) 272614f70012SDeng-Cheng Zhu default y 272714f70012SDeng-Cheng Zhu help 272814f70012SDeng-Cheng Zhu Enable hardware performance counter support for perf events. If 272914f70012SDeng-Cheng Zhu disabled, perf events will use software events only. 273014f70012SDeng-Cheng Zhu 2731be8fa1cbSTiezhu Yangconfig DMI 2732be8fa1cbSTiezhu Yang bool "Enable DMI scanning" 2733be8fa1cbSTiezhu Yang depends on MACH_LOONGSON64 2734be8fa1cbSTiezhu Yang select DMI_SCAN_MACHINE_NON_EFI_FALLBACK 2735be8fa1cbSTiezhu Yang default y 2736be8fa1cbSTiezhu Yang help 2737be8fa1cbSTiezhu Yang Enabled scanning of DMI to identify machine quirks. Say Y 2738be8fa1cbSTiezhu Yang here unless you have verified that your setup is not 2739be8fa1cbSTiezhu Yang affected by entries in the DMI blacklist. Required by PNP 2740be8fa1cbSTiezhu Yang BIOS code. 2741be8fa1cbSTiezhu Yang 27421da177e4SLinus Torvaldsconfig SMP 27431da177e4SLinus Torvalds bool "Multi-Processing support" 2744e73ea273SRalf Baechle depends on SYS_SUPPORTS_SMP 2745e73ea273SRalf Baechle help 27461da177e4SLinus Torvalds This enables support for systems with more than one CPU. If you have 27474a474157SRobert Graffham a system with only one CPU, say N. If you have a system with more 27484a474157SRobert Graffham than one CPU, say Y. 27491da177e4SLinus Torvalds 27504a474157SRobert Graffham If you say N here, the kernel will run on uni- and multiprocessor 27511da177e4SLinus Torvalds machines, but will use only one CPU of a multiprocessor machine. If 27521da177e4SLinus Torvalds you say Y here, the kernel will run on many, but not all, 27534a474157SRobert Graffham uniprocessor machines. On a uniprocessor machine, the kernel 27541da177e4SLinus Torvalds will run faster if you say N here. 27551da177e4SLinus Torvalds 27561da177e4SLinus Torvalds People using multiprocessor machines who say Y here should also say 27571da177e4SLinus Torvalds Y to "Enhanced Real Time Clock Support", below. 27581da177e4SLinus Torvalds 275903502faaSAdrian Bunk See also the SMP-HOWTO available at 2760ef054ad3SAlexander A. Klimov <https://www.tldp.org/docs.html#howto>. 27611da177e4SLinus Torvalds 27621da177e4SLinus Torvalds If you don't know what to do here, say N. 27631da177e4SLinus Torvalds 27647840d618SMatt Redfearnconfig HOTPLUG_CPU 27657840d618SMatt Redfearn bool "Support for hot-pluggable CPUs" 27667840d618SMatt Redfearn depends on SMP && SYS_SUPPORTS_HOTPLUG_CPU 27677840d618SMatt Redfearn help 27687840d618SMatt Redfearn Say Y here to allow turning CPUs off and on. CPUs can be 27697840d618SMatt Redfearn controlled through /sys/devices/system/cpu. 27707840d618SMatt Redfearn (Note: power management support will enable this option 27717840d618SMatt Redfearn automatically on SMP systems. ) 27727840d618SMatt Redfearn Say N if you want to disable CPU hotplug. 27737840d618SMatt Redfearn 277487353d8aSRalf Baechleconfig SMP_UP 277587353d8aSRalf Baechle bool 277687353d8aSRalf Baechle 27774a16ff4cSRalf Baechleconfig SYS_SUPPORTS_MIPS_CMP 27784a16ff4cSRalf Baechle bool 27794a16ff4cSRalf Baechle 27800ee958e1SPaul Burtonconfig SYS_SUPPORTS_MIPS_CPS 27810ee958e1SPaul Burton bool 27820ee958e1SPaul Burton 2783e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP 2784e73ea273SRalf Baechle bool 2785e73ea273SRalf Baechle 2786130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4 2787130e2fb7SRalf Baechle bool 2788130e2fb7SRalf Baechle 2789130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8 2790130e2fb7SRalf Baechle bool 2791130e2fb7SRalf Baechle 2792130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16 2793130e2fb7SRalf Baechle bool 2794130e2fb7SRalf Baechle 2795130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32 2796130e2fb7SRalf Baechle bool 2797130e2fb7SRalf Baechle 2798130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64 2799130e2fb7SRalf Baechle bool 2800130e2fb7SRalf Baechle 28011da177e4SLinus Torvaldsconfig NR_CPUS 2802a91796a9SJayachandran C int "Maximum number of CPUs (2-256)" 2803a91796a9SJayachandran C range 2 256 28041da177e4SLinus Torvalds depends on SMP 2805130e2fb7SRalf Baechle default "4" if NR_CPUS_DEFAULT_4 2806130e2fb7SRalf Baechle default "8" if NR_CPUS_DEFAULT_8 2807130e2fb7SRalf Baechle default "16" if NR_CPUS_DEFAULT_16 2808130e2fb7SRalf Baechle default "32" if NR_CPUS_DEFAULT_32 2809130e2fb7SRalf Baechle default "64" if NR_CPUS_DEFAULT_64 28101da177e4SLinus Torvalds help 28111da177e4SLinus Torvalds This allows you to specify the maximum number of CPUs which this 28121da177e4SLinus Torvalds kernel will support. The maximum supported value is 32 for 32-bit 28131da177e4SLinus Torvalds kernel and 64 for 64-bit kernels; the minimum value which makes 281472ede9b1SAtsushi Nemoto sense is 1 for Qemu (useful only for kernel debugging purposes) 281572ede9b1SAtsushi Nemoto and 2 for all others. 28161da177e4SLinus Torvalds 28171da177e4SLinus Torvalds This is purely to save memory - each supported CPU adds 281872ede9b1SAtsushi Nemoto approximately eight kilobytes to the kernel image. For best 281972ede9b1SAtsushi Nemoto performance should round up your number of processors to the next 282072ede9b1SAtsushi Nemoto power of two. 28211da177e4SLinus Torvalds 2822399aaa25SAl Cooperconfig MIPS_PERF_SHARED_TC_COUNTERS 2823399aaa25SAl Cooper bool 2824399aaa25SAl Cooper 28257820b84bSDavid Daneyconfig MIPS_NR_CPU_NR_MAP_1024 28267820b84bSDavid Daney bool 28277820b84bSDavid Daney 28287820b84bSDavid Daneyconfig MIPS_NR_CPU_NR_MAP 28297820b84bSDavid Daney int 28307820b84bSDavid Daney depends on SMP 28317820b84bSDavid Daney default 1024 if MIPS_NR_CPU_NR_MAP_1024 28327820b84bSDavid Daney default NR_CPUS if !MIPS_NR_CPU_NR_MAP_1024 28337820b84bSDavid Daney 28341723b4a3SAtsushi Nemoto# 28351723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration 28361723b4a3SAtsushi Nemoto# 28371723b4a3SAtsushi Nemoto 28381723b4a3SAtsushi Nemotochoice 28391723b4a3SAtsushi Nemoto prompt "Timer frequency" 28401723b4a3SAtsushi Nemoto default HZ_250 28411723b4a3SAtsushi Nemoto help 28421723b4a3SAtsushi Nemoto Allows the configuration of the timer frequency. 28431723b4a3SAtsushi Nemoto 284467596573SPaul Burton config HZ_24 284567596573SPaul Burton bool "24 HZ" if SYS_SUPPORTS_24HZ || SYS_SUPPORTS_ARBIT_HZ 284667596573SPaul Burton 28471723b4a3SAtsushi Nemoto config HZ_48 28480f873585SRalf Baechle bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ 28491723b4a3SAtsushi Nemoto 28501723b4a3SAtsushi Nemoto config HZ_100 28511723b4a3SAtsushi Nemoto bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ 28521723b4a3SAtsushi Nemoto 28531723b4a3SAtsushi Nemoto config HZ_128 28541723b4a3SAtsushi Nemoto bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ 28551723b4a3SAtsushi Nemoto 28561723b4a3SAtsushi Nemoto config HZ_250 28571723b4a3SAtsushi Nemoto bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ 28581723b4a3SAtsushi Nemoto 28591723b4a3SAtsushi Nemoto config HZ_256 28601723b4a3SAtsushi Nemoto bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ 28611723b4a3SAtsushi Nemoto 28621723b4a3SAtsushi Nemoto config HZ_1000 28631723b4a3SAtsushi Nemoto bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ 28641723b4a3SAtsushi Nemoto 28651723b4a3SAtsushi Nemoto config HZ_1024 28661723b4a3SAtsushi Nemoto bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ 28671723b4a3SAtsushi Nemoto 28681723b4a3SAtsushi Nemotoendchoice 28691723b4a3SAtsushi Nemoto 287067596573SPaul Burtonconfig SYS_SUPPORTS_24HZ 287167596573SPaul Burton bool 287267596573SPaul Burton 28731723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ 28741723b4a3SAtsushi Nemoto bool 28751723b4a3SAtsushi Nemoto 28761723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ 28771723b4a3SAtsushi Nemoto bool 28781723b4a3SAtsushi Nemoto 28791723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ 28801723b4a3SAtsushi Nemoto bool 28811723b4a3SAtsushi Nemoto 28821723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ 28831723b4a3SAtsushi Nemoto bool 28841723b4a3SAtsushi Nemoto 28851723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ 28861723b4a3SAtsushi Nemoto bool 28871723b4a3SAtsushi Nemoto 28881723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ 28891723b4a3SAtsushi Nemoto bool 28901723b4a3SAtsushi Nemoto 28911723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ 28921723b4a3SAtsushi Nemoto bool 28931723b4a3SAtsushi Nemoto 28941723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ 28951723b4a3SAtsushi Nemoto bool 289667596573SPaul Burton default y if !SYS_SUPPORTS_24HZ && \ 289767596573SPaul Burton !SYS_SUPPORTS_48HZ && \ 289867596573SPaul Burton !SYS_SUPPORTS_100HZ && \ 289967596573SPaul Burton !SYS_SUPPORTS_128HZ && \ 290067596573SPaul Burton !SYS_SUPPORTS_250HZ && \ 290167596573SPaul Burton !SYS_SUPPORTS_256HZ && \ 290267596573SPaul Burton !SYS_SUPPORTS_1000HZ && \ 29031723b4a3SAtsushi Nemoto !SYS_SUPPORTS_1024HZ 29041723b4a3SAtsushi Nemoto 29051723b4a3SAtsushi Nemotoconfig HZ 29061723b4a3SAtsushi Nemoto int 290767596573SPaul Burton default 24 if HZ_24 29081723b4a3SAtsushi Nemoto default 48 if HZ_48 29091723b4a3SAtsushi Nemoto default 100 if HZ_100 29101723b4a3SAtsushi Nemoto default 128 if HZ_128 29111723b4a3SAtsushi Nemoto default 250 if HZ_250 29121723b4a3SAtsushi Nemoto default 256 if HZ_256 29131723b4a3SAtsushi Nemoto default 1000 if HZ_1000 29141723b4a3SAtsushi Nemoto default 1024 if HZ_1024 29151723b4a3SAtsushi Nemoto 291696685b17SDeng-Cheng Zhuconfig SCHED_HRTICK 291796685b17SDeng-Cheng Zhu def_bool HIGH_RES_TIMERS 291896685b17SDeng-Cheng Zhu 2919ea6e942bSAtsushi Nemotoconfig KEXEC 29207d60717eSKees Cook bool "Kexec system call" 29212965faa5SDave Young select KEXEC_CORE 2922ea6e942bSAtsushi Nemoto help 2923ea6e942bSAtsushi Nemoto kexec is a system call that implements the ability to shutdown your 2924ea6e942bSAtsushi Nemoto current kernel, and to start another kernel. It is like a reboot 29253dde6ad8SDavid Sterba but it is independent of the system firmware. And like a reboot 2926ea6e942bSAtsushi Nemoto you can start any kernel with it, not just Linux. 2927ea6e942bSAtsushi Nemoto 292801dd2fbfSMatt LaPlante The name comes from the similarity to the exec system call. 2929ea6e942bSAtsushi Nemoto 2930ea6e942bSAtsushi Nemoto It is an ongoing process to be certain the hardware in a machine 2931ea6e942bSAtsushi Nemoto is properly shutdown, so do not be surprised if this code does not 2932bf220695SGeert Uytterhoeven initially work for you. As of this writing the exact hardware 2933bf220695SGeert Uytterhoeven interface is strongly in flux, so no good recommendation can be 2934bf220695SGeert Uytterhoeven made. 2935ea6e942bSAtsushi Nemoto 29367aa1c8f4SRalf Baechleconfig CRASH_DUMP 29377aa1c8f4SRalf Baechle bool "Kernel crash dumps" 29387aa1c8f4SRalf Baechle help 29397aa1c8f4SRalf Baechle Generate crash dump after being started by kexec. 29407aa1c8f4SRalf Baechle This should be normally only set in special crash dump kernels 29417aa1c8f4SRalf Baechle which are loaded in the main kernel with kexec-tools into 29427aa1c8f4SRalf Baechle a specially reserved region and then later executed after 29437aa1c8f4SRalf Baechle a crash by kdump/kexec. The crash dump kernel must be compiled 29447aa1c8f4SRalf Baechle to a memory address not used by the main kernel or firmware using 29457aa1c8f4SRalf Baechle PHYSICAL_START. 29467aa1c8f4SRalf Baechle 29477aa1c8f4SRalf Baechleconfig PHYSICAL_START 29487aa1c8f4SRalf Baechle hex "Physical address where the kernel is loaded" 29498bda3e26SMaciej W. Rozycki default "0xffffffff84000000" 29507aa1c8f4SRalf Baechle depends on CRASH_DUMP 29517aa1c8f4SRalf Baechle help 29527aa1c8f4SRalf Baechle This gives the CKSEG0 or KSEG0 address where the kernel is loaded. 29537aa1c8f4SRalf Baechle If you plan to use kernel for capturing the crash dump change 29547aa1c8f4SRalf Baechle this value to start of the reserved region (the "X" value as 29557aa1c8f4SRalf Baechle specified in the "crashkernel=YM@XM" command line boot parameter 29567aa1c8f4SRalf Baechle passed to the panic-ed kernel). 29577aa1c8f4SRalf Baechle 2958597ce172SPaul Burtonconfig MIPS_O32_FP64_SUPPORT 2959b7f1e273SPaul Burton bool "Support for O32 binaries using 64-bit FP" if !CPU_MIPSR6 2960597ce172SPaul Burton depends on 32BIT || MIPS32_O32 2961597ce172SPaul Burton help 2962597ce172SPaul Burton When this is enabled, the kernel will support use of 64-bit floating 2963597ce172SPaul Burton point registers with binaries using the O32 ABI along with the 2964597ce172SPaul Burton EF_MIPS_FP64 ELF header flag (typically built with -mfp64). On 2965597ce172SPaul Burton 32-bit MIPS systems this support is at the cost of increasing the 2966597ce172SPaul Burton size and complexity of the compiled FPU emulator. Thus if you are 2967597ce172SPaul Burton running a MIPS32 system and know that none of your userland binaries 2968597ce172SPaul Burton will require 64-bit floating point, you may wish to reduce the size 2969597ce172SPaul Burton of your kernel & potentially improve FP emulation performance by 2970597ce172SPaul Burton saying N here. 2971597ce172SPaul Burton 297206e2e882SPaul Burton Although binutils currently supports use of this flag the details 297306e2e882SPaul Burton concerning its effect upon the O32 ABI in userland are still being 297418ff14c8SColin Ian King worked on. In order to avoid userland becoming dependent upon current 297506e2e882SPaul Burton behaviour before the details have been finalised, this option should 297606e2e882SPaul Burton be considered experimental and only enabled by those working upon 297706e2e882SPaul Burton said details. 297806e2e882SPaul Burton 297906e2e882SPaul Burton If unsure, say N. 2980597ce172SPaul Burton 2981f2ffa5abSDezhong Diaoconfig USE_OF 29820b3e06fdSJonas Gorski bool 2983f2ffa5abSDezhong Diao select OF 2984e6ce1324SStephen Neuendorffer select OF_EARLY_FLATTREE 2985abd2363fSGrant Likely select IRQ_DOMAIN 2986f2ffa5abSDezhong Diao 29872fe8ea39SDengcheng Zhuconfig UHI_BOOT 29882fe8ea39SDengcheng Zhu bool 29892fe8ea39SDengcheng Zhu 29907fafb068SAndrew Brestickerconfig BUILTIN_DTB 29917fafb068SAndrew Bresticker bool 29927fafb068SAndrew Bresticker 29931da8f179SJonas Gorskichoice 29945b24d52cSJonas Gorski prompt "Kernel appended dtb support" if USE_OF 29951da8f179SJonas Gorski default MIPS_NO_APPENDED_DTB 29961da8f179SJonas Gorski 29971da8f179SJonas Gorski config MIPS_NO_APPENDED_DTB 29981da8f179SJonas Gorski bool "None" 29991da8f179SJonas Gorski help 30001da8f179SJonas Gorski Do not enable appended dtb support. 30011da8f179SJonas Gorski 300287db537dSAaro Koskinen config MIPS_ELF_APPENDED_DTB 300387db537dSAaro Koskinen bool "vmlinux" 300487db537dSAaro Koskinen help 300587db537dSAaro Koskinen With this option, the boot code will look for a device tree binary 300687db537dSAaro Koskinen DTB) included in the vmlinux ELF section .appended_dtb. By default 300787db537dSAaro Koskinen it is empty and the DTB can be appended using binutils command 300887db537dSAaro Koskinen objcopy: 300987db537dSAaro Koskinen 301087db537dSAaro Koskinen objcopy --update-section .appended_dtb=<filename>.dtb vmlinux 301187db537dSAaro Koskinen 301218ff14c8SColin Ian King This is meant as a backward compatibility convenience for those 301387db537dSAaro Koskinen systems with a bootloader that can't be upgraded to accommodate 301487db537dSAaro Koskinen the documented boot protocol using a device tree. 301587db537dSAaro Koskinen 30161da8f179SJonas Gorski config MIPS_RAW_APPENDED_DTB 3017b8f54f2cSJonas Gorski bool "vmlinux.bin or vmlinuz.bin" 30181da8f179SJonas Gorski help 30191da8f179SJonas Gorski With this option, the boot code will look for a device tree binary 3020b8f54f2cSJonas Gorski DTB) appended to raw vmlinux.bin or vmlinuz.bin. 30211da8f179SJonas Gorski (e.g. cat vmlinux.bin <filename>.dtb > vmlinux_w_dtb). 30221da8f179SJonas Gorski 30231da8f179SJonas Gorski This is meant as a backward compatibility convenience for those 30241da8f179SJonas Gorski systems with a bootloader that can't be upgraded to accommodate 30251da8f179SJonas Gorski the documented boot protocol using a device tree. 30261da8f179SJonas Gorski 30271da8f179SJonas Gorski Beware that there is very little in terms of protection against 30281da8f179SJonas Gorski this option being confused by leftover garbage in memory that might 30291da8f179SJonas Gorski look like a DTB header after a reboot if no actual DTB is appended 30301da8f179SJonas Gorski to vmlinux.bin. Do not leave this option active in a production kernel 30311da8f179SJonas Gorski if you don't intend to always append a DTB. 30321da8f179SJonas Gorskiendchoice 30331da8f179SJonas Gorski 30342024972eSJonas Gorskichoice 30352024972eSJonas Gorski prompt "Kernel command line type" if !CMDLINE_OVERRIDE 30362bcef9b4SJonas Gorski default MIPS_CMDLINE_FROM_DTB if USE_OF && !ATH79 && !MACH_INGENIC && \ 303787fcfa7bSJiaxun Yang !MACH_LOONGSON64 && !MIPS_MALTA && \ 30382bcef9b4SJonas Gorski !CAVIUM_OCTEON_SOC 30392024972eSJonas Gorski default MIPS_CMDLINE_FROM_BOOTLOADER 30402024972eSJonas Gorski 30412024972eSJonas Gorski config MIPS_CMDLINE_FROM_DTB 30422024972eSJonas Gorski depends on USE_OF 30432024972eSJonas Gorski bool "Dtb kernel arguments if available" 30442024972eSJonas Gorski 30452024972eSJonas Gorski config MIPS_CMDLINE_DTB_EXTEND 30462024972eSJonas Gorski depends on USE_OF 30472024972eSJonas Gorski bool "Extend dtb kernel arguments with bootloader arguments" 30482024972eSJonas Gorski 30492024972eSJonas Gorski config MIPS_CMDLINE_FROM_BOOTLOADER 30502024972eSJonas Gorski bool "Bootloader kernel arguments if available" 3051ed47e153SRabin Vincent 3052ed47e153SRabin Vincent config MIPS_CMDLINE_BUILTIN_EXTEND 3053ed47e153SRabin Vincent depends on CMDLINE_BOOL 3054ed47e153SRabin Vincent bool "Extend builtin kernel arguments with bootloader arguments" 30552024972eSJonas Gorskiendchoice 30562024972eSJonas Gorski 30575e83d430SRalf Baechleendmenu 30585e83d430SRalf Baechle 30591df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT 30601df0f0ffSAtsushi Nemoto bool 30611df0f0ffSAtsushi Nemoto default y 30621df0f0ffSAtsushi Nemoto 30631df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT 30641df0f0ffSAtsushi Nemoto bool 30651df0f0ffSAtsushi Nemoto default y 30661df0f0ffSAtsushi Nemoto 3067a728ab52SKirill A. Shutemovconfig PGTABLE_LEVELS 3068a728ab52SKirill A. Shutemov int 30693377e227SAlex Belits default 4 if PAGE_SIZE_4KB && MIPS_VA_BITS_48 307041ce097fSHuang Pei default 3 if 64BIT && (!PAGE_SIZE_64KB || MIPS_VA_BITS_48) 3071a728ab52SKirill A. Shutemov default 2 3072a728ab52SKirill A. Shutemov 30736c359eb1SPaul Burtonconfig MIPS_AUTO_PFN_OFFSET 30746c359eb1SPaul Burton bool 30756c359eb1SPaul Burton 30761da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)" 30771da177e4SLinus Torvalds 3078c5611df9SPaul Burtonconfig PCI_DRIVERS_GENERIC 30792eac9c2dSChristoph Hellwig select PCI_DOMAINS_GENERIC if PCI 3080c5611df9SPaul Burton bool 3081c5611df9SPaul Burton 3082c5611df9SPaul Burtonconfig PCI_DRIVERS_LEGACY 3083c5611df9SPaul Burton def_bool !PCI_DRIVERS_GENERIC 3084c5611df9SPaul Burton select NO_GENERIC_PCI_IOPORT_MAP 30852eac9c2dSChristoph Hellwig select PCI_DOMAINS if PCI 30861da177e4SLinus Torvalds 30871da177e4SLinus Torvalds# 30881da177e4SLinus Torvalds# ISA support is now enabled via select. Too many systems still have the one 30891da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect 30901da177e4SLinus Torvalds# users to choose the right thing ... 30911da177e4SLinus Torvalds# 30921da177e4SLinus Torvaldsconfig ISA 30931da177e4SLinus Torvalds bool 30941da177e4SLinus Torvalds 30951da177e4SLinus Torvaldsconfig TC 30961da177e4SLinus Torvalds bool "TURBOchannel support" 30971da177e4SLinus Torvalds depends on MACH_DECSTATION 30981da177e4SLinus Torvalds help 309950a23e6eSJustin P. Mattock TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS 310050a23e6eSJustin P. Mattock processors. TURBOchannel programming specifications are available 310150a23e6eSJustin P. Mattock at: 310250a23e6eSJustin P. Mattock <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/> 310350a23e6eSJustin P. Mattock and: 310450a23e6eSJustin P. Mattock <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/> 310550a23e6eSJustin P. Mattock Linux driver support status is documented at: 310650a23e6eSJustin P. Mattock <http://www.linux-mips.org/wiki/DECstation> 31071da177e4SLinus Torvalds 31081da177e4SLinus Torvaldsconfig MMU 31091da177e4SLinus Torvalds bool 31101da177e4SLinus Torvalds default y 31111da177e4SLinus Torvalds 3112109c32ffSMatt Redfearnconfig ARCH_MMAP_RND_BITS_MIN 3113109c32ffSMatt Redfearn default 12 if 64BIT 3114109c32ffSMatt Redfearn default 8 3115109c32ffSMatt Redfearn 3116109c32ffSMatt Redfearnconfig ARCH_MMAP_RND_BITS_MAX 3117109c32ffSMatt Redfearn default 18 if 64BIT 3118109c32ffSMatt Redfearn default 15 3119109c32ffSMatt Redfearn 3120109c32ffSMatt Redfearnconfig ARCH_MMAP_RND_COMPAT_BITS_MIN 3121109c32ffSMatt Redfearn default 8 3122109c32ffSMatt Redfearn 3123109c32ffSMatt Redfearnconfig ARCH_MMAP_RND_COMPAT_BITS_MAX 3124109c32ffSMatt Redfearn default 15 3125109c32ffSMatt Redfearn 3126d865bea4SRalf Baechleconfig I8253 3127d865bea4SRalf Baechle bool 3128798778b8SRussell King select CLKSRC_I8253 31292d02612fSThomas Gleixner select CLKEVT_I8253 31309726b43aSWu Zhangjin select MIPS_EXTERNAL_TIMER 31311da177e4SLinus Torvaldsendmenu 31321da177e4SLinus Torvalds 31331da177e4SLinus Torvaldsconfig TRAD_SIGNALS 31341da177e4SLinus Torvalds bool 31351da177e4SLinus Torvalds 31361da177e4SLinus Torvaldsconfig MIPS32_COMPAT 313778aaf956SRalf Baechle bool 31381da177e4SLinus Torvalds 31391da177e4SLinus Torvaldsconfig COMPAT 31401da177e4SLinus Torvalds bool 31411da177e4SLinus Torvalds 31421da177e4SLinus Torvaldsconfig MIPS32_O32 31431da177e4SLinus Torvalds bool "Kernel support for o32 binaries" 314478aaf956SRalf Baechle depends on 64BIT 314578aaf956SRalf Baechle select ARCH_WANT_OLD_COMPAT_IPC 314678aaf956SRalf Baechle select COMPAT 314778aaf956SRalf Baechle select MIPS32_COMPAT 31481da177e4SLinus Torvalds help 31491da177e4SLinus Torvalds Select this option if you want to run o32 binaries. These are pure 31501da177e4SLinus Torvalds 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of 31511da177e4SLinus Torvalds existing binaries are in this format. 31521da177e4SLinus Torvalds 31531da177e4SLinus Torvalds If unsure, say Y. 31541da177e4SLinus Torvalds 31551da177e4SLinus Torvaldsconfig MIPS32_N32 31561da177e4SLinus Torvalds bool "Kernel support for n32 binaries" 3157c22eacfeSRalf Baechle depends on 64BIT 31585a9372f7SArnd Bergmann select ARCH_WANT_COMPAT_IPC_PARSE_VERSION 315978aaf956SRalf Baechle select COMPAT 316078aaf956SRalf Baechle select MIPS32_COMPAT 31611da177e4SLinus Torvalds help 31621da177e4SLinus Torvalds Select this option if you want to run n32 binaries. These are 31631da177e4SLinus Torvalds 64-bit binaries using 32-bit quantities for addressing and certain 31641da177e4SLinus Torvalds data that would normally be 64-bit. They are used in special 31651da177e4SLinus Torvalds cases. 31661da177e4SLinus Torvalds 31671da177e4SLinus Torvalds If unsure, say N. 31681da177e4SLinus Torvalds 3169d49fc692SNathan Chancellorconfig CC_HAS_MNO_BRANCH_LIKELY 3170d49fc692SNathan Chancellor def_bool y 3171d49fc692SNathan Chancellor depends on $(cc-option,-mno-branch-likely) 3172d49fc692SNathan Chancellor 31731a2c73f4SJiaxun Yang# https://github.com/llvm/llvm-project/issues/61045 31741a2c73f4SJiaxun Yangconfig CC_HAS_BROKEN_INLINE_COMPAT_BRANCH 31751a2c73f4SJiaxun Yang def_bool y if CC_IS_CLANG 31761a2c73f4SJiaxun Yang 31772116245eSRalf Baechlemenu "Power management options" 3178952fa954SRodolfo Giometti 3179363c55caSWu Zhangjinconfig ARCH_HIBERNATION_POSSIBLE 3180363c55caSWu Zhangjin def_bool y 31813f5b3e17SRalf Baechle depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP 3182363c55caSWu Zhangjin 3183f4cb5700SJohannes Bergconfig ARCH_SUSPEND_POSSIBLE 3184f4cb5700SJohannes Berg def_bool y 31853f5b3e17SRalf Baechle depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP 3186f4cb5700SJohannes Berg 31872116245eSRalf Baechlesource "kernel/power/Kconfig" 3188952fa954SRodolfo Giometti 31891da177e4SLinus Torvaldsendmenu 31901da177e4SLinus Torvalds 31917a998935SViresh Kumarconfig MIPS_EXTERNAL_TIMER 31927a998935SViresh Kumar bool 31937a998935SViresh Kumar 31947a998935SViresh Kumarmenu "CPU Power Management" 3195c095ebafSPaul Burton 3196c095ebafSPaul Burtonif CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER 31977a998935SViresh Kumarsource "drivers/cpufreq/Kconfig" 319831f12fdcSJuerg Haefligerendif # CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER 31999726b43aSWu Zhangjin 3200c095ebafSPaul Burtonsource "drivers/cpuidle/Kconfig" 3201c095ebafSPaul Burton 3202c095ebafSPaul Burtonendmenu 3203c095ebafSPaul Burton 32042235a54dSSanjay Lalsource "arch/mips/kvm/Kconfig" 3205e91946d6SNathan Chancellor 3206e91946d6SNathan Chancellorsource "arch/mips/vdso/Kconfig" 3207