Kconfig (a3078e593b74fe196e69f122f03ff0b32f652c53) Kconfig (a8d709b065929f95d173c87d400fab36e6629c6d)
1config MIPS
2 bool
3 default y
4 select ARCH_SUPPORTS_UPROBES
5 select ARCH_MIGHT_HAVE_PC_PARPORT
6 select ARCH_MIGHT_HAVE_PC_SERIO
7 select ARCH_USE_CMPXCHG_LOCKREF if 64BIT
8 select ARCH_USE_BUILTIN_BSWAP
9 select HAVE_CONTEXT_TRACKING
10 select HAVE_GENERIC_DMA_COHERENT
11 select HAVE_IDE
1config MIPS
2 bool
3 default y
4 select ARCH_SUPPORTS_UPROBES
5 select ARCH_MIGHT_HAVE_PC_PARPORT
6 select ARCH_MIGHT_HAVE_PC_SERIO
7 select ARCH_USE_CMPXCHG_LOCKREF if 64BIT
8 select ARCH_USE_BUILTIN_BSWAP
9 select HAVE_CONTEXT_TRACKING
10 select HAVE_GENERIC_DMA_COHERENT
11 select HAVE_IDE
12 select HAVE_IRQ_EXIT_ON_IRQ_STACK
13 select HAVE_OPROFILE
14 select HAVE_PERF_EVENTS
15 select PERF_USE_VMALLOC
16 select HAVE_ARCH_KGDB
12 select HAVE_OPROFILE
13 select HAVE_PERF_EVENTS
14 select PERF_USE_VMALLOC
15 select HAVE_ARCH_KGDB
17 select HAVE_ARCH_MMAP_RND_BITS if MMU
18 select HAVE_ARCH_MMAP_RND_COMPAT_BITS if MMU && COMPAT
19 select HAVE_ARCH_SECCOMP_FILTER
20 select HAVE_ARCH_TRACEHOOK
21 select HAVE_CBPF_JIT if !CPU_MICROMIPS
22 select HAVE_FUNCTION_TRACER
23 select HAVE_DYNAMIC_FTRACE
24 select HAVE_FTRACE_MCOUNT_RECORD
25 select HAVE_C_RECORDMCOUNT
26 select HAVE_FUNCTION_GRAPH_TRACER

--- 65 unchanged lines hidden (view full) ---

92 select LIBFDT
93 select MIPS_CPU_SCACHE
94 select MIPS_GIC
95 select MIPS_L1_CACHE_SHIFT_7
96 select NO_EXCEPT_FILL
97 select PCI_DRIVERS_GENERIC
98 select PINCTRL
99 select SMP_UP if SMP
16 select HAVE_ARCH_SECCOMP_FILTER
17 select HAVE_ARCH_TRACEHOOK
18 select HAVE_CBPF_JIT if !CPU_MICROMIPS
19 select HAVE_FUNCTION_TRACER
20 select HAVE_DYNAMIC_FTRACE
21 select HAVE_FTRACE_MCOUNT_RECORD
22 select HAVE_C_RECORDMCOUNT
23 select HAVE_FUNCTION_GRAPH_TRACER

--- 65 unchanged lines hidden (view full) ---

89 select LIBFDT
90 select MIPS_CPU_SCACHE
91 select MIPS_GIC
92 select MIPS_L1_CACHE_SHIFT_7
93 select NO_EXCEPT_FILL
94 select PCI_DRIVERS_GENERIC
95 select PINCTRL
96 select SMP_UP if SMP
100 select SWAP_IO_SPACE
101 select SYS_HAS_CPU_MIPS32_R1
102 select SYS_HAS_CPU_MIPS32_R2
103 select SYS_HAS_CPU_MIPS32_R6
104 select SYS_HAS_CPU_MIPS64_R1
105 select SYS_HAS_CPU_MIPS64_R2
106 select SYS_HAS_CPU_MIPS64_R6
107 select SYS_SUPPORTS_32BIT_KERNEL
108 select SYS_SUPPORTS_64BIT_KERNEL

--- 368 unchanged lines hidden (view full) ---

477 select MIPS_CPU_SCACHE
478 select SYS_HAS_EARLY_PRINTK
479 select SYS_HAS_CPU_MIPS32_R2
480 select SYS_SUPPORTS_32BIT_KERNEL
481 select SYS_SUPPORTS_LITTLE_ENDIAN
482 select SYS_SUPPORTS_ZBOOT_UART16550
483 select USE_OF
484 select USE_GENERIC_EARLY_PRINTK_8250
97 select SYS_HAS_CPU_MIPS32_R1
98 select SYS_HAS_CPU_MIPS32_R2
99 select SYS_HAS_CPU_MIPS32_R6
100 select SYS_HAS_CPU_MIPS64_R1
101 select SYS_HAS_CPU_MIPS64_R2
102 select SYS_HAS_CPU_MIPS64_R6
103 select SYS_SUPPORTS_32BIT_KERNEL
104 select SYS_SUPPORTS_64BIT_KERNEL

