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