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 77f066a22SThomas Gleixner select ARCH_HAS_CPU_FINALIZE_INIT 8b847bd64SKees Cook select ARCH_HAS_CURRENT_STACK_POINTER if !CC_IS_CLANG || CLANG_VERSION >= 140000 9dfad83cbSFlorian Fainelli select ARCH_HAS_DEBUG_VIRTUAL if !64BIT 1034c01e41SAlexander Lobakin select ARCH_HAS_FORTIFY_SOURCE 1134c01e41SAlexander Lobakin select ARCH_HAS_KCOV 1266633abdSTiezhu Yang select ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE if !EVA 1334c01e41SAlexander Lobakin select ARCH_HAS_PTE_SPECIAL if !(32BIT && CPU_HAS_RIXI) 14e6226997SArnd Bergmann select ARCH_HAS_STRNCPY_FROM_USER 15e6226997SArnd Bergmann select ARCH_HAS_STRNLEN_USER 1612597988SMatt Redfearn select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST 171e35918aSHassan Naveed select ARCH_HAS_UBSAN_SANITIZE_ALL 188b3165e5SXingxing Su select ARCH_HAS_GCOV_PROFILE_ALL 19c55944ccSNick Desaulniers select ARCH_KEEP_MEMBLOCK 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 48975fd3c2SJiaxun Yang select GENERIC_IDLE_POLL_SETUP 4912597988SMatt Redfearn select GENERIC_TIME_VSYSCALL 506ca297d4SPeter Zijlstra select GUP_GET_PXX_LOW_HIGH if CPU_MIPS32 && PHYS_ADDR_T_64BIT 51fcbfe812SNiklas Schnelle select HAS_IOPORT if !NO_IOPORT_MAP || ISA 52906d441fSPaul Burton select HAVE_ARCH_COMPILER_H 5312597988SMatt Redfearn select HAVE_ARCH_JUMP_LABEL 5442b20995SArnd Bergmann select HAVE_ARCH_KGDB if MIPS_FP_SUPPORT 55109c32ffSMatt Redfearn select HAVE_ARCH_MMAP_RND_BITS if MMU 56109c32ffSMatt Redfearn select HAVE_ARCH_MMAP_RND_COMPAT_BITS if MMU && COMPAT 57490b004fSMarkos Chandras select HAVE_ARCH_SECCOMP_FILTER 58c0ff3c53SRalf Baechle select HAVE_ARCH_TRACEHOOK 5945e03e62SDaniel Silsby select HAVE_ARCH_TRANSPARENT_HUGEPAGE if CPU_SUPPORTS_HUGEPAGES 602ff2b7ecSMasahiro Yamada select HAVE_ASM_MODVERSIONS 6124a9c541SFrederic Weisbecker select HAVE_CONTEXT_TRACKING_USER 62490f561bSFrederic Weisbecker select HAVE_TIF_NOHZ 6364575f91SWu Zhangjin select HAVE_C_RECORDMCOUNT 6412597988SMatt Redfearn select HAVE_DEBUG_KMEMLEAK 6512597988SMatt Redfearn select HAVE_DEBUG_STACKOVERFLOW 6612597988SMatt Redfearn select HAVE_DMA_CONTIGUOUS 6712597988SMatt Redfearn select HAVE_DYNAMIC_FTRACE 687364d60cSJiaxun Yang select HAVE_EBPF_JIT if !CPU_MICROMIPS 6912597988SMatt Redfearn select HAVE_EXIT_THREAD 7067a929e0SChristoph Hellwig select HAVE_FAST_GUP 7112597988SMatt Redfearn select HAVE_FTRACE_MCOUNT_RECORD 7229c5d346SWu Zhangjin select HAVE_FUNCTION_GRAPH_TRACER 7312597988SMatt Redfearn select HAVE_FUNCTION_TRACER 7434c01e41SAlexander Lobakin select HAVE_GCC_PLUGINS 7534c01e41SAlexander Lobakin select HAVE_GENERIC_VDSO 76b3a428b4SHassan Naveed select HAVE_IOREMAP_PROT 7712597988SMatt Redfearn select HAVE_IRQ_EXIT_ON_IRQ_STACK 7812597988SMatt Redfearn select HAVE_IRQ_TIME_ACCOUNTING 79c1bf207dSDavid Daney select HAVE_KPROBES 80c1bf207dSDavid Daney select HAVE_KRETPROBES 81c0436b50SPaul Burton select HAVE_LD_DEAD_CODE_DATA_ELIMINATION 82786d35d4SDavid Howells select HAVE_MOD_ARCH_SPECIFIC 8342a0bb3fSPetr Mladek select HAVE_NMI 8412597988SMatt Redfearn select HAVE_PERF_EVENTS 851ddc96bdSTiezhu Yang select HAVE_PERF_REGS 861ddc96bdSTiezhu Yang select HAVE_PERF_USER_STACK_DUMP 8708bccf43SMarcin Nowakowski select HAVE_REGS_AND_STACK_ACCESS_API 889ea141adSPaul Burton select HAVE_RSEQ 8916c0f03fSHassan Naveed select HAVE_SPARSE_SYSCALL_NR 90d148eac0SMasahiro Yamada select HAVE_STACKPROTECTOR 9112597988SMatt Redfearn select HAVE_SYSCALL_TRACEPOINTS 92a3f14310SBen Hutchings select HAVE_VIRT_CPU_ACCOUNTING_GEN if 64BIT || !SMP 9312597988SMatt Redfearn select IRQ_FORCED_THREADING 946630a8e5SChristoph Hellwig select ISA if EISA 954bce37a6SBen Hutchings select LOCK_MM_AND_FIND_VMA 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 11280f2e4cdSGregory CLEMENTconfig MACH_GENERIC_CORE 11380f2e4cdSGregory CLEMENT bool 11480f2e4cdSGregory CLEMENT 115f0f4a753SPaul Cercueilconfig MACH_INGENIC 116f0f4a753SPaul Cercueil bool 117f0f4a753SPaul Cercueil select SYS_SUPPORTS_32BIT_KERNEL 118f0f4a753SPaul Cercueil select SYS_SUPPORTS_LITTLE_ENDIAN 119f0f4a753SPaul Cercueil select SYS_SUPPORTS_ZBOOT 120f0f4a753SPaul Cercueil select DMA_NONCOHERENT 121f0f4a753SPaul Cercueil select IRQ_MIPS_CPU 122f0f4a753SPaul Cercueil select PINCTRL 123f0f4a753SPaul Cercueil select GPIOLIB 124f0f4a753SPaul Cercueil select COMMON_CLK 125f0f4a753SPaul Cercueil select GENERIC_IRQ_CHIP 126f0f4a753SPaul Cercueil select BUILTIN_DTB if MIPS_NO_APPENDED_DTB 127f0f4a753SPaul Cercueil select USE_OF 128f0f4a753SPaul Cercueil select CPU_SUPPORTS_CPUFREQ 129f0f4a753SPaul Cercueil select MIPS_EXTERNAL_TIMER 130f0f4a753SPaul Cercueil 1311da177e4SLinus Torvaldsmenu "Machine selection" 1321da177e4SLinus Torvalds 1335e83d430SRalf Baechlechoice 1345e83d430SRalf Baechle prompt "System type" 135c434b9f8SPaul Cercueil default MIPS_GENERIC_KERNEL 1361da177e4SLinus Torvalds 137c434b9f8SPaul Cercueilconfig MIPS_GENERIC_KERNEL 138eed0eabdSPaul Burton bool "Generic board-agnostic MIPS kernel" 139c434b9f8SPaul Cercueil select MIPS_GENERIC 140eed0eabdSPaul Burton select BOOT_RAW 141eed0eabdSPaul Burton select BUILTIN_DTB 142eed0eabdSPaul Burton select CEVT_R4K 143eed0eabdSPaul Burton select CLKSRC_MIPS_GIC 144eed0eabdSPaul Burton select COMMON_CLK 145eed0eabdSPaul Burton select CPU_MIPSR2_IRQ_EI 14634c01e41SAlexander Lobakin select CPU_MIPSR2_IRQ_VI 147eed0eabdSPaul Burton select CSRC_R4K 1484e066441SChristoph Hellwig select DMA_NONCOHERENT 149eb01d42aSChristoph Hellwig select HAVE_PCI 150eed0eabdSPaul Burton select IRQ_MIPS_CPU 15180f2e4cdSGregory CLEMENT select MACH_GENERIC_CORE 1520211d49eSPaul Burton select MIPS_AUTO_PFN_OFFSET 153eed0eabdSPaul Burton select MIPS_CPU_SCACHE 154eed0eabdSPaul Burton select MIPS_GIC 155eed0eabdSPaul Burton select MIPS_L1_CACHE_SHIFT_7 156eed0eabdSPaul Burton select NO_EXCEPT_FILL 157eed0eabdSPaul Burton select PCI_DRIVERS_GENERIC 158eed0eabdSPaul Burton select SMP_UP if SMP 159a3078e59SMatt Redfearn select SWAP_IO_SPACE 160eed0eabdSPaul Burton select SYS_HAS_CPU_MIPS32_R1 161eed0eabdSPaul Burton select SYS_HAS_CPU_MIPS32_R2 162fb6700c5SJiaxun Yang select SYS_HAS_CPU_MIPS32_R5 163eed0eabdSPaul Burton select SYS_HAS_CPU_MIPS32_R6 164eed0eabdSPaul Burton select SYS_HAS_CPU_MIPS64_R1 165eed0eabdSPaul Burton select SYS_HAS_CPU_MIPS64_R2 166fb6700c5SJiaxun Yang select SYS_HAS_CPU_MIPS64_R5 167eed0eabdSPaul Burton select SYS_HAS_CPU_MIPS64_R6 168eed0eabdSPaul Burton select SYS_SUPPORTS_32BIT_KERNEL 169eed0eabdSPaul Burton select SYS_SUPPORTS_64BIT_KERNEL 170eed0eabdSPaul Burton select SYS_SUPPORTS_BIG_ENDIAN 171eed0eabdSPaul Burton select SYS_SUPPORTS_HIGHMEM 172eed0eabdSPaul Burton select SYS_SUPPORTS_LITTLE_ENDIAN 173eed0eabdSPaul Burton select SYS_SUPPORTS_MICROMIPS 174eed0eabdSPaul Burton select SYS_SUPPORTS_MIPS16 17534c01e41SAlexander Lobakin select SYS_SUPPORTS_MIPS_CPS 176eed0eabdSPaul Burton select SYS_SUPPORTS_MULTITHREADING 177eed0eabdSPaul Burton select SYS_SUPPORTS_RELOCATABLE 178eed0eabdSPaul Burton select SYS_SUPPORTS_SMARTMIPS 179c3e2ee65SPaul Cercueil select SYS_SUPPORTS_ZBOOT 18034c01e41SAlexander Lobakin select UHI_BOOT 1812e6522c5SCorentin Labbe select USB_EHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN 1822e6522c5SCorentin Labbe select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 1832e6522c5SCorentin Labbe select USB_OHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN 1842e6522c5SCorentin Labbe select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 1852e6522c5SCorentin Labbe select USB_UHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN 1862e6522c5SCorentin Labbe select USB_UHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 187eed0eabdSPaul Burton select USE_OF 188eed0eabdSPaul Burton help 189eed0eabdSPaul Burton Select this to build a kernel which aims to support multiple boards, 190eed0eabdSPaul Burton generally using a flattened device tree passed from the bootloader 191eed0eabdSPaul Burton using the boot protocol defined in the UHI (Unified Hosting 192eed0eabdSPaul Burton Interface) specification. 193eed0eabdSPaul Burton 19442a4f17dSManuel Laussconfig MIPS_ALCHEMY 195c3543e25SYoichi Yuasa bool "Alchemy processor based machines" 196d4a451d5SChristoph Hellwig select PHYS_ADDR_T_64BIT 197f772cdb2SRalf Baechle select CEVT_R4K 198d7ea335cSSteven J. Hill select CSRC_R4K 19967e38cf2SRalf Baechle select IRQ_MIPS_CPU 200a86497d6SChristoph Hellwig select DMA_NONCOHERENT # Au1000,1500,1100 aren't, rest is 201d3991572SChristoph Hellwig select MIPS_FIXUP_BIGPHYS_ADDR if PCI 20242a4f17dSManuel Lauss select SYS_HAS_CPU_MIPS32_R1 20342a4f17dSManuel Lauss select SYS_SUPPORTS_32BIT_KERNEL 20442a4f17dSManuel Lauss select SYS_SUPPORTS_APM_EMULATION 205d30a2b47SLinus Walleij select GPIOLIB 2061b93b3c3SWu Zhangjin select SYS_SUPPORTS_ZBOOT 20747440229SManuel Lauss select COMMON_CLK 2081da177e4SLinus Torvalds 20943cc739fSSergey Ryazanovconfig ATH25 21043cc739fSSergey Ryazanov bool "Atheros AR231x/AR531x SoC support" 21143cc739fSSergey Ryazanov select CEVT_R4K 21243cc739fSSergey Ryazanov select CSRC_R4K 21343cc739fSSergey Ryazanov select DMA_NONCOHERENT 21467e38cf2SRalf Baechle select IRQ_MIPS_CPU 2151753e74eSSergey Ryazanov select IRQ_DOMAIN 21643cc739fSSergey Ryazanov select SYS_HAS_CPU_MIPS32_R1 21743cc739fSSergey Ryazanov select SYS_SUPPORTS_BIG_ENDIAN 21843cc739fSSergey Ryazanov select SYS_SUPPORTS_32BIT_KERNEL 2198aaa7278SSergey Ryazanov select SYS_HAS_EARLY_PRINTK 22043cc739fSSergey Ryazanov help 22143cc739fSSergey Ryazanov Support for Atheros AR231x and Atheros AR531x based boards 22243cc739fSSergey Ryazanov 223d4a67d9dSGabor Juhosconfig ATH79 224d4a67d9dSGabor Juhos bool "Atheros AR71XX/AR724X/AR913X based boards" 225ff591a91SAlban Bedel select ARCH_HAS_RESET_CONTROLLER 226d4a67d9dSGabor Juhos select BOOT_RAW 227d4a67d9dSGabor Juhos select CEVT_R4K 228d4a67d9dSGabor Juhos select CSRC_R4K 229d4a67d9dSGabor Juhos select DMA_NONCOHERENT 230d30a2b47SLinus Walleij select GPIOLIB 231a08227a2SJohn Crispin select PINCTRL 232411520afSAlban Bedel select COMMON_CLK 23367e38cf2SRalf Baechle select IRQ_MIPS_CPU 234d4a67d9dSGabor Juhos select SYS_HAS_CPU_MIPS32_R2 235d4a67d9dSGabor Juhos select SYS_HAS_EARLY_PRINTK 236d4a67d9dSGabor Juhos select SYS_SUPPORTS_32BIT_KERNEL 237d4a67d9dSGabor Juhos select SYS_SUPPORTS_BIG_ENDIAN 238377cb1b6SRalf Baechle select SYS_SUPPORTS_MIPS16 239b3f0a250SAlban Bedel select SYS_SUPPORTS_ZBOOT_UART_PROM 24003c8c407SAlban Bedel select USE_OF 24153d473fcSAlban Bedel select USB_EHCI_ROOT_HUB_TT if USB_EHCI_HCD_PLATFORM 242d4a67d9dSGabor Juhos help 243d4a67d9dSGabor Juhos Support for the Atheros AR71XX/AR724X/AR913X SoCs. 244d4a67d9dSGabor Juhos 2455f2d4459SKevin Cernekeeconfig BMIPS_GENERIC 2465f2d4459SKevin Cernekee bool "Broadcom Generic BMIPS kernel" 24729906e1aSÁlvaro Fernández Rojas select ARCH_HAS_RESET_CONTROLLER 248d59098a0SChristoph Hellwig select ARCH_HAS_SYNC_DMA_FOR_CPU_ALL 249d666cd02SKevin Cernekee select BOOT_RAW 250d666cd02SKevin Cernekee select NO_EXCEPT_FILL 251d666cd02SKevin Cernekee select USE_OF 252d666cd02SKevin Cernekee select CEVT_R4K 253d666cd02SKevin Cernekee select CSRC_R4K 254d666cd02SKevin Cernekee select SYNC_R4K 255d666cd02SKevin Cernekee select COMMON_CLK 256c7c42ec2SSimon Arlott select BCM6345_L1_IRQ 25760b858f2SKevin Cernekee select BCM7038_L1_IRQ 25860b858f2SKevin Cernekee select BCM7120_L2_IRQ 25960b858f2SKevin Cernekee select BRCMSTB_L2_IRQ 26067e38cf2SRalf Baechle select IRQ_MIPS_CPU 26160b858f2SKevin Cernekee select DMA_NONCOHERENT 262d666cd02SKevin Cernekee select SYS_SUPPORTS_32BIT_KERNEL 26360b858f2SKevin Cernekee select SYS_SUPPORTS_LITTLE_ENDIAN 264d666cd02SKevin Cernekee select SYS_SUPPORTS_BIG_ENDIAN 265d666cd02SKevin Cernekee select SYS_SUPPORTS_HIGHMEM 26660b858f2SKevin Cernekee select SYS_HAS_CPU_BMIPS32_3300 26760b858f2SKevin Cernekee select SYS_HAS_CPU_BMIPS4350 26860b858f2SKevin Cernekee select SYS_HAS_CPU_BMIPS4380 269d666cd02SKevin Cernekee select SYS_HAS_CPU_BMIPS5000 270d666cd02SKevin Cernekee select SWAP_IO_SPACE 27160b858f2SKevin Cernekee select USB_EHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN 27260b858f2SKevin Cernekee select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 27360b858f2SKevin Cernekee select USB_OHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN 27460b858f2SKevin Cernekee select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 2754dc4704cSJustin Chen select HARDIRQS_SW_RESEND 2761d987052SFlorian Fainelli select HAVE_PCI 2771d987052SFlorian Fainelli select PCI_DRIVERS_GENERIC 278466ab2eaSFlorian Fainelli select FW_CFE 279d666cd02SKevin Cernekee help 2805f2d4459SKevin Cernekee Build a generic DT-based kernel image that boots on select 2815f2d4459SKevin Cernekee BCM33xx cable modem chips, BCM63xx DSL chips, and BCM7xxx set-top 2825f2d4459SKevin Cernekee box chips. Note that CONFIG_CPU_BIG_ENDIAN/CONFIG_CPU_LITTLE_ENDIAN 2835f2d4459SKevin Cernekee must be set appropriately for your board. 284d666cd02SKevin Cernekee 2851c0c13ebSAurelien Jarnoconfig BCM47XX 286c619366eSFlorian Fainelli bool "Broadcom BCM47XX based boards" 287fe08f8c2SHauke Mehrtens select BOOT_RAW 28842f77542SRalf Baechle select CEVT_R4K 289940f6b48SRalf Baechle select CSRC_R4K 2901c0c13ebSAurelien Jarno select DMA_NONCOHERENT 291eb01d42aSChristoph Hellwig select HAVE_PCI 29267e38cf2SRalf Baechle select IRQ_MIPS_CPU 293314878d2SMarkos Chandras select SYS_HAS_CPU_MIPS32_R1 294dd54deddSHauke Mehrtens select NO_EXCEPT_FILL 2951c0c13ebSAurelien Jarno select SYS_SUPPORTS_32BIT_KERNEL 2961c0c13ebSAurelien Jarno select SYS_SUPPORTS_LITTLE_ENDIAN 297377cb1b6SRalf Baechle select SYS_SUPPORTS_MIPS16 2986507831fSAaro Koskinen select SYS_SUPPORTS_ZBOOT 29925e5fb97SAurelien Jarno select SYS_HAS_EARLY_PRINTK 300e6086557SRalf Baechle select USE_GENERIC_EARLY_PRINTK_8250 301c949c0bcSRafał Miłecki select GPIOLIB 302c949c0bcSRafał Miłecki select LEDS_GPIO_REGISTER 303f6e734a8SRafał Miłecki select BCM47XX_NVRAM 3042ab71a02SRafał Miłecki select BCM47XX_SPROM 305dfe00495SMatt Redfearn select BCM47XX_SSB if !BCM47XX_BCMA 3061c0c13ebSAurelien Jarno help 3071c0c13ebSAurelien Jarno Support for BCM47XX based boards 3081c0c13ebSAurelien Jarno 309e7300d04SMaxime Bizonconfig BCM63XX 310e7300d04SMaxime Bizon bool "Broadcom BCM63XX based boards" 311ae8de61cSFlorian Fainelli select BOOT_RAW 312e7300d04SMaxime Bizon select CEVT_R4K 313e7300d04SMaxime Bizon select CSRC_R4K 314fc264022SJonas Gorski select SYNC_R4K 315e7300d04SMaxime Bizon select DMA_NONCOHERENT 31667e38cf2SRalf Baechle select IRQ_MIPS_CPU 317e7300d04SMaxime Bizon select SYS_SUPPORTS_32BIT_KERNEL 318e7300d04SMaxime Bizon select SYS_SUPPORTS_BIG_ENDIAN 319e7300d04SMaxime Bizon select SYS_HAS_EARLY_PRINTK 3205eeaafc8SRandy Dunlap select SYS_HAS_CPU_BMIPS32_3300 3215eeaafc8SRandy Dunlap select SYS_HAS_CPU_BMIPS4350 3225eeaafc8SRandy Dunlap select SYS_HAS_CPU_BMIPS4380 323e7300d04SMaxime Bizon select SWAP_IO_SPACE 324d30a2b47SLinus Walleij select GPIOLIB 325af2418beSFlorian Fainelli select MIPS_L1_CACHE_SHIFT_4 326bbd7ffdbSStephen Boyd select HAVE_LEGACY_CLK 327e7300d04SMaxime Bizon help 328e7300d04SMaxime Bizon Support for BCM63XX based boards 329e7300d04SMaxime Bizon 3301da177e4SLinus Torvaldsconfig MIPS_COBALT 3313fa986faSMartin Michlmayr bool "Cobalt Server" 33242f77542SRalf Baechle select CEVT_R4K 333940f6b48SRalf Baechle select CSRC_R4K 3341097c6acSYoichi Yuasa select CEVT_GT641XX 3351da177e4SLinus Torvalds select DMA_NONCOHERENT 336eb01d42aSChristoph Hellwig select FORCE_PCI 337d865bea4SRalf Baechle select I8253 3381da177e4SLinus Torvalds select I8259 33967e38cf2SRalf Baechle select IRQ_MIPS_CPU 340d5ab1a69SYoichi Yuasa select IRQ_GT641XX 341252161ecSYoichi Yuasa select PCI_GT64XXX_PCI0 3427cf8053bSRalf Baechle select SYS_HAS_CPU_NEVADA 3430a22e0d4SYoichi Yuasa select SYS_HAS_EARLY_PRINTK 344ed5ba2fbSYoichi Yuasa select SYS_SUPPORTS_32BIT_KERNEL 3450e8774b6SFlorian Fainelli select SYS_SUPPORTS_64BIT_KERNEL 3465e83d430SRalf Baechle select SYS_SUPPORTS_LITTLE_ENDIAN 347e6086557SRalf Baechle select USE_GENERIC_EARLY_PRINTK_8250 3481da177e4SLinus Torvalds 3491da177e4SLinus Torvaldsconfig MACH_DECSTATION 3503fa986faSMartin Michlmayr bool "DECstations" 3511da177e4SLinus Torvalds select BOOT_ELF32 3526457d9fcSYoichi Yuasa select CEVT_DS1287 35381d10badSMaciej W. Rozycki select CEVT_R4K if CPU_R4X00 3544247417dSYoichi Yuasa select CSRC_IOASIC 35581d10badSMaciej W. Rozycki select CSRC_R4K if CPU_R4X00 35620d60d99SMaciej W. Rozycki select CPU_DADDI_WORKAROUNDS if 64BIT 35720d60d99SMaciej W. Rozycki select CPU_R4000_WORKAROUNDS if 64BIT 35820d60d99SMaciej W. Rozycki select CPU_R4400_WORKAROUNDS if 64BIT 3591da177e4SLinus Torvalds select DMA_NONCOHERENT 360ce816fa8SUwe Kleine-König select NO_IOPORT_MAP 36167e38cf2SRalf Baechle select IRQ_MIPS_CPU 3627cf8053bSRalf Baechle select SYS_HAS_CPU_R3000 3637cf8053bSRalf Baechle select SYS_HAS_CPU_R4X00 364ed5ba2fbSYoichi Yuasa select SYS_SUPPORTS_32BIT_KERNEL 3657d60717eSKees Cook select SYS_SUPPORTS_64BIT_KERNEL 3665e83d430SRalf Baechle select SYS_SUPPORTS_LITTLE_ENDIAN 3671723b4a3SAtsushi Nemoto select SYS_SUPPORTS_128HZ 3681723b4a3SAtsushi Nemoto select SYS_SUPPORTS_256HZ 3691723b4a3SAtsushi Nemoto select SYS_SUPPORTS_1024HZ 370930beb5aSFlorian Fainelli select MIPS_L1_CACHE_SHIFT_4 3715e83d430SRalf Baechle help 3721da177e4SLinus Torvalds This enables support for DEC's MIPS based workstations. For details 3731da177e4SLinus Torvalds see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the 3741da177e4SLinus Torvalds DECstation porting pages on <http://decstation.unix-ag.org/>. 3751da177e4SLinus Torvalds 3761da177e4SLinus Torvalds If you have one of the following DECstation Models you definitely 3771da177e4SLinus Torvalds want to choose R4xx0 for the CPU Type: 3781da177e4SLinus Torvalds 3791da177e4SLinus Torvalds DECstation 5000/50 3801da177e4SLinus Torvalds DECstation 5000/150 3811da177e4SLinus Torvalds DECstation 5000/260 3821da177e4SLinus Torvalds DECsystem 5900/260 3831da177e4SLinus Torvalds 3841da177e4SLinus Torvalds otherwise choose R3000. 3851da177e4SLinus Torvalds 3865e83d430SRalf Baechleconfig MACH_JAZZ 3873fa986faSMartin Michlmayr bool "Jazz family of machines" 38839b2d756SThomas Bogendoerfer select ARC_MEMORY 38939b2d756SThomas Bogendoerfer select ARC_PROMLIB 390a211a082SRalf Baechle select ARCH_MIGHT_HAVE_PC_PARPORT 3917a407aa5SRalf Baechle select ARCH_MIGHT_HAVE_PC_SERIO 3922f9237d4SChristoph Hellwig select DMA_OPS 3930e2794b0SRalf Baechle select FW_ARC 3940e2794b0SRalf Baechle select FW_ARC32 3955e83d430SRalf Baechle select ARCH_MAY_HAVE_PC_FDC 39642f77542SRalf Baechle select CEVT_R4K 397940f6b48SRalf Baechle select CSRC_R4K 398e2defae5SThomas Bogendoerfer select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN 3995e83d430SRalf Baechle select GENERIC_ISA_DMA 4008a118c38SRalf Baechle select HAVE_PCSPKR_PLATFORM 40167e38cf2SRalf Baechle select IRQ_MIPS_CPU 402d865bea4SRalf Baechle select I8253 4035e83d430SRalf Baechle select I8259 4045e83d430SRalf Baechle select ISA 4057cf8053bSRalf Baechle select SYS_HAS_CPU_R4X00 4065e83d430SRalf Baechle select SYS_SUPPORTS_32BIT_KERNEL 4077d60717eSKees Cook select SYS_SUPPORTS_64BIT_KERNEL 4081723b4a3SAtsushi Nemoto select SYS_SUPPORTS_100HZ 409aadfe4b5SArnd Bergmann select SYS_SUPPORTS_LITTLE_ENDIAN 4101da177e4SLinus Torvalds help 4115e83d430SRalf Baechle This a family of machines based on the MIPS R4030 chipset which was 4125e83d430SRalf Baechle used by several vendors to build RISC/os and Windows NT workstations. 413692105b8SMatt LaPlante Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and 4145e83d430SRalf Baechle Olivetti M700-10 workstations. 4155e83d430SRalf Baechle 416f0f4a753SPaul Cercueilconfig MACH_INGENIC_SOC 417de361e8bSPaul Burton bool "Ingenic SoC based machines" 418f0f4a753SPaul Cercueil select MIPS_GENERIC 419f0f4a753SPaul Cercueil select MACH_INGENIC 42080f2e4cdSGregory CLEMENT select MACH_GENERIC_CORE 421f9c9affcSLluís Batlle i Rossell select SYS_SUPPORTS_ZBOOT_UART16550 422eb384937SPaul Cercueil select CPU_SUPPORTS_CPUFREQ 423eb384937SPaul Cercueil select MIPS_EXTERNAL_TIMER 4245ebabe59SLars-Peter Clausen 425171bb2f1SJohn Crispinconfig LANTIQ 426171bb2f1SJohn Crispin bool "Lantiq based platforms" 427171bb2f1SJohn Crispin select DMA_NONCOHERENT 42867e38cf2SRalf Baechle select IRQ_MIPS_CPU 429171bb2f1SJohn Crispin select CEVT_R4K 430171bb2f1SJohn Crispin select CSRC_R4K 431b74cc639SSander Vanheule select NO_EXCEPT_FILL 432171bb2f1SJohn Crispin select SYS_HAS_CPU_MIPS32_R1 433171bb2f1SJohn Crispin select SYS_HAS_CPU_MIPS32_R2 434171bb2f1SJohn Crispin select SYS_SUPPORTS_BIG_ENDIAN 435171bb2f1SJohn Crispin select SYS_SUPPORTS_32BIT_KERNEL 436377cb1b6SRalf Baechle select SYS_SUPPORTS_MIPS16 437171bb2f1SJohn Crispin select SYS_SUPPORTS_MULTITHREADING 438f35764e7SJames Hogan select SYS_SUPPORTS_VPE_LOADER 439171bb2f1SJohn Crispin select SYS_HAS_EARLY_PRINTK 440d30a2b47SLinus Walleij select GPIOLIB 441171bb2f1SJohn Crispin select SWAP_IO_SPACE 442171bb2f1SJohn Crispin select BOOT_RAW 443bbd7ffdbSStephen Boyd select HAVE_LEGACY_CLK 444a0392222SJohn Crispin select USE_OF 4453f8c50c9SJohn Crispin select PINCTRL 4463f8c50c9SJohn Crispin select PINCTRL_LANTIQ 447c530781cSJohn Crispin select ARCH_HAS_RESET_CONTROLLER 448c530781cSJohn Crispin select RESET_CONTROLLER 449171bb2f1SJohn Crispin 45030ad29bbSHuacai Chenconfig MACH_LOONGSON32 451caed1d1bSHuacai Chen bool "Loongson 32-bit family of machines" 452c7e8c668SWu Zhangjin select SYS_SUPPORTS_ZBOOT 453ade299d8SYoichi Yuasa help 45430ad29bbSHuacai Chen This enables support for the Loongson-1 family of machines. 45585749d24SWu Zhangjin 45630ad29bbSHuacai Chen Loongson-1 is a family of 32-bit MIPS-compatible SoCs developed by 45730ad29bbSHuacai Chen the Institute of Computing Technology (ICT), Chinese Academy of 45830ad29bbSHuacai Chen Sciences (CAS). 459ade299d8SYoichi Yuasa 46071e2f4ddSJiaxun Yangconfig MACH_LOONGSON2EF 46171e2f4ddSJiaxun Yang bool "Loongson-2E/F family of machines" 462ca585cf9SKelvin Cheung select SYS_SUPPORTS_ZBOOT 463ca585cf9SKelvin Cheung help 46471e2f4ddSJiaxun Yang This enables the support of early Loongson-2E/F family of machines. 465ca585cf9SKelvin Cheung 46671e2f4ddSJiaxun Yangconfig MACH_LOONGSON64 467caed1d1bSHuacai Chen bool "Loongson 64-bit family of machines" 468edc0378eSJiaxun Yang select ARCH_DMA_DEFAULT_COHERENT 4696fbde6b4SJiaxun Yang select ARCH_SPARSEMEM_ENABLE 4706fbde6b4SJiaxun Yang select ARCH_MIGHT_HAVE_PC_PARPORT 4716fbde6b4SJiaxun Yang select ARCH_MIGHT_HAVE_PC_SERIO 4726fbde6b4SJiaxun Yang select GENERIC_ISA_DMA_SUPPORT_BROKEN 4736fbde6b4SJiaxun Yang select BOOT_ELF32 4746fbde6b4SJiaxun Yang select BOARD_SCACHE 4756fbde6b4SJiaxun Yang select CSRC_R4K 4766fbde6b4SJiaxun Yang select CEVT_R4K 4776fbde6b4SJiaxun Yang select FORCE_PCI 4786fbde6b4SJiaxun Yang select ISA 4796fbde6b4SJiaxun Yang select I8259 4806fbde6b4SJiaxun Yang select IRQ_MIPS_CPU 4817d6d2837SJiaxun Yang select NO_EXCEPT_FILL 4825125bfeeSTiezhu Yang select NR_CPUS_DEFAULT_64 4836fbde6b4SJiaxun Yang select USE_GENERIC_EARLY_PRINTK_8250 4846423e59aSJiaxun Yang select PCI_DRIVERS_GENERIC 4856fbde6b4SJiaxun Yang select SYS_HAS_CPU_LOONGSON64 4866fbde6b4SJiaxun Yang select SYS_HAS_EARLY_PRINTK 4876fbde6b4SJiaxun Yang select SYS_SUPPORTS_SMP 4886fbde6b4SJiaxun Yang select SYS_SUPPORTS_HOTPLUG_CPU 4896fbde6b4SJiaxun Yang select SYS_SUPPORTS_NUMA 4906fbde6b4SJiaxun Yang select SYS_SUPPORTS_64BIT_KERNEL 4916fbde6b4SJiaxun Yang select SYS_SUPPORTS_HIGHMEM 4926fbde6b4SJiaxun Yang select SYS_SUPPORTS_LITTLE_ENDIAN 49371e2f4ddSJiaxun Yang select SYS_SUPPORTS_ZBOOT 494a307a4ceSJinyang He select SYS_SUPPORTS_RELOCATABLE 4956fbde6b4SJiaxun Yang select ZONE_DMA32 49687fcfa7bSJiaxun Yang select COMMON_CLK 49787fcfa7bSJiaxun Yang select USE_OF 49887fcfa7bSJiaxun Yang select BUILTIN_DTB 49939c1485cSHuacai Chen select PCI_HOST_GENERIC 500f8f9f21cSFeiyang Chen select HAVE_ARCH_NODEDATA_EXTENSION if NUMA 50171e2f4ddSJiaxun Yang help 502caed1d1bSHuacai Chen This enables the support of Loongson-2/3 family of machines. 503caed1d1bSHuacai Chen 504caed1d1bSHuacai Chen Loongson-2 and Loongson-3 are 64-bit general-purpose processors with 505caed1d1bSHuacai Chen GS264/GS464/GS464E/GS464V microarchitecture (except old Loongson-2E 506caed1d1bSHuacai Chen and Loongson-2F which will be removed), developed by the Institute 507caed1d1bSHuacai Chen of Computing Technology (ICT), Chinese Academy of Sciences (CAS). 508ca585cf9SKelvin Cheung 5091da177e4SLinus Torvaldsconfig MIPS_MALTA 5103fa986faSMartin Michlmayr bool "MIPS Malta board" 51161ed242dSRalf Baechle select ARCH_MAY_HAVE_PC_FDC 512a211a082SRalf Baechle select ARCH_MIGHT_HAVE_PC_PARPORT 5137a407aa5SRalf Baechle select ARCH_MIGHT_HAVE_PC_SERIO 5141da177e4SLinus Torvalds select BOOT_ELF32 515fa71c960SRalf Baechle select BOOT_RAW 516e8823d26SPaul Burton select BUILTIN_DTB 51742f77542SRalf Baechle select CEVT_R4K 518fa5635a2SAndrew Bresticker select CLKSRC_MIPS_GIC 51942b002abSGuenter Roeck select COMMON_CLK 52047bf2b03SMaksym Kokhan select CSRC_R4K 521a86497d6SChristoph Hellwig select DMA_NONCOHERENT 5221da177e4SLinus Torvalds select GENERIC_ISA_DMA 5238a118c38SRalf Baechle select HAVE_PCSPKR_PLATFORM 524eb01d42aSChristoph Hellwig select HAVE_PCI 525d865bea4SRalf Baechle select I8253 5261da177e4SLinus Torvalds select I8259 52747bf2b03SMaksym Kokhan select IRQ_MIPS_CPU 5285e83d430SRalf Baechle select MIPS_BONITO64 5299318c51aSChris Dearman select MIPS_CPU_SCACHE 53047bf2b03SMaksym Kokhan select MIPS_GIC 531a7ef1eadSKevin Cernekee select MIPS_L1_CACHE_SHIFT_6 5325e83d430SRalf Baechle select MIPS_MSC 53347bf2b03SMaksym Kokhan select PCI_GT64XXX_PCI0 534ecafe3e9SPaul Burton select SMP_UP if SMP 5351da177e4SLinus Torvalds select SWAP_IO_SPACE 5367cf8053bSRalf Baechle select SYS_HAS_CPU_MIPS32_R1 5377cf8053bSRalf Baechle select SYS_HAS_CPU_MIPS32_R2 538bfc3c5a6SMarkos Chandras select SYS_HAS_CPU_MIPS32_R3_5 539c5b36783SSteven J. Hill select SYS_HAS_CPU_MIPS32_R5 540575509b6SMarkos Chandras select SYS_HAS_CPU_MIPS32_R6 5417cf8053bSRalf Baechle select SYS_HAS_CPU_MIPS64_R1 5425d9fbed1SLeonid Yegoshin select SYS_HAS_CPU_MIPS64_R2 543575509b6SMarkos Chandras select SYS_HAS_CPU_MIPS64_R6 5447cf8053bSRalf Baechle select SYS_HAS_CPU_NEVADA 5457cf8053bSRalf Baechle select SYS_HAS_CPU_RM7000 546ed5ba2fbSYoichi Yuasa select SYS_SUPPORTS_32BIT_KERNEL 547ed5ba2fbSYoichi Yuasa select SYS_SUPPORTS_64BIT_KERNEL 5485e83d430SRalf Baechle select SYS_SUPPORTS_BIG_ENDIAN 549c5b36783SSteven J. Hill select SYS_SUPPORTS_HIGHMEM 5505e83d430SRalf Baechle select SYS_SUPPORTS_LITTLE_ENDIAN 551424ebcdfSMaciej W. Rozycki select SYS_SUPPORTS_MICROMIPS 55247bf2b03SMaksym Kokhan select SYS_SUPPORTS_MIPS16 553e56b6aa6SPaul Burton select SYS_SUPPORTS_MIPS_CPS 554f41ae0b2SRalf Baechle select SYS_SUPPORTS_MULTITHREADING 55547bf2b03SMaksym Kokhan select SYS_SUPPORTS_RELOCATABLE 5569693a853SFranck Bui-Huu select SYS_SUPPORTS_SMARTMIPS 557f35764e7SJames Hogan select SYS_SUPPORTS_VPE_LOADER 5581b93b3c3SWu Zhangjin select SYS_SUPPORTS_ZBOOT 559e8823d26SPaul Burton select USE_OF 560886ee136SThomas Bogendoerfer select WAR_ICACHE_REFILLS 561abcc82b1SJames Hogan select ZONE_DMA32 if 64BIT 5621da177e4SLinus Torvalds help 563f638d197SMaciej W. Rozycki This enables support for the MIPS Technologies Malta evaluation 5641da177e4SLinus Torvalds board. 5651da177e4SLinus Torvalds 5662572f00dSJoshua Hendersonconfig MACH_PIC32 5672572f00dSJoshua Henderson bool "Microchip PIC32 Family" 5682572f00dSJoshua Henderson help 5692572f00dSJoshua Henderson This enables support for the Microchip PIC32 family of platforms. 5702572f00dSJoshua Henderson 5712572f00dSJoshua Henderson Microchip PIC32 is a family of general-purpose 32 bit MIPS core 5722572f00dSJoshua Henderson microcontrollers. 5732572f00dSJoshua Henderson 574*101bd58fSGregory CLEMENTconfig MACH_EYEQ5 575*101bd58fSGregory CLEMENT bool "Mobileye EyeQ5 SoC" 576*101bd58fSGregory CLEMENT select MACH_GENERIC_CORE 577*101bd58fSGregory CLEMENT select ARM_AMBA 578*101bd58fSGregory CLEMENT select PHYSICAL_START_BOOL 579*101bd58fSGregory CLEMENT select ARCH_SPARSEMEM_DEFAULT if 64BIT 580*101bd58fSGregory CLEMENT select BOOT_RAW 581*101bd58fSGregory CLEMENT select BUILTIN_DTB 582*101bd58fSGregory CLEMENT select CEVT_R4K 583*101bd58fSGregory CLEMENT select CLKSRC_MIPS_GIC 584*101bd58fSGregory CLEMENT select COMMON_CLK 585*101bd58fSGregory CLEMENT select CPU_MIPSR2_IRQ_EI 586*101bd58fSGregory CLEMENT select CPU_MIPSR2_IRQ_VI 587*101bd58fSGregory CLEMENT select CSRC_R4K 588*101bd58fSGregory CLEMENT select DMA_NONCOHERENT 589*101bd58fSGregory CLEMENT select HAVE_PCI 590*101bd58fSGregory CLEMENT select IRQ_MIPS_CPU 591*101bd58fSGregory CLEMENT select MIPS_AUTO_PFN_OFFSET 592*101bd58fSGregory CLEMENT select MIPS_CPU_SCACHE 593*101bd58fSGregory CLEMENT select MIPS_GIC 594*101bd58fSGregory CLEMENT select MIPS_L1_CACHE_SHIFT_7 595*101bd58fSGregory CLEMENT select PCI_DRIVERS_GENERIC 596*101bd58fSGregory CLEMENT select SMP_UP if SMP 597*101bd58fSGregory CLEMENT select SWAP_IO_SPACE 598*101bd58fSGregory CLEMENT select SYS_HAS_CPU_MIPS64_R6 599*101bd58fSGregory CLEMENT select SYS_SUPPORTS_64BIT_KERNEL 600*101bd58fSGregory CLEMENT select SYS_SUPPORTS_HIGHMEM 601*101bd58fSGregory CLEMENT select SYS_SUPPORTS_LITTLE_ENDIAN 602*101bd58fSGregory CLEMENT select SYS_SUPPORTS_MIPS_CPS 603*101bd58fSGregory CLEMENT select SYS_SUPPORTS_RELOCATABLE 604*101bd58fSGregory CLEMENT select SYS_SUPPORTS_ZBOOT 605*101bd58fSGregory CLEMENT select UHI_BOOT 606*101bd58fSGregory CLEMENT select USB_EHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN 607*101bd58fSGregory CLEMENT select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 608*101bd58fSGregory CLEMENT select USB_OHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN 609*101bd58fSGregory CLEMENT select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 610*101bd58fSGregory CLEMENT select USB_UHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN 611*101bd58fSGregory CLEMENT select USB_UHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 612*101bd58fSGregory CLEMENT select USE_OF 613*101bd58fSGregory CLEMENT help 614*101bd58fSGregory CLEMENT Select this to build a kernel supporting EyeQ5 SoC from Mobileye. 615*101bd58fSGregory CLEMENT 616*101bd58fSGregory CLEMENT bool 617*101bd58fSGregory CLEMENT 618*101bd58fSGregory CLEMENTconfig FIT_IMAGE_FDT_EPM5 619*101bd58fSGregory CLEMENT bool "Include FDT for Mobileye EyeQ5 development platforms" 620*101bd58fSGregory CLEMENT depends on MACH_EYEQ5 621*101bd58fSGregory CLEMENT default n 622*101bd58fSGregory CLEMENT help 623*101bd58fSGregory CLEMENT Enable this to include the FDT for the EyeQ5 development platforms 624*101bd58fSGregory CLEMENT from Mobileye in the FIT kernel image. 625*101bd58fSGregory CLEMENT This requires u-boot on the platform. 626*101bd58fSGregory CLEMENT 627baec970aSLauri Kasanenconfig MACH_NINTENDO64 628baec970aSLauri Kasanen bool "Nintendo 64 console" 629baec970aSLauri Kasanen select CEVT_R4K 630baec970aSLauri Kasanen select CSRC_R4K 631baec970aSLauri Kasanen select SYS_HAS_CPU_R4300 632baec970aSLauri Kasanen select SYS_SUPPORTS_BIG_ENDIAN 633baec970aSLauri Kasanen select SYS_SUPPORTS_ZBOOT 634baec970aSLauri Kasanen select SYS_SUPPORTS_32BIT_KERNEL 635baec970aSLauri Kasanen select SYS_SUPPORTS_64BIT_KERNEL 636baec970aSLauri Kasanen select DMA_NONCOHERENT 637baec970aSLauri Kasanen select IRQ_MIPS_CPU 638baec970aSLauri Kasanen 639ae2b5bb6SJohn Crispinconfig RALINK 640ae2b5bb6SJohn Crispin bool "Ralink based machines" 641ae2b5bb6SJohn Crispin select CEVT_R4K 64235f752beSArnd Bergmann select COMMON_CLK 643ae2b5bb6SJohn Crispin select CSRC_R4K 644ae2b5bb6SJohn Crispin select BOOT_RAW 645ae2b5bb6SJohn Crispin select DMA_NONCOHERENT 64667e38cf2SRalf Baechle select IRQ_MIPS_CPU 647ae2b5bb6SJohn Crispin select USE_OF 648ae2b5bb6SJohn Crispin select SYS_HAS_CPU_MIPS32_R2 649ae2b5bb6SJohn Crispin select SYS_SUPPORTS_32BIT_KERNEL 650ae2b5bb6SJohn Crispin select SYS_SUPPORTS_LITTLE_ENDIAN 651377cb1b6SRalf Baechle select SYS_SUPPORTS_MIPS16 6521f0400d0SChuanhong Guo select SYS_SUPPORTS_ZBOOT 653ae2b5bb6SJohn Crispin select SYS_HAS_EARLY_PRINTK 6542a153f1cSJohn Crispin select ARCH_HAS_RESET_CONTROLLER 6552a153f1cSJohn Crispin select RESET_CONTROLLER 656ae2b5bb6SJohn Crispin 6574042147aSBert Vermeulenconfig MACH_REALTEK_RTL 6584042147aSBert Vermeulen bool "Realtek RTL838x/RTL839x based machines" 6594042147aSBert Vermeulen select MIPS_GENERIC 66080f2e4cdSGregory CLEMENT select MACH_GENERIC_CORE 6614042147aSBert Vermeulen select DMA_NONCOHERENT 6624042147aSBert Vermeulen select IRQ_MIPS_CPU 6634042147aSBert Vermeulen select CSRC_R4K 6644042147aSBert Vermeulen select CEVT_R4K 6654042147aSBert Vermeulen select SYS_HAS_CPU_MIPS32_R1 6664042147aSBert Vermeulen select SYS_HAS_CPU_MIPS32_R2 6674042147aSBert Vermeulen select SYS_SUPPORTS_BIG_ENDIAN 6684042147aSBert Vermeulen select SYS_SUPPORTS_32BIT_KERNEL 6694042147aSBert Vermeulen select SYS_SUPPORTS_MIPS16 6704042147aSBert Vermeulen select SYS_SUPPORTS_MULTITHREADING 6714042147aSBert Vermeulen select SYS_SUPPORTS_VPE_LOADER 6724042147aSBert Vermeulen select BOOT_RAW 6734042147aSBert Vermeulen select PINCTRL 6744042147aSBert Vermeulen select USE_OF 6754042147aSBert Vermeulen 6761da177e4SLinus Torvaldsconfig SGI_IP22 6773fa986faSMartin Michlmayr bool "SGI IP22 (Indy/Indigo2)" 678c0de00b2SThomas Bogendoerfer select ARC_MEMORY 67939b2d756SThomas Bogendoerfer select ARC_PROMLIB 6800e2794b0SRalf Baechle select FW_ARC 6810e2794b0SRalf Baechle select FW_ARC32 6827a407aa5SRalf Baechle select ARCH_MIGHT_HAVE_PC_SERIO 6831da177e4SLinus Torvalds select BOOT_ELF32 68442f77542SRalf Baechle select CEVT_R4K 685940f6b48SRalf Baechle select CSRC_R4K 686e2defae5SThomas Bogendoerfer select DEFAULT_SGI_PARTITION 6871da177e4SLinus Torvalds select DMA_NONCOHERENT 6886630a8e5SChristoph Hellwig select HAVE_EISA 689d865bea4SRalf Baechle select I8253 69068de4803SThomas Bogendoerfer select I8259 6911da177e4SLinus Torvalds select IP22_CPU_SCACHE 69267e38cf2SRalf Baechle select IRQ_MIPS_CPU 693aa414dffSRalf Baechle select GENERIC_ISA_DMA_SUPPORT_BROKEN 694e2defae5SThomas Bogendoerfer select SGI_HAS_I8042 695e2defae5SThomas Bogendoerfer select SGI_HAS_INDYDOG 69636e5c21dSThomas Bogendoerfer select SGI_HAS_HAL2 697e2defae5SThomas Bogendoerfer select SGI_HAS_SEEQ 698e2defae5SThomas Bogendoerfer select SGI_HAS_WD93 699e2defae5SThomas Bogendoerfer select SGI_HAS_ZILOG 7001da177e4SLinus Torvalds select SWAP_IO_SPACE 7017cf8053bSRalf Baechle select SYS_HAS_CPU_R4X00 7027cf8053bSRalf Baechle select SYS_HAS_CPU_R5000 703c0de00b2SThomas Bogendoerfer select SYS_HAS_EARLY_PRINTK 704ed5ba2fbSYoichi Yuasa select SYS_SUPPORTS_32BIT_KERNEL 705ed5ba2fbSYoichi Yuasa select SYS_SUPPORTS_64BIT_KERNEL 7065e83d430SRalf Baechle select SYS_SUPPORTS_BIG_ENDIAN 707802b8362SThomas Bogendoerfer select WAR_R4600_V1_INDEX_ICACHEOP 7085e5b6527SThomas Bogendoerfer select WAR_R4600_V1_HIT_CACHEOP 70944def342SThomas Bogendoerfer select WAR_R4600_V2_HIT_CACHEOP 710930beb5aSFlorian Fainelli select MIPS_L1_CACHE_SHIFT_7 7111da177e4SLinus Torvalds help 7121da177e4SLinus Torvalds This are the SGI Indy, Challenge S and Indigo2, as well as certain 7131da177e4SLinus Torvalds OEM variants like the Tandem CMN B006S. To compile a Linux kernel 7141da177e4SLinus Torvalds that runs on these, say Y here. 7151da177e4SLinus Torvalds 7161da177e4SLinus Torvaldsconfig SGI_IP27 7173fa986faSMartin Michlmayr bool "SGI IP27 (Origin200/2000)" 71854aed4ddSChristoph Hellwig select ARCH_HAS_PHYS_TO_DMA 719397dc00eSMike Rapoport select ARCH_SPARSEMEM_ENABLE 7200e2794b0SRalf Baechle select FW_ARC 7210e2794b0SRalf Baechle select FW_ARC64 722e9422427SThomas Bogendoerfer select ARC_CMDLINE_ONLY 7235e83d430SRalf Baechle select BOOT_ELF64 724e2defae5SThomas Bogendoerfer select DEFAULT_SGI_PARTITION 72504100459SChristoph Hellwig select FORCE_PCI 72636a88530SRalf Baechle select SYS_HAS_EARLY_PRINTK 727eb01d42aSChristoph Hellwig select HAVE_PCI 72869a07a41SThomas Bogendoerfer select IRQ_MIPS_CPU 729e6308b6dSThomas Bogendoerfer select IRQ_DOMAIN_HIERARCHY 730130e2fb7SRalf Baechle select NR_CPUS_DEFAULT_64 731a57140e9SThomas Bogendoerfer select PCI_DRIVERS_GENERIC 732a57140e9SThomas Bogendoerfer select PCI_XTALK_BRIDGE 7337cf8053bSRalf Baechle select SYS_HAS_CPU_R10000 734ed5ba2fbSYoichi Yuasa select SYS_SUPPORTS_64BIT_KERNEL 7355e83d430SRalf Baechle select SYS_SUPPORTS_BIG_ENDIAN 736d8cb4e11SRalf Baechle select SYS_SUPPORTS_NUMA 7371a5c5de1SRalf Baechle select SYS_SUPPORTS_SMP 738256ec489SThomas Bogendoerfer select WAR_R10000_LLSC 739930beb5aSFlorian Fainelli select MIPS_L1_CACHE_SHIFT_7 7406c86a302SMike Rapoport select NUMA 741f8f9f21cSFeiyang Chen select HAVE_ARCH_NODEDATA_EXTENSION 7421da177e4SLinus Torvalds help 7431da177e4SLinus Torvalds This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics 7441da177e4SLinus Torvalds workstations. To compile a Linux kernel that runs on these, say Y 7451da177e4SLinus Torvalds here. 7461da177e4SLinus Torvalds 747e2defae5SThomas Bogendoerferconfig SGI_IP28 7487d60717eSKees Cook bool "SGI IP28 (Indigo2 R10k)" 749c0de00b2SThomas Bogendoerfer select ARC_MEMORY 75039b2d756SThomas Bogendoerfer select ARC_PROMLIB 7510e2794b0SRalf Baechle select FW_ARC 7520e2794b0SRalf Baechle select FW_ARC64 7537a407aa5SRalf Baechle select ARCH_MIGHT_HAVE_PC_SERIO 754e2defae5SThomas Bogendoerfer select BOOT_ELF64 755e2defae5SThomas Bogendoerfer select CEVT_R4K 756e2defae5SThomas Bogendoerfer select CSRC_R4K 757e2defae5SThomas Bogendoerfer select DEFAULT_SGI_PARTITION 758e2defae5SThomas Bogendoerfer select DMA_NONCOHERENT 759e2defae5SThomas Bogendoerfer select GENERIC_ISA_DMA_SUPPORT_BROKEN 76067e38cf2SRalf Baechle select IRQ_MIPS_CPU 7616630a8e5SChristoph Hellwig select HAVE_EISA 762e2defae5SThomas Bogendoerfer select I8253 763e2defae5SThomas Bogendoerfer select I8259 764e2defae5SThomas Bogendoerfer select SGI_HAS_I8042 765e2defae5SThomas Bogendoerfer select SGI_HAS_INDYDOG 7665b438c44SThomas Bogendoerfer select SGI_HAS_HAL2 767e2defae5SThomas Bogendoerfer select SGI_HAS_SEEQ 768e2defae5SThomas Bogendoerfer select SGI_HAS_WD93 769e2defae5SThomas Bogendoerfer select SGI_HAS_ZILOG 770e2defae5SThomas Bogendoerfer select SWAP_IO_SPACE 771e2defae5SThomas Bogendoerfer select SYS_HAS_CPU_R10000 772c0de00b2SThomas Bogendoerfer select SYS_HAS_EARLY_PRINTK 773e2defae5SThomas Bogendoerfer select SYS_SUPPORTS_64BIT_KERNEL 774e2defae5SThomas Bogendoerfer select SYS_SUPPORTS_BIG_ENDIAN 775256ec489SThomas Bogendoerfer select WAR_R10000_LLSC 776dc24d68dSThomas Bogendoerfer select MIPS_L1_CACHE_SHIFT_7 777e2defae5SThomas Bogendoerfer help 778e2defae5SThomas Bogendoerfer This is the SGI Indigo2 with R10000 processor. To compile a Linux 779e2defae5SThomas Bogendoerfer kernel that runs on these, say Y here. 780e2defae5SThomas Bogendoerfer 7817505576dSThomas Bogendoerferconfig SGI_IP30 7827505576dSThomas Bogendoerfer bool "SGI IP30 (Octane/Octane2)" 7837505576dSThomas Bogendoerfer select ARCH_HAS_PHYS_TO_DMA 7847505576dSThomas Bogendoerfer select FW_ARC 7857505576dSThomas Bogendoerfer select FW_ARC64 7867505576dSThomas Bogendoerfer select BOOT_ELF64 7877505576dSThomas Bogendoerfer select CEVT_R4K 7887505576dSThomas Bogendoerfer select CSRC_R4K 78904100459SChristoph Hellwig select FORCE_PCI 7907505576dSThomas Bogendoerfer select SYNC_R4K if SMP 7917505576dSThomas Bogendoerfer select ZONE_DMA32 7927505576dSThomas Bogendoerfer select HAVE_PCI 7937505576dSThomas Bogendoerfer select IRQ_MIPS_CPU 7947505576dSThomas Bogendoerfer select IRQ_DOMAIN_HIERARCHY 7957505576dSThomas Bogendoerfer select PCI_DRIVERS_GENERIC 7967505576dSThomas Bogendoerfer select PCI_XTALK_BRIDGE 7977505576dSThomas Bogendoerfer select SYS_HAS_EARLY_PRINTK 7987505576dSThomas Bogendoerfer select SYS_HAS_CPU_R10000 7997505576dSThomas Bogendoerfer select SYS_SUPPORTS_64BIT_KERNEL 8007505576dSThomas Bogendoerfer select SYS_SUPPORTS_BIG_ENDIAN 8017505576dSThomas Bogendoerfer select SYS_SUPPORTS_SMP 802256ec489SThomas Bogendoerfer select WAR_R10000_LLSC 8037505576dSThomas Bogendoerfer select MIPS_L1_CACHE_SHIFT_7 8047505576dSThomas Bogendoerfer select ARC_MEMORY 8057505576dSThomas Bogendoerfer help 8067505576dSThomas Bogendoerfer These are the SGI Octane and Octane2 graphics workstations. To 8077505576dSThomas Bogendoerfer compile a Linux kernel that runs on these, say Y here. 8087505576dSThomas Bogendoerfer 8091da177e4SLinus Torvaldsconfig SGI_IP32 810cfd2afc0SRalf Baechle bool "SGI IP32 (O2)" 81139b2d756SThomas Bogendoerfer select ARC_MEMORY 81239b2d756SThomas Bogendoerfer select ARC_PROMLIB 81303df8229SChristoph Hellwig select ARCH_HAS_PHYS_TO_DMA 8140e2794b0SRalf Baechle select FW_ARC 8150e2794b0SRalf Baechle select FW_ARC32 8161da177e4SLinus Torvalds select BOOT_ELF32 81742f77542SRalf Baechle select CEVT_R4K 818940f6b48SRalf Baechle select CSRC_R4K 8191da177e4SLinus Torvalds select DMA_NONCOHERENT 820eb01d42aSChristoph Hellwig select HAVE_PCI 82167e38cf2SRalf Baechle select IRQ_MIPS_CPU 8221da177e4SLinus Torvalds select R5000_CPU_SCACHE 8231da177e4SLinus Torvalds select RM7000_CPU_SCACHE 8247cf8053bSRalf Baechle select SYS_HAS_CPU_R5000 8257cf8053bSRalf Baechle select SYS_HAS_CPU_R10000 if BROKEN 8267cf8053bSRalf Baechle select SYS_HAS_CPU_RM7000 827dd2f18feSRalf Baechle select SYS_HAS_CPU_NEVADA 828ed5ba2fbSYoichi Yuasa select SYS_SUPPORTS_64BIT_KERNEL 8295e83d430SRalf Baechle select SYS_SUPPORTS_BIG_ENDIAN 830886ee136SThomas Bogendoerfer select WAR_ICACHE_REFILLS 8311da177e4SLinus Torvalds help 8321da177e4SLinus Torvalds If you want this kernel to run on SGI O2 workstation, say Y here. 8331da177e4SLinus Torvalds 8345e83d430SRalf Baechleconfig SIBYTE_CRHONE 8353fa986faSMartin Michlmayr bool "Sibyte BCM91125C-CRhone" 8365e83d430SRalf Baechle select BOOT_ELF32 8375e83d430SRalf Baechle select SIBYTE_BCM1125 8385e83d430SRalf Baechle select SWAP_IO_SPACE 8397cf8053bSRalf Baechle select SYS_HAS_CPU_SB1 8405e83d430SRalf Baechle select SYS_SUPPORTS_BIG_ENDIAN 8415e83d430SRalf Baechle select SYS_SUPPORTS_HIGHMEM 8425e83d430SRalf Baechle select SYS_SUPPORTS_LITTLE_ENDIAN 8435e83d430SRalf Baechle 844ade299d8SYoichi Yuasaconfig SIBYTE_RHONE 845ade299d8SYoichi Yuasa bool "Sibyte BCM91125E-Rhone" 846ade299d8SYoichi Yuasa select BOOT_ELF32 84703452347SThomas Bogendoerfer select SIBYTE_SB1250 848ade299d8SYoichi Yuasa select SWAP_IO_SPACE 849ade299d8SYoichi Yuasa select SYS_HAS_CPU_SB1 850ade299d8SYoichi Yuasa select SYS_SUPPORTS_BIG_ENDIAN 851ade299d8SYoichi Yuasa select SYS_SUPPORTS_LITTLE_ENDIAN 852ade299d8SYoichi Yuasa 853ade299d8SYoichi Yuasaconfig SIBYTE_SWARM 854ade299d8SYoichi Yuasa bool "Sibyte BCM91250A-SWARM" 855ade299d8SYoichi Yuasa select BOOT_ELF32 856fcf3ca4cSSebastian Andrzej Siewior select HAVE_PATA_PLATFORM 857ade299d8SYoichi Yuasa select SIBYTE_SB1250 858ade299d8SYoichi Yuasa select SWAP_IO_SPACE 859ade299d8SYoichi Yuasa select SYS_HAS_CPU_SB1 860ade299d8SYoichi Yuasa select SYS_SUPPORTS_BIG_ENDIAN 861ade299d8SYoichi Yuasa 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 866ade299d8SYoichi Yuasaconfig SIBYTE_LITTLESUR 867ade299d8SYoichi Yuasa bool "Sibyte BCM91250C2-LittleSur" 868ade299d8SYoichi Yuasa select BOOT_ELF32 869fcf3ca4cSSebastian Andrzej Siewior select HAVE_PATA_PLATFORM 870ade299d8SYoichi Yuasa select SIBYTE_SB1250 871ade299d8SYoichi Yuasa select SWAP_IO_SPACE 872ade299d8SYoichi Yuasa select SYS_HAS_CPU_SB1 873ade299d8SYoichi Yuasa select SYS_SUPPORTS_BIG_ENDIAN 874ade299d8SYoichi Yuasa select SYS_SUPPORTS_HIGHMEM 875ade299d8SYoichi Yuasa select SYS_SUPPORTS_LITTLE_ENDIAN 876756d6d83SMaciej W. Rozycki select ZONE_DMA32 if 64BIT 877ade299d8SYoichi Yuasa 878ade299d8SYoichi Yuasaconfig SIBYTE_SENTOSA 879ade299d8SYoichi Yuasa bool "Sibyte BCM91250E-Sentosa" 880ade299d8SYoichi Yuasa select BOOT_ELF32 881ade299d8SYoichi Yuasa select SIBYTE_SB1250 882ade299d8SYoichi Yuasa select SWAP_IO_SPACE 883ade299d8SYoichi Yuasa select SYS_HAS_CPU_SB1 884ade299d8SYoichi Yuasa select SYS_SUPPORTS_BIG_ENDIAN 885ade299d8SYoichi Yuasa select SYS_SUPPORTS_LITTLE_ENDIAN 886e4849affSMaciej W. Rozycki select SWIOTLB if ARCH_DMA_ADDR_T_64BIT && PCI 887ade299d8SYoichi Yuasa 888ade299d8SYoichi Yuasaconfig SIBYTE_BIGSUR 889ade299d8SYoichi Yuasa bool "Sibyte BCM91480B-BigSur" 890ade299d8SYoichi Yuasa select BOOT_ELF32 891ade299d8SYoichi Yuasa select NR_CPUS_DEFAULT_4 892ade299d8SYoichi Yuasa select SIBYTE_BCM1x80 893ade299d8SYoichi Yuasa select SWAP_IO_SPACE 894ade299d8SYoichi Yuasa select SYS_HAS_CPU_SB1 895ade299d8SYoichi Yuasa select SYS_SUPPORTS_BIG_ENDIAN 896651194f8SRalf Baechle select SYS_SUPPORTS_HIGHMEM 897ade299d8SYoichi Yuasa select SYS_SUPPORTS_LITTLE_ENDIAN 898cce335aeSRalf Baechle select ZONE_DMA32 if 64BIT 899e4849affSMaciej W. Rozycki select SWIOTLB if ARCH_DMA_ADDR_T_64BIT && PCI 900ade299d8SYoichi Yuasa 90114b36af4SThomas Bogendoerferconfig SNI_RM 90214b36af4SThomas Bogendoerfer bool "SNI RM200/300/400" 90339b2d756SThomas Bogendoerfer select ARC_MEMORY 90439b2d756SThomas Bogendoerfer select ARC_PROMLIB 9050e2794b0SRalf Baechle select FW_ARC if CPU_LITTLE_ENDIAN 9060e2794b0SRalf Baechle select FW_ARC32 if CPU_LITTLE_ENDIAN 907aaa9fad3SPaul Bolle select FW_SNIPROM if CPU_BIG_ENDIAN 9085e83d430SRalf Baechle select ARCH_MAY_HAVE_PC_FDC 909a211a082SRalf Baechle select ARCH_MIGHT_HAVE_PC_PARPORT 9107a407aa5SRalf Baechle select ARCH_MIGHT_HAVE_PC_SERIO 9115e83d430SRalf Baechle select BOOT_ELF32 91242f77542SRalf Baechle select CEVT_R4K 913940f6b48SRalf Baechle select CSRC_R4K 914e2defae5SThomas Bogendoerfer select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN 9155e83d430SRalf Baechle select DMA_NONCOHERENT 9165e83d430SRalf Baechle select GENERIC_ISA_DMA 9176630a8e5SChristoph Hellwig select HAVE_EISA 9188a118c38SRalf Baechle select HAVE_PCSPKR_PLATFORM 919eb01d42aSChristoph Hellwig select HAVE_PCI 92067e38cf2SRalf Baechle select IRQ_MIPS_CPU 921d865bea4SRalf Baechle select I8253 9225e83d430SRalf Baechle select I8259 9235e83d430SRalf Baechle select ISA 924564c836fSThomas Bogendoerfer select MIPS_L1_CACHE_SHIFT_6 9254a0312fcSThomas Bogendoerfer select SWAP_IO_SPACE if CPU_BIG_ENDIAN 9267cf8053bSRalf Baechle select SYS_HAS_CPU_R4X00 9274a0312fcSThomas Bogendoerfer select SYS_HAS_CPU_R5000 928c066a32aSThomas Bogendoerfer select SYS_HAS_CPU_R10000 9294a0312fcSThomas Bogendoerfer select R5000_CPU_SCACHE 93036a88530SRalf Baechle select SYS_HAS_EARLY_PRINTK 931ed5ba2fbSYoichi Yuasa select SYS_SUPPORTS_32BIT_KERNEL 9327d60717eSKees Cook select SYS_SUPPORTS_64BIT_KERNEL 9334a0312fcSThomas Bogendoerfer select SYS_SUPPORTS_BIG_ENDIAN 9345e83d430SRalf Baechle select SYS_SUPPORTS_HIGHMEM 9355e83d430SRalf Baechle select SYS_SUPPORTS_LITTLE_ENDIAN 93644def342SThomas Bogendoerfer select WAR_R4600_V2_HIT_CACHEOP 9371da177e4SLinus Torvalds help 93814b36af4SThomas Bogendoerfer The SNI RM200/300/400 are MIPS-based machines manufactured by 93914b36af4SThomas Bogendoerfer Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid 9405e83d430SRalf Baechle Technology and now in turn merged with Fujitsu. Say Y here to 9415e83d430SRalf Baechle support this machine type. 9421da177e4SLinus Torvalds 943edcaf1a6SAtsushi Nemotoconfig MACH_TX49XX 944edcaf1a6SAtsushi Nemoto bool "Toshiba TX49 series based machines" 94524a1c023SThomas Bogendoerfer select WAR_TX49XX_ICACHE_INDEX_INV 94623fbee9dSRalf Baechle 94773b4390fSRalf Baechleconfig MIKROTIK_RB532 94873b4390fSRalf Baechle bool "Mikrotik RB532 boards" 94973b4390fSRalf Baechle select CEVT_R4K 95073b4390fSRalf Baechle select CSRC_R4K 95173b4390fSRalf Baechle select DMA_NONCOHERENT 952eb01d42aSChristoph Hellwig select HAVE_PCI 95367e38cf2SRalf Baechle select IRQ_MIPS_CPU 95473b4390fSRalf Baechle select SYS_HAS_CPU_MIPS32_R1 95573b4390fSRalf Baechle select SYS_SUPPORTS_32BIT_KERNEL 95673b4390fSRalf Baechle select SYS_SUPPORTS_LITTLE_ENDIAN 95773b4390fSRalf Baechle select SWAP_IO_SPACE 95873b4390fSRalf Baechle select BOOT_RAW 959d30a2b47SLinus Walleij select GPIOLIB 960930beb5aSFlorian Fainelli select MIPS_L1_CACHE_SHIFT_4 96173b4390fSRalf Baechle help 96273b4390fSRalf Baechle Support the Mikrotik(tm) RouterBoard 532 series, 96373b4390fSRalf Baechle based on the IDT RC32434 SoC. 96473b4390fSRalf Baechle 9659ddebc46SDavid Daneyconfig CAVIUM_OCTEON_SOC 9669ddebc46SDavid Daney bool "Cavium Networks Octeon SoC based boards" 967a86c7f72SDavid Daney select CEVT_R4K 968ea8c64acSChristoph Hellwig select ARCH_HAS_PHYS_TO_DMA 9691753d50cSChristoph Hellwig select HAVE_RAPIDIO 970d4a451d5SChristoph Hellwig select PHYS_ADDR_T_64BIT 971a86c7f72SDavid Daney select SYS_SUPPORTS_64BIT_KERNEL 972a86c7f72SDavid Daney select SYS_SUPPORTS_BIG_ENDIAN 973f65aad41SRalf Baechle select EDAC_SUPPORT 974b01aec9bSBorislav Petkov select EDAC_ATOMIC_SCRUB 97573569d87SDavid Daney select SYS_SUPPORTS_LITTLE_ENDIAN 97673569d87SDavid Daney select SYS_SUPPORTS_HOTPLUG_CPU if CPU_BIG_ENDIAN 977a86c7f72SDavid Daney select SYS_HAS_EARLY_PRINTK 9785e683389SDavid Daney select SYS_HAS_CPU_CAVIUM_OCTEON 979eb01d42aSChristoph Hellwig select HAVE_PCI 98078bdbbacSMasahiro Yamada select HAVE_PLAT_DELAY 98178bdbbacSMasahiro Yamada select HAVE_PLAT_FW_INIT_CMDLINE 98278bdbbacSMasahiro Yamada select HAVE_PLAT_MEMCPY 983f00e001eSDavid Daney select ZONE_DMA32 984d30a2b47SLinus Walleij select GPIOLIB 9856e511163SDavid Daney select USE_OF 9866e511163SDavid Daney select ARCH_SPARSEMEM_ENABLE 9876e511163SDavid Daney select SYS_SUPPORTS_SMP 9887820b84bSDavid Daney select NR_CPUS_DEFAULT_64 9897820b84bSDavid Daney select MIPS_NR_CPU_NR_MAP_1024 990e326479fSAndrew Bresticker select BUILTIN_DTB 991f766b28aSJulian Braha select MTD 9928c1e6b14SDavid Daney select MTD_COMPLEX_MAPPINGS 99309230cbcSChristoph Hellwig select SWIOTLB 9943ff72be4SSteven J. Hill select SYS_SUPPORTS_RELOCATABLE 995a86c7f72SDavid Daney help 996a86c7f72SDavid Daney This option supports all of the Octeon reference boards from Cavium 997a86c7f72SDavid Daney Networks. It builds a kernel that dynamically determines the Octeon 998a86c7f72SDavid Daney CPU type and supports all known board reference implementations. 999a86c7f72SDavid Daney Some of the supported boards are: 1000a86c7f72SDavid Daney EBT3000 1001a86c7f72SDavid Daney EBH3000 1002a86c7f72SDavid Daney EBH3100 1003a86c7f72SDavid Daney Thunder 1004a86c7f72SDavid Daney Kodama 1005a86c7f72SDavid Daney Hikari 1006a86c7f72SDavid Daney Say Y here for most Octeon reference boards. 1007a86c7f72SDavid Daney 10081da177e4SLinus Torvaldsendchoice 10091da177e4SLinus Torvalds 1010e8c7c482SRalf Baechlesource "arch/mips/alchemy/Kconfig" 10113b12308fSSergey Ryazanovsource "arch/mips/ath25/Kconfig" 1012d4a67d9dSGabor Juhossource "arch/mips/ath79/Kconfig" 1013a656ffcbSHauke Mehrtenssource "arch/mips/bcm47xx/Kconfig" 1014e7300d04SMaxime Bizonsource "arch/mips/bcm63xx/Kconfig" 10158945e37eSKevin Cernekeesource "arch/mips/bmips/Kconfig" 1016eed0eabdSPaul Burtonsource "arch/mips/generic/Kconfig" 1017a103e9b9SPaul Cercueilsource "arch/mips/ingenic/Kconfig" 10185e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig" 10198ec6d935SJohn Crispinsource "arch/mips/lantiq/Kconfig" 10202572f00dSJoshua Hendersonsource "arch/mips/pic32/Kconfig" 1021ae2b5bb6SJohn Crispinsource "arch/mips/ralink/Kconfig" 102229c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig" 102338b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig" 102422b1d707SAtsushi Nemotosource "arch/mips/txx9/Kconfig" 1025a86c7f72SDavid Daneysource "arch/mips/cavium-octeon/Kconfig" 102671e2f4ddSJiaxun Yangsource "arch/mips/loongson2ef/Kconfig" 102730ad29bbSHuacai Chensource "arch/mips/loongson32/Kconfig" 102830ad29bbSHuacai Chensource "arch/mips/loongson64/Kconfig" 102938b18f72SRalf Baechle 10305e83d430SRalf Baechleendmenu 10315e83d430SRalf Baechle 10323c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT 10333c9ee7efSAkinobu Mita bool 10343c9ee7efSAkinobu Mita default y 10353c9ee7efSAkinobu Mita 10361da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY 10371da177e4SLinus Torvalds bool 10381da177e4SLinus Torvalds default y 10391da177e4SLinus Torvalds 1040ae1e9130SIngo Molnarconfig SCHED_OMIT_FRAME_POINTER 10411cc89038SAtsushi Nemoto bool 10421cc89038SAtsushi Nemoto default y 10431cc89038SAtsushi Nemoto 10441da177e4SLinus Torvalds# 10451da177e4SLinus Torvalds# Select some configuration options automatically based on user selections. 10461da177e4SLinus Torvalds# 10470e2794b0SRalf Baechleconfig FW_ARC 10481da177e4SLinus Torvalds bool 10491da177e4SLinus Torvalds 105061ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC 105161ed242dSRalf Baechle bool 105261ed242dSRalf Baechle 10539267a30dSMarc St-Jeanconfig BOOT_RAW 10549267a30dSMarc St-Jean bool 10559267a30dSMarc St-Jean 1056217dd11eSRalf Baechleconfig CEVT_BCM1480 1057217dd11eSRalf Baechle bool 1058217dd11eSRalf Baechle 10596457d9fcSYoichi Yuasaconfig CEVT_DS1287 10606457d9fcSYoichi Yuasa bool 10616457d9fcSYoichi Yuasa 10621097c6acSYoichi Yuasaconfig CEVT_GT641XX 10631097c6acSYoichi Yuasa bool 10641097c6acSYoichi Yuasa 106542f77542SRalf Baechleconfig CEVT_R4K 106642f77542SRalf Baechle bool 106742f77542SRalf Baechle 1068217dd11eSRalf Baechleconfig CEVT_SB1250 1069217dd11eSRalf Baechle bool 1070217dd11eSRalf Baechle 1071229f773eSAtsushi Nemotoconfig CEVT_TXX9 1072229f773eSAtsushi Nemoto bool 1073229f773eSAtsushi Nemoto 1074217dd11eSRalf Baechleconfig CSRC_BCM1480 1075217dd11eSRalf Baechle bool 1076217dd11eSRalf Baechle 10774247417dSYoichi Yuasaconfig CSRC_IOASIC 10784247417dSYoichi Yuasa bool 10794247417dSYoichi Yuasa 1080940f6b48SRalf Baechleconfig CSRC_R4K 108138586428SSerge Semin select CLOCKSOURCE_WATCHDOG if CPU_FREQ 1082940f6b48SRalf Baechle bool 1083940f6b48SRalf Baechle 1084217dd11eSRalf Baechleconfig CSRC_SB1250 1085217dd11eSRalf Baechle bool 1086217dd11eSRalf Baechle 1087a7f4df4eSAlex Smithconfig MIPS_CLOCK_VSYSCALL 1088a7f4df4eSAlex Smith def_bool CSRC_R4K || CLKSRC_MIPS_GIC 1089a7f4df4eSAlex Smith 1090a9aec7feSAtsushi Nemotoconfig GPIO_TXX9 1091d30a2b47SLinus Walleij select GPIOLIB 1092a9aec7feSAtsushi Nemoto bool 1093a9aec7feSAtsushi Nemoto 10940e2794b0SRalf Baechleconfig FW_CFE 1095df78b5c8SAurelien Jarno bool 1096df78b5c8SAurelien Jarno 109740e084a5SRalf Baechleconfig ARCH_SUPPORTS_UPROBES 1098f5748b8cSTiezhu Yang def_bool y 109940e084a5SRalf Baechle 11001da177e4SLinus Torvaldsconfig DMA_NONCOHERENT 11011da177e4SLinus Torvalds bool 1102db91427bSChristoph Hellwig # 1103db91427bSChristoph Hellwig # MIPS allows mixing "slightly different" Cacheability and Coherency 1104db91427bSChristoph Hellwig # Attribute bits. It is believed that the uncached access through 1105db91427bSChristoph Hellwig # KSEG1 and the implementation specific "uncached accelerated" used 1106db91427bSChristoph Hellwig # by pgprot_writcombine can be mixed, and the latter sometimes provides 1107db91427bSChristoph Hellwig # significant advantages. 1108db91427bSChristoph Hellwig # 11096be87d61SJiaxun Yang select ARCH_HAS_SETUP_DMA_OPS 1110419e2f18SChristoph Hellwig select ARCH_HAS_DMA_WRITE_COMBINE 1111fa7e2247SChristoph Hellwig select ARCH_HAS_DMA_PREP_COHERENT 1112e0b7fd12SJiaxun Yang select ARCH_HAS_SYNC_DMA_FOR_CPU 1113f8c55dc6SChristoph Hellwig select ARCH_HAS_SYNC_DMA_FOR_DEVICE 1114fa7e2247SChristoph Hellwig select ARCH_HAS_DMA_SET_UNCACHED 111534dc0ea6SChristoph Hellwig select DMA_NONCOHERENT_MMAP 111634dc0ea6SChristoph Hellwig select NEED_DMA_MAP_STATE 11174ce588cdSRalf Baechle 111836a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK 11191da177e4SLinus Torvalds bool 11201da177e4SLinus Torvalds 11211b2bc75cSRalf Baechleconfig SYS_SUPPORTS_HOTPLUG_CPU 1122dbb74540SRalf Baechle bool 1123dbb74540SRalf Baechle 11241da177e4SLinus Torvaldsconfig MIPS_BONITO64 11251da177e4SLinus Torvalds bool 11261da177e4SLinus Torvalds 11271da177e4SLinus Torvaldsconfig MIPS_MSC 11281da177e4SLinus Torvalds bool 11291da177e4SLinus Torvalds 113039b8d525SRalf Baechleconfig SYNC_R4K 113139b8d525SRalf Baechle bool 113239b8d525SRalf Baechle 1133ce816fa8SUwe Kleine-Königconfig NO_IOPORT_MAP 1134d388d685SMaciej W. Rozycki def_bool n 1135d388d685SMaciej W. Rozycki 11364e0748f5SMarkos Chandrasconfig GENERIC_CSUM 113718d84e2eSAlexander Lobakin def_bool CPU_NO_LOAD_STORE_LR 11384e0748f5SMarkos Chandras 11398313da30SRalf Baechleconfig GENERIC_ISA_DMA 11408313da30SRalf Baechle bool 11418313da30SRalf Baechle select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n 1142a35bee8aSNamhyung Kim select ISA_DMA_API 11438313da30SRalf Baechle 1144aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN 1145aa414dffSRalf Baechle bool 11468313da30SRalf Baechle select GENERIC_ISA_DMA 1147aa414dffSRalf Baechle 114878bdbbacSMasahiro Yamadaconfig HAVE_PLAT_DELAY 114978bdbbacSMasahiro Yamada bool 115078bdbbacSMasahiro Yamada 115178bdbbacSMasahiro Yamadaconfig HAVE_PLAT_FW_INIT_CMDLINE 115278bdbbacSMasahiro Yamada bool 115378bdbbacSMasahiro Yamada 115478bdbbacSMasahiro Yamadaconfig HAVE_PLAT_MEMCPY 115578bdbbacSMasahiro Yamada bool 115678bdbbacSMasahiro Yamada 1157a35bee8aSNamhyung Kimconfig ISA_DMA_API 1158a35bee8aSNamhyung Kim bool 1159a35bee8aSNamhyung Kim 11608c530ea3SMatt Redfearnconfig SYS_SUPPORTS_RELOCATABLE 11618c530ea3SMatt Redfearn bool 11628c530ea3SMatt Redfearn help 11638c530ea3SMatt Redfearn Selected if the platform supports relocating the kernel. 11648c530ea3SMatt Redfearn The platform must provide plat_get_fdt() if it selects CONFIG_USE_OF 11658c530ea3SMatt Redfearn to allow access to command line and entropy sources. 11668c530ea3SMatt Redfearn 11675e83d430SRalf Baechle# 11686b2aac42SMasanari Iida# Endianness selection. Sufficiently obscure so many users don't know what to 11695e83d430SRalf Baechle# answer,so we try hard to limit the available choices. Also the use of a 11705e83d430SRalf Baechle# choice statement should be more obvious to the user. 11715e83d430SRalf Baechle# 11725e83d430SRalf Baechlechoice 11736b2aac42SMasanari Iida prompt "Endianness selection" 11741da177e4SLinus Torvalds help 11751da177e4SLinus Torvalds Some MIPS machines can be configured for either little or big endian 11765e83d430SRalf Baechle byte order. These modes require different kernels and a different 11773cb2fcccSMatt LaPlante Linux distribution. In general there is one preferred byteorder for a 11785e83d430SRalf Baechle particular system but some systems are just as commonly used in the 11793dde6ad8SDavid Sterba one or the other endianness. 11805e83d430SRalf Baechle 11815e83d430SRalf Baechleconfig CPU_BIG_ENDIAN 11825e83d430SRalf Baechle bool "Big endian" 11835e83d430SRalf Baechle depends on SYS_SUPPORTS_BIG_ENDIAN 11845e83d430SRalf Baechle 11855e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN 11865e83d430SRalf Baechle bool "Little endian" 11875e83d430SRalf Baechle depends on SYS_SUPPORTS_LITTLE_ENDIAN 11885e83d430SRalf Baechle 11895e83d430SRalf Baechleendchoice 11905e83d430SRalf Baechle 119122b0763aSDavid Daneyconfig EXPORT_UASM 119222b0763aSDavid Daney bool 119322b0763aSDavid Daney 11942116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION 11952116245eSRalf Baechle bool 11962116245eSRalf Baechle 11975e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN 11985e83d430SRalf Baechle bool 11995e83d430SRalf Baechle 12005e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN 12015e83d430SRalf Baechle bool 12021da177e4SLinus Torvalds 1203aa1762f4SDavid Daneyconfig MIPS_HUGE_TLB_SUPPORT 1204aa1762f4SDavid Daney def_bool HUGETLB_PAGE || TRANSPARENT_HUGEPAGE 1205aa1762f4SDavid Daney 12068420fd00SAtsushi Nemotoconfig IRQ_TXX9 12078420fd00SAtsushi Nemoto bool 12088420fd00SAtsushi Nemoto 1209d5ab1a69SYoichi Yuasaconfig IRQ_GT641XX 1210d5ab1a69SYoichi Yuasa bool 1211d5ab1a69SYoichi Yuasa 1212252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0 12131da177e4SLinus Torvalds bool 12141da177e4SLinus Torvalds 1215a57140e9SThomas Bogendoerferconfig PCI_XTALK_BRIDGE 1216a57140e9SThomas Bogendoerfer bool 1217a57140e9SThomas Bogendoerfer 12189267a30dSMarc St-Jeanconfig NO_EXCEPT_FILL 12199267a30dSMarc St-Jean bool 12209267a30dSMarc St-Jean 1221a7e07b1aSMarkos Chandrasconfig MIPS_SPRAM 1222a7e07b1aSMarkos Chandras bool 1223a7e07b1aSMarkos Chandras 12241da177e4SLinus Torvaldsconfig SWAP_IO_SPACE 12251da177e4SLinus Torvalds bool 12261da177e4SLinus Torvalds 1227e2defae5SThomas Bogendoerferconfig SGI_HAS_INDYDOG 1228e2defae5SThomas Bogendoerfer bool 1229e2defae5SThomas Bogendoerfer 12305b438c44SThomas Bogendoerferconfig SGI_HAS_HAL2 12315b438c44SThomas Bogendoerfer bool 12325b438c44SThomas Bogendoerfer 1233e2defae5SThomas Bogendoerferconfig SGI_HAS_SEEQ 1234e2defae5SThomas Bogendoerfer bool 1235e2defae5SThomas Bogendoerfer 1236e2defae5SThomas Bogendoerferconfig SGI_HAS_WD93 1237e2defae5SThomas Bogendoerfer bool 1238e2defae5SThomas Bogendoerfer 1239e2defae5SThomas Bogendoerferconfig SGI_HAS_ZILOG 1240e2defae5SThomas Bogendoerfer bool 1241e2defae5SThomas Bogendoerfer 1242e2defae5SThomas Bogendoerferconfig SGI_HAS_I8042 1243e2defae5SThomas Bogendoerfer bool 1244e2defae5SThomas Bogendoerfer 1245e2defae5SThomas Bogendoerferconfig DEFAULT_SGI_PARTITION 1246e2defae5SThomas Bogendoerfer bool 1247e2defae5SThomas Bogendoerfer 12480e2794b0SRalf Baechleconfig FW_ARC32 12495e83d430SRalf Baechle bool 12505e83d430SRalf Baechle 1251aaa9fad3SPaul Bolleconfig FW_SNIPROM 1252231a35d3SThomas Bogendoerfer bool 1253231a35d3SThomas Bogendoerfer 12541da177e4SLinus Torvaldsconfig BOOT_ELF32 12551da177e4SLinus Torvalds bool 12561da177e4SLinus Torvalds 1257930beb5aSFlorian Fainelliconfig MIPS_L1_CACHE_SHIFT_4 1258930beb5aSFlorian Fainelli bool 1259930beb5aSFlorian Fainelli 1260930beb5aSFlorian Fainelliconfig MIPS_L1_CACHE_SHIFT_5 1261930beb5aSFlorian Fainelli bool 1262930beb5aSFlorian Fainelli 1263930beb5aSFlorian Fainelliconfig MIPS_L1_CACHE_SHIFT_6 1264930beb5aSFlorian Fainelli bool 1265930beb5aSFlorian Fainelli 1266930beb5aSFlorian Fainelliconfig MIPS_L1_CACHE_SHIFT_7 1267930beb5aSFlorian Fainelli bool 1268930beb5aSFlorian Fainelli 12691da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT 12701da177e4SLinus Torvalds int 1271a4c0201eSFlorian Fainelli default "7" if MIPS_L1_CACHE_SHIFT_7 12725432eeb6SKevin Cernekee default "6" if MIPS_L1_CACHE_SHIFT_6 12735432eeb6SKevin Cernekee default "5" if MIPS_L1_CACHE_SHIFT_5 12745432eeb6SKevin Cernekee default "4" if MIPS_L1_CACHE_SHIFT_4 12751da177e4SLinus Torvalds default "5" 12761da177e4SLinus Torvalds 1277e9422427SThomas Bogendoerferconfig ARC_CMDLINE_ONLY 1278e9422427SThomas Bogendoerfer bool 1279e9422427SThomas Bogendoerfer 12801da177e4SLinus Torvaldsconfig ARC_CONSOLE 12811da177e4SLinus Torvalds bool "ARC console support" 1282e2defae5SThomas Bogendoerfer depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN) 12831da177e4SLinus Torvalds 12841da177e4SLinus Torvaldsconfig ARC_MEMORY 12851da177e4SLinus Torvalds bool 12861da177e4SLinus Torvalds 12871da177e4SLinus Torvaldsconfig ARC_PROMLIB 12881da177e4SLinus Torvalds bool 12891da177e4SLinus Torvalds 12900e2794b0SRalf Baechleconfig FW_ARC64 12911da177e4SLinus Torvalds bool 12921da177e4SLinus Torvalds 12931da177e4SLinus Torvaldsconfig BOOT_ELF64 12941da177e4SLinus Torvalds bool 12951da177e4SLinus Torvalds 12961da177e4SLinus Torvaldsmenu "CPU selection" 12971da177e4SLinus Torvalds 12981da177e4SLinus Torvaldschoice 12991da177e4SLinus Torvalds prompt "CPU type" 13001da177e4SLinus Torvalds default CPU_R4X00 13011da177e4SLinus Torvalds 1302268a2d60SJiaxun Yangconfig CPU_LOONGSON64 1303caed1d1bSHuacai Chen bool "Loongson 64-bit CPU" 1304268a2d60SJiaxun Yang depends on SYS_HAS_CPU_LOONGSON64 1305d3bc81beSChristoph Hellwig select ARCH_HAS_PHYS_TO_DMA 130651522217SJiaxun Yang select CPU_MIPSR2 130751522217SJiaxun Yang select CPU_HAS_PREFETCH 13080e476d91SHuacai Chen select CPU_SUPPORTS_64BIT_KERNEL 13090e476d91SHuacai Chen select CPU_SUPPORTS_HIGHMEM 13100e476d91SHuacai Chen select CPU_SUPPORTS_HUGEPAGES 13117507445bSHuacai Chen select CPU_SUPPORTS_MSA 131251522217SJiaxun Yang select CPU_DIEI_BROKEN if !LOONGSON3_ENHANCEMENT 131351522217SJiaxun Yang select CPU_MIPSR2_IRQ_VI 1314edc0378eSJiaxun Yang select DMA_NONCOHERENT 13150e476d91SHuacai Chen select WEAK_ORDERING 13160e476d91SHuacai Chen select WEAK_REORDERING_BEYOND_LLSC 13177507445bSHuacai Chen select MIPS_ASID_BITS_VARIABLE 1318b2edcfc8SHuacai Chen select MIPS_PGD_C0_CONTEXT 131917c99d94SHuacai Chen select MIPS_L1_CACHE_SHIFT_6 13207f3b3c2bSJackie Liu select MIPS_FP_SUPPORT 1321d30a2b47SLinus Walleij select GPIOLIB 132209230cbcSChristoph Hellwig select SWIOTLB 13230f78355cSHuacai Chen select HAVE_KVM 13240e476d91SHuacai Chen help 1325caed1d1bSHuacai Chen The Loongson GSx64(GS264/GS464/GS464E/GS464V) series of processor 1326caed1d1bSHuacai Chen cores implements the MIPS64R2 instruction set with many extensions, 1327caed1d1bSHuacai Chen including most 64-bit Loongson-2 (2H, 2K) and Loongson-3 (3A1000, 1328caed1d1bSHuacai Chen 3B1000, 3B1500, 3A2000, 3A3000 and 3A4000) processors. However, old 1329caed1d1bSHuacai Chen Loongson-2E/2F is not covered here and will be removed in future. 13300e476d91SHuacai Chen 1331caed1d1bSHuacai Chenconfig LOONGSON3_ENHANCEMENT 1332caed1d1bSHuacai Chen bool "New Loongson-3 CPU Enhancements" 13331e820da3SHuacai Chen default n 1334268a2d60SJiaxun Yang depends on CPU_LOONGSON64 13351e820da3SHuacai Chen help 1336caed1d1bSHuacai Chen New Loongson-3 cores (since Loongson-3A R2, as opposed to Loongson-3A 13371e820da3SHuacai Chen R1, Loongson-3B R1 and Loongson-3B R2) has many enhancements, such as 1338268a2d60SJiaxun Yang FTLB, L1-VCache, EI/DI/Wait/Prefetch instruction, DSP/DSPr2 ASE, User 13391e820da3SHuacai Chen Local register, Read-Inhibit/Execute-Inhibit, SFB (Store Fill Buffer), 13401e820da3SHuacai Chen Fast TLB refill support, etc. 13411e820da3SHuacai Chen 13421e820da3SHuacai Chen This option enable those enhancements which are not probed at run 13431e820da3SHuacai Chen time. If you want a generic kernel to run on all Loongson 3 machines, 13441e820da3SHuacai Chen please say 'N' here. If you want a high-performance kernel to run on 1345caed1d1bSHuacai Chen new Loongson-3 machines only, please say 'Y' here. 13461e820da3SHuacai Chen 1347e02e07e3SHuacai Chenconfig CPU_LOONGSON3_WORKAROUNDS 13483f059a7eSXi Ruoyao bool "Loongson-3 LLSC Workarounds" 1349e02e07e3SHuacai Chen default y if SMP 1350268a2d60SJiaxun Yang depends on CPU_LOONGSON64 1351e02e07e3SHuacai Chen help 1352caed1d1bSHuacai Chen Loongson-3 processors have the llsc issues which require workarounds. 1353e02e07e3SHuacai Chen Without workarounds the system may hang unexpectedly. 1354e02e07e3SHuacai Chen 13553f059a7eSXi Ruoyao Say Y, unless you know what you are doing. 1356e02e07e3SHuacai Chen 1357ec7a9318SWANG Xueruiconfig CPU_LOONGSON3_CPUCFG_EMULATION 1358ec7a9318SWANG Xuerui bool "Emulate the CPUCFG instruction on older Loongson cores" 1359ec7a9318SWANG Xuerui default y 1360ec7a9318SWANG Xuerui depends on CPU_LOONGSON64 1361ec7a9318SWANG Xuerui help 1362ec7a9318SWANG Xuerui Loongson-3A R4 and newer have the CPUCFG instruction available for 1363ec7a9318SWANG Xuerui userland to query CPU capabilities, much like CPUID on x86. This 1364ec7a9318SWANG Xuerui option provides emulation of the instruction on older Loongson 1365ec7a9318SWANG Xuerui cores, back to Loongson-3A1000. 1366ec7a9318SWANG Xuerui 1367ec7a9318SWANG Xuerui If unsure, please say Y. 1368ec7a9318SWANG Xuerui 13693702bba5SWu Zhangjinconfig CPU_LOONGSON2E 13703702bba5SWu Zhangjin bool "Loongson 2E" 13713702bba5SWu Zhangjin depends on SYS_HAS_CPU_LOONGSON2E 1372268a2d60SJiaxun Yang select CPU_LOONGSON2EF 13732a21c730SFuxin Zhang help 13742a21c730SFuxin Zhang The Loongson 2E processor implements the MIPS III instruction set 13752a21c730SFuxin Zhang with many extensions. 13762a21c730SFuxin Zhang 137725985edcSLucas De Marchi It has an internal FPGA northbridge, which is compatible to 13786f7a251aSWu Zhangjin bonito64. 13796f7a251aSWu Zhangjin 13806f7a251aSWu Zhangjinconfig CPU_LOONGSON2F 13816f7a251aSWu Zhangjin bool "Loongson 2F" 13826f7a251aSWu Zhangjin depends on SYS_HAS_CPU_LOONGSON2F 1383268a2d60SJiaxun Yang select CPU_LOONGSON2EF 13846f7a251aSWu Zhangjin help 13856f7a251aSWu Zhangjin The Loongson 2F processor implements the MIPS III instruction set 13866f7a251aSWu Zhangjin with many extensions. 13876f7a251aSWu Zhangjin 13886f7a251aSWu Zhangjin Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller 13896f7a251aSWu Zhangjin have a similar programming interface with FPGA northbridge used in 13906f7a251aSWu Zhangjin Loongson2E. 13916f7a251aSWu Zhangjin 1392ca585cf9SKelvin Cheungconfig CPU_LOONGSON1B 1393ca585cf9SKelvin Cheung bool "Loongson 1B" 1394ca585cf9SKelvin Cheung depends on SYS_HAS_CPU_LOONGSON1B 1395b2afb64cSHuacai Chen select CPU_LOONGSON32 13969ec88b60SKelvin Cheung select LEDS_GPIO_REGISTER 1397ca585cf9SKelvin Cheung help 1398ca585cf9SKelvin Cheung The Loongson 1B is a 32-bit SoC, which implements the MIPS32 1399968dc5a0S谢致邦 (XIE Zhibang) Release 1 instruction set and part of the MIPS32 Release 2 1400968dc5a0S谢致邦 (XIE Zhibang) instruction set. 1401ca585cf9SKelvin Cheung 140212e3280bSYang Lingconfig CPU_LOONGSON1C 140312e3280bSYang Ling bool "Loongson 1C" 140412e3280bSYang Ling depends on SYS_HAS_CPU_LOONGSON1C 1405b2afb64cSHuacai Chen select CPU_LOONGSON32 140612e3280bSYang Ling select LEDS_GPIO_REGISTER 140712e3280bSYang Ling help 140812e3280bSYang Ling The Loongson 1C is a 32-bit SoC, which implements the MIPS32 1409968dc5a0S谢致邦 (XIE Zhibang) Release 1 instruction set and part of the MIPS32 Release 2 1410968dc5a0S谢致邦 (XIE Zhibang) instruction set. 141112e3280bSYang Ling 14126e760c8dSRalf Baechleconfig CPU_MIPS32_R1 14136e760c8dSRalf Baechle bool "MIPS32 Release 1" 14147cf8053bSRalf Baechle depends on SYS_HAS_CPU_MIPS32_R1 14156e760c8dSRalf Baechle select CPU_HAS_PREFETCH 1416797798c1SRalf Baechle select CPU_SUPPORTS_32BIT_KERNEL 1417ec28f306SRalf Baechle select CPU_SUPPORTS_HIGHMEM 14186e760c8dSRalf Baechle help 14195e83d430SRalf Baechle Choose this option to build a kernel for release 1 or later of the 14201e5f1caaSRalf Baechle MIPS32 architecture. Most modern embedded systems with a 32-bit 14211e5f1caaSRalf Baechle MIPS processor are based on a MIPS32 processor. If you know the 14221e5f1caaSRalf Baechle specific type of processor in your system, choose those that one 14231e5f1caaSRalf Baechle otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system. 14241e5f1caaSRalf Baechle Release 2 of the MIPS32 architecture is available since several 14251e5f1caaSRalf Baechle years so chances are you even have a MIPS32 Release 2 processor 14261e5f1caaSRalf Baechle in which case you should choose CPU_MIPS32_R2 instead for better 14271e5f1caaSRalf Baechle performance. 14281e5f1caaSRalf Baechle 14291e5f1caaSRalf Baechleconfig CPU_MIPS32_R2 14301e5f1caaSRalf Baechle bool "MIPS32 Release 2" 14317cf8053bSRalf Baechle depends on SYS_HAS_CPU_MIPS32_R2 14321e5f1caaSRalf Baechle select CPU_HAS_PREFETCH 1433797798c1SRalf Baechle select CPU_SUPPORTS_32BIT_KERNEL 1434ec28f306SRalf Baechle select CPU_SUPPORTS_HIGHMEM 1435a5e9a69eSPaul Burton select CPU_SUPPORTS_MSA 14362235a54dSSanjay Lal select HAVE_KVM 14371e5f1caaSRalf Baechle help 14385e83d430SRalf Baechle Choose this option to build a kernel for release 2 or later of the 14396e760c8dSRalf Baechle MIPS32 architecture. Most modern embedded systems with a 32-bit 14406e760c8dSRalf Baechle MIPS processor are based on a MIPS32 processor. If you know the 14416e760c8dSRalf Baechle specific type of processor in your system, choose those that one 14426e760c8dSRalf Baechle otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system. 14431da177e4SLinus Torvalds 1444ab7c01fdSSerge Seminconfig CPU_MIPS32_R5 1445ab7c01fdSSerge Semin bool "MIPS32 Release 5" 1446ab7c01fdSSerge Semin depends on SYS_HAS_CPU_MIPS32_R5 1447ab7c01fdSSerge Semin select CPU_HAS_PREFETCH 1448ab7c01fdSSerge Semin select CPU_SUPPORTS_32BIT_KERNEL 1449ab7c01fdSSerge Semin select CPU_SUPPORTS_HIGHMEM 1450ab7c01fdSSerge Semin select CPU_SUPPORTS_MSA 1451ab7c01fdSSerge Semin select HAVE_KVM 1452ab7c01fdSSerge Semin select MIPS_O32_FP64_SUPPORT 1453ab7c01fdSSerge Semin help 1454ab7c01fdSSerge Semin Choose this option to build a kernel for release 5 or later of the 1455ab7c01fdSSerge Semin MIPS32 architecture. New MIPS processors, starting with the Warrior 1456ab7c01fdSSerge Semin family, are based on a MIPS32r5 processor. If you own an older 1457ab7c01fdSSerge Semin processor, you probably need to select MIPS32r1 or MIPS32r2 instead. 1458ab7c01fdSSerge Semin 14597fd08ca5SLeonid Yegoshinconfig CPU_MIPS32_R6 1460674d10e2SMarkos Chandras bool "MIPS32 Release 6" 14617fd08ca5SLeonid Yegoshin depends on SYS_HAS_CPU_MIPS32_R6 14627fd08ca5SLeonid Yegoshin select CPU_HAS_PREFETCH 146318d84e2eSAlexander Lobakin select CPU_NO_LOAD_STORE_LR 14647fd08ca5SLeonid Yegoshin select CPU_SUPPORTS_32BIT_KERNEL 14657fd08ca5SLeonid Yegoshin select CPU_SUPPORTS_HIGHMEM 14667fd08ca5SLeonid Yegoshin select CPU_SUPPORTS_MSA 14677fd08ca5SLeonid Yegoshin select HAVE_KVM 14687fd08ca5SLeonid Yegoshin select MIPS_O32_FP64_SUPPORT 14697fd08ca5SLeonid Yegoshin help 14707fd08ca5SLeonid Yegoshin Choose this option to build a kernel for release 6 or later of the 14717fd08ca5SLeonid Yegoshin MIPS32 architecture. New MIPS processors, starting with the Warrior 14727fd08ca5SLeonid Yegoshin family, are based on a MIPS32r6 processor. If you own an older 14737fd08ca5SLeonid Yegoshin processor, you probably need to select MIPS32r1 or MIPS32r2 instead. 14747fd08ca5SLeonid Yegoshin 14756e760c8dSRalf Baechleconfig CPU_MIPS64_R1 14766e760c8dSRalf Baechle bool "MIPS64 Release 1" 14777cf8053bSRalf Baechle depends on SYS_HAS_CPU_MIPS64_R1 1478797798c1SRalf Baechle select CPU_HAS_PREFETCH 1479ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_32BIT_KERNEL 1480ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_64BIT_KERNEL 1481ec28f306SRalf Baechle select CPU_SUPPORTS_HIGHMEM 14829cffd154SDavid Daney select CPU_SUPPORTS_HUGEPAGES 14836e760c8dSRalf Baechle help 14846e760c8dSRalf Baechle Choose this option to build a kernel for release 1 or later of the 14856e760c8dSRalf Baechle MIPS64 architecture. Many modern embedded systems with a 64-bit 14866e760c8dSRalf Baechle MIPS processor are based on a MIPS64 processor. If you know the 14876e760c8dSRalf Baechle specific type of processor in your system, choose those that one 14886e760c8dSRalf Baechle otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system. 14891e5f1caaSRalf Baechle Release 2 of the MIPS64 architecture is available since several 14901e5f1caaSRalf Baechle years so chances are you even have a MIPS64 Release 2 processor 14911e5f1caaSRalf Baechle in which case you should choose CPU_MIPS64_R2 instead for better 14921e5f1caaSRalf Baechle performance. 14931e5f1caaSRalf Baechle 14941e5f1caaSRalf Baechleconfig CPU_MIPS64_R2 14951e5f1caaSRalf Baechle bool "MIPS64 Release 2" 14967cf8053bSRalf Baechle depends on SYS_HAS_CPU_MIPS64_R2 1497797798c1SRalf Baechle select CPU_HAS_PREFETCH 14981e5f1caaSRalf Baechle select CPU_SUPPORTS_32BIT_KERNEL 14991e5f1caaSRalf Baechle select CPU_SUPPORTS_64BIT_KERNEL 1500ec28f306SRalf Baechle select CPU_SUPPORTS_HIGHMEM 15019cffd154SDavid Daney select CPU_SUPPORTS_HUGEPAGES 1502a5e9a69eSPaul Burton select CPU_SUPPORTS_MSA 150340a2df49SJames Hogan select HAVE_KVM 15041e5f1caaSRalf Baechle help 15051e5f1caaSRalf Baechle Choose this option to build a kernel for release 2 or later of the 15061e5f1caaSRalf Baechle MIPS64 architecture. Many modern embedded systems with a 64-bit 15071e5f1caaSRalf Baechle MIPS processor are based on a MIPS64 processor. If you know the 15081e5f1caaSRalf Baechle specific type of processor in your system, choose those that one 15091e5f1caaSRalf Baechle otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system. 15101da177e4SLinus Torvalds 1511ab7c01fdSSerge Seminconfig CPU_MIPS64_R5 1512ab7c01fdSSerge Semin bool "MIPS64 Release 5" 1513ab7c01fdSSerge Semin depends on SYS_HAS_CPU_MIPS64_R5 1514ab7c01fdSSerge Semin select CPU_HAS_PREFETCH 1515ab7c01fdSSerge Semin select CPU_SUPPORTS_32BIT_KERNEL 1516ab7c01fdSSerge Semin select CPU_SUPPORTS_64BIT_KERNEL 1517ab7c01fdSSerge Semin select CPU_SUPPORTS_HIGHMEM 1518ab7c01fdSSerge Semin select CPU_SUPPORTS_HUGEPAGES 1519ab7c01fdSSerge Semin select CPU_SUPPORTS_MSA 1520ab7c01fdSSerge Semin select MIPS_O32_FP64_SUPPORT if 32BIT || MIPS32_O32 1521ab7c01fdSSerge Semin select HAVE_KVM 1522ab7c01fdSSerge Semin help 1523ab7c01fdSSerge Semin Choose this option to build a kernel for release 5 or later of the 1524ab7c01fdSSerge Semin MIPS64 architecture. This is a intermediate MIPS architecture 1525ab7c01fdSSerge Semin release partly implementing release 6 features. Though there is no 1526ab7c01fdSSerge Semin any hardware known to be based on this release. 1527ab7c01fdSSerge Semin 15287fd08ca5SLeonid Yegoshinconfig CPU_MIPS64_R6 1529674d10e2SMarkos Chandras bool "MIPS64 Release 6" 15307fd08ca5SLeonid Yegoshin depends on SYS_HAS_CPU_MIPS64_R6 15317fd08ca5SLeonid Yegoshin select CPU_HAS_PREFETCH 153218d84e2eSAlexander Lobakin select CPU_NO_LOAD_STORE_LR 15337fd08ca5SLeonid Yegoshin select CPU_SUPPORTS_32BIT_KERNEL 15347fd08ca5SLeonid Yegoshin select CPU_SUPPORTS_64BIT_KERNEL 15357fd08ca5SLeonid Yegoshin select CPU_SUPPORTS_HIGHMEM 1536afd375dcSPaul Burton select CPU_SUPPORTS_HUGEPAGES 15377fd08ca5SLeonid Yegoshin select CPU_SUPPORTS_MSA 15382e6c7747SJames Hogan select MIPS_O32_FP64_SUPPORT if 32BIT || MIPS32_O32 153940a2df49SJames Hogan select HAVE_KVM 15407fd08ca5SLeonid Yegoshin help 15417fd08ca5SLeonid Yegoshin Choose this option to build a kernel for release 6 or later of the 15427fd08ca5SLeonid Yegoshin MIPS64 architecture. New MIPS processors, starting with the Warrior 15437fd08ca5SLeonid Yegoshin family, are based on a MIPS64r6 processor. If you own an older 15447fd08ca5SLeonid Yegoshin processor, you probably need to select MIPS64r1 or MIPS64r2 instead. 15457fd08ca5SLeonid Yegoshin 1546281e3aeaSSerge Seminconfig CPU_P5600 1547281e3aeaSSerge Semin bool "MIPS Warrior P5600" 1548281e3aeaSSerge Semin depends on SYS_HAS_CPU_P5600 1549281e3aeaSSerge Semin select CPU_HAS_PREFETCH 1550281e3aeaSSerge Semin select CPU_SUPPORTS_32BIT_KERNEL 1551281e3aeaSSerge Semin select CPU_SUPPORTS_HIGHMEM 1552281e3aeaSSerge Semin select CPU_SUPPORTS_MSA 1553281e3aeaSSerge Semin select CPU_SUPPORTS_CPUFREQ 1554281e3aeaSSerge Semin select CPU_MIPSR2_IRQ_VI 1555281e3aeaSSerge Semin select CPU_MIPSR2_IRQ_EI 1556281e3aeaSSerge Semin select HAVE_KVM 1557281e3aeaSSerge Semin select MIPS_O32_FP64_SUPPORT 1558281e3aeaSSerge Semin help 1559281e3aeaSSerge Semin Choose this option to build a kernel for MIPS Warrior P5600 CPU. 1560281e3aeaSSerge Semin It's based on MIPS32r5 ISA with XPA, EVA, dual/quad issue exec pipes, 1561281e3aeaSSerge Semin MMU with two-levels TLB, UCA, MSA, MDU core level features and system 1562281e3aeaSSerge Semin level features like up to six P5600 calculation cores, CM2 with L2 1563281e3aeaSSerge Semin cache, IOCU/IOMMU (though might be unused depending on the system- 1564281e3aeaSSerge Semin specific IP core configuration), GIC, CPC, virtualisation module, 1565281e3aeaSSerge Semin eJTAG and PDtrace. 1566281e3aeaSSerge Semin 15671da177e4SLinus Torvaldsconfig CPU_R3000 15681da177e4SLinus Torvalds bool "R3000" 15697cf8053bSRalf Baechle depends on SYS_HAS_CPU_R3000 1570f7062ddbSRalf Baechle select CPU_HAS_WB 157154746829SPaul Burton select CPU_R3K_TLB 1572ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_32BIT_KERNEL 1573797798c1SRalf Baechle select CPU_SUPPORTS_HIGHMEM 15741da177e4SLinus Torvalds help 15751da177e4SLinus Torvalds Please make sure to pick the right CPU type. Linux/MIPS is not 15761da177e4SLinus Torvalds designed to be generic, i.e. Kernels compiled for R3000 CPUs will 15771da177e4SLinus Torvalds *not* work on R4000 machines and vice versa. However, since most 15781da177e4SLinus Torvalds of the supported machines have an R4000 (or similar) CPU, R4x00 15791da177e4SLinus Torvalds might be a safe bet. If the resulting kernel does not work, 15801da177e4SLinus Torvalds try to recompile with R3000. 15811da177e4SLinus Torvalds 158265ce6197SLauri Kasanenconfig CPU_R4300 158365ce6197SLauri Kasanen bool "R4300" 158465ce6197SLauri Kasanen depends on SYS_HAS_CPU_R4300 158565ce6197SLauri Kasanen select CPU_SUPPORTS_32BIT_KERNEL 158665ce6197SLauri Kasanen select CPU_SUPPORTS_64BIT_KERNEL 158765ce6197SLauri Kasanen help 158865ce6197SLauri Kasanen MIPS Technologies R4300-series processors. 158965ce6197SLauri Kasanen 15901da177e4SLinus Torvaldsconfig CPU_R4X00 15911da177e4SLinus Torvalds bool "R4x00" 15927cf8053bSRalf Baechle depends on SYS_HAS_CPU_R4X00 1593ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_32BIT_KERNEL 1594ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_64BIT_KERNEL 1595970d032fSRalf Baechle select CPU_SUPPORTS_HUGEPAGES 15961da177e4SLinus Torvalds help 15971da177e4SLinus Torvalds MIPS Technologies R4000-series processors other than 4300, including 15981da177e4SLinus Torvalds the R4000, R4400, R4600, and 4700. 15991da177e4SLinus Torvalds 16001da177e4SLinus Torvaldsconfig CPU_TX49XX 16011da177e4SLinus Torvalds bool "R49XX" 16027cf8053bSRalf Baechle depends on SYS_HAS_CPU_TX49XX 1603de862b48SAtsushi Nemoto select CPU_HAS_PREFETCH 1604ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_32BIT_KERNEL 1605ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_64BIT_KERNEL 1606970d032fSRalf Baechle select CPU_SUPPORTS_HUGEPAGES 16071da177e4SLinus Torvalds 16081da177e4SLinus Torvaldsconfig CPU_R5000 16091da177e4SLinus Torvalds bool "R5000" 16107cf8053bSRalf Baechle depends on SYS_HAS_CPU_R5000 1611ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_32BIT_KERNEL 1612ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_64BIT_KERNEL 1613970d032fSRalf Baechle select CPU_SUPPORTS_HUGEPAGES 16141da177e4SLinus Torvalds help 16151da177e4SLinus Torvalds MIPS Technologies R5000-series processors other than the Nevada. 16161da177e4SLinus Torvalds 1617542c1020SShinya Kuribayashiconfig CPU_R5500 1618542c1020SShinya Kuribayashi bool "R5500" 1619542c1020SShinya Kuribayashi depends on SYS_HAS_CPU_R5500 1620542c1020SShinya Kuribayashi select CPU_SUPPORTS_32BIT_KERNEL 1621542c1020SShinya Kuribayashi select CPU_SUPPORTS_64BIT_KERNEL 16229cffd154SDavid Daney select CPU_SUPPORTS_HUGEPAGES 1623542c1020SShinya Kuribayashi help 1624542c1020SShinya Kuribayashi NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV 1625542c1020SShinya Kuribayashi instruction set. 1626542c1020SShinya Kuribayashi 16271da177e4SLinus Torvaldsconfig CPU_NEVADA 16281da177e4SLinus Torvalds bool "RM52xx" 16297cf8053bSRalf Baechle depends on SYS_HAS_CPU_NEVADA 1630ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_32BIT_KERNEL 1631ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_64BIT_KERNEL 1632970d032fSRalf Baechle select CPU_SUPPORTS_HUGEPAGES 16331da177e4SLinus Torvalds help 16341da177e4SLinus Torvalds QED / PMC-Sierra RM52xx-series ("Nevada") processors. 16351da177e4SLinus Torvalds 16361da177e4SLinus Torvaldsconfig CPU_R10000 16371da177e4SLinus Torvalds bool "R10000" 16387cf8053bSRalf Baechle depends on SYS_HAS_CPU_R10000 16395e83d430SRalf Baechle select CPU_HAS_PREFETCH 1640ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_32BIT_KERNEL 1641ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_64BIT_KERNEL 1642797798c1SRalf Baechle select CPU_SUPPORTS_HIGHMEM 1643970d032fSRalf Baechle select CPU_SUPPORTS_HUGEPAGES 16441da177e4SLinus Torvalds help 16451da177e4SLinus Torvalds MIPS Technologies R10000-series processors. 16461da177e4SLinus Torvalds 16471da177e4SLinus Torvaldsconfig CPU_RM7000 16481da177e4SLinus Torvalds bool "RM7000" 16497cf8053bSRalf Baechle depends on SYS_HAS_CPU_RM7000 16505e83d430SRalf Baechle select CPU_HAS_PREFETCH 1651ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_32BIT_KERNEL 1652ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_64BIT_KERNEL 1653797798c1SRalf Baechle select CPU_SUPPORTS_HIGHMEM 1654970d032fSRalf Baechle select CPU_SUPPORTS_HUGEPAGES 16551da177e4SLinus Torvalds 16561da177e4SLinus Torvaldsconfig CPU_SB1 16571da177e4SLinus Torvalds bool "SB1" 16587cf8053bSRalf Baechle depends on SYS_HAS_CPU_SB1 1659ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_32BIT_KERNEL 1660ed5ba2fbSYoichi Yuasa select CPU_SUPPORTS_64BIT_KERNEL 1661797798c1SRalf Baechle select CPU_SUPPORTS_HIGHMEM 1662970d032fSRalf Baechle select CPU_SUPPORTS_HUGEPAGES 16630004a9dfSRalf Baechle select WEAK_ORDERING 16641da177e4SLinus Torvalds 1665a86c7f72SDavid Daneyconfig CPU_CAVIUM_OCTEON 1666a86c7f72SDavid Daney bool "Cavium Octeon processor" 16675e683389SDavid Daney depends on SYS_HAS_CPU_CAVIUM_OCTEON 1668a86c7f72SDavid Daney select CPU_HAS_PREFETCH 1669a86c7f72SDavid Daney select CPU_SUPPORTS_64BIT_KERNEL 1670a86c7f72SDavid Daney select WEAK_ORDERING 1671a86c7f72SDavid Daney select CPU_SUPPORTS_HIGHMEM 16729cffd154SDavid Daney select CPU_SUPPORTS_HUGEPAGES 1673df115f3eSBen Hutchings select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 1674df115f3eSBen Hutchings select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 1675930beb5aSFlorian Fainelli select MIPS_L1_CACHE_SHIFT_7 16760ae3abcdSJames Hogan select HAVE_KVM 1677a86c7f72SDavid Daney help 1678a86c7f72SDavid Daney The Cavium Octeon processor is a highly integrated chip containing 1679a86c7f72SDavid Daney many ethernet hardware widgets for networking tasks. The processor 1680a86c7f72SDavid Daney can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets. 1681a86c7f72SDavid Daney Full details can be found at http://www.caviumnetworks.com. 1682a86c7f72SDavid Daney 1683cd746249SJonas Gorskiconfig CPU_BMIPS 1684cd746249SJonas Gorski bool "Broadcom BMIPS" 1685cd746249SJonas Gorski depends on SYS_HAS_CPU_BMIPS 1686cd746249SJonas Gorski select CPU_MIPS32 1687fe7f62c0SJonas Gorski select CPU_BMIPS32_3300 if SYS_HAS_CPU_BMIPS32_3300 1688cd746249SJonas Gorski select CPU_BMIPS4350 if SYS_HAS_CPU_BMIPS4350 1689cd746249SJonas Gorski select CPU_BMIPS4380 if SYS_HAS_CPU_BMIPS4380 1690cd746249SJonas Gorski select CPU_BMIPS5000 if SYS_HAS_CPU_BMIPS5000 1691cd746249SJonas Gorski select CPU_SUPPORTS_32BIT_KERNEL 1692cd746249SJonas Gorski select DMA_NONCOHERENT 169367e38cf2SRalf Baechle select IRQ_MIPS_CPU 1694cd746249SJonas Gorski select SWAP_IO_SPACE 1695cd746249SJonas Gorski select WEAK_ORDERING 1696c1c0c461SKevin Cernekee select CPU_SUPPORTS_HIGHMEM 169769aaf9c8SJonas Gorski select CPU_HAS_PREFETCH 1698a8d709b0SMarkus Mayer select CPU_SUPPORTS_CPUFREQ 1699a8d709b0SMarkus Mayer select MIPS_EXTERNAL_TIMER 1700bf8bde41SFlorian Fainelli select GENERIC_IRQ_MIGRATION if HOTPLUG_CPU 1701c1c0c461SKevin Cernekee help 1702fe7f62c0SJonas Gorski Support for BMIPS32/3300/4350/4380 and BMIPS5000 processors. 1703c1c0c461SKevin Cernekee 17041da177e4SLinus Torvaldsendchoice 17051da177e4SLinus Torvalds 1706a6e18781SLeonid Yegoshinconfig CPU_MIPS32_3_5_FEATURES 1707a6e18781SLeonid Yegoshin bool "MIPS32 Release 3.5 Features" 1708a6e18781SLeonid Yegoshin depends on SYS_HAS_CPU_MIPS32_R3_5 1709281e3aeaSSerge Semin depends on CPU_MIPS32_R2 || CPU_MIPS32_R5 || CPU_MIPS32_R6 || \ 1710281e3aeaSSerge Semin CPU_P5600 1711a6e18781SLeonid Yegoshin help 1712a6e18781SLeonid Yegoshin Choose this option to build a kernel for release 2 or later of the 1713a6e18781SLeonid Yegoshin MIPS32 architecture including features from the 3.5 release such as 1714a6e18781SLeonid Yegoshin support for Enhanced Virtual Addressing (EVA). 1715a6e18781SLeonid Yegoshin 1716a6e18781SLeonid Yegoshinconfig CPU_MIPS32_3_5_EVA 1717a6e18781SLeonid Yegoshin bool "Enhanced Virtual Addressing (EVA)" 1718a6e18781SLeonid Yegoshin depends on CPU_MIPS32_3_5_FEATURES 1719a6e18781SLeonid Yegoshin select EVA 1720a6e18781SLeonid Yegoshin default y 1721a6e18781SLeonid Yegoshin help 1722a6e18781SLeonid Yegoshin Choose this option if you want to enable the Enhanced Virtual 1723a6e18781SLeonid Yegoshin Addressing (EVA) on your MIPS32 core (such as proAptiv). 1724a6e18781SLeonid Yegoshin One of its primary benefits is an increase in the maximum size 1725a6e18781SLeonid Yegoshin of lowmem (up to 3GB). If unsure, say 'N' here. 1726a6e18781SLeonid Yegoshin 1727c5b36783SSteven J. Hillconfig CPU_MIPS32_R5_FEATURES 1728c5b36783SSteven J. Hill bool "MIPS32 Release 5 Features" 1729c5b36783SSteven J. Hill depends on SYS_HAS_CPU_MIPS32_R5 1730281e3aeaSSerge Semin depends on CPU_MIPS32_R2 || CPU_MIPS32_R5 || CPU_P5600 1731c5b36783SSteven J. Hill help 1732c5b36783SSteven J. Hill Choose this option to build a kernel for release 2 or later of the 1733c5b36783SSteven J. Hill MIPS32 architecture including features from release 5 such as 1734c5b36783SSteven J. Hill support for Extended Physical Addressing (XPA). 1735c5b36783SSteven J. Hill 1736c5b36783SSteven J. Hillconfig CPU_MIPS32_R5_XPA 1737c5b36783SSteven J. Hill bool "Extended Physical Addressing (XPA)" 1738c5b36783SSteven J. Hill depends on CPU_MIPS32_R5_FEATURES 1739c5b36783SSteven J. Hill depends on !EVA 1740c5b36783SSteven J. Hill depends on !PAGE_SIZE_4KB 1741c5b36783SSteven J. Hill depends on SYS_SUPPORTS_HIGHMEM 1742c5b36783SSteven J. Hill select XPA 1743c5b36783SSteven J. Hill select HIGHMEM 1744d4a451d5SChristoph Hellwig select PHYS_ADDR_T_64BIT 1745c5b36783SSteven J. Hill default n 1746c5b36783SSteven J. Hill help 1747c5b36783SSteven J. Hill Choose this option if you want to enable the Extended Physical 1748c5b36783SSteven J. Hill Addressing (XPA) on your MIPS32 core (such as P5600 series). The 1749c5b36783SSteven J. Hill benefit is to increase physical addressing equal to or greater 1750c5b36783SSteven J. Hill than 40 bits. Note that this has the side effect of turning on 1751c5b36783SSteven J. Hill 64-bit addressing which in turn makes the PTEs 64-bit in size. 1752c5b36783SSteven J. Hill If unsure, say 'N' here. 1753c5b36783SSteven J. Hill 1754622844bfSWu Zhangjinif CPU_LOONGSON2F 1755622844bfSWu Zhangjinconfig CPU_NOP_WORKAROUNDS 1756622844bfSWu Zhangjin bool 1757622844bfSWu Zhangjin 1758622844bfSWu Zhangjinconfig CPU_JUMP_WORKAROUNDS 1759622844bfSWu Zhangjin bool 1760622844bfSWu Zhangjin 1761622844bfSWu Zhangjinconfig CPU_LOONGSON2F_WORKAROUNDS 1762622844bfSWu Zhangjin bool "Loongson 2F Workarounds" 1763622844bfSWu Zhangjin default y 1764622844bfSWu Zhangjin select CPU_NOP_WORKAROUNDS 1765622844bfSWu Zhangjin select CPU_JUMP_WORKAROUNDS 1766622844bfSWu Zhangjin help 1767622844bfSWu Zhangjin Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which 1768622844bfSWu Zhangjin require workarounds. Without workarounds the system may hang 1769622844bfSWu Zhangjin unexpectedly. For more information please refer to the gas 1770622844bfSWu Zhangjin -mfix-loongson2f-nop and -mfix-loongson2f-jump options. 1771622844bfSWu Zhangjin 1772622844bfSWu Zhangjin Loongson 2F03 and later have fixed these issues and no workarounds 1773622844bfSWu Zhangjin are needed. The workarounds have no significant side effect on them 1774622844bfSWu Zhangjin but may decrease the performance of the system so this option should 1775622844bfSWu Zhangjin be disabled unless the kernel is intended to be run on 2F01 or 2F02 1776622844bfSWu Zhangjin systems. 1777622844bfSWu Zhangjin 1778622844bfSWu Zhangjin If unsure, please say Y. 1779622844bfSWu Zhangjinendif # CPU_LOONGSON2F 1780622844bfSWu Zhangjin 17811b93b3c3SWu Zhangjinconfig SYS_SUPPORTS_ZBOOT 17821b93b3c3SWu Zhangjin bool 17831b93b3c3SWu Zhangjin select HAVE_KERNEL_GZIP 17841b93b3c3SWu Zhangjin select HAVE_KERNEL_BZIP2 178531c4867dSFlorian Fainelli select HAVE_KERNEL_LZ4 17861b93b3c3SWu Zhangjin select HAVE_KERNEL_LZMA 1787fe1d45e0SWu Zhangjin select HAVE_KERNEL_LZO 17884e23eb63SFlorian Fainelli select HAVE_KERNEL_XZ 1789a510b616SPaul Cercueil select HAVE_KERNEL_ZSTD 17901b93b3c3SWu Zhangjin 17911b93b3c3SWu Zhangjinconfig SYS_SUPPORTS_ZBOOT_UART16550 17921b93b3c3SWu Zhangjin bool 17931b93b3c3SWu Zhangjin select SYS_SUPPORTS_ZBOOT 17941b93b3c3SWu Zhangjin 1795dbb98314SAlban Bedelconfig SYS_SUPPORTS_ZBOOT_UART_PROM 1796dbb98314SAlban Bedel bool 1797dbb98314SAlban Bedel select SYS_SUPPORTS_ZBOOT 1798dbb98314SAlban Bedel 1799268a2d60SJiaxun Yangconfig CPU_LOONGSON2EF 18003702bba5SWu Zhangjin bool 18013702bba5SWu Zhangjin select CPU_SUPPORTS_32BIT_KERNEL 18023702bba5SWu Zhangjin select CPU_SUPPORTS_64BIT_KERNEL 18033702bba5SWu Zhangjin select CPU_SUPPORTS_HIGHMEM 1804970d032fSRalf Baechle select CPU_SUPPORTS_HUGEPAGES 18053702bba5SWu Zhangjin 1806b2afb64cSHuacai Chenconfig CPU_LOONGSON32 1807ca585cf9SKelvin Cheung bool 1808ca585cf9SKelvin Cheung select CPU_MIPS32 18097e280f6bSJiaxun Yang select CPU_MIPSR2 1810ca585cf9SKelvin Cheung select CPU_HAS_PREFETCH 1811ca585cf9SKelvin Cheung select CPU_SUPPORTS_32BIT_KERNEL 1812ca585cf9SKelvin Cheung select CPU_SUPPORTS_HIGHMEM 1813f29ad10dSKelvin Cheung select CPU_SUPPORTS_CPUFREQ 1814ca585cf9SKelvin Cheung 1815fe7f62c0SJonas Gorskiconfig CPU_BMIPS32_3300 181604fa8bf7SJonas Gorski select SMP_UP if SMP 18171bbb6c1bSKevin Cernekee bool 1818cd746249SJonas Gorski 1819cd746249SJonas Gorskiconfig CPU_BMIPS4350 1820cd746249SJonas Gorski bool 1821cd746249SJonas Gorski select SYS_SUPPORTS_SMP 1822cd746249SJonas Gorski select SYS_SUPPORTS_HOTPLUG_CPU 1823cd746249SJonas Gorski 1824cd746249SJonas Gorskiconfig CPU_BMIPS4380 1825cd746249SJonas Gorski bool 1826bbf2ba67SKevin Cernekee select MIPS_L1_CACHE_SHIFT_6 1827cd746249SJonas Gorski select SYS_SUPPORTS_SMP 1828cd746249SJonas Gorski select SYS_SUPPORTS_HOTPLUG_CPU 1829b4720809SFlorian Fainelli select CPU_HAS_RIXI 1830cd746249SJonas Gorski 1831cd746249SJonas Gorskiconfig CPU_BMIPS5000 1832cd746249SJonas Gorski bool 1833cd746249SJonas Gorski select MIPS_CPU_SCACHE 1834bbf2ba67SKevin Cernekee select MIPS_L1_CACHE_SHIFT_7 1835cd746249SJonas Gorski select SYS_SUPPORTS_SMP 1836cd746249SJonas Gorski select SYS_SUPPORTS_HOTPLUG_CPU 1837b4720809SFlorian Fainelli select CPU_HAS_RIXI 18381bbb6c1bSKevin Cernekee 1839268a2d60SJiaxun Yangconfig SYS_HAS_CPU_LOONGSON64 18400e476d91SHuacai Chen bool 18410e476d91SHuacai Chen select CPU_SUPPORTS_CPUFREQ 1842b2edcfc8SHuacai Chen select CPU_HAS_RIXI 18430e476d91SHuacai Chen 18443702bba5SWu Zhangjinconfig SYS_HAS_CPU_LOONGSON2E 18452a21c730SFuxin Zhang bool 18462a21c730SFuxin Zhang 18476f7a251aSWu Zhangjinconfig SYS_HAS_CPU_LOONGSON2F 18486f7a251aSWu Zhangjin bool 184955045ff5SWu Zhangjin select CPU_SUPPORTS_CPUFREQ 185055045ff5SWu Zhangjin select CPU_SUPPORTS_ADDRWINCFG if 64BIT 18516f7a251aSWu Zhangjin 1852ca585cf9SKelvin Cheungconfig SYS_HAS_CPU_LOONGSON1B 1853ca585cf9SKelvin Cheung bool 1854ca585cf9SKelvin Cheung 185512e3280bSYang Lingconfig SYS_HAS_CPU_LOONGSON1C 185612e3280bSYang Ling bool 185712e3280bSYang Ling 18587cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1 18597cf8053bSRalf Baechle bool 18607cf8053bSRalf Baechle 18617cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2 18627cf8053bSRalf Baechle bool 18637cf8053bSRalf Baechle 1864a6e18781SLeonid Yegoshinconfig SYS_HAS_CPU_MIPS32_R3_5 1865a6e18781SLeonid Yegoshin bool 1866a6e18781SLeonid Yegoshin 1867c5b36783SSteven J. Hillconfig SYS_HAS_CPU_MIPS32_R5 1868c5b36783SSteven J. Hill bool 1869c5b36783SSteven J. Hill 18707fd08ca5SLeonid Yegoshinconfig SYS_HAS_CPU_MIPS32_R6 18717fd08ca5SLeonid Yegoshin bool 18727fd08ca5SLeonid Yegoshin 18737cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1 18747cf8053bSRalf Baechle bool 18757cf8053bSRalf Baechle 18767cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2 18777cf8053bSRalf Baechle bool 18787cf8053bSRalf Baechle 1879fd4eb90bSLukas Bulwahnconfig SYS_HAS_CPU_MIPS64_R5 1880fd4eb90bSLukas Bulwahn bool 1881fd4eb90bSLukas Bulwahn 18827fd08ca5SLeonid Yegoshinconfig SYS_HAS_CPU_MIPS64_R6 18837fd08ca5SLeonid Yegoshin bool 18847fd08ca5SLeonid Yegoshin 1885281e3aeaSSerge Seminconfig SYS_HAS_CPU_P5600 1886281e3aeaSSerge Semin bool 1887281e3aeaSSerge Semin 18887cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000 18897cf8053bSRalf Baechle bool 18907cf8053bSRalf Baechle 189165ce6197SLauri Kasanenconfig SYS_HAS_CPU_R4300 189265ce6197SLauri Kasanen bool 189365ce6197SLauri Kasanen 18947cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00 18957cf8053bSRalf Baechle bool 18967cf8053bSRalf Baechle 18977cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX 18987cf8053bSRalf Baechle bool 18997cf8053bSRalf Baechle 19007cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000 19017cf8053bSRalf Baechle bool 19027cf8053bSRalf Baechle 1903542c1020SShinya Kuribayashiconfig SYS_HAS_CPU_R5500 1904542c1020SShinya Kuribayashi bool 1905542c1020SShinya Kuribayashi 19067cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA 19077cf8053bSRalf Baechle bool 19087cf8053bSRalf Baechle 19097cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000 19107cf8053bSRalf Baechle bool 19117cf8053bSRalf Baechle 19127cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000 19137cf8053bSRalf Baechle bool 19147cf8053bSRalf Baechle 19157cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1 19167cf8053bSRalf Baechle bool 19177cf8053bSRalf Baechle 19185e683389SDavid Daneyconfig SYS_HAS_CPU_CAVIUM_OCTEON 19195e683389SDavid Daney bool 19205e683389SDavid Daney 1921cd746249SJonas Gorskiconfig SYS_HAS_CPU_BMIPS 1922c1c0c461SKevin Cernekee bool 1923c1c0c461SKevin Cernekee 1924fe7f62c0SJonas Gorskiconfig SYS_HAS_CPU_BMIPS32_3300 1925c1c0c461SKevin Cernekee bool 1926cd746249SJonas Gorski select SYS_HAS_CPU_BMIPS 1927c1c0c461SKevin Cernekee 1928c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS4350 1929c1c0c461SKevin Cernekee bool 1930cd746249SJonas Gorski select SYS_HAS_CPU_BMIPS 1931c1c0c461SKevin Cernekee 1932c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS4380 1933c1c0c461SKevin Cernekee bool 1934cd746249SJonas Gorski select SYS_HAS_CPU_BMIPS 1935c1c0c461SKevin Cernekee 1936c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS5000 1937c1c0c461SKevin Cernekee bool 1938cd746249SJonas Gorski select SYS_HAS_CPU_BMIPS 1939c1c0c461SKevin Cernekee 194017099b11SRalf Baechle# 194117099b11SRalf Baechle# CPU may reorder R->R, R->W, W->R, W->W 194217099b11SRalf Baechle# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC 194317099b11SRalf Baechle# 19440004a9dfSRalf Baechleconfig WEAK_ORDERING 19450004a9dfSRalf Baechle bool 194617099b11SRalf Baechle 194717099b11SRalf Baechle# 194817099b11SRalf Baechle# CPU may reorder reads and writes beyond LL/SC 194917099b11SRalf Baechle# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC 195017099b11SRalf Baechle# 195117099b11SRalf Baechleconfig WEAK_REORDERING_BEYOND_LLSC 195217099b11SRalf Baechle bool 19535e83d430SRalf Baechleendmenu 19545e83d430SRalf Baechle 19555e83d430SRalf Baechle# 19565e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture 19575e83d430SRalf Baechle# 19585e83d430SRalf Baechleconfig CPU_MIPS32 19595e83d430SRalf Baechle bool 1960ab7c01fdSSerge Semin default y if CPU_MIPS32_R1 || CPU_MIPS32_R2 || CPU_MIPS32_R5 || \ 1961281e3aeaSSerge Semin CPU_MIPS32_R6 || CPU_P5600 19625e83d430SRalf Baechle 19635e83d430SRalf Baechleconfig CPU_MIPS64 19645e83d430SRalf Baechle bool 1965ab7c01fdSSerge Semin default y if CPU_MIPS64_R1 || CPU_MIPS64_R2 || CPU_MIPS64_R5 || \ 19665a4fa44fSJason A. Donenfeld CPU_MIPS64_R6 || CPU_LOONGSON64 || CPU_CAVIUM_OCTEON 19675e83d430SRalf Baechle 19685e83d430SRalf Baechle# 196957eeacedSPaul Burton# These indicate the revision of the architecture 19705e83d430SRalf Baechle# 19715e83d430SRalf Baechleconfig CPU_MIPSR1 19725e83d430SRalf Baechle bool 19735e83d430SRalf Baechle default y if CPU_MIPS32_R1 || CPU_MIPS64_R1 19745e83d430SRalf Baechle 19755e83d430SRalf Baechleconfig CPU_MIPSR2 19765e83d430SRalf Baechle bool 1977a86c7f72SDavid Daney default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON 19788256b17eSFlorian Fainelli select CPU_HAS_RIXI 1979ba9196d2SJiaxun Yang select CPU_HAS_DIEI if !CPU_DIEI_BROKEN 1980a7e07b1aSMarkos Chandras select MIPS_SPRAM 19815e83d430SRalf Baechle 1982ab7c01fdSSerge Seminconfig CPU_MIPSR5 1983ab7c01fdSSerge Semin bool 1984281e3aeaSSerge Semin default y if CPU_MIPS32_R5 || CPU_MIPS64_R5 || CPU_P5600 1985ab7c01fdSSerge Semin select CPU_HAS_RIXI 1986ab7c01fdSSerge Semin select CPU_HAS_DIEI if !CPU_DIEI_BROKEN 1987ab7c01fdSSerge Semin select MIPS_SPRAM 1988ab7c01fdSSerge Semin 19897fd08ca5SLeonid Yegoshinconfig CPU_MIPSR6 19907fd08ca5SLeonid Yegoshin bool 19917fd08ca5SLeonid Yegoshin default y if CPU_MIPS32_R6 || CPU_MIPS64_R6 19928256b17eSFlorian Fainelli select CPU_HAS_RIXI 1993ba9196d2SJiaxun Yang select CPU_HAS_DIEI if !CPU_DIEI_BROKEN 199487321fddSPaul Burton select HAVE_ARCH_BITREVERSE 19952db003a5SPaul Burton select MIPS_ASID_BITS_VARIABLE 19964a5dc51eSMarcin Nowakowski select MIPS_CRC_SUPPORT 1997a7e07b1aSMarkos Chandras select MIPS_SPRAM 19985e83d430SRalf Baechle 199957eeacedSPaul Burtonconfig TARGET_ISA_REV 200057eeacedSPaul Burton int 200157eeacedSPaul Burton default 1 if CPU_MIPSR1 200257eeacedSPaul Burton default 2 if CPU_MIPSR2 2003ab7c01fdSSerge Semin default 5 if CPU_MIPSR5 200457eeacedSPaul Burton default 6 if CPU_MIPSR6 200557eeacedSPaul Burton default 0 200657eeacedSPaul Burton help 200757eeacedSPaul Burton Reflects the ISA revision being targeted by the kernel build. This 200857eeacedSPaul Burton is effectively the Kconfig equivalent of MIPS_ISA_REV. 200957eeacedSPaul Burton 2010a6e18781SLeonid Yegoshinconfig EVA 2011a6e18781SLeonid Yegoshin bool 2012a6e18781SLeonid Yegoshin 2013c5b36783SSteven J. Hillconfig XPA 2014c5b36783SSteven J. Hill bool 2015c5b36783SSteven J. Hill 20165e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL 20175e83d430SRalf Baechle bool 20185e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL 20195e83d430SRalf Baechle bool 20205e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL 20215e83d430SRalf Baechle bool 20225e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL 20235e83d430SRalf Baechle bool 202455045ff5SWu Zhangjinconfig CPU_SUPPORTS_CPUFREQ 202555045ff5SWu Zhangjin bool 202655045ff5SWu Zhangjinconfig CPU_SUPPORTS_ADDRWINCFG 202755045ff5SWu Zhangjin bool 20289cffd154SDavid Daneyconfig CPU_SUPPORTS_HUGEPAGES 20299cffd154SDavid Daney bool 2030a670c82dSLukas Bulwahn depends on !(32BIT && (PHYS_ADDR_T_64BIT || EVA)) 203182622284SDavid Daneyconfig MIPS_PGD_C0_CONTEXT 203282622284SDavid Daney bool 2033c6972fb9SHuang Pei depends on 64BIT 203495b8a5e0SThomas Bogendoerfer default y if (CPU_MIPSR2 || CPU_MIPSR6) 20355e83d430SRalf Baechle 20368192c9eaSDavid Daney# 20378192c9eaSDavid Daney# Set to y for ptrace access to watch registers. 20388192c9eaSDavid Daney# 20398192c9eaSDavid Daneyconfig HARDWARE_WATCHPOINTS 20408192c9eaSDavid Daney bool 2041679eb637SJames Hogan default y if CPU_MIPSR1 || CPU_MIPSR2 || CPU_MIPSR6 20428192c9eaSDavid Daney 20435e83d430SRalf Baechlemenu "Kernel type" 20445e83d430SRalf Baechle 20455e83d430SRalf Baechlechoice 20465e83d430SRalf Baechle prompt "Kernel code model" 20475e83d430SRalf Baechle help 20485e83d430SRalf Baechle You should only select this option if you have a workload that 20495e83d430SRalf Baechle actually benefits from 64-bit processing or if your machine has 20505e83d430SRalf Baechle large memory. You will only be presented a single option in this 20515e83d430SRalf Baechle menu if your system does not support both 32-bit and 64-bit kernels. 20525e83d430SRalf Baechle 20535e83d430SRalf Baechleconfig 32BIT 20545e83d430SRalf Baechle bool "32-bit kernel" 20555e83d430SRalf Baechle depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL 20565e83d430SRalf Baechle select TRAD_SIGNALS 20575e83d430SRalf Baechle help 20585e83d430SRalf Baechle Select this option if you want to build a 32-bit kernel. 2059f17c4ca3SRalf Baechle 20605e83d430SRalf Baechleconfig 64BIT 20615e83d430SRalf Baechle bool "64-bit kernel" 20625e83d430SRalf Baechle depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL 20635e83d430SRalf Baechle help 20645e83d430SRalf Baechle Select this option if you want to build a 64-bit kernel. 20655e83d430SRalf Baechle 20665e83d430SRalf Baechleendchoice 20675e83d430SRalf Baechle 20681e321fa9SLeonid Yegoshinconfig MIPS_VA_BITS_48 20691e321fa9SLeonid Yegoshin bool "48 bits virtual memory" 20701e321fa9SLeonid Yegoshin depends on 64BIT 20711e321fa9SLeonid Yegoshin help 20723377e227SAlex Belits Support a maximum at least 48 bits of application virtual 20733377e227SAlex Belits memory. Default is 40 bits or less, depending on the CPU. 20743377e227SAlex Belits For page sizes 16k and above, this option results in a small 20753377e227SAlex Belits memory overhead for page tables. For 4k page size, a fourth 20763377e227SAlex Belits level of page tables is added which imposes both a memory 20773377e227SAlex Belits overhead as well as slower TLB fault handling. 20783377e227SAlex Belits 20791e321fa9SLeonid Yegoshin If unsure, say N. 20801e321fa9SLeonid Yegoshin 208179876cc1SYunQiang Suconfig ZBOOT_LOAD_ADDRESS 208279876cc1SYunQiang Su hex "Compressed kernel load address" 208379876cc1SYunQiang Su default 0xffffffff80400000 if BCM47XX 208479876cc1SYunQiang Su default 0x0 208579876cc1SYunQiang Su depends on SYS_SUPPORTS_ZBOOT 208679876cc1SYunQiang Su help 208779876cc1SYunQiang Su The address to load compressed kernel, aka vmlinuz. 208879876cc1SYunQiang Su 208979876cc1SYunQiang Su This is only used if non-zero. 209079876cc1SYunQiang Su 20911da177e4SLinus Torvaldschoice 20921da177e4SLinus Torvalds prompt "Kernel page size" 20931da177e4SLinus Torvalds default PAGE_SIZE_4KB 20941da177e4SLinus Torvalds 20951da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB 20961da177e4SLinus Torvalds bool "4kB" 2097268a2d60SJiaxun Yang depends on !CPU_LOONGSON2EF && !CPU_LOONGSON64 20981da177e4SLinus Torvalds help 20991da177e4SLinus Torvalds This option select the standard 4kB Linux page size. On some 21001da177e4SLinus Torvalds R3000-family processors this is the only available page size. Using 21011da177e4SLinus Torvalds 4kB page size will minimize memory consumption and is therefore 21021da177e4SLinus Torvalds recommended for low memory systems. 21031da177e4SLinus Torvalds 21041da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB 21051da177e4SLinus Torvalds bool "8kB" 2106c2aeaaeaSPaul Burton depends on CPU_CAVIUM_OCTEON 21071e321fa9SLeonid Yegoshin depends on !MIPS_VA_BITS_48 21081da177e4SLinus Torvalds help 21091da177e4SLinus Torvalds Using 8kB page size will result in higher performance kernel at 21101da177e4SLinus Torvalds the price of higher memory consumption. This option is available 2111c2aeaaeaSPaul Burton only on cnMIPS processors. Note that you will need a suitable Linux 2112c2aeaaeaSPaul Burton distribution to support this. 21131da177e4SLinus Torvalds 21141da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB 21151da177e4SLinus Torvalds bool "16kB" 2116455481fcSThomas Bogendoerfer depends on !CPU_R3000 21171da177e4SLinus Torvalds help 21181da177e4SLinus Torvalds Using 16kB page size will result in higher performance kernel at 21191da177e4SLinus Torvalds the price of higher memory consumption. This option is available on 2120714bfad6SRalf Baechle all non-R3000 family processors. Note that you will need a suitable 2121714bfad6SRalf Baechle Linux distribution to support this. 21221da177e4SLinus Torvalds 2123c52399beSRalf Baechleconfig PAGE_SIZE_32KB 2124c52399beSRalf Baechle bool "32kB" 2125c52399beSRalf Baechle depends on CPU_CAVIUM_OCTEON 21261e321fa9SLeonid Yegoshin depends on !MIPS_VA_BITS_48 2127c52399beSRalf Baechle help 2128c52399beSRalf Baechle Using 32kB page size will result in higher performance kernel at 2129c52399beSRalf Baechle the price of higher memory consumption. This option is available 2130c52399beSRalf Baechle only on cnMIPS cores. Note that you will need a suitable Linux 2131c52399beSRalf Baechle distribution to support this. 2132c52399beSRalf Baechle 21331da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB 21341da177e4SLinus Torvalds bool "64kB" 2135455481fcSThomas Bogendoerfer depends on !CPU_R3000 21361da177e4SLinus Torvalds help 21371da177e4SLinus Torvalds Using 64kB page size will result in higher performance kernel at 21381da177e4SLinus Torvalds the price of higher memory consumption. This option is available on 21391da177e4SLinus Torvalds all non-R3000 family processor. Not that at the time of this 2140714bfad6SRalf Baechle writing this option is still high experimental. 21411da177e4SLinus Torvalds 21421da177e4SLinus Torvaldsendchoice 21431da177e4SLinus Torvalds 21440192445cSZi Yanconfig ARCH_FORCE_MAX_ORDER 2145c9bace7cSDavid Daney int "Maximum zone order" 214623baf831SKirill A. Shutemov default "13" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB 214723baf831SKirill A. Shutemov default "12" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB 214823baf831SKirill A. Shutemov default "11" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB 214923baf831SKirill A. Shutemov default "10" 2150c9bace7cSDavid Daney help 2151c9bace7cSDavid Daney The kernel memory allocator divides physically contiguous memory 2152c9bace7cSDavid Daney blocks into "zones", where each zone is a power of two number of 2153c9bace7cSDavid Daney pages. This option selects the largest power of two that the kernel 2154c9bace7cSDavid Daney keeps in the memory allocator. If you need to allocate very large 2155c9bace7cSDavid Daney blocks of physically contiguous memory, then you may need to 2156c9bace7cSDavid Daney increase this value. 2157c9bace7cSDavid Daney 2158c9bace7cSDavid Daney The page size is not necessarily 4KB. Keep this in mind 2159c9bace7cSDavid Daney when choosing a value for this option. 2160c9bace7cSDavid Daney 21611da177e4SLinus Torvaldsconfig BOARD_SCACHE 21621da177e4SLinus Torvalds bool 21631da177e4SLinus Torvalds 21641da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE 21651da177e4SLinus Torvalds bool 21661da177e4SLinus Torvalds select BOARD_SCACHE 21671da177e4SLinus Torvalds 21689318c51aSChris Dearman# 21699318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches 21709318c51aSChris Dearman# 21719318c51aSChris Dearmanconfig MIPS_CPU_SCACHE 21729318c51aSChris Dearman bool 21739318c51aSChris Dearman select BOARD_SCACHE 21749318c51aSChris Dearman 21751da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE 21761da177e4SLinus Torvalds bool 21771da177e4SLinus Torvalds select BOARD_SCACHE 21781da177e4SLinus Torvalds 21791da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE 21801da177e4SLinus Torvalds bool 21811da177e4SLinus Torvalds select BOARD_SCACHE 21821da177e4SLinus Torvalds 21831da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS 21841da177e4SLinus Torvalds bool "Use DMA to clear/copy pages" 21851da177e4SLinus Torvalds depends on CPU_SB1 21861da177e4SLinus Torvalds help 21871da177e4SLinus Torvalds Instead of using the CPU to zero and copy pages, use a Data Mover 21881da177e4SLinus Torvalds channel. These DMA channels are otherwise unused by the standard 21891da177e4SLinus Torvalds SiByte Linux port. Seems to give a small performance benefit. 21901da177e4SLinus Torvalds 21911da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH 2192c8094b53SRalf Baechle bool 21931da177e4SLinus Torvalds 21943165c846SFlorian Fainelliconfig CPU_GENERIC_DUMP_TLB 21953165c846SFlorian Fainelli bool 2196455481fcSThomas Bogendoerfer default y if !CPU_R3000 21973165c846SFlorian Fainelli 2198c92e47e5SPaul Burtonconfig MIPS_FP_SUPPORT 2199183b40f9SPaul Burton bool "Floating Point support" if EXPERT 2200183b40f9SPaul Burton default y 2201183b40f9SPaul Burton help 2202183b40f9SPaul Burton Select y to include support for floating point in the kernel 2203183b40f9SPaul Burton including initialization of FPU hardware, FP context save & restore 2204183b40f9SPaul Burton and emulation of an FPU where necessary. Without this support any 2205183b40f9SPaul Burton userland program attempting to use floating point instructions will 2206183b40f9SPaul Burton receive a SIGILL. 2207183b40f9SPaul Burton 2208183b40f9SPaul Burton If you know that your userland will not attempt to use floating point 2209183b40f9SPaul Burton instructions then you can say n here to shrink the kernel a little. 2210183b40f9SPaul Burton 2211183b40f9SPaul Burton If unsure, say y. 2212c92e47e5SPaul Burton 221397f7dcbfSPaul Burtonconfig CPU_R2300_FPU 221497f7dcbfSPaul Burton bool 2215c92e47e5SPaul Burton depends on MIPS_FP_SUPPORT 2216455481fcSThomas Bogendoerfer default y if CPU_R3000 221797f7dcbfSPaul Burton 221854746829SPaul Burtonconfig CPU_R3K_TLB 221954746829SPaul Burton bool 222054746829SPaul Burton 222191405eb6SFlorian Fainelliconfig CPU_R4K_FPU 222291405eb6SFlorian Fainelli bool 2223c92e47e5SPaul Burton depends on MIPS_FP_SUPPORT 222497f7dcbfSPaul Burton default y if !CPU_R2300_FPU 222591405eb6SFlorian Fainelli 222662cedc4fSFlorian Fainelliconfig CPU_R4K_CACHE_TLB 222762cedc4fSFlorian Fainelli bool 222854746829SPaul Burton default y if !(CPU_R3K_TLB || CPU_SB1 || CPU_CAVIUM_OCTEON) 222962cedc4fSFlorian Fainelli 223059d6ab86SRalf Baechleconfig MIPS_MT_SMP 2231a92b7f87SMarkos Chandras bool "MIPS MT SMP support (1 TC on each available VPE)" 22325cbf9688SPaul Burton default y 2233527f1028SPaul Burton depends on SYS_SUPPORTS_MULTITHREADING && !CPU_MIPSR6 && !CPU_MICROMIPS 223459d6ab86SRalf Baechle select CPU_MIPSR2_IRQ_VI 2235d725cf38SChris Dearman select CPU_MIPSR2_IRQ_EI 2236c080faa5SSteven J. Hill select SYNC_R4K 223759d6ab86SRalf Baechle select MIPS_MT 223859d6ab86SRalf Baechle select SMP 223987353d8aSRalf Baechle select SMP_UP 2240c080faa5SSteven J. Hill select SYS_SUPPORTS_SMP 2241c080faa5SSteven J. Hill select SYS_SUPPORTS_SCHED_SMT 2242399aaa25SAl Cooper select MIPS_PERF_SHARED_TC_COUNTERS 224359d6ab86SRalf Baechle help 2244c080faa5SSteven J. Hill This is a kernel model which is known as SMVP. This is supported 2245c080faa5SSteven J. Hill on cores with the MT ASE and uses the available VPEs to implement 2246c080faa5SSteven J. Hill virtual processors which supports SMP. This is equivalent to the 2247c080faa5SSteven J. Hill Intel Hyperthreading feature. For further information go to 2248c080faa5SSteven J. Hill <http://www.imgtec.com/mips/mips-multithreading.asp>. 224959d6ab86SRalf Baechle 2250f41ae0b2SRalf Baechleconfig MIPS_MT 2251f41ae0b2SRalf Baechle bool 2252f41ae0b2SRalf Baechle 22530ab7aefcSRalf Baechleconfig SCHED_SMT 22540ab7aefcSRalf Baechle bool "SMT (multithreading) scheduler support" 22550ab7aefcSRalf Baechle depends on SYS_SUPPORTS_SCHED_SMT 22560ab7aefcSRalf Baechle default n 22570ab7aefcSRalf Baechle help 22580ab7aefcSRalf Baechle SMT scheduler support improves the CPU scheduler's decision making 22590ab7aefcSRalf Baechle when dealing with MIPS MT enabled cores at a cost of slightly 22600ab7aefcSRalf Baechle increased overhead in some places. If unsure say N here. 22610ab7aefcSRalf Baechle 22620ab7aefcSRalf Baechleconfig SYS_SUPPORTS_SCHED_SMT 22630ab7aefcSRalf Baechle bool 22640ab7aefcSRalf Baechle 2265f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING 2266f41ae0b2SRalf Baechle bool 2267f41ae0b2SRalf Baechle 2268f088fc84SRalf Baechleconfig MIPS_MT_FPAFF 2269f088fc84SRalf Baechle bool "Dynamic FPU affinity for FP-intensive threads" 2270f088fc84SRalf Baechle default y 2271b633648cSRalf Baechle depends on MIPS_MT_SMP 227207cc0c9eSRalf Baechle 2273b0a668fbSLeonid Yegoshinconfig MIPSR2_TO_R6_EMULATOR 2274b0a668fbSLeonid Yegoshin bool "MIPS R2-to-R6 emulator" 22759eaa9a82SPaul Burton depends on CPU_MIPSR6 2276c92e47e5SPaul Burton depends on MIPS_FP_SUPPORT 2277b0a668fbSLeonid Yegoshin default y 2278b0a668fbSLeonid Yegoshin help 2279b0a668fbSLeonid Yegoshin Choose this option if you want to run non-R6 MIPS userland code. 2280b0a668fbSLeonid Yegoshin Even if you say 'Y' here, the emulator will still be disabled by 228107edf0d4SMarkos Chandras default. You can enable it using the 'mipsr2emu' kernel option. 2282b0a668fbSLeonid Yegoshin The only reason this is a build-time option is to save ~14K from the 2283b0a668fbSLeonid Yegoshin final kernel image. 2284b0a668fbSLeonid Yegoshin 2285f35764e7SJames Hoganconfig SYS_SUPPORTS_VPE_LOADER 2286f35764e7SJames Hogan bool 2287f35764e7SJames Hogan depends on SYS_SUPPORTS_MULTITHREADING 2288f35764e7SJames Hogan help 2289f35764e7SJames Hogan Indicates that the platform supports the VPE loader, and provides 2290f35764e7SJames Hogan physical_memsize. 2291f35764e7SJames Hogan 229207cc0c9eSRalf Baechleconfig MIPS_VPE_LOADER 229307cc0c9eSRalf Baechle bool "VPE loader support." 2294f35764e7SJames Hogan depends on SYS_SUPPORTS_VPE_LOADER && MODULES 229507cc0c9eSRalf Baechle select CPU_MIPSR2_IRQ_VI 229607cc0c9eSRalf Baechle select CPU_MIPSR2_IRQ_EI 229707cc0c9eSRalf Baechle select MIPS_MT 229807cc0c9eSRalf Baechle help 229907cc0c9eSRalf Baechle Includes a loader for loading an elf relocatable object 230007cc0c9eSRalf Baechle onto another VPE and running it. 2301f088fc84SRalf Baechle 23021a2a6d7eSDeng-Cheng Zhuconfig MIPS_VPE_LOADER_MT 23031a2a6d7eSDeng-Cheng Zhu bool 23041a2a6d7eSDeng-Cheng Zhu default "y" 23057fb6f7b0SThomas Bogendoerfer depends on MIPS_VPE_LOADER 23061a2a6d7eSDeng-Cheng Zhu 2307e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM 2308e01402b1SRalf Baechle bool "Load VPE program into memory hidden from linux" 2309e01402b1SRalf Baechle depends on MIPS_VPE_LOADER 2310e01402b1SRalf Baechle default y 2311e01402b1SRalf Baechle help 2312e01402b1SRalf Baechle The loader can use memory that is present but has been hidden from 2313e01402b1SRalf Baechle Linux using the kernel command line option "mem=xxMB". It's up to 2314e01402b1SRalf Baechle you to ensure the amount you put in the option and the space your 2315e01402b1SRalf Baechle program requires is less or equal to the amount physically present. 2316e01402b1SRalf Baechle 2317e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API 2318e01402b1SRalf Baechle bool "Enable support for AP/SP API (RTLX)" 2319e01402b1SRalf Baechle depends on MIPS_VPE_LOADER 2320e01402b1SRalf Baechle 23212c973ef0SDeng-Cheng Zhuconfig MIPS_VPE_APSP_API_MT 23222c973ef0SDeng-Cheng Zhu bool 23232c973ef0SDeng-Cheng Zhu default "y" 23247fb6f7b0SThomas Bogendoerfer depends on MIPS_VPE_APSP_API 23255cac93b3SPaul Burton 23260ee958e1SPaul Burtonconfig MIPS_CPS 23270ee958e1SPaul Burton bool "MIPS Coherent Processing System support" 23285a3e7c02SPaul Burton depends on SYS_SUPPORTS_MIPS_CPS 23290ee958e1SPaul Burton select MIPS_CM 23301d8f1f5aSPaul Burton select MIPS_CPS_PM if HOTPLUG_CPU 23310ee958e1SPaul Burton select SMP 2332c8d2bcc4SThomas Gleixner select HOTPLUG_CORE_SYNC_DEAD if HOTPLUG_CPU 23330ee958e1SPaul Burton select SYNC_R4K if (CEVT_R4K || CSRC_R4K) 23341d8f1f5aSPaul Burton select SYS_SUPPORTS_HOTPLUG_CPU 2335c8b7712cSPaul Burton select SYS_SUPPORTS_SCHED_SMT if CPU_MIPSR6 23360ee958e1SPaul Burton select SYS_SUPPORTS_SMP 23370ee958e1SPaul Burton select WEAK_ORDERING 2338d8d3276bSWei Li select GENERIC_IRQ_MIGRATION if HOTPLUG_CPU 23390ee958e1SPaul Burton help 23400ee958e1SPaul Burton Select this if you wish to run an SMP kernel across multiple cores 23410ee958e1SPaul Burton within a MIPS Coherent Processing System. When this option is 23420ee958e1SPaul Burton enabled the kernel will probe for other cores and boot them with 23430ee958e1SPaul Burton no external assistance. It is safe to enable this when hardware 23440ee958e1SPaul Burton support is unavailable. 23450ee958e1SPaul Burton 23463179d37eSPaul Burtonconfig MIPS_CPS_PM 234739a59593SMarkos Chandras depends on MIPS_CPS 23483179d37eSPaul Burton bool 23493179d37eSPaul Burton 23509f98f3ddSPaul Burtonconfig MIPS_CM 23519f98f3ddSPaul Burton bool 23523c9b4166SPaul Burton select MIPS_CPC 23539f98f3ddSPaul Burton 23549c38cf44SPaul Burtonconfig MIPS_CPC 23559c38cf44SPaul Burton bool 23564a16ff4cSRalf Baechle 23571da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS 23581da177e4SLinus Torvalds bool 23591da177e4SLinus Torvalds depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2) 23601da177e4SLinus Torvalds default y 23611da177e4SLinus Torvalds 23621da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS 23631da177e4SLinus Torvalds bool 23641da177e4SLinus Torvalds depends on CPU_SB1 && CPU_SB1_PASS_2 23651da177e4SLinus Torvalds default y 23661da177e4SLinus Torvalds 23679e2b5372SMarkos Chandraschoice 23689e2b5372SMarkos Chandras prompt "SmartMIPS or microMIPS ASE support" 23699e2b5372SMarkos Chandras 23709e2b5372SMarkos Chandrasconfig CPU_NEEDS_NO_SMARTMIPS_OR_MICROMIPS 23719e2b5372SMarkos Chandras bool "None" 23729e2b5372SMarkos Chandras help 23739e2b5372SMarkos Chandras Select this if you want neither microMIPS nor SmartMIPS support 23749e2b5372SMarkos Chandras 23759693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS 23769693a853SFranck Bui-Huu depends on SYS_SUPPORTS_SMARTMIPS 23779e2b5372SMarkos Chandras bool "SmartMIPS" 23789693a853SFranck Bui-Huu help 23799693a853SFranck Bui-Huu SmartMIPS is a extension of the MIPS32 architecture aimed at 23809693a853SFranck Bui-Huu increased security at both hardware and software level for 23819693a853SFranck Bui-Huu smartcards. Enabling this option will allow proper use of the 23829693a853SFranck Bui-Huu SmartMIPS instructions by Linux applications. However a kernel with 23839693a853SFranck Bui-Huu this option will not work on a MIPS core without SmartMIPS core. If 23849693a853SFranck Bui-Huu you don't know you probably don't have SmartMIPS and should say N 23859693a853SFranck Bui-Huu here. 23869693a853SFranck Bui-Huu 2387bce86083SSteven J. Hillconfig CPU_MICROMIPS 23887fd08ca5SLeonid Yegoshin depends on 32BIT && SYS_SUPPORTS_MICROMIPS && !CPU_MIPSR6 23899e2b5372SMarkos Chandras bool "microMIPS" 2390bce86083SSteven J. Hill help 2391bce86083SSteven J. Hill When this option is enabled the kernel will be built using the 2392bce86083SSteven J. Hill microMIPS ISA 2393bce86083SSteven J. Hill 23949e2b5372SMarkos Chandrasendchoice 23959e2b5372SMarkos Chandras 2396a5e9a69eSPaul Burtonconfig CPU_HAS_MSA 23970ce3417eSPaul Burton bool "Support for the MIPS SIMD Architecture" 2398a5e9a69eSPaul Burton depends on CPU_SUPPORTS_MSA 2399c92e47e5SPaul Burton depends on MIPS_FP_SUPPORT 24002a6cb669SPaul Burton depends on 64BIT || MIPS_O32_FP64_SUPPORT 2401a5e9a69eSPaul Burton help 2402a5e9a69eSPaul Burton MIPS SIMD Architecture (MSA) introduces 128 bit wide vector registers 2403a5e9a69eSPaul Burton and a set of SIMD instructions to operate on them. When this option 24041db1af84SPaul Burton is enabled the kernel will support allocating & switching MSA 24051db1af84SPaul Burton vector register contexts. If you know that your kernel will only be 24061db1af84SPaul Burton running on CPUs which do not support MSA or that your userland will 24071db1af84SPaul Burton not be making use of it then you may wish to say N here to reduce 24081db1af84SPaul Burton the size & complexity of your kernel. 2409a5e9a69eSPaul Burton 2410a5e9a69eSPaul Burton If unsure, say Y. 2411a5e9a69eSPaul Burton 24121da177e4SLinus Torvaldsconfig CPU_HAS_WB 2413f7062ddbSRalf Baechle bool 2414e01402b1SRalf Baechle 2415df0ac8a4SKevin Cernekeeconfig XKS01 2416df0ac8a4SKevin Cernekee bool 2417df0ac8a4SKevin Cernekee 2418ba9196d2SJiaxun Yangconfig CPU_HAS_DIEI 2419ba9196d2SJiaxun Yang depends on !CPU_DIEI_BROKEN 2420ba9196d2SJiaxun Yang bool 2421ba9196d2SJiaxun Yang 2422ba9196d2SJiaxun Yangconfig CPU_DIEI_BROKEN 2423ba9196d2SJiaxun Yang bool 2424ba9196d2SJiaxun Yang 24258256b17eSFlorian Fainelliconfig CPU_HAS_RIXI 24268256b17eSFlorian Fainelli bool 24278256b17eSFlorian Fainelli 242818d84e2eSAlexander Lobakinconfig CPU_NO_LOAD_STORE_LR 2429932afdeeSYasha Cherikovsky bool 2430932afdeeSYasha Cherikovsky help 243118d84e2eSAlexander Lobakin CPU lacks support for unaligned load and store instructions: 2432932afdeeSYasha Cherikovsky LWL, LWR, SWL, SWR (Load/store word left/right). 243318d84e2eSAlexander Lobakin LDL, LDR, SDL, SDR (Load/store doubleword left/right, for 64bit 243418d84e2eSAlexander Lobakin systems). 2435932afdeeSYasha Cherikovsky 2436f41ae0b2SRalf Baechle# 2437f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature 2438f41ae0b2SRalf Baechle# 2439e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI 2440f41ae0b2SRalf Baechle bool 2441e01402b1SRalf Baechle 2442f41ae0b2SRalf Baechle# 2443f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature 2444f41ae0b2SRalf Baechle# 2445e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI 2446f41ae0b2SRalf Baechle bool 2447e01402b1SRalf Baechle 24481da177e4SLinus Torvaldsconfig CPU_HAS_SYNC 24491da177e4SLinus Torvalds bool 24501da177e4SLinus Torvalds depends on !CPU_R3000 24511da177e4SLinus Torvalds default y 24521da177e4SLinus Torvalds 24531da177e4SLinus Torvalds# 245420d60d99SMaciej W. Rozycki# CPU non-features 245520d60d99SMaciej W. Rozycki# 2456b56d1cafSThomas Bogendoerfer 2457b56d1cafSThomas Bogendoerfer# Work around the "daddi" and "daddiu" CPU errata: 2458b56d1cafSThomas Bogendoerfer# 2459b56d1cafSThomas Bogendoerfer# - The `daddi' instruction fails to trap on overflow. 2460b56d1cafSThomas Bogendoerfer# "MIPS R4000PC/SC Errata, Processor Revision 2.2 and 3.0", 2461b56d1cafSThomas Bogendoerfer# erratum #23 2462b56d1cafSThomas Bogendoerfer# 2463b56d1cafSThomas Bogendoerfer# - The `daddiu' instruction can produce an incorrect result. 2464b56d1cafSThomas Bogendoerfer# "MIPS R4000PC/SC Errata, Processor Revision 2.2 and 3.0", 2465b56d1cafSThomas Bogendoerfer# erratum #41 2466b56d1cafSThomas Bogendoerfer# "MIPS R4000MC Errata, Processor Revision 2.2 and 3.0", erratum 2467b56d1cafSThomas Bogendoerfer# #15 2468b56d1cafSThomas Bogendoerfer# "MIPS R4400PC/SC Errata, Processor Revision 1.0", erratum #7 2469b56d1cafSThomas Bogendoerfer# "MIPS R4400MC Errata, Processor Revision 1.0", erratum #5 247020d60d99SMaciej W. Rozyckiconfig CPU_DADDI_WORKAROUNDS 247120d60d99SMaciej W. Rozycki bool 247220d60d99SMaciej W. Rozycki 2473b56d1cafSThomas Bogendoerfer# Work around certain R4000 CPU errata (as implemented by GCC): 2474b56d1cafSThomas Bogendoerfer# 2475b56d1cafSThomas Bogendoerfer# - A double-word or a variable shift may give an incorrect result 2476b56d1cafSThomas Bogendoerfer# if executed immediately after starting an integer division: 2477b56d1cafSThomas Bogendoerfer# "MIPS R4000PC/SC Errata, Processor Revision 2.2 and 3.0", 2478b56d1cafSThomas Bogendoerfer# erratum #28 2479b56d1cafSThomas Bogendoerfer# "MIPS R4000MC Errata, Processor Revision 2.2 and 3.0", erratum 2480b56d1cafSThomas Bogendoerfer# #19 2481b56d1cafSThomas Bogendoerfer# 2482b56d1cafSThomas Bogendoerfer# - A double-word or a variable shift may give an incorrect result 2483b56d1cafSThomas Bogendoerfer# if executed while an integer multiplication is in progress: 2484b56d1cafSThomas Bogendoerfer# "MIPS R4000PC/SC Errata, Processor Revision 2.2 and 3.0", 2485b56d1cafSThomas Bogendoerfer# errata #16 & #28 2486b56d1cafSThomas Bogendoerfer# 2487b56d1cafSThomas Bogendoerfer# - An integer division may give an incorrect result if started in 2488b56d1cafSThomas Bogendoerfer# a delay slot of a taken branch or a jump: 2489b56d1cafSThomas Bogendoerfer# "MIPS R4000PC/SC Errata, Processor Revision 2.2 and 3.0", 2490b56d1cafSThomas Bogendoerfer# erratum #52 249120d60d99SMaciej W. Rozyckiconfig CPU_R4000_WORKAROUNDS 249220d60d99SMaciej W. Rozycki bool 249320d60d99SMaciej W. Rozycki select CPU_R4400_WORKAROUNDS 249420d60d99SMaciej W. Rozycki 2495b56d1cafSThomas Bogendoerfer# Work around certain R4400 CPU errata (as implemented by GCC): 2496b56d1cafSThomas Bogendoerfer# 2497b56d1cafSThomas Bogendoerfer# - A double-word or a variable shift may give an incorrect result 2498b56d1cafSThomas Bogendoerfer# if executed immediately after starting an integer division: 2499b56d1cafSThomas Bogendoerfer# "MIPS R4400MC Errata, Processor Revision 1.0", erratum #10 2500b56d1cafSThomas Bogendoerfer# "MIPS R4400MC Errata, Processor Revision 2.0 & 3.0", erratum #4 250120d60d99SMaciej W. Rozyckiconfig CPU_R4400_WORKAROUNDS 250220d60d99SMaciej W. Rozycki bool 250320d60d99SMaciej W. Rozycki 2504071d2f0bSPaul Burtonconfig CPU_R4X00_BUGS64 2505071d2f0bSPaul Burton bool 2506071d2f0bSPaul Burton default y if SYS_HAS_CPU_R4X00 && 64BIT && (TARGET_ISA_REV < 1) 2507071d2f0bSPaul Burton 25084edf00a4SPaul Burtonconfig MIPS_ASID_SHIFT 25094edf00a4SPaul Burton int 2510455481fcSThomas Bogendoerfer default 6 if CPU_R3000 25114edf00a4SPaul Burton default 0 25124edf00a4SPaul Burton 25134edf00a4SPaul Burtonconfig MIPS_ASID_BITS 25144edf00a4SPaul Burton int 25152db003a5SPaul Burton default 0 if MIPS_ASID_BITS_VARIABLE 2516455481fcSThomas Bogendoerfer default 6 if CPU_R3000 25174edf00a4SPaul Burton default 8 25184edf00a4SPaul Burton 25192db003a5SPaul Burtonconfig MIPS_ASID_BITS_VARIABLE 25202db003a5SPaul Burton bool 25212db003a5SPaul Burton 25224a5dc51eSMarcin Nowakowskiconfig MIPS_CRC_SUPPORT 25234a5dc51eSMarcin Nowakowski bool 25244a5dc51eSMarcin Nowakowski 2525802b8362SThomas Bogendoerfer# R4600 erratum. Due to the lack of errata information the exact 2526802b8362SThomas Bogendoerfer# technical details aren't known. I've experimentally found that disabling 2527802b8362SThomas Bogendoerfer# interrupts during indexed I-cache flushes seems to be sufficient to deal 2528802b8362SThomas Bogendoerfer# with the issue. 2529802b8362SThomas Bogendoerferconfig WAR_R4600_V1_INDEX_ICACHEOP 2530802b8362SThomas Bogendoerfer bool 2531802b8362SThomas Bogendoerfer 25325e5b6527SThomas Bogendoerfer# Pleasures of the R4600 V1.x. Cite from the IDT R4600 V1.7 errata: 25335e5b6527SThomas Bogendoerfer# 25345e5b6527SThomas Bogendoerfer# 18. The CACHE instructions Hit_Writeback_Invalidate_D, Hit_Writeback_D, 25355e5b6527SThomas Bogendoerfer# Hit_Invalidate_D and Create_Dirty_Excl_D should only be 25365e5b6527SThomas Bogendoerfer# executed if there is no other dcache activity. If the dcache is 253718ff14c8SColin Ian King# accessed for another instruction immediately preceding when these 25385e5b6527SThomas Bogendoerfer# cache instructions are executing, it is possible that the dcache 25395e5b6527SThomas Bogendoerfer# tag match outputs used by these cache instructions will be 25405e5b6527SThomas Bogendoerfer# incorrect. These cache instructions should be preceded by at least 25415e5b6527SThomas Bogendoerfer# four instructions that are not any kind of load or store 25425e5b6527SThomas Bogendoerfer# instruction. 25435e5b6527SThomas Bogendoerfer# 25445e5b6527SThomas Bogendoerfer# This is not allowed: lw 25455e5b6527SThomas Bogendoerfer# nop 25465e5b6527SThomas Bogendoerfer# nop 25475e5b6527SThomas Bogendoerfer# nop 25485e5b6527SThomas Bogendoerfer# cache Hit_Writeback_Invalidate_D 25495e5b6527SThomas Bogendoerfer# 25505e5b6527SThomas Bogendoerfer# This is allowed: lw 25515e5b6527SThomas Bogendoerfer# nop 25525e5b6527SThomas Bogendoerfer# nop 25535e5b6527SThomas Bogendoerfer# nop 25545e5b6527SThomas Bogendoerfer# nop 25555e5b6527SThomas Bogendoerfer# cache Hit_Writeback_Invalidate_D 25565e5b6527SThomas Bogendoerferconfig WAR_R4600_V1_HIT_CACHEOP 25575e5b6527SThomas Bogendoerfer bool 25585e5b6527SThomas Bogendoerfer 255944def342SThomas Bogendoerfer# Writeback and invalidate the primary cache dcache before DMA. 256044def342SThomas Bogendoerfer# 256144def342SThomas Bogendoerfer# R4600 v2.0 bug: "The CACHE instructions Hit_Writeback_Inv_D, 256244def342SThomas Bogendoerfer# Hit_Writeback_D, Hit_Invalidate_D and Create_Dirty_Exclusive_D will only 256344def342SThomas Bogendoerfer# operate correctly if the internal data cache refill buffer is empty. These 256444def342SThomas Bogendoerfer# CACHE instructions should be separated from any potential data cache miss 256544def342SThomas Bogendoerfer# by a load instruction to an uncached address to empty the response buffer." 256644def342SThomas Bogendoerfer# (Revision 2.0 device errata from IDT available on https://www.idt.com/ 256744def342SThomas Bogendoerfer# in .pdf format.) 256844def342SThomas Bogendoerferconfig WAR_R4600_V2_HIT_CACHEOP 256944def342SThomas Bogendoerfer bool 257044def342SThomas Bogendoerfer 257124a1c023SThomas Bogendoerfer# From TX49/H2 manual: "If the instruction (i.e. CACHE) is issued for 257224a1c023SThomas Bogendoerfer# the line which this instruction itself exists, the following 257324a1c023SThomas Bogendoerfer# operation is not guaranteed." 257424a1c023SThomas Bogendoerfer# 257524a1c023SThomas Bogendoerfer# Workaround: do two phase flushing for Index_Invalidate_I 257624a1c023SThomas Bogendoerferconfig WAR_TX49XX_ICACHE_INDEX_INV 257724a1c023SThomas Bogendoerfer bool 257824a1c023SThomas Bogendoerfer 2579886ee136SThomas Bogendoerfer# The RM7000 processors and the E9000 cores have a bug (though PMC-Sierra 2580886ee136SThomas Bogendoerfer# opposes it being called that) where invalid instructions in the same 2581886ee136SThomas Bogendoerfer# I-cache line worth of instructions being fetched may case spurious 2582886ee136SThomas Bogendoerfer# exceptions. 2583886ee136SThomas Bogendoerferconfig WAR_ICACHE_REFILLS 2584886ee136SThomas Bogendoerfer bool 2585886ee136SThomas Bogendoerfer 2586256ec489SThomas Bogendoerfer# On the R10000 up to version 2.6 (not sure about 2.7) there is a bug that 2587256ec489SThomas Bogendoerfer# may cause ll / sc and lld / scd sequences to execute non-atomically. 2588256ec489SThomas Bogendoerferconfig WAR_R10000_LLSC 2589256ec489SThomas Bogendoerfer bool 2590256ec489SThomas Bogendoerfer 2591a7fbed98SThomas Bogendoerfer# 34K core erratum: "Problems Executing the TLBR Instruction" 2592a7fbed98SThomas Bogendoerferconfig WAR_MIPS34K_MISSED_ITLB 2593a7fbed98SThomas Bogendoerfer bool 2594a7fbed98SThomas Bogendoerfer 259520d60d99SMaciej W. Rozycki# 25961da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel. 25971da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed 25981da177e4SLinus Torvalds# caches such as R3000, SB1, R7000 or those that look like they're virtually 25991da177e4SLinus Torvalds# indexed such as R4000/R4400 SC and MC versions or R10000. So for the 26001da177e4SLinus Torvalds# moment we protect the user and offer the highmem option only on machines 26011da177e4SLinus Torvalds# where it's known to be safe. This will not offer highmem on a few systems 26021da177e4SLinus Torvalds# such as MIPS32 and MIPS64 CPUs which may have virtual and physically 26031da177e4SLinus Torvalds# indexed CPUs but we're playing safe. 2604797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we 2605797798c1SRalf Baechle# know they might have memory configurations that could make use of highmem 2606797798c1SRalf Baechle# support. 26071da177e4SLinus Torvalds# 26081da177e4SLinus Torvaldsconfig HIGHMEM 26091da177e4SLinus Torvalds bool "High Memory Support" 2610a6e18781SLeonid Yegoshin depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM && !CPU_MIPS32_3_5_EVA 2611a4c33e83SThomas Gleixner select KMAP_LOCAL 2612797798c1SRalf Baechle 2613797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM 2614797798c1SRalf Baechle bool 2615797798c1SRalf Baechle 2616797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM 2617797798c1SRalf Baechle bool 26181da177e4SLinus Torvalds 26199693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS 26209693a853SFranck Bui-Huu bool 26219693a853SFranck Bui-Huu 2622a6a4834cSSteven J. Hillconfig SYS_SUPPORTS_MICROMIPS 2623a6a4834cSSteven J. Hill bool 2624a6a4834cSSteven J. Hill 2625377cb1b6SRalf Baechleconfig SYS_SUPPORTS_MIPS16 2626377cb1b6SRalf Baechle bool 2627377cb1b6SRalf Baechle help 2628377cb1b6SRalf Baechle This option must be set if a kernel might be executed on a MIPS16- 2629377cb1b6SRalf Baechle enabled CPU even if MIPS16 is not actually being used. In other 2630377cb1b6SRalf Baechle words, it makes the kernel MIPS16-tolerant. 2631377cb1b6SRalf Baechle 2632a5e9a69eSPaul Burtonconfig CPU_SUPPORTS_MSA 2633a5e9a69eSPaul Burton bool 2634a5e9a69eSPaul Burton 2635b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE 2636b4819b59SYoichi Yuasa def_bool y 2637268a2d60SJiaxun Yang depends on !NUMA && !CPU_LOONGSON2EF 2638b4819b59SYoichi Yuasa 2639b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE 2640b1c6cd42SAtsushi Nemoto bool 264131473747SAtsushi Nemoto 2642d8cb4e11SRalf Baechleconfig NUMA 2643d8cb4e11SRalf Baechle bool "NUMA Support" 2644d8cb4e11SRalf Baechle depends on SYS_SUPPORTS_NUMA 2645cf8194e4STiezhu Yang select SMP 26467ecd19cfSKefeng Wang select HAVE_SETUP_PER_CPU_AREA 26477ecd19cfSKefeng Wang select NEED_PER_CPU_EMBED_FIRST_CHUNK 2648d8cb4e11SRalf Baechle help 2649d8cb4e11SRalf Baechle Say Y to compile the kernel to support NUMA (Non-Uniform Memory 2650d8cb4e11SRalf Baechle Access). This option improves performance on systems with more 2651d8cb4e11SRalf Baechle than two nodes; on two node systems it is generally better to 2652172a37e9SRandy Dunlap leave it disabled; on single node systems leave this option 2653d8cb4e11SRalf Baechle disabled. 2654d8cb4e11SRalf Baechle 2655d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA 2656d8cb4e11SRalf Baechle bool 2657d8cb4e11SRalf Baechle 2658f8f9f21cSFeiyang Chenconfig HAVE_ARCH_NODEDATA_EXTENSION 2659f8f9f21cSFeiyang Chen bool 2660f8f9f21cSFeiyang Chen 26618c530ea3SMatt Redfearnconfig RELOCATABLE 26628c530ea3SMatt Redfearn bool "Relocatable kernel" 2663ab7c01fdSSerge Semin depends on SYS_SUPPORTS_RELOCATABLE 2664ab7c01fdSSerge Semin depends on CPU_MIPS32_R2 || CPU_MIPS64_R2 || \ 2665ab7c01fdSSerge Semin CPU_MIPS32_R5 || CPU_MIPS64_R5 || \ 2666ab7c01fdSSerge Semin CPU_MIPS32_R6 || CPU_MIPS64_R6 || \ 2667a307a4ceSJinyang He CPU_P5600 || CAVIUM_OCTEON_SOC || \ 2668a307a4ceSJinyang He CPU_LOONGSON64 26698c530ea3SMatt Redfearn help 26708c530ea3SMatt Redfearn This builds a kernel image that retains relocation information 26718c530ea3SMatt Redfearn so it can be loaded someplace besides the default 1MB. 26728c530ea3SMatt Redfearn The relocations make the kernel binary about 15% larger, 26738c530ea3SMatt Redfearn but are discarded at runtime 26748c530ea3SMatt Redfearn 2675069fd766SMatt Redfearnconfig RELOCATION_TABLE_SIZE 2676069fd766SMatt Redfearn hex "Relocation table size" 2677069fd766SMatt Redfearn depends on RELOCATABLE 2678069fd766SMatt Redfearn range 0x0 0x01000000 2679a307a4ceSJinyang He default "0x00200000" if CPU_LOONGSON64 2680069fd766SMatt Redfearn default "0x00100000" 2681a7f7f624SMasahiro Yamada help 2682069fd766SMatt Redfearn A table of relocation data will be appended to the kernel binary 2683069fd766SMatt Redfearn and parsed at boot to fix up the relocated kernel. 2684069fd766SMatt Redfearn 2685069fd766SMatt Redfearn This option allows the amount of space reserved for the table to be 2686069fd766SMatt Redfearn adjusted, although the default of 1Mb should be ok in most cases. 2687069fd766SMatt Redfearn 2688069fd766SMatt Redfearn The build will fail and a valid size suggested if this is too small. 2689069fd766SMatt Redfearn 2690069fd766SMatt Redfearn If unsure, leave at the default value. 2691069fd766SMatt Redfearn 2692405bc8fdSMatt Redfearnconfig RANDOMIZE_BASE 2693405bc8fdSMatt Redfearn bool "Randomize the address of the kernel image" 2694405bc8fdSMatt Redfearn depends on RELOCATABLE 2695a7f7f624SMasahiro Yamada help 2696405bc8fdSMatt Redfearn Randomizes the physical and virtual address at which the 2697405bc8fdSMatt Redfearn kernel image is loaded, as a security feature that 2698405bc8fdSMatt Redfearn deters exploit attempts relying on knowledge of the location 2699405bc8fdSMatt Redfearn of kernel internals. 2700405bc8fdSMatt Redfearn 2701405bc8fdSMatt Redfearn Entropy is generated using any coprocessor 0 registers available. 2702405bc8fdSMatt Redfearn 2703405bc8fdSMatt Redfearn The kernel will be offset by up to RANDOMIZE_BASE_MAX_OFFSET. 2704405bc8fdSMatt Redfearn 2705405bc8fdSMatt Redfearn If unsure, say N. 2706405bc8fdSMatt Redfearn 2707405bc8fdSMatt Redfearnconfig RANDOMIZE_BASE_MAX_OFFSET 2708405bc8fdSMatt Redfearn hex "Maximum kASLR offset" if EXPERT 2709405bc8fdSMatt Redfearn depends on RANDOMIZE_BASE 2710405bc8fdSMatt Redfearn range 0x0 0x40000000 if EVA || 64BIT 2711405bc8fdSMatt Redfearn range 0x0 0x08000000 2712405bc8fdSMatt Redfearn default "0x01000000" 2713a7f7f624SMasahiro Yamada help 2714405bc8fdSMatt Redfearn When kASLR is active, this provides the maximum offset that will 2715405bc8fdSMatt Redfearn be applied to the kernel image. It should be set according to the 2716405bc8fdSMatt Redfearn amount of physical RAM available in the target system minus 2717405bc8fdSMatt Redfearn PHYSICAL_START and must be a power of 2. 2718405bc8fdSMatt Redfearn 2719405bc8fdSMatt Redfearn This is limited by the size of KSEG0, 256Mb on 32-bit or 1Gb with 2720405bc8fdSMatt Redfearn EVA or 64-bit. The default is 16Mb. 2721405bc8fdSMatt Redfearn 2722c80d79d7SYasunori Gotoconfig NODES_SHIFT 2723c80d79d7SYasunori Goto int 2724c80d79d7SYasunori Goto default "6" 2725a9ee6cf5SMike Rapoport depends on NUMA 2726c80d79d7SYasunori Goto 272714f70012SDeng-Cheng Zhuconfig HW_PERF_EVENTS 272814f70012SDeng-Cheng Zhu bool "Enable hardware performance counter support for perf events" 272995b8a5e0SThomas Bogendoerfer depends on PERF_EVENTS && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON || CPU_LOONGSON64) 273014f70012SDeng-Cheng Zhu default y 273114f70012SDeng-Cheng Zhu help 273214f70012SDeng-Cheng Zhu Enable hardware performance counter support for perf events. If 273314f70012SDeng-Cheng Zhu disabled, perf events will use software events only. 273414f70012SDeng-Cheng Zhu 2735be8fa1cbSTiezhu Yangconfig DMI 2736be8fa1cbSTiezhu Yang bool "Enable DMI scanning" 2737be8fa1cbSTiezhu Yang depends on MACH_LOONGSON64 2738be8fa1cbSTiezhu Yang select DMI_SCAN_MACHINE_NON_EFI_FALLBACK 2739be8fa1cbSTiezhu Yang default y 2740be8fa1cbSTiezhu Yang help 2741be8fa1cbSTiezhu Yang Enabled scanning of DMI to identify machine quirks. Say Y 2742be8fa1cbSTiezhu Yang here unless you have verified that your setup is not 2743be8fa1cbSTiezhu Yang affected by entries in the DMI blacklist. Required by PNP 2744be8fa1cbSTiezhu Yang BIOS code. 2745be8fa1cbSTiezhu Yang 27461da177e4SLinus Torvaldsconfig SMP 27471da177e4SLinus Torvalds bool "Multi-Processing support" 2748e73ea273SRalf Baechle depends on SYS_SUPPORTS_SMP 2749e73ea273SRalf Baechle help 27501da177e4SLinus Torvalds This enables support for systems with more than one CPU. If you have 27514a474157SRobert Graffham a system with only one CPU, say N. If you have a system with more 27524a474157SRobert Graffham than one CPU, say Y. 27531da177e4SLinus Torvalds 27544a474157SRobert Graffham If you say N here, the kernel will run on uni- and multiprocessor 27551da177e4SLinus Torvalds machines, but will use only one CPU of a multiprocessor machine. If 27561da177e4SLinus Torvalds you say Y here, the kernel will run on many, but not all, 27574a474157SRobert Graffham uniprocessor machines. On a uniprocessor machine, the kernel 27581da177e4SLinus Torvalds will run faster if you say N here. 27591da177e4SLinus Torvalds 27601da177e4SLinus Torvalds People using multiprocessor machines who say Y here should also say 27611da177e4SLinus Torvalds Y to "Enhanced Real Time Clock Support", below. 27621da177e4SLinus Torvalds 276303502faaSAdrian Bunk See also the SMP-HOWTO available at 2764ef054ad3SAlexander A. Klimov <https://www.tldp.org/docs.html#howto>. 27651da177e4SLinus Torvalds 27661da177e4SLinus Torvalds If you don't know what to do here, say N. 27671da177e4SLinus Torvalds 27687840d618SMatt Redfearnconfig HOTPLUG_CPU 27697840d618SMatt Redfearn bool "Support for hot-pluggable CPUs" 27707840d618SMatt Redfearn depends on SMP && SYS_SUPPORTS_HOTPLUG_CPU 27717840d618SMatt Redfearn help 27727840d618SMatt Redfearn Say Y here to allow turning CPUs off and on. CPUs can be 27737840d618SMatt Redfearn controlled through /sys/devices/system/cpu. 27747840d618SMatt Redfearn (Note: power management support will enable this option 27757840d618SMatt Redfearn automatically on SMP systems. ) 27767840d618SMatt Redfearn Say N if you want to disable CPU hotplug. 27777840d618SMatt Redfearn 277887353d8aSRalf Baechleconfig SMP_UP 277987353d8aSRalf Baechle bool 278087353d8aSRalf Baechle 27810ee958e1SPaul Burtonconfig SYS_SUPPORTS_MIPS_CPS 27820ee958e1SPaul Burton bool 27830ee958e1SPaul Burton 2784e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP 2785e73ea273SRalf Baechle bool 2786e73ea273SRalf Baechle 2787130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4 2788130e2fb7SRalf Baechle bool 2789130e2fb7SRalf Baechle 2790130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8 2791130e2fb7SRalf Baechle bool 2792130e2fb7SRalf Baechle 2793130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16 2794130e2fb7SRalf Baechle bool 2795130e2fb7SRalf Baechle 2796130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32 2797130e2fb7SRalf Baechle bool 2798130e2fb7SRalf Baechle 2799130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64 2800130e2fb7SRalf Baechle bool 2801130e2fb7SRalf Baechle 28021da177e4SLinus Torvaldsconfig NR_CPUS 2803a91796a9SJayachandran C int "Maximum number of CPUs (2-256)" 2804a91796a9SJayachandran C range 2 256 28051da177e4SLinus Torvalds depends on SMP 2806130e2fb7SRalf Baechle default "4" if NR_CPUS_DEFAULT_4 2807130e2fb7SRalf Baechle default "8" if NR_CPUS_DEFAULT_8 2808130e2fb7SRalf Baechle default "16" if NR_CPUS_DEFAULT_16 2809130e2fb7SRalf Baechle default "32" if NR_CPUS_DEFAULT_32 2810130e2fb7SRalf Baechle default "64" if NR_CPUS_DEFAULT_64 28111da177e4SLinus Torvalds help 28121da177e4SLinus Torvalds This allows you to specify the maximum number of CPUs which this 28131da177e4SLinus Torvalds kernel will support. The maximum supported value is 32 for 32-bit 28141da177e4SLinus Torvalds kernel and 64 for 64-bit kernels; the minimum value which makes 281572ede9b1SAtsushi Nemoto sense is 1 for Qemu (useful only for kernel debugging purposes) 281672ede9b1SAtsushi Nemoto and 2 for all others. 28171da177e4SLinus Torvalds 28181da177e4SLinus Torvalds This is purely to save memory - each supported CPU adds 281972ede9b1SAtsushi Nemoto approximately eight kilobytes to the kernel image. For best 282072ede9b1SAtsushi Nemoto performance should round up your number of processors to the next 282172ede9b1SAtsushi Nemoto power of two. 28221da177e4SLinus Torvalds 2823399aaa25SAl Cooperconfig MIPS_PERF_SHARED_TC_COUNTERS 2824399aaa25SAl Cooper bool 2825399aaa25SAl Cooper 28267820b84bSDavid Daneyconfig MIPS_NR_CPU_NR_MAP_1024 28277820b84bSDavid Daney bool 28287820b84bSDavid Daney 28297820b84bSDavid Daneyconfig MIPS_NR_CPU_NR_MAP 28307820b84bSDavid Daney int 28317820b84bSDavid Daney depends on SMP 28327820b84bSDavid Daney default 1024 if MIPS_NR_CPU_NR_MAP_1024 28337820b84bSDavid Daney default NR_CPUS if !MIPS_NR_CPU_NR_MAP_1024 28347820b84bSDavid Daney 28351723b4a3SAtsushi Nemoto# 28361723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration 28371723b4a3SAtsushi Nemoto# 28381723b4a3SAtsushi Nemoto 28391723b4a3SAtsushi Nemotochoice 28401723b4a3SAtsushi Nemoto prompt "Timer frequency" 28411723b4a3SAtsushi Nemoto default HZ_250 28421723b4a3SAtsushi Nemoto help 28431723b4a3SAtsushi Nemoto Allows the configuration of the timer frequency. 28441723b4a3SAtsushi Nemoto 284567596573SPaul Burton config HZ_24 284667596573SPaul Burton bool "24 HZ" if SYS_SUPPORTS_24HZ || SYS_SUPPORTS_ARBIT_HZ 284767596573SPaul Burton 28481723b4a3SAtsushi Nemoto config HZ_48 28490f873585SRalf Baechle bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ 28501723b4a3SAtsushi Nemoto 28511723b4a3SAtsushi Nemoto config HZ_100 28521723b4a3SAtsushi Nemoto bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ 28531723b4a3SAtsushi Nemoto 28541723b4a3SAtsushi Nemoto config HZ_128 28551723b4a3SAtsushi Nemoto bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ 28561723b4a3SAtsushi Nemoto 28571723b4a3SAtsushi Nemoto config HZ_250 28581723b4a3SAtsushi Nemoto bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ 28591723b4a3SAtsushi Nemoto 28601723b4a3SAtsushi Nemoto config HZ_256 28611723b4a3SAtsushi Nemoto bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ 28621723b4a3SAtsushi Nemoto 28631723b4a3SAtsushi Nemoto config HZ_1000 28641723b4a3SAtsushi Nemoto bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ 28651723b4a3SAtsushi Nemoto 28661723b4a3SAtsushi Nemoto config HZ_1024 28671723b4a3SAtsushi Nemoto bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ 28681723b4a3SAtsushi Nemoto 28691723b4a3SAtsushi Nemotoendchoice 28701723b4a3SAtsushi Nemoto 287167596573SPaul Burtonconfig SYS_SUPPORTS_24HZ 287267596573SPaul Burton bool 287367596573SPaul Burton 28741723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ 28751723b4a3SAtsushi Nemoto bool 28761723b4a3SAtsushi Nemoto 28771723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ 28781723b4a3SAtsushi Nemoto bool 28791723b4a3SAtsushi Nemoto 28801723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ 28811723b4a3SAtsushi Nemoto bool 28821723b4a3SAtsushi Nemoto 28831723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ 28841723b4a3SAtsushi Nemoto bool 28851723b4a3SAtsushi Nemoto 28861723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ 28871723b4a3SAtsushi Nemoto bool 28881723b4a3SAtsushi Nemoto 28891723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ 28901723b4a3SAtsushi Nemoto bool 28911723b4a3SAtsushi Nemoto 28921723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ 28931723b4a3SAtsushi Nemoto bool 28941723b4a3SAtsushi Nemoto 28951723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ 28961723b4a3SAtsushi Nemoto bool 289767596573SPaul Burton default y if !SYS_SUPPORTS_24HZ && \ 289867596573SPaul Burton !SYS_SUPPORTS_48HZ && \ 289967596573SPaul Burton !SYS_SUPPORTS_100HZ && \ 290067596573SPaul Burton !SYS_SUPPORTS_128HZ && \ 290167596573SPaul Burton !SYS_SUPPORTS_250HZ && \ 290267596573SPaul Burton !SYS_SUPPORTS_256HZ && \ 290367596573SPaul Burton !SYS_SUPPORTS_1000HZ && \ 29041723b4a3SAtsushi Nemoto !SYS_SUPPORTS_1024HZ 29051723b4a3SAtsushi Nemoto 29061723b4a3SAtsushi Nemotoconfig HZ 29071723b4a3SAtsushi Nemoto int 290867596573SPaul Burton default 24 if HZ_24 29091723b4a3SAtsushi Nemoto default 48 if HZ_48 29101723b4a3SAtsushi Nemoto default 100 if HZ_100 29111723b4a3SAtsushi Nemoto default 128 if HZ_128 29121723b4a3SAtsushi Nemoto default 250 if HZ_250 29131723b4a3SAtsushi Nemoto default 256 if HZ_256 29141723b4a3SAtsushi Nemoto default 1000 if HZ_1000 29151723b4a3SAtsushi Nemoto default 1024 if HZ_1024 29161723b4a3SAtsushi Nemoto 291796685b17SDeng-Cheng Zhuconfig SCHED_HRTICK 291896685b17SDeng-Cheng Zhu def_bool HIGH_RES_TIMERS 291996685b17SDeng-Cheng Zhu 2920571feed5SEric DeVolderconfig ARCH_SUPPORTS_KEXEC 2921571feed5SEric DeVolder def_bool y 2922ea6e942bSAtsushi Nemoto 2923571feed5SEric DeVolderconfig ARCH_SUPPORTS_CRASH_DUMP 2924571feed5SEric DeVolder def_bool y 29257aa1c8f4SRalf Baechle 29267aa1c8f4SRalf Baechleconfig PHYSICAL_START 29277aa1c8f4SRalf Baechle hex "Physical address where the kernel is loaded" 29288bda3e26SMaciej W. Rozycki default "0xffffffff84000000" 29297aa1c8f4SRalf Baechle depends on CRASH_DUMP 29307aa1c8f4SRalf Baechle help 29317aa1c8f4SRalf Baechle This gives the CKSEG0 or KSEG0 address where the kernel is loaded. 29327aa1c8f4SRalf Baechle If you plan to use kernel for capturing the crash dump change 29337aa1c8f4SRalf Baechle this value to start of the reserved region (the "X" value as 29347aa1c8f4SRalf Baechle specified in the "crashkernel=YM@XM" command line boot parameter 29357aa1c8f4SRalf Baechle passed to the panic-ed kernel). 29367aa1c8f4SRalf Baechle 2937597ce172SPaul Burtonconfig MIPS_O32_FP64_SUPPORT 2938b7f1e273SPaul Burton bool "Support for O32 binaries using 64-bit FP" if !CPU_MIPSR6 2939597ce172SPaul Burton depends on 32BIT || MIPS32_O32 2940597ce172SPaul Burton help 2941597ce172SPaul Burton When this is enabled, the kernel will support use of 64-bit floating 2942597ce172SPaul Burton point registers with binaries using the O32 ABI along with the 2943597ce172SPaul Burton EF_MIPS_FP64 ELF header flag (typically built with -mfp64). On 2944597ce172SPaul Burton 32-bit MIPS systems this support is at the cost of increasing the 2945597ce172SPaul Burton size and complexity of the compiled FPU emulator. Thus if you are 2946597ce172SPaul Burton running a MIPS32 system and know that none of your userland binaries 2947597ce172SPaul Burton will require 64-bit floating point, you may wish to reduce the size 2948597ce172SPaul Burton of your kernel & potentially improve FP emulation performance by 2949597ce172SPaul Burton saying N here. 2950597ce172SPaul Burton 295106e2e882SPaul Burton Although binutils currently supports use of this flag the details 295206e2e882SPaul Burton concerning its effect upon the O32 ABI in userland are still being 295318ff14c8SColin Ian King worked on. In order to avoid userland becoming dependent upon current 295406e2e882SPaul Burton behaviour before the details have been finalised, this option should 295506e2e882SPaul Burton be considered experimental and only enabled by those working upon 295606e2e882SPaul Burton said details. 295706e2e882SPaul Burton 295806e2e882SPaul Burton If unsure, say N. 2959597ce172SPaul Burton 2960f2ffa5abSDezhong Diaoconfig USE_OF 29610b3e06fdSJonas Gorski bool 2962f2ffa5abSDezhong Diao select OF 2963e6ce1324SStephen Neuendorffer select OF_EARLY_FLATTREE 2964abd2363fSGrant Likely select IRQ_DOMAIN 2965f2ffa5abSDezhong Diao 29662fe8ea39SDengcheng Zhuconfig UHI_BOOT 29672fe8ea39SDengcheng Zhu bool 29682fe8ea39SDengcheng Zhu 29697fafb068SAndrew Brestickerconfig BUILTIN_DTB 29707fafb068SAndrew Bresticker bool 29717fafb068SAndrew Bresticker 29721da8f179SJonas Gorskichoice 29735b24d52cSJonas Gorski prompt "Kernel appended dtb support" if USE_OF 29741da8f179SJonas Gorski default MIPS_NO_APPENDED_DTB 29751da8f179SJonas Gorski 29761da8f179SJonas Gorski config MIPS_NO_APPENDED_DTB 29771da8f179SJonas Gorski bool "None" 29781da8f179SJonas Gorski help 29791da8f179SJonas Gorski Do not enable appended dtb support. 29801da8f179SJonas Gorski 298187db537dSAaro Koskinen config MIPS_ELF_APPENDED_DTB 298287db537dSAaro Koskinen bool "vmlinux" 298387db537dSAaro Koskinen help 298487db537dSAaro Koskinen With this option, the boot code will look for a device tree binary 298587db537dSAaro Koskinen DTB) included in the vmlinux ELF section .appended_dtb. By default 298687db537dSAaro Koskinen it is empty and the DTB can be appended using binutils command 298787db537dSAaro Koskinen objcopy: 298887db537dSAaro Koskinen 298987db537dSAaro Koskinen objcopy --update-section .appended_dtb=<filename>.dtb vmlinux 299087db537dSAaro Koskinen 299118ff14c8SColin Ian King This is meant as a backward compatibility convenience for those 299287db537dSAaro Koskinen systems with a bootloader that can't be upgraded to accommodate 299387db537dSAaro Koskinen the documented boot protocol using a device tree. 299487db537dSAaro Koskinen 29951da8f179SJonas Gorski config MIPS_RAW_APPENDED_DTB 2996b8f54f2cSJonas Gorski bool "vmlinux.bin or vmlinuz.bin" 29971da8f179SJonas Gorski help 29981da8f179SJonas Gorski With this option, the boot code will look for a device tree binary 2999b8f54f2cSJonas Gorski DTB) appended to raw vmlinux.bin or vmlinuz.bin. 30001da8f179SJonas Gorski (e.g. cat vmlinux.bin <filename>.dtb > vmlinux_w_dtb). 30011da8f179SJonas Gorski 30021da8f179SJonas Gorski This is meant as a backward compatibility convenience for those 30031da8f179SJonas Gorski systems with a bootloader that can't be upgraded to accommodate 30041da8f179SJonas Gorski the documented boot protocol using a device tree. 30051da8f179SJonas Gorski 30061da8f179SJonas Gorski Beware that there is very little in terms of protection against 30071da8f179SJonas Gorski this option being confused by leftover garbage in memory that might 30081da8f179SJonas Gorski look like a DTB header after a reboot if no actual DTB is appended 30091da8f179SJonas Gorski to vmlinux.bin. Do not leave this option active in a production kernel 30101da8f179SJonas Gorski if you don't intend to always append a DTB. 30111da8f179SJonas Gorskiendchoice 30121da8f179SJonas Gorski 30132024972eSJonas Gorskichoice 30142024972eSJonas Gorski prompt "Kernel command line type" if !CMDLINE_OVERRIDE 30152bcef9b4SJonas Gorski default MIPS_CMDLINE_FROM_DTB if USE_OF && !ATH79 && !MACH_INGENIC && \ 301687fcfa7bSJiaxun Yang !MACH_LOONGSON64 && !MIPS_MALTA && \ 30172bcef9b4SJonas Gorski !CAVIUM_OCTEON_SOC 30182024972eSJonas Gorski default MIPS_CMDLINE_FROM_BOOTLOADER 30192024972eSJonas Gorski 30202024972eSJonas Gorski config MIPS_CMDLINE_FROM_DTB 30212024972eSJonas Gorski depends on USE_OF 30222024972eSJonas Gorski bool "Dtb kernel arguments if available" 30232024972eSJonas Gorski 30242024972eSJonas Gorski config MIPS_CMDLINE_DTB_EXTEND 30252024972eSJonas Gorski depends on USE_OF 30262024972eSJonas Gorski bool "Extend dtb kernel arguments with bootloader arguments" 30272024972eSJonas Gorski 30282024972eSJonas Gorski config MIPS_CMDLINE_FROM_BOOTLOADER 30292024972eSJonas Gorski bool "Bootloader kernel arguments if available" 3030ed47e153SRabin Vincent 3031ed47e153SRabin Vincent config MIPS_CMDLINE_BUILTIN_EXTEND 3032ed47e153SRabin Vincent depends on CMDLINE_BOOL 3033ed47e153SRabin Vincent bool "Extend builtin kernel arguments with bootloader arguments" 30342024972eSJonas Gorskiendchoice 30352024972eSJonas Gorski 30365e83d430SRalf Baechleendmenu 30375e83d430SRalf Baechle 30381df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT 30391df0f0ffSAtsushi Nemoto bool 30401df0f0ffSAtsushi Nemoto default y 30411df0f0ffSAtsushi Nemoto 30421df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT 30431df0f0ffSAtsushi Nemoto bool 30441df0f0ffSAtsushi Nemoto default y 30451df0f0ffSAtsushi Nemoto 3046a728ab52SKirill A. Shutemovconfig PGTABLE_LEVELS 3047a728ab52SKirill A. Shutemov int 30483377e227SAlex Belits default 4 if PAGE_SIZE_4KB && MIPS_VA_BITS_48 304941ce097fSHuang Pei default 3 if 64BIT && (!PAGE_SIZE_64KB || MIPS_VA_BITS_48) 3050a728ab52SKirill A. Shutemov default 2 3051a728ab52SKirill A. Shutemov 30526c359eb1SPaul Burtonconfig MIPS_AUTO_PFN_OFFSET 30536c359eb1SPaul Burton bool 30546c359eb1SPaul Burton 30551da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)" 30561da177e4SLinus Torvalds 3057c5611df9SPaul Burtonconfig PCI_DRIVERS_GENERIC 30582eac9c2dSChristoph Hellwig select PCI_DOMAINS_GENERIC if PCI 3059c5611df9SPaul Burton bool 3060c5611df9SPaul Burton 3061c5611df9SPaul Burtonconfig PCI_DRIVERS_LEGACY 3062c5611df9SPaul Burton def_bool !PCI_DRIVERS_GENERIC 3063c5611df9SPaul Burton select NO_GENERIC_PCI_IOPORT_MAP 30642eac9c2dSChristoph Hellwig select PCI_DOMAINS if PCI 30651da177e4SLinus Torvalds 30661da177e4SLinus Torvalds# 30671da177e4SLinus Torvalds# ISA support is now enabled via select. Too many systems still have the one 30681da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect 30691da177e4SLinus Torvalds# users to choose the right thing ... 30701da177e4SLinus Torvalds# 30711da177e4SLinus Torvaldsconfig ISA 30721da177e4SLinus Torvalds bool 30731da177e4SLinus Torvalds 30741da177e4SLinus Torvaldsconfig TC 30751da177e4SLinus Torvalds bool "TURBOchannel support" 30761da177e4SLinus Torvalds depends on MACH_DECSTATION 30771da177e4SLinus Torvalds help 307850a23e6eSJustin P. Mattock TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS 307950a23e6eSJustin P. Mattock processors. TURBOchannel programming specifications are available 308050a23e6eSJustin P. Mattock at: 308150a23e6eSJustin P. Mattock <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/> 308250a23e6eSJustin P. Mattock and: 308350a23e6eSJustin P. Mattock <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/> 308450a23e6eSJustin P. Mattock Linux driver support status is documented at: 308550a23e6eSJustin P. Mattock <http://www.linux-mips.org/wiki/DECstation> 30861da177e4SLinus Torvalds 30871da177e4SLinus Torvaldsconfig MMU 30881da177e4SLinus Torvalds bool 30891da177e4SLinus Torvalds default y 30901da177e4SLinus Torvalds 3091109c32ffSMatt Redfearnconfig ARCH_MMAP_RND_BITS_MIN 3092109c32ffSMatt Redfearn default 12 if 64BIT 3093109c32ffSMatt Redfearn default 8 3094109c32ffSMatt Redfearn 3095109c32ffSMatt Redfearnconfig ARCH_MMAP_RND_BITS_MAX 3096109c32ffSMatt Redfearn default 18 if 64BIT 3097109c32ffSMatt Redfearn default 15 3098109c32ffSMatt Redfearn 3099109c32ffSMatt Redfearnconfig ARCH_MMAP_RND_COMPAT_BITS_MIN 3100109c32ffSMatt Redfearn default 8 3101109c32ffSMatt Redfearn 3102109c32ffSMatt Redfearnconfig ARCH_MMAP_RND_COMPAT_BITS_MAX 3103109c32ffSMatt Redfearn default 15 3104109c32ffSMatt Redfearn 3105d865bea4SRalf Baechleconfig I8253 3106d865bea4SRalf Baechle bool 3107798778b8SRussell King select CLKSRC_I8253 31082d02612fSThomas Gleixner select CLKEVT_I8253 31099726b43aSWu Zhangjin select MIPS_EXTERNAL_TIMER 31101da177e4SLinus Torvaldsendmenu 31111da177e4SLinus Torvalds 31121da177e4SLinus Torvaldsconfig TRAD_SIGNALS 31131da177e4SLinus Torvalds bool 31141da177e4SLinus Torvalds 31151da177e4SLinus Torvaldsconfig MIPS32_COMPAT 311678aaf956SRalf Baechle bool 31171da177e4SLinus Torvalds 31181da177e4SLinus Torvaldsconfig COMPAT 31191da177e4SLinus Torvalds bool 31201da177e4SLinus Torvalds 31211da177e4SLinus Torvaldsconfig MIPS32_O32 31221da177e4SLinus Torvalds bool "Kernel support for o32 binaries" 312378aaf956SRalf Baechle depends on 64BIT 312478aaf956SRalf Baechle select ARCH_WANT_OLD_COMPAT_IPC 312578aaf956SRalf Baechle select COMPAT 312678aaf956SRalf Baechle select MIPS32_COMPAT 31271da177e4SLinus Torvalds help 31281da177e4SLinus Torvalds Select this option if you want to run o32 binaries. These are pure 31291da177e4SLinus Torvalds 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of 31301da177e4SLinus Torvalds existing binaries are in this format. 31311da177e4SLinus Torvalds 31321da177e4SLinus Torvalds If unsure, say Y. 31331da177e4SLinus Torvalds 31341da177e4SLinus Torvaldsconfig MIPS32_N32 31351da177e4SLinus Torvalds bool "Kernel support for n32 binaries" 3136c22eacfeSRalf Baechle depends on 64BIT 31375a9372f7SArnd Bergmann select ARCH_WANT_COMPAT_IPC_PARSE_VERSION 313878aaf956SRalf Baechle select COMPAT 313978aaf956SRalf Baechle select MIPS32_COMPAT 31401da177e4SLinus Torvalds help 31411da177e4SLinus Torvalds Select this option if you want to run n32 binaries. These are 31421da177e4SLinus Torvalds 64-bit binaries using 32-bit quantities for addressing and certain 31431da177e4SLinus Torvalds data that would normally be 64-bit. They are used in special 31441da177e4SLinus Torvalds cases. 31451da177e4SLinus Torvalds 31461da177e4SLinus Torvalds If unsure, say N. 31471da177e4SLinus Torvalds 3148d49fc692SNathan Chancellorconfig CC_HAS_MNO_BRANCH_LIKELY 3149d49fc692SNathan Chancellor def_bool y 3150d49fc692SNathan Chancellor depends on $(cc-option,-mno-branch-likely) 3151d49fc692SNathan Chancellor 31521a2c73f4SJiaxun Yang# https://github.com/llvm/llvm-project/issues/61045 31531a2c73f4SJiaxun Yangconfig CC_HAS_BROKEN_INLINE_COMPAT_BRANCH 31541a2c73f4SJiaxun Yang def_bool y if CC_IS_CLANG 31551a2c73f4SJiaxun Yang 31562116245eSRalf Baechlemenu "Power management options" 3157952fa954SRodolfo Giometti 3158363c55caSWu Zhangjinconfig ARCH_HIBERNATION_POSSIBLE 3159363c55caSWu Zhangjin def_bool y 31603f5b3e17SRalf Baechle depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP 3161363c55caSWu Zhangjin 3162f4cb5700SJohannes Bergconfig ARCH_SUSPEND_POSSIBLE 3163f4cb5700SJohannes Berg def_bool y 31643f5b3e17SRalf Baechle depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP 3165f4cb5700SJohannes Berg 31662116245eSRalf Baechlesource "kernel/power/Kconfig" 3167952fa954SRodolfo Giometti 31681da177e4SLinus Torvaldsendmenu 31691da177e4SLinus Torvalds 31707a998935SViresh Kumarconfig MIPS_EXTERNAL_TIMER 31717a998935SViresh Kumar bool 31727a998935SViresh Kumar 31737a998935SViresh Kumarmenu "CPU Power Management" 3174c095ebafSPaul Burton 3175c095ebafSPaul Burtonif CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER 31767a998935SViresh Kumarsource "drivers/cpufreq/Kconfig" 317731f12fdcSJuerg Haefligerendif # CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER 31789726b43aSWu Zhangjin 3179c095ebafSPaul Burtonsource "drivers/cpuidle/Kconfig" 3180c095ebafSPaul Burton 3181c095ebafSPaul Burtonendmenu 3182c095ebafSPaul Burton 31832235a54dSSanjay Lalsource "arch/mips/kvm/Kconfig" 3184e91946d6SNathan Chancellor 3185e91946d6SNathan Chancellorsource "arch/mips/vdso/Kconfig" 3186