--- 368 unchanged lines hidden (view full) ---

473 select MIPS_CPU_SCACHE
474 select SYS_HAS_EARLY_PRINTK
475 select SYS_HAS_CPU_MIPS32_R2
476 select SYS_SUPPORTS_32BIT_KERNEL
477 select SYS_SUPPORTS_LITTLE_ENDIAN
478 select SYS_SUPPORTS_ZBOOT_UART16550
479 select USE_OF
480 select USE_GENERIC_EARLY_PRINTK_8250
485 select XILINX_INTC
486 help
487 This enables support for the IMG University Program MIPSfpga platform.
488
489config MIPS_MALTA
490 bool "MIPS Malta board"
491 select ARCH_MAY_HAVE_PC_FDC
492 select BOOT_ELF32
493 select BOOT_RAW

--- 415 unchanged lines hidden (view full) ---

909 select GPIOLIB
910 select LIBFDT
911 select USE_OF
912 select ARCH_SPARSEMEM_ENABLE
913 select SYS_SUPPORTS_SMP
914 select NR_CPUS_DEFAULT_16
915 select BUILTIN_DTB
916 select MTD_COMPLEX_MAPPINGS
481 help
482 This enables support for the IMG University Program MIPSfpga platform.
483
484config MIPS_MALTA
485 bool "MIPS Malta board"
486 select ARCH_MAY_HAVE_PC_FDC
487 select BOOT_ELF32
488 select BOOT_RAW

--- 415 unchanged lines hidden (view full) ---

904 select GPIOLIB
905 select LIBFDT
906 select USE_OF
907 select ARCH_SPARSEMEM_ENABLE
908 select SYS_SUPPORTS_SMP
909 select NR_CPUS_DEFAULT_16
910 select BUILTIN_DTB
911 select MTD_COMPLEX_MAPPINGS
917 select SYS_SUPPORTS_RELOCATABLE
918 help
919 This option supports all of the Octeon reference boards from Cavium
920 Networks. It builds a kernel that dynamically determines the Octeon
921 CPU type and supports all known board reference implementations.
922 Some of the supported boards are:
923 EBT3000
924 EBH3000
925 EBH3100

--- 502 unchanged lines hidden (view full) ---

1428 help
1429 The Loongson 1B is a 32-bit SoC, which implements the MIPS32
1430 release 2 instruction set.
1431
1432config CPU_LOONGSON1C
1433 bool "Loongson 1C"
1434 depends on SYS_HAS_CPU_LOONGSON1C
1435 select CPU_LOONGSON1
912 help
913 This option supports all of the Octeon reference boards from Cavium
914 Networks. It builds a kernel that dynamically determines the Octeon
915 CPU type and supports all known board reference implementations.
916 Some of the supported boards are:
917 EBT3000
918 EBH3000
919 EBH3100

--- 502 unchanged lines hidden (view full) ---

1422 help
1423 The Loongson 1B is a 32-bit SoC, which implements the MIPS32
1424 release 2 instruction set.
1425
1426config CPU_LOONGSON1C
1427 bool "Loongson 1C"
1428 depends on SYS_HAS_CPU_LOONGSON1C
1429 select CPU_LOONGSON1
1430 select ARCH_WANT_OPTIONAL_GPIOLIB
1436 select LEDS_GPIO_REGISTER
1437 help
1438 The Loongson 1C is a 32-bit SoC, which implements the MIPS32
1439 release 2 instruction set.
1440
1441config CPU_MIPS32_R1
1442 bool "MIPS32 Release 1"
1443 depends on SYS_HAS_CPU_MIPS32_R1

--- 259 unchanged lines hidden (view full) ---

1703 select CPU_BMIPS5000 if SYS_HAS_CPU_BMIPS5000
1704 select CPU_SUPPORTS_32BIT_KERNEL
1705 select DMA_NONCOHERENT
1706 select IRQ_MIPS_CPU
1707 select SWAP_IO_SPACE
1708 select WEAK_ORDERING
1709 select CPU_SUPPORTS_HIGHMEM
1710 select CPU_HAS_PREFETCH
1431 select LEDS_GPIO_REGISTER
1432 help
1433 The Loongson 1C is a 32-bit SoC, which implements the MIPS32
1434 release 2 instruction set.
1435
1436config CPU_MIPS32_R1
1437 bool "MIPS32 Release 1"
1438 depends on SYS_HAS_CPU_MIPS32_R1

--- 259 unchanged lines hidden (view full) ---

1698 select CPU_BMIPS5000 if SYS_HAS_CPU_BMIPS5000
1699 select CPU_SUPPORTS_32BIT_KERNEL
1700 select DMA_NONCOHERENT
1701 select IRQ_MIPS_CPU
1702 select SWAP_IO_SPACE
1703 select WEAK_ORDERING
1704 select CPU_SUPPORTS_HIGHMEM
1705 select CPU_HAS_PREFETCH
1706 select CPU_SUPPORTS_CPUFREQ
1707 select MIPS_EXTERNAL_TIMER
1711 help
1712 Support for BMIPS32/3300/4350/4380 and BMIPS5000 processors.
1713
1714config CPU_XLR
1715 bool "Netlogic XLR SoC"
1716 depends on SYS_HAS_CPU_XLR
1717 select CPU_SUPPORTS_32BIT_KERNEL
1718 select CPU_SUPPORTS_64BIT_KERNEL

--- 567 unchanged lines hidden (view full) ---

2286
2287config MIPS_MT_FPAFF
2288 bool "Dynamic FPU affinity for FP-intensive threads"
2289 default y
2290 depends on MIPS_MT_SMP
2291
2292config MIPSR2_TO_R6_EMULATOR
2293 bool "MIPS R2-to-R6 emulator"
1708 help
1709 Support for BMIPS32/3300/4350/4380 and BMIPS5000 processors.
1710
1711config CPU_XLR
1712 bool "Netlogic XLR SoC"
1713 depends on SYS_HAS_CPU_XLR
1714 select CPU_SUPPORTS_32BIT_KERNEL
1715 select CPU_SUPPORTS_64BIT_KERNEL

--- 567 unchanged lines hidden (view full) ---

2283
2284config MIPS_MT_FPAFF
2285 bool "Dynamic FPU affinity for FP-intensive threads"
2286 default y
2287 depends on MIPS_MT_SMP
2288
2289config MIPSR2_TO_R6_EMULATOR
2290 bool "MIPS R2-to-R6 emulator"
2294 depends on CPU_MIPSR6
2291 depends on CPU_MIPSR6 && !SMP
2295 default y
2296 help
2297 Choose this option if you want to run non-R6 MIPS userland code.
2298 Even if you say 'Y' here, the emulator will still be disabled by
2299 default. You can enable it using the 'mipsr2emu' kernel option.
2300 The only reason this is a build-time option is to save ~14K from the
2301 final kernel image.
2292 default y
2293 help
2294 Choose this option if you want to run non-R6 MIPS userland code.
2295 Even if you say 'Y' here, the emulator will still be disabled by
2296 default. You can enable it using the 'mipsr2emu' kernel option.
2297 The only reason this is a build-time option is to save ~14K from the
2298 final kernel image.
2299comment "MIPS R2-to-R6 emulator is only available for UP kernels"
2300 depends on SMP && CPU_MIPSR6
2302
2303config MIPS_VPE_LOADER
2304 bool "VPE loader support."
2305 depends on SYS_SUPPORTS_MULTITHREADING && MODULES
2306 select CPU_MIPSR2_IRQ_VI
2307 select CPU_MIPSR2_IRQ_EI
2308 select MIPS_MT
2309 help

--- 258 unchanged lines hidden (view full) ---

2568 leave it disabled; on single node systems disable this option
2569 disabled.
2570
2571config SYS_SUPPORTS_NUMA
2572 bool
2573
2574config RELOCATABLE
2575 bool "Relocatable kernel"
2301
2302config MIPS_VPE_LOADER
2303 bool "VPE loader support."
2304 depends on SYS_SUPPORTS_MULTITHREADING && MODULES
2305 select CPU_MIPSR2_IRQ_VI
2306 select CPU_MIPSR2_IRQ_EI
2307 select MIPS_MT
2308 help

--- 258 unchanged lines hidden (view full) ---

2567 leave it disabled; on single node systems disable this option
2568 disabled.
2569
2570config SYS_SUPPORTS_NUMA
2571 bool
2572
2573config RELOCATABLE
2574 bool "Relocatable kernel"
2576 depends on SYS_SUPPORTS_RELOCATABLE && (CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_MIPS32_R6 || CPU_MIPS64_R6 || CAVIUM_OCTEON_SOC)
2575 depends on SYS_SUPPORTS_RELOCATABLE && (CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_MIPS32_R6 || CPU_MIPS64_R6)
2577 help
2578 This builds a kernel image that retains relocation information
2579 so it can be loaded someplace besides the default 1MB.
2580 The relocations make the kernel binary about 15% larger,
2581 but are discarded at runtime
2582
2583config RELOCATION_TABLE_SIZE
2584 hex "Relocation table size"

--- 239 unchanged lines hidden (view full) ---

2824
2825 It is an ongoing process to be certain the hardware in a machine
2826 is properly shutdown, so do not be surprised if this code does not
2827 initially work for you. As of this writing the exact hardware
2828 interface is strongly in flux, so no good recommendation can be
2829 made.
2830
2831config CRASH_DUMP
2576 help
2577 This builds a kernel image that retains relocation information
2578 so it can be loaded someplace besides the default 1MB.
2579 The relocations make the kernel binary about 15% larger,
2580 but are discarded at runtime
2581
2582config RELOCATION_TABLE_SIZE
2583 hex "Relocation table size"

--- 239 unchanged lines hidden (view full) ---

2823
2824 It is an ongoing process to be certain the hardware in a machine
2825 is properly shutdown, so do not be surprised if this code does not
2826 initially work for you. As of this writing the exact hardware
2827 interface is strongly in flux, so no good recommendation can be
2828 made.
2829
2830config CRASH_DUMP
2832 bool "Kernel crash dumps"
2833 help
2831 bool "Kernel crash dumps"
2832 help
2834 Generate crash dump after being started by kexec.
2835 This should be normally only set in special crash dump kernels
2836 which are loaded in the main kernel with kexec-tools into
2837 a specially reserved region and then later executed after
2838 a crash by kdump/kexec. The crash dump kernel must be compiled
2839 to a memory address not used by the main kernel or firmware using
2840 PHYSICAL_START.
2841
2842config PHYSICAL_START
2833 Generate crash dump after being started by kexec.
2834 This should be normally only set in special crash dump kernels
2835 which are loaded in the main kernel with kexec-tools into
2836 a specially reserved region and then later executed after
2837 a crash by kdump/kexec. The crash dump kernel must be compiled
2838 to a memory address not used by the main kernel or firmware using
2839 PHYSICAL_START.
2840
2841config PHYSICAL_START
2843 hex "Physical address where the kernel is loaded"
2844 default "0xffffffff84000000" if 64BIT
2845 default "0x84000000" if 32BIT
2846 depends on CRASH_DUMP
2847 help
2842 hex "Physical address where the kernel is loaded"
2843 default "0xffffffff84000000" if 64BIT
2844 default "0x84000000" if 32BIT
2845 depends on CRASH_DUMP
2846 help
2848 This gives the CKSEG0 or KSEG0 address where the kernel is loaded.
2849 If you plan to use kernel for capturing the crash dump change
2850 this value to start of the reserved region (the "X" value as
2851 specified in the "crashkernel=YM@XM" command line boot parameter
2852 passed to the panic-ed kernel).
2853
2854config SECCOMP
2855 bool "Enable seccomp to safely compute untrusted bytecode"

--- 215 unchanged lines hidden (view full) ---

3071 <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/>
3072 Linux driver support status is documented at:
3073 <http://www.linux-mips.org/wiki/DECstation>
3074
3075config MMU
3076 bool
3077 default y
3078
2847 This gives the CKSEG0 or KSEG0 address where the kernel is loaded.
2848 If you plan to use kernel for capturing the crash dump change
2849 this value to start of the reserved region (the "X" value as
2850 specified in the "crashkernel=YM@XM" command line boot parameter
2851 passed to the panic-ed kernel).
2852
2853config SECCOMP
2854 bool "Enable seccomp to safely compute untrusted bytecode"

--- 215 unchanged lines hidden (view full) ---

3070 <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/>
3071 Linux driver support status is documented at:
3072 <http://www.linux-mips.org/wiki/DECstation>
3073
3074config MMU
3075 bool
3076 default y
3077
3079config ARCH_MMAP_RND_BITS_MIN
3080 default 12 if 64BIT
3081 default 8
3082
3083config ARCH_MMAP_RND_BITS_MAX
3084 default 18 if 64BIT
3085 default 15
3086
3087config ARCH_MMAP_RND_COMPAT_BITS_MIN
3088 default 8
3089
3090config ARCH_MMAP_RND_COMPAT_BITS_MAX
3091 default 15
3092
3093config I8253
3094 bool
3095 select CLKSRC_I8253
3096 select CLKEVT_I8253
3097 select MIPS_EXTERNAL_TIMER
3098
3099config ZONE_DMA
3100 bool

--- 113 unchanged lines hidden ---
3078config I8253
3079 bool
3080 select CLKSRC_I8253
3081 select CLKEVT_I8253
3082 select MIPS_EXTERNAL_TIMER
3083
3084config ZONE_DMA
3085 bool

--- 113 unchanged lines hidden ---