MIPS: ath25: add interrupts handling routines
[deliverable/linux.git] / arch / mips / Kconfig
CommitLineData
1da177e4
LT
1config MIPS
2 bool
3 default y
a862a426 4 select ARCH_MIGHT_HAVE_PC_PARPORT
393c1262 5 select ARCH_MIGHT_HAVE_PC_SERIO
c3fc5cd5 6 select HAVE_CONTEXT_TRACKING
f8ac0425 7 select HAVE_GENERIC_DMA_COHERENT
ec7748b5 8 select HAVE_IDE
42d4b839 9 select HAVE_OPROFILE
7f788d2d
DCZ
10 select HAVE_PERF_EVENTS
11 select PERF_USE_VMALLOC
88547001 12 select HAVE_ARCH_KGDB
490b004f 13 select HAVE_ARCH_SECCOMP_FILTER
c0ff3c53 14 select HAVE_ARCH_TRACEHOOK
3f5fdb4b 15 select HAVE_BPF_JIT if !CPU_MICROMIPS
7563bbf8 16 select ARCH_HAVE_CUSTOM_GPIO_H
d2bb0762 17 select HAVE_FUNCTION_TRACER
538f1952
WZ
18 select HAVE_DYNAMIC_FTRACE
19 select HAVE_FTRACE_MCOUNT_RECORD
64575f91 20 select HAVE_C_RECORDMCOUNT
29c5d346 21 select HAVE_FUNCTION_GRAPH_TRACER
c1bf207d
DD
22 select HAVE_KPROBES
23 select HAVE_KRETPROBES
b69ec42b 24 select HAVE_DEBUG_KMEMLEAK
1d7bf993 25 select HAVE_SYSCALL_TRACEPOINTS
e26d196c 26 select ARCH_BINFMT_ELF_RANDOMIZE_PIE
383c97b4 27 select HAVE_ARCH_TRANSPARENT_HUGEPAGE if CPU_SUPPORTS_HUGEPAGES && 64BIT
21a41faa 28 select RTC_LIB if !MACH_LOONGSON
2b78920d 29 select GENERIC_ATOMIC64 if !64BIT
7463449b 30 select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
48e1fd5a 31 select HAVE_DMA_ATTRS
f4649382 32 select HAVE_DMA_CONTIGUOUS
48e1fd5a 33 select HAVE_DMA_API_DEBUG
3bd27e32 34 select GENERIC_IRQ_PROBE
f8396c17 35 select GENERIC_IRQ_SHOW
78857614 36 select GENERIC_PCI_IOMAP
94bb0c1a 37 select HAVE_ARCH_JUMP_LABEL
c1d7e01d 38 select ARCH_WANT_IPC_PARSE_VERSION
0f462e3c 39 select IRQ_FORCED_THREADING
9d15ffc8
TH
40 select HAVE_MEMBLOCK
41 select HAVE_MEMBLOCK_NODE_MAP
42 select ARCH_DISCARD_MEMBLOCK
360014a3 43 select GENERIC_SMP_IDLE_THREAD
4b054495 44 select BUILDTIME_EXTABLE_SORT
cde1794b
AMG
45 select GENERIC_CLOCKEVENTS
46 select GENERIC_CMOS_UPDATE
786d35d4 47 select HAVE_MOD_ARCH_SPECIFIC
4febd95a 48 select VIRT_TO_BUS
2f12fb20
JK
49 select MODULES_USE_ELF_REL if MODULES
50 select MODULES_USE_ELF_RELA if MODULES && 64BIT
50150d2b 51 select CLONE_BACKWARDS
d1a1dc0b 52 select HAVE_DEBUG_STACKOVERFLOW
19952a92 53 select HAVE_CC_STACKPROTECTOR
b1d4c6ca 54 select CPU_PM if CPU_IDLE
cc7964af 55 select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
90cee759 56 select ARCH_BINFMT_ELF_STATE
1da177e4 57
1da177e4
LT
58menu "Machine selection"
59
5e83d430
RB
60choice
61 prompt "System type"
62 default SGI_IP22
1da177e4 63
42a4f17d 64config MIPS_ALCHEMY
c3543e25 65 bool "Alchemy processor based machines"
42a4f17d 66 select 64BIT_PHYS_ADDR
f772cdb2 67 select CEVT_R4K
d7ea335c 68 select CSRC_R4K
42a4f17d 69 select IRQ_CPU
88e9a93c 70 select DMA_MAYBE_COHERENT # Au1000,1500,1100 aren't, rest is
42a4f17d
ML
71 select SYS_HAS_CPU_MIPS32_R1
72 select SYS_SUPPORTS_32BIT_KERNEL
73 select SYS_SUPPORTS_APM_EMULATION
efb12436 74 select ARCH_REQUIRE_GPIOLIB
1b93b3c3 75 select SYS_SUPPORTS_ZBOOT
47440229 76 select COMMON_CLK
1da177e4 77
7ca5dc14
FF
78config AR7
79 bool "Texas Instruments AR7"
80 select BOOT_ELF32
81 select DMA_NONCOHERENT
82 select CEVT_R4K
83 select CSRC_R4K
84 select IRQ_CPU
85 select NO_EXCEPT_FILL
86 select SWAP_IO_SPACE
87 select SYS_HAS_CPU_MIPS32_R1
88 select SYS_HAS_EARLY_PRINTK
89 select SYS_SUPPORTS_32BIT_KERNEL
90 select SYS_SUPPORTS_LITTLE_ENDIAN
377cb1b6 91 select SYS_SUPPORTS_MIPS16
1b93b3c3 92 select SYS_SUPPORTS_ZBOOT_UART16550
5f3c9098 93 select ARCH_REQUIRE_GPIOLIB
7ca5dc14 94 select VLYNQ
8551fb64 95 select HAVE_CLK
7ca5dc14
FF
96 help
97 Support for the Texas Instruments AR7 System-on-a-Chip
98 family: TNETD7100, 7200 and 7300.
99
43cc739f
SR
100config ATH25
101 bool "Atheros AR231x/AR531x SoC support"
102 select CEVT_R4K
103 select CSRC_R4K
104 select DMA_NONCOHERENT
105 select IRQ_CPU
1753e74e 106 select IRQ_DOMAIN
43cc739f
SR
107 select SYS_HAS_CPU_MIPS32_R1
108 select SYS_SUPPORTS_BIG_ENDIAN
109 select SYS_SUPPORTS_32BIT_KERNEL
110 help
111 Support for Atheros AR231x and Atheros AR531x based boards
112
d4a67d9d
GJ
113config ATH79
114 bool "Atheros AR71XX/AR724X/AR913X based boards"
6eae43c5 115 select ARCH_REQUIRE_GPIOLIB
d4a67d9d
GJ
116 select BOOT_RAW
117 select CEVT_R4K
118 select CSRC_R4K
119 select DMA_NONCOHERENT
94638067 120 select HAVE_CLK
2c4f1ac5 121 select CLKDEV_LOOKUP
d4a67d9d 122 select IRQ_CPU
0aabf1a4 123 select MIPS_MACHINE
d4a67d9d
GJ
124 select SYS_HAS_CPU_MIPS32_R2
125 select SYS_HAS_EARLY_PRINTK
126 select SYS_SUPPORTS_32BIT_KERNEL
127 select SYS_SUPPORTS_BIG_ENDIAN
377cb1b6 128 select SYS_SUPPORTS_MIPS16
d4a67d9d
GJ
129 help
130 Support for the Atheros AR71XX/AR724X/AR913X SoCs.
131
d666cd02
KC
132config BCM3384
133 bool "Broadcom BCM3384 based boards"
134 select BOOT_RAW
135 select NO_EXCEPT_FILL
136 select USE_OF
137 select CEVT_R4K
138 select CSRC_R4K
139 select SYNC_R4K
140 select COMMON_CLK
141 select DMA_NONCOHERENT
142 select IRQ_CPU
143 select SYS_SUPPORTS_32BIT_KERNEL
144 select SYS_SUPPORTS_BIG_ENDIAN
145 select SYS_SUPPORTS_HIGHMEM
146 select SYS_HAS_CPU_BMIPS5000
147 select SWAP_IO_SPACE
148 select USB_EHCI_BIG_ENDIAN_DESC
149 select USB_EHCI_BIG_ENDIAN_MMIO
150 select USB_OHCI_BIG_ENDIAN_DESC
151 select USB_OHCI_BIG_ENDIAN_MMIO
152 help
153 Support for BCM3384 based boards. BCM3384/BCM33843 is a cable modem
154 chipset with a Linux application processor that is often used to
155 provide Samba services, a CUPS print server, and/or advanced routing
156 features.
157
1c0c13eb 158config BCM47XX
c619366e 159 bool "Broadcom BCM47XX based boards"
2da4c74d 160 select ARCH_WANT_OPTIONAL_GPIOLIB
fe08f8c2 161 select BOOT_RAW
42f77542 162 select CEVT_R4K
940f6b48 163 select CSRC_R4K
1c0c13eb
AJ
164 select DMA_NONCOHERENT
165 select HW_HAS_PCI
166 select IRQ_CPU
314878d2 167 select SYS_HAS_CPU_MIPS32_R1
dd54dedd 168 select NO_EXCEPT_FILL
1c0c13eb
AJ
169 select SYS_SUPPORTS_32BIT_KERNEL
170 select SYS_SUPPORTS_LITTLE_ENDIAN
377cb1b6 171 select SYS_SUPPORTS_MIPS16
25e5fb97 172 select SYS_HAS_EARLY_PRINTK
e6086557 173 select USE_GENERIC_EARLY_PRINTK_8250
c949c0bc
RM
174 select GPIOLIB
175 select LEDS_GPIO_REGISTER
1c0c13eb
AJ
176 help
177 Support for BCM47XX based boards
178
e7300d04
MB
179config BCM63XX
180 bool "Broadcom BCM63XX based boards"
ae8de61c 181 select BOOT_RAW
e7300d04
MB
182 select CEVT_R4K
183 select CSRC_R4K
fc264022 184 select SYNC_R4K
e7300d04
MB
185 select DMA_NONCOHERENT
186 select IRQ_CPU
e7300d04
MB
187 select SYS_SUPPORTS_32BIT_KERNEL
188 select SYS_SUPPORTS_BIG_ENDIAN
189 select SYS_HAS_EARLY_PRINTK
190 select SWAP_IO_SPACE
191 select ARCH_REQUIRE_GPIOLIB
3e82eeeb 192 select HAVE_CLK
af2418be 193 select MIPS_L1_CACHE_SHIFT_4
e7300d04
MB
194 help
195 Support for BCM63XX based boards
196
1da177e4 197config MIPS_COBALT
3fa986fa 198 bool "Cobalt Server"
42f77542 199 select CEVT_R4K
940f6b48 200 select CSRC_R4K
1097c6ac 201 select CEVT_GT641XX
1da177e4
LT
202 select DMA_NONCOHERENT
203 select HW_HAS_PCI
d865bea4 204 select I8253
1da177e4
LT
205 select I8259
206 select IRQ_CPU
d5ab1a69 207 select IRQ_GT641XX
252161ec 208 select PCI_GT64XXX_PCI0
e25bfc92 209 select PCI
7cf8053b 210 select SYS_HAS_CPU_NEVADA
0a22e0d4 211 select SYS_HAS_EARLY_PRINTK
ed5ba2fb 212 select SYS_SUPPORTS_32BIT_KERNEL
0e8774b6 213 select SYS_SUPPORTS_64BIT_KERNEL
5e83d430 214 select SYS_SUPPORTS_LITTLE_ENDIAN
e6086557 215 select USE_GENERIC_EARLY_PRINTK_8250
1da177e4
LT
216
217config MACH_DECSTATION
3fa986fa 218 bool "DECstations"
1da177e4 219 select BOOT_ELF32
6457d9fc 220 select CEVT_DS1287
81d10bad 221 select CEVT_R4K if CPU_R4X00
4247417d 222 select CSRC_IOASIC
81d10bad 223 select CSRC_R4K if CPU_R4X00
20d60d99
MR
224 select CPU_DADDI_WORKAROUNDS if 64BIT
225 select CPU_R4000_WORKAROUNDS if 64BIT
226 select CPU_R4400_WORKAROUNDS if 64BIT
1da177e4 227 select DMA_NONCOHERENT
ce816fa8 228 select NO_IOPORT_MAP
1da177e4 229 select IRQ_CPU
7cf8053b
RB
230 select SYS_HAS_CPU_R3000
231 select SYS_HAS_CPU_R4X00
ed5ba2fb 232 select SYS_SUPPORTS_32BIT_KERNEL
7d60717e 233 select SYS_SUPPORTS_64BIT_KERNEL
5e83d430 234 select SYS_SUPPORTS_LITTLE_ENDIAN
1723b4a3
AN
235 select SYS_SUPPORTS_128HZ
236 select SYS_SUPPORTS_256HZ
237 select SYS_SUPPORTS_1024HZ
930beb5a 238 select MIPS_L1_CACHE_SHIFT_4
5e83d430 239 help
1da177e4
LT
240 This enables support for DEC's MIPS based workstations. For details
241 see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
242 DECstation porting pages on <http://decstation.unix-ag.org/>.
243
244 If you have one of the following DECstation Models you definitely
245 want to choose R4xx0 for the CPU Type:
246
9308816c
RB
247 DECstation 5000/50
248 DECstation 5000/150
249 DECstation 5000/260
250 DECsystem 5900/260
1da177e4
LT
251
252 otherwise choose R3000.
253
5e83d430 254config MACH_JAZZ
3fa986fa 255 bool "Jazz family of machines"
0e2794b0
RB
256 select FW_ARC
257 select FW_ARC32
5e83d430 258 select ARCH_MAY_HAVE_PC_FDC
42f77542 259 select CEVT_R4K
940f6b48 260 select CSRC_R4K
e2defae5 261 select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
5e83d430 262 select GENERIC_ISA_DMA
8a118c38 263 select HAVE_PCSPKR_PLATFORM
ea202c63 264 select IRQ_CPU
d865bea4 265 select I8253
5e83d430
RB
266 select I8259
267 select ISA
7cf8053b 268 select SYS_HAS_CPU_R4X00
5e83d430 269 select SYS_SUPPORTS_32BIT_KERNEL
7d60717e 270 select SYS_SUPPORTS_64BIT_KERNEL
1723b4a3 271 select SYS_SUPPORTS_100HZ
1da177e4 272 help
5e83d430
RB
273 This a family of machines based on the MIPS R4030 chipset which was
274 used by several vendors to build RISC/os and Windows NT workstations.
692105b8 275 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
5e83d430
RB
276 Olivetti M700-10 workstations.
277
5ebabe59
LPC
278config MACH_JZ4740
279 bool "Ingenic JZ4740 based machines"
280 select SYS_HAS_CPU_MIPS32_R1
281 select SYS_SUPPORTS_32BIT_KERNEL
282 select SYS_SUPPORTS_LITTLE_ENDIAN
f9c9affc 283 select SYS_SUPPORTS_ZBOOT_UART16550
5ebabe59
LPC
284 select DMA_NONCOHERENT
285 select IRQ_CPU
5ebabe59
LPC
286 select ARCH_REQUIRE_GPIOLIB
287 select SYS_HAS_EARLY_PRINTK
ab5330eb 288 select HAVE_CLK
83bc7692 289 select GENERIC_IRQ_CHIP
5ebabe59 290
171bb2f1
JC
291config LANTIQ
292 bool "Lantiq based platforms"
293 select DMA_NONCOHERENT
294 select IRQ_CPU
295 select CEVT_R4K
296 select CSRC_R4K
297 select SYS_HAS_CPU_MIPS32_R1
298 select SYS_HAS_CPU_MIPS32_R2
299 select SYS_SUPPORTS_BIG_ENDIAN
300 select SYS_SUPPORTS_32BIT_KERNEL
377cb1b6 301 select SYS_SUPPORTS_MIPS16
171bb2f1
JC
302 select SYS_SUPPORTS_MULTITHREADING
303 select SYS_HAS_EARLY_PRINTK
304 select ARCH_REQUIRE_GPIOLIB
305 select SWAP_IO_SPACE
306 select BOOT_RAW
287e3f3f
JC
307 select HAVE_MACH_CLKDEV
308 select CLKDEV_LOOKUP
a0392222 309 select USE_OF
3f8c50c9
JC
310 select PINCTRL
311 select PINCTRL_LANTIQ
c530781c
JC
312 select ARCH_HAS_RESET_CONTROLLER
313 select RESET_CONTROLLER
171bb2f1 314
1f21d2bd
BM
315config LASAT
316 bool "LASAT Networks platforms"
42f77542 317 select CEVT_R4K
16f0bbbc 318 select CRC32
940f6b48 319 select CSRC_R4K
1f21d2bd
BM
320 select DMA_NONCOHERENT
321 select SYS_HAS_EARLY_PRINTK
322 select HW_HAS_PCI
a5ccfe5c 323 select IRQ_CPU
1f21d2bd
BM
324 select PCI_GT64XXX_PCI0
325 select MIPS_NILE4
326 select R5000_CPU_SCACHE
327 select SYS_HAS_CPU_R5000
328 select SYS_SUPPORTS_32BIT_KERNEL
329 select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
330 select SYS_SUPPORTS_LITTLE_ENDIAN
1f21d2bd 331
85749d24
WZ
332config MACH_LOONGSON
333 bool "Loongson family of machines"
c7e8c668 334 select SYS_SUPPORTS_ZBOOT
ade299d8 335 help
85749d24
WZ
336 This enables the support of Loongson family of machines.
337
338 Loongson is a family of general-purpose MIPS-compatible CPUs.
339 developed at Institute of Computing Technology (ICT),
340 Chinese Academy of Sciences (CAS) in the People's Republic
341 of China. The chief architect is Professor Weiwu Hu.
ade299d8 342
ca585cf9
KC
343config MACH_LOONGSON1
344 bool "Loongson 1 family of machines"
345 select SYS_SUPPORTS_ZBOOT
346 help
347 This enables support for the Loongson 1 based machines.
348
349 Loongson 1 is a family of 32-bit MIPS-compatible SoCs developed by
350 the ICT (Institute of Computing Technology) and the Chinese Academy
351 of Sciences.
352
1da177e4 353config MIPS_MALTA
3fa986fa 354 bool "MIPS Malta board"
61ed242d 355 select ARCH_MAY_HAVE_PC_FDC
1da177e4 356 select BOOT_ELF32
fa71c960 357 select BOOT_RAW
42f77542 358 select CEVT_R4K
940f6b48 359 select CSRC_R4K
fa5635a2 360 select CLKSRC_MIPS_GIC
885014bc 361 select DMA_MAYBE_COHERENT
1da177e4 362 select GENERIC_ISA_DMA
8a118c38 363 select HAVE_PCSPKR_PLATFORM
aa414dff 364 select IRQ_CPU
8a19b8f1 365 select MIPS_GIC
1da177e4 366 select HW_HAS_PCI
d865bea4 367 select I8253
1da177e4 368 select I8259
5e83d430 369 select MIPS_BONITO64
9318c51a 370 select MIPS_CPU_SCACHE
a7ef1ead 371 select MIPS_L1_CACHE_SHIFT_6
252161ec 372 select PCI_GT64XXX_PCI0
5e83d430 373 select MIPS_MSC
1da177e4 374 select SWAP_IO_SPACE
7cf8053b
RB
375 select SYS_HAS_CPU_MIPS32_R1
376 select SYS_HAS_CPU_MIPS32_R2
bfc3c5a6 377 select SYS_HAS_CPU_MIPS32_R3_5
7cf8053b 378 select SYS_HAS_CPU_MIPS64_R1
5d9fbed1 379 select SYS_HAS_CPU_MIPS64_R2
7cf8053b
RB
380 select SYS_HAS_CPU_NEVADA
381 select SYS_HAS_CPU_RM7000
ed5ba2fb
YY
382 select SYS_SUPPORTS_32BIT_KERNEL
383 select SYS_SUPPORTS_64BIT_KERNEL
5e83d430
RB
384 select SYS_SUPPORTS_BIG_ENDIAN
385 select SYS_SUPPORTS_LITTLE_ENDIAN
0365070f 386 select SYS_SUPPORTS_MIPS_CMP
e56b6aa6 387 select SYS_SUPPORTS_MIPS_CPS
377cb1b6 388 select SYS_SUPPORTS_MIPS16
f41ae0b2 389 select SYS_SUPPORTS_MULTITHREADING
9693a853 390 select SYS_SUPPORTS_SMARTMIPS
1b93b3c3 391 select SYS_SUPPORTS_ZBOOT
1da177e4 392 help
f638d197 393 This enables support for the MIPS Technologies Malta evaluation
1da177e4
LT
394 board.
395
ec47b274
SH
396config MIPS_SEAD3
397 bool "MIPS SEAD3 board"
398 select BOOT_ELF32
399 select BOOT_RAW
f262b5f2 400 select BUILTIN_DTB
ec47b274
SH
401 select CEVT_R4K
402 select CSRC_R4K
fa5635a2 403 select CLKSRC_MIPS_GIC
ec47b274
SH
404 select CPU_MIPSR2_IRQ_VI
405 select CPU_MIPSR2_IRQ_EI
406 select DMA_NONCOHERENT
407 select IRQ_CPU
8a19b8f1 408 select MIPS_GIC
44327236 409 select LIBFDT
ec47b274
SH
410 select MIPS_MSC
411 select SYS_HAS_CPU_MIPS32_R1
412 select SYS_HAS_CPU_MIPS32_R2
413 select SYS_HAS_CPU_MIPS64_R1
414 select SYS_HAS_EARLY_PRINTK
415 select SYS_SUPPORTS_32BIT_KERNEL
416 select SYS_SUPPORTS_64BIT_KERNEL
417 select SYS_SUPPORTS_BIG_ENDIAN
418 select SYS_SUPPORTS_LITTLE_ENDIAN
419 select SYS_SUPPORTS_SMARTMIPS
a6a4834c 420 select SYS_SUPPORTS_MICROMIPS
377cb1b6 421 select SYS_SUPPORTS_MIPS16
ec47b274
SH
422 select USB_EHCI_BIG_ENDIAN_DESC
423 select USB_EHCI_BIG_ENDIAN_MMIO
9b731009 424 select USE_OF
ec47b274
SH
425 help
426 This enables support for the MIPS Technologies SEAD3 evaluation
427 board.
428
a83860c2
RB
429config NEC_MARKEINS
430 bool "NEC EMMA2RH Mark-eins board"
431 select SOC_EMMA2RH
432 select HW_HAS_PCI
433 help
434 This enables support for the NEC Electronics Mark-eins boards.
ade299d8 435
5e83d430 436config MACH_VR41XX
74142d65 437 bool "NEC VR4100 series based machines"
42f77542 438 select CEVT_R4K
940f6b48 439 select CSRC_R4K
7cf8053b 440 select SYS_HAS_CPU_VR41XX
377cb1b6 441 select SYS_SUPPORTS_MIPS16
27fdd325 442 select ARCH_REQUIRE_GPIOLIB
5e83d430 443
edb6310a
DL
444config NXP_STB220
445 bool "NXP STB220 board"
446 select SOC_PNX833X
447 help
448 Support for NXP Semiconductors STB220 Development Board.
449
450config NXP_STB225
451 bool "NXP 225 board"
452 select SOC_PNX833X
453 select SOC_PNX8335
454 help
455 Support for NXP Semiconductors STB225 Development Board.
456
9267a30d
MSJ
457config PMC_MSP
458 bool "PMC-Sierra MSP chipsets"
39d30c13
A
459 select CEVT_R4K
460 select CSRC_R4K
9267a30d
MSJ
461 select DMA_NONCOHERENT
462 select SWAP_IO_SPACE
463 select NO_EXCEPT_FILL
464 select BOOT_RAW
465 select SYS_HAS_CPU_MIPS32_R1
466 select SYS_HAS_CPU_MIPS32_R2
467 select SYS_SUPPORTS_32BIT_KERNEL
468 select SYS_SUPPORTS_BIG_ENDIAN
377cb1b6 469 select SYS_SUPPORTS_MIPS16
9267a30d
MSJ
470 select IRQ_CPU
471 select SERIAL_8250
472 select SERIAL_8250_CONSOLE
9296d94d
FF
473 select USB_EHCI_BIG_ENDIAN_MMIO
474 select USB_EHCI_BIG_ENDIAN_DESC
9267a30d
MSJ
475 help
476 This adds support for the PMC-Sierra family of Multi-Service
477 Processor System-On-A-Chips. These parts include a number
478 of integrated peripherals, interfaces and DSPs in addition to
479 a variety of MIPS cores.
480
ae2b5bb6
JC
481config RALINK
482 bool "Ralink based machines"
483 select CEVT_R4K
484 select CSRC_R4K
485 select BOOT_RAW
486 select DMA_NONCOHERENT
487 select IRQ_CPU
488 select USE_OF
489 select SYS_HAS_CPU_MIPS32_R1
490 select SYS_HAS_CPU_MIPS32_R2
491 select SYS_SUPPORTS_32BIT_KERNEL
492 select SYS_SUPPORTS_LITTLE_ENDIAN
377cb1b6 493 select SYS_SUPPORTS_MIPS16
ae2b5bb6
JC
494 select SYS_HAS_EARLY_PRINTK
495 select HAVE_MACH_CLKDEV
496 select CLKDEV_LOOKUP
2a153f1c
JC
497 select ARCH_HAS_RESET_CONTROLLER
498 select RESET_CONTROLLER
ae2b5bb6 499
1da177e4 500config SGI_IP22
3fa986fa 501 bool "SGI IP22 (Indy/Indigo2)"
0e2794b0
RB
502 select FW_ARC
503 select FW_ARC32
1da177e4 504 select BOOT_ELF32
42f77542 505 select CEVT_R4K
940f6b48 506 select CSRC_R4K
e2defae5 507 select DEFAULT_SGI_PARTITION
1da177e4 508 select DMA_NONCOHERENT
5e83d430 509 select HW_HAS_EISA
d865bea4 510 select I8253
68de4803 511 select I8259
1da177e4
LT
512 select IP22_CPU_SCACHE
513 select IRQ_CPU
aa414dff 514 select GENERIC_ISA_DMA_SUPPORT_BROKEN
e2defae5
TB
515 select SGI_HAS_I8042
516 select SGI_HAS_INDYDOG
36e5c21d 517 select SGI_HAS_HAL2
e2defae5
TB
518 select SGI_HAS_SEEQ
519 select SGI_HAS_WD93
520 select SGI_HAS_ZILOG
1da177e4 521 select SWAP_IO_SPACE
7cf8053b
RB
522 select SYS_HAS_CPU_R4X00
523 select SYS_HAS_CPU_R5000
2b5e63f6
MM
524 #
525 # Disable EARLY_PRINTK for now since it leads to overwritten prom
526 # memory during early boot on some machines.
527 #
528 # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
529 # for a more details discussion
530 #
531 # select SYS_HAS_EARLY_PRINTK
ed5ba2fb
YY
532 select SYS_SUPPORTS_32BIT_KERNEL
533 select SYS_SUPPORTS_64BIT_KERNEL
5e83d430 534 select SYS_SUPPORTS_BIG_ENDIAN
930beb5a 535 select MIPS_L1_CACHE_SHIFT_7
1da177e4
LT
536 help
537 This are the SGI Indy, Challenge S and Indigo2, as well as certain
538 OEM variants like the Tandem CMN B006S. To compile a Linux kernel
539 that runs on these, say Y here.
540
541config SGI_IP27
3fa986fa 542 bool "SGI IP27 (Origin200/2000)"
0e2794b0
RB
543 select FW_ARC
544 select FW_ARC64
5e83d430 545 select BOOT_ELF64
e2defae5 546 select DEFAULT_SGI_PARTITION
634286f1 547 select DMA_COHERENT
36a88530 548 select SYS_HAS_EARLY_PRINTK
1da177e4 549 select HW_HAS_PCI
130e2fb7 550 select NR_CPUS_DEFAULT_64
7cf8053b 551 select SYS_HAS_CPU_R10000
ed5ba2fb 552 select SYS_SUPPORTS_64BIT_KERNEL
5e83d430 553 select SYS_SUPPORTS_BIG_ENDIAN
d8cb4e11 554 select SYS_SUPPORTS_NUMA
1a5c5de1 555 select SYS_SUPPORTS_SMP
930beb5a 556 select MIPS_L1_CACHE_SHIFT_7
1da177e4
LT
557 help
558 This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
559 workstations. To compile a Linux kernel that runs on these, say Y
560 here.
561
e2defae5 562config SGI_IP28
7d60717e 563 bool "SGI IP28 (Indigo2 R10k)"
0e2794b0
RB
564 select FW_ARC
565 select FW_ARC64
e2defae5
TB
566 select BOOT_ELF64
567 select CEVT_R4K
568 select CSRC_R4K
569 select DEFAULT_SGI_PARTITION
570 select DMA_NONCOHERENT
571 select GENERIC_ISA_DMA_SUPPORT_BROKEN
572 select IRQ_CPU
573 select HW_HAS_EISA
574 select I8253
575 select I8259
e2defae5
TB
576 select SGI_HAS_I8042
577 select SGI_HAS_INDYDOG
5b438c44 578 select SGI_HAS_HAL2
e2defae5
TB
579 select SGI_HAS_SEEQ
580 select SGI_HAS_WD93
581 select SGI_HAS_ZILOG
582 select SWAP_IO_SPACE
583 select SYS_HAS_CPU_R10000
2b5e63f6
MM
584 #
585 # Disable EARLY_PRINTK for now since it leads to overwritten prom
586 # memory during early boot on some machines.
587 #
588 # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
589 # for a more details discussion
590 #
591 # select SYS_HAS_EARLY_PRINTK
e2defae5
TB
592 select SYS_SUPPORTS_64BIT_KERNEL
593 select SYS_SUPPORTS_BIG_ENDIAN
dc24d68d 594 select MIPS_L1_CACHE_SHIFT_7
e2defae5
TB
595 help
596 This is the SGI Indigo2 with R10000 processor. To compile a Linux
597 kernel that runs on these, say Y here.
598
1da177e4 599config SGI_IP32
cfd2afc0 600 bool "SGI IP32 (O2)"
0e2794b0
RB
601 select FW_ARC
602 select FW_ARC32
1da177e4 603 select BOOT_ELF32
42f77542 604 select CEVT_R4K
940f6b48 605 select CSRC_R4K
1da177e4
LT
606 select DMA_NONCOHERENT
607 select HW_HAS_PCI
dd67b155 608 select IRQ_CPU
1da177e4
LT
609 select R5000_CPU_SCACHE
610 select RM7000_CPU_SCACHE
7cf8053b
RB
611 select SYS_HAS_CPU_R5000
612 select SYS_HAS_CPU_R10000 if BROKEN
613 select SYS_HAS_CPU_RM7000
dd2f18fe 614 select SYS_HAS_CPU_NEVADA
ed5ba2fb 615 select SYS_SUPPORTS_64BIT_KERNEL
23fbee9d 616 select SYS_SUPPORTS_BIG_ENDIAN
23fbee9d 617 help
5e83d430 618 If you want this kernel to run on SGI O2 workstation, say Y here.
1da177e4 619
ade299d8
YY
620config SIBYTE_CRHINE
621 bool "Sibyte BCM91120C-CRhine"
9a6dcea1
AI
622 select BOOT_ELF32
623 select DMA_COHERENT
ade299d8 624 select SIBYTE_BCM1120
9a6dcea1 625 select SWAP_IO_SPACE
7cf8053b 626 select SYS_HAS_CPU_SB1
9a6dcea1
AI
627 select SYS_SUPPORTS_BIG_ENDIAN
628 select SYS_SUPPORTS_LITTLE_ENDIAN
629
ade299d8
YY
630config SIBYTE_CARMEL
631 bool "Sibyte BCM91120x-Carmel"
5e83d430 632 select BOOT_ELF32
1da177e4 633 select DMA_COHERENT
ade299d8 634 select SIBYTE_BCM1120
5e83d430 635 select SWAP_IO_SPACE
7cf8053b 636 select SYS_HAS_CPU_SB1
81731f79 637 select SYS_SUPPORTS_BIG_ENDIAN
5e83d430 638 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 639
ade299d8
YY
640config SIBYTE_CRHONE
641 bool "Sibyte BCM91125C-CRhone"
5e83d430
RB
642 select BOOT_ELF32
643 select DMA_COHERENT
ade299d8 644 select SIBYTE_BCM1125
5e83d430 645 select SWAP_IO_SPACE
7cf8053b 646 select SYS_HAS_CPU_SB1
5e83d430 647 select SYS_SUPPORTS_BIG_ENDIAN
ade299d8 648 select SYS_SUPPORTS_HIGHMEM
5e83d430 649 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 650
5e83d430 651config SIBYTE_RHONE
3fa986fa 652 bool "Sibyte BCM91125E-Rhone"
5e83d430
RB
653 select BOOT_ELF32
654 select DMA_COHERENT
655 select SIBYTE_BCM1125H
656 select SWAP_IO_SPACE
7cf8053b 657 select SYS_HAS_CPU_SB1
5e83d430
RB
658 select SYS_SUPPORTS_BIG_ENDIAN
659 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 660
ade299d8
YY
661config SIBYTE_SWARM
662 bool "Sibyte BCM91250A-SWARM"
5e83d430 663 select BOOT_ELF32
26a940e2 664 select DMA_COHERENT
fcf3ca4c 665 select HAVE_PATA_PLATFORM
ade299d8 666 select SIBYTE_SB1250
5e83d430 667 select SWAP_IO_SPACE
7cf8053b 668 select SYS_HAS_CPU_SB1
5e83d430 669 select SYS_SUPPORTS_BIG_ENDIAN
ade299d8 670 select SYS_SUPPORTS_HIGHMEM
e3ad1c23 671 select SYS_SUPPORTS_LITTLE_ENDIAN
cce335ae 672 select ZONE_DMA32 if 64BIT
e3ad1c23 673
ade299d8
YY
674config SIBYTE_LITTLESUR
675 bool "Sibyte BCM91250C2-LittleSur"
5e83d430
RB
676 select BOOT_ELF32
677 select DMA_COHERENT
fcf3ca4c 678 select HAVE_PATA_PLATFORM
5e83d430
RB
679 select SIBYTE_SB1250
680 select SWAP_IO_SPACE
7cf8053b 681 select SYS_HAS_CPU_SB1
5e83d430
RB
682 select SYS_SUPPORTS_BIG_ENDIAN
683 select SYS_SUPPORTS_HIGHMEM
684 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 685
ade299d8
YY
686config SIBYTE_SENTOSA
687 bool "Sibyte BCM91250E-Sentosa"
5e83d430
RB
688 select BOOT_ELF32
689 select DMA_COHERENT
690 select SIBYTE_SB1250
691 select SWAP_IO_SPACE
7cf8053b 692 select SYS_HAS_CPU_SB1
5e83d430 693 select SYS_SUPPORTS_BIG_ENDIAN
5e83d430 694 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 695
ade299d8
YY
696config SIBYTE_BIGSUR
697 bool "Sibyte BCM91480B-BigSur"
5e83d430
RB
698 select BOOT_ELF32
699 select DMA_COHERENT
ade299d8 700 select NR_CPUS_DEFAULT_4
ade299d8 701 select SIBYTE_BCM1x80
5e83d430 702 select SWAP_IO_SPACE
7cf8053b 703 select SYS_HAS_CPU_SB1
5e83d430 704 select SYS_SUPPORTS_BIG_ENDIAN
651194f8 705 select SYS_SUPPORTS_HIGHMEM
5e83d430 706 select SYS_SUPPORTS_LITTLE_ENDIAN
cce335ae 707 select ZONE_DMA32 if 64BIT
1da177e4 708
14b36af4
TB
709config SNI_RM
710 bool "SNI RM200/300/400"
0e2794b0
RB
711 select FW_ARC if CPU_LITTLE_ENDIAN
712 select FW_ARC32 if CPU_LITTLE_ENDIAN
aaa9fad3 713 select FW_SNIPROM if CPU_BIG_ENDIAN
61ed242d 714 select ARCH_MAY_HAVE_PC_FDC
1da177e4 715 select BOOT_ELF32
42f77542 716 select CEVT_R4K
940f6b48 717 select CSRC_R4K
e2defae5 718 select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
1da177e4
LT
719 select DMA_NONCOHERENT
720 select GENERIC_ISA_DMA
8a118c38 721 select HAVE_PCSPKR_PLATFORM
5e83d430 722 select HW_HAS_EISA
1da177e4 723 select HW_HAS_PCI
c066a32a 724 select IRQ_CPU
d865bea4 725 select I8253
1da177e4
LT
726 select I8259
727 select ISA
4a0312fc 728 select SWAP_IO_SPACE if CPU_BIG_ENDIAN
7cf8053b 729 select SYS_HAS_CPU_R4X00
4a0312fc 730 select SYS_HAS_CPU_R5000
c066a32a 731 select SYS_HAS_CPU_R10000
4a0312fc 732 select R5000_CPU_SCACHE
36a88530 733 select SYS_HAS_EARLY_PRINTK
ed5ba2fb 734 select SYS_SUPPORTS_32BIT_KERNEL
7d60717e 735 select SYS_SUPPORTS_64BIT_KERNEL
4a0312fc 736 select SYS_SUPPORTS_BIG_ENDIAN
797798c1 737 select SYS_SUPPORTS_HIGHMEM
5e83d430 738 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 739 help
14b36af4
TB
740 The SNI RM200/300/400 are MIPS-based machines manufactured by
741 Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
1da177e4
LT
742 Technology and now in turn merged with Fujitsu. Say Y here to
743 support this machine type.
744
edcaf1a6
AN
745config MACH_TX39XX
746 bool "Toshiba TX39 series based machines"
5e83d430 747
edcaf1a6
AN
748config MACH_TX49XX
749 bool "Toshiba TX49 series based machines"
5e83d430 750
73b4390f
RB
751config MIKROTIK_RB532
752 bool "Mikrotik RB532 boards"
753 select CEVT_R4K
754 select CSRC_R4K
755 select DMA_NONCOHERENT
73b4390f
RB
756 select HW_HAS_PCI
757 select IRQ_CPU
758 select SYS_HAS_CPU_MIPS32_R1
759 select SYS_SUPPORTS_32BIT_KERNEL
760 select SYS_SUPPORTS_LITTLE_ENDIAN
761 select SWAP_IO_SPACE
762 select BOOT_RAW
d888e25b 763 select ARCH_REQUIRE_GPIOLIB
930beb5a 764 select MIPS_L1_CACHE_SHIFT_4
73b4390f
RB
765 help
766 Support the Mikrotik(tm) RouterBoard 532 series,
767 based on the IDT RC32434 SoC.
768
9ddebc46
DD
769config CAVIUM_OCTEON_SOC
770 bool "Cavium Networks Octeon SoC based boards"
a86c7f72
DD
771 select CEVT_R4K
772 select 64BIT_PHYS_ADDR
773 select DMA_COHERENT
774 select SYS_SUPPORTS_64BIT_KERNEL
775 select SYS_SUPPORTS_BIG_ENDIAN
f65aad41 776 select EDAC_SUPPORT
773cb77d 777 select SYS_SUPPORTS_HOTPLUG_CPU
a86c7f72 778 select SYS_HAS_EARLY_PRINTK
5e683389 779 select SYS_HAS_CPU_CAVIUM_OCTEON
a86c7f72 780 select SWAP_IO_SPACE
e8635b48 781 select HW_HAS_PCI
f00e001e 782 select ZONE_DMA32
465aaed0 783 select HOLES_IN_ZONE
99cab4bb 784 select ARCH_REQUIRE_GPIOLIB
6e511163
DD
785 select LIBFDT
786 select USE_OF
787 select ARCH_SPARSEMEM_ENABLE
788 select SYS_SUPPORTS_SMP
789 select NR_CPUS_DEFAULT_16
e326479f 790 select BUILTIN_DTB
a86c7f72
DD
791 help
792 This option supports all of the Octeon reference boards from Cavium
793 Networks. It builds a kernel that dynamically determines the Octeon
794 CPU type and supports all known board reference implementations.
795 Some of the supported boards are:
796 EBT3000
797 EBH3000
798 EBH3100
799 Thunder
800 Kodama
801 Hikari
802 Say Y here for most Octeon reference boards.
803
7f058e85
J
804config NLM_XLR_BOARD
805 bool "Netlogic XLR/XLS based systems"
7f058e85
J
806 select BOOT_ELF32
807 select NLM_COMMON
7f058e85
J
808 select SYS_HAS_CPU_XLR
809 select SYS_SUPPORTS_SMP
810 select HW_HAS_PCI
811 select SWAP_IO_SPACE
812 select SYS_SUPPORTS_32BIT_KERNEL
813 select SYS_SUPPORTS_64BIT_KERNEL
814 select 64BIT_PHYS_ADDR
815 select SYS_SUPPORTS_BIG_ENDIAN
816 select SYS_SUPPORTS_HIGHMEM
817 select DMA_COHERENT
818 select NR_CPUS_DEFAULT_32
819 select CEVT_R4K
820 select CSRC_R4K
821 select IRQ_CPU
b97215fd 822 select ZONE_DMA32 if 64BIT
7f058e85
J
823 select SYNC_R4K
824 select SYS_HAS_EARLY_PRINTK
8f0b0430
J
825 select SYS_SUPPORTS_ZBOOT
826 select SYS_SUPPORTS_ZBOOT_UART16550
7f058e85
J
827 help
828 Support for systems based on Netlogic XLR and XLS processors.
829 Say Y here if you have a XLR or XLS based board.
830
1c773ea4
J
831config NLM_XLP_BOARD
832 bool "Netlogic XLP based systems"
1c773ea4
J
833 select BOOT_ELF32
834 select NLM_COMMON
835 select SYS_HAS_CPU_XLP
836 select SYS_SUPPORTS_SMP
837 select HW_HAS_PCI
1c773ea4
J
838 select SYS_SUPPORTS_32BIT_KERNEL
839 select SYS_SUPPORTS_64BIT_KERNEL
840 select 64BIT_PHYS_ADDR
841 select SYS_SUPPORTS_BIG_ENDIAN
842 select SYS_SUPPORTS_LITTLE_ENDIAN
843 select SYS_SUPPORTS_HIGHMEM
844 select DMA_COHERENT
845 select NR_CPUS_DEFAULT_32
846 select CEVT_R4K
847 select CSRC_R4K
848 select IRQ_CPU
b97215fd 849 select ZONE_DMA32 if 64BIT
1c773ea4
J
850 select SYNC_R4K
851 select SYS_HAS_EARLY_PRINTK
2f6528e1 852 select USE_OF
8f0b0430
J
853 select SYS_SUPPORTS_ZBOOT
854 select SYS_SUPPORTS_ZBOOT_UART16550
1c773ea4
J
855 help
856 This board is based on Netlogic XLP Processor.
857 Say Y here if you have a XLP based board.
858
9bc463be
DD
859config MIPS_PARAVIRT
860 bool "Para-Virtualized guest system"
861 select CEVT_R4K
862 select CSRC_R4K
863 select DMA_COHERENT
864 select SYS_SUPPORTS_64BIT_KERNEL
865 select SYS_SUPPORTS_32BIT_KERNEL
866 select SYS_SUPPORTS_BIG_ENDIAN
867 select SYS_SUPPORTS_SMP
868 select NR_CPUS_DEFAULT_4
869 select SYS_HAS_EARLY_PRINTK
870 select SYS_HAS_CPU_MIPS32_R2
871 select SYS_HAS_CPU_MIPS64_R2
872 select SYS_HAS_CPU_CAVIUM_OCTEON
873 select HW_HAS_PCI
874 select SWAP_IO_SPACE
875 help
876 This option supports guest running under ????
877
5e83d430 878endchoice
1da177e4 879
e8c7c482 880source "arch/mips/alchemy/Kconfig"
3b12308f 881source "arch/mips/ath25/Kconfig"
d4a67d9d 882source "arch/mips/ath79/Kconfig"
a656ffcb 883source "arch/mips/bcm47xx/Kconfig"
e7300d04 884source "arch/mips/bcm63xx/Kconfig"
5e83d430 885source "arch/mips/jazz/Kconfig"
5ebabe59 886source "arch/mips/jz4740/Kconfig"
8ec6d935 887source "arch/mips/lantiq/Kconfig"
1f21d2bd 888source "arch/mips/lasat/Kconfig"
0f3a05cb 889source "arch/mips/pmcs-msp71xx/Kconfig"
ae2b5bb6 890source "arch/mips/ralink/Kconfig"
29c48699 891source "arch/mips/sgi-ip27/Kconfig"
38b18f72 892source "arch/mips/sibyte/Kconfig"
22b1d707 893source "arch/mips/txx9/Kconfig"
5e83d430 894source "arch/mips/vr41xx/Kconfig"
a86c7f72 895source "arch/mips/cavium-octeon/Kconfig"
85749d24 896source "arch/mips/loongson/Kconfig"
ca585cf9 897source "arch/mips/loongson1/Kconfig"
7f058e85 898source "arch/mips/netlogic/Kconfig"
ae6e7e63 899source "arch/mips/paravirt/Kconfig"
38b18f72 900
5e83d430
RB
901endmenu
902
1da177e4
LT
903config RWSEM_GENERIC_SPINLOCK
904 bool
905 default y
906
907config RWSEM_XCHGADD_ALGORITHM
908 bool
909
f0d1b0b3
DH
910config ARCH_HAS_ILOG2_U32
911 bool
912 default n
913
914config ARCH_HAS_ILOG2_U64
915 bool
916 default n
917
3c9ee7ef
AM
918config GENERIC_HWEIGHT
919 bool
920 default y
921
1da177e4
LT
922config GENERIC_CALIBRATE_DELAY
923 bool
924 default y
925
ae1e9130 926config SCHED_OMIT_FRAME_POINTER
1cc89038
AN
927 bool
928 default y
929
1da177e4
LT
930#
931# Select some configuration options automatically based on user selections.
932#
0e2794b0 933config FW_ARC
1da177e4 934 bool
1da177e4 935
61ed242d
RB
936config ARCH_MAY_HAVE_PC_FDC
937 bool
938
9267a30d
MSJ
939config BOOT_RAW
940 bool
941
217dd11e
RB
942config CEVT_BCM1480
943 bool
944
6457d9fc
YY
945config CEVT_DS1287
946 bool
947
1097c6ac
YY
948config CEVT_GT641XX
949 bool
950
42f77542
RB
951config CEVT_R4K
952 bool
953
217dd11e
RB
954config CEVT_SB1250
955 bool
956
229f773e
AN
957config CEVT_TXX9
958 bool
959
217dd11e
RB
960config CSRC_BCM1480
961 bool
962
4247417d
YY
963config CSRC_IOASIC
964 bool
965
940f6b48
RB
966config CSRC_R4K
967 bool
968
217dd11e
RB
969config CSRC_SB1250
970 bool
971
a9aec7fe 972config GPIO_TXX9
7444a72e 973 select ARCH_REQUIRE_GPIOLIB
a9aec7fe
AN
974 bool
975
0e2794b0 976config FW_CFE
df78b5c8
AJ
977 bool
978
4bafad92
FT
979config ARCH_DMA_ADDR_T_64BIT
980 def_bool (HIGHMEM && 64BIT_PHYS_ADDR) || 64BIT
981
885014bc
FF
982config DMA_MAYBE_COHERENT
983 select DMA_NONCOHERENT
984 bool
985
4ce588cd 986config DMA_COHERENT
1da177e4
LT
987 bool
988
4ce588cd
RB
989config DMA_NONCOHERENT
990 bool
e1e02b32 991 select NEED_DMA_MAP_STATE
4ce588cd 992
e1e02b32 993config NEED_DMA_MAP_STATE
1da177e4
LT
994 bool
995
36a88530 996config SYS_HAS_EARLY_PRINTK
1da177e4 997 bool
1da177e4 998
dbb74540 999config HOTPLUG_CPU
1b2bc75c 1000 bool "Support for hot-pluggable CPUs"
40b31360 1001 depends on SMP && SYS_SUPPORTS_HOTPLUG_CPU
1b2bc75c
RB
1002 help
1003 Say Y here to allow turning CPUs off and on. CPUs can be
1004 controlled through /sys/devices/system/cpu.
1005 (Note: power management support will enable this option
1006 automatically on SMP systems. )
1007 Say N if you want to disable CPU hotplug.
1008
1009config SYS_SUPPORTS_HOTPLUG_CPU
dbb74540 1010 bool
dbb74540 1011
1da177e4
LT
1012config I8259
1013 bool
079a4601 1014 select IRQ_DOMAIN
1da177e4 1015
1da177e4
LT
1016config MIPS_BONITO64
1017 bool
1da177e4
LT
1018
1019config MIPS_MSC
1020 bool
1da177e4 1021
1f21d2bd
BM
1022config MIPS_NILE4
1023 bool
1024
39b8d525
RB
1025config SYNC_R4K
1026 bool
1027
487d70d0
GJ
1028config MIPS_MACHINE
1029 def_bool n
1030
ce816fa8 1031config NO_IOPORT_MAP
d388d685
MR
1032 def_bool n
1033
8313da30
RB
1034config GENERIC_ISA_DMA
1035 bool
1036 select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
a35bee8a 1037 select ISA_DMA_API
8313da30 1038
aa414dff
RB
1039config GENERIC_ISA_DMA_SUPPORT_BROKEN
1040 bool
8313da30 1041 select GENERIC_ISA_DMA
aa414dff 1042
a35bee8a
NK
1043config ISA_DMA_API
1044 bool
1045
465aaed0
DD
1046config HOLES_IN_ZONE
1047 bool
1048
5e83d430 1049#
6b2aac42 1050# Endianness selection. Sufficiently obscure so many users don't know what to
5e83d430
RB
1051# answer,so we try hard to limit the available choices. Also the use of a
1052# choice statement should be more obvious to the user.
1053#
1054choice
6b2aac42 1055 prompt "Endianness selection"
1da177e4
LT
1056 help
1057 Some MIPS machines can be configured for either little or big endian
5e83d430 1058 byte order. These modes require different kernels and a different
3cb2fccc 1059 Linux distribution. In general there is one preferred byteorder for a
5e83d430 1060 particular system but some systems are just as commonly used in the
3dde6ad8 1061 one or the other endianness.
5e83d430
RB
1062
1063config CPU_BIG_ENDIAN
1064 bool "Big endian"
1065 depends on SYS_SUPPORTS_BIG_ENDIAN
1066
1067config CPU_LITTLE_ENDIAN
1068 bool "Little endian"
1069 depends on SYS_SUPPORTS_LITTLE_ENDIAN
5e83d430
RB
1070
1071endchoice
1072
22b0763a
DD
1073config EXPORT_UASM
1074 bool
1075
2116245e
RB
1076config SYS_SUPPORTS_APM_EMULATION
1077 bool
1078
5e83d430
RB
1079config SYS_SUPPORTS_BIG_ENDIAN
1080 bool
1081
1082config SYS_SUPPORTS_LITTLE_ENDIAN
1083 bool
1da177e4 1084
9cffd154
DD
1085config SYS_SUPPORTS_HUGETLBFS
1086 bool
1087 depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
1088 default y
1089
aa1762f4
DD
1090config MIPS_HUGE_TLB_SUPPORT
1091 def_bool HUGETLB_PAGE || TRANSPARENT_HUGEPAGE
1092
1da177e4
LT
1093config IRQ_CPU
1094 bool
0f84c305 1095 select IRQ_DOMAIN
1da177e4
LT
1096
1097config IRQ_CPU_RM7K
1098 bool
1099
9267a30d
MSJ
1100config IRQ_MSP_SLP
1101 bool
1102
1103config IRQ_MSP_CIC
1104 bool
1105
8420fd00
AN
1106config IRQ_TXX9
1107 bool
1108
d5ab1a69
YY
1109config IRQ_GT641XX
1110 bool
1111
252161ec 1112config PCI_GT64XXX_PCI0
1da177e4 1113 bool
1da177e4 1114
9267a30d
MSJ
1115config NO_EXCEPT_FILL
1116 bool
1117
a83860c2
RB
1118config SOC_EMMA2RH
1119 bool
1120 select CEVT_R4K
1121 select CSRC_R4K
1122 select DMA_NONCOHERENT
1123 select IRQ_CPU
1124 select SWAP_IO_SPACE
1125 select SYS_HAS_CPU_R5500
1126 select SYS_SUPPORTS_32BIT_KERNEL
1127 select SYS_SUPPORTS_64BIT_KERNEL
1128 select SYS_SUPPORTS_BIG_ENDIAN
1129
edb6310a
DL
1130config SOC_PNX833X
1131 bool
1132 select CEVT_R4K
1133 select CSRC_R4K
1134 select IRQ_CPU
1135 select DMA_NONCOHERENT
1136 select SYS_HAS_CPU_MIPS32_R2
1137 select SYS_SUPPORTS_32BIT_KERNEL
1138 select SYS_SUPPORTS_LITTLE_ENDIAN
1139 select SYS_SUPPORTS_BIG_ENDIAN
377cb1b6 1140 select SYS_SUPPORTS_MIPS16
edb6310a
DL
1141 select CPU_MIPSR2_IRQ_VI
1142
1143config SOC_PNX8335
1144 bool
1145 select SOC_PNX833X
1146
1da177e4
LT
1147config SWAP_IO_SPACE
1148 bool
1149
e2defae5
TB
1150config SGI_HAS_INDYDOG
1151 bool
1152
5b438c44
TB
1153config SGI_HAS_HAL2
1154 bool
1155
e2defae5
TB
1156config SGI_HAS_SEEQ
1157 bool
1158
1159config SGI_HAS_WD93
1160 bool
1161
1162config SGI_HAS_ZILOG
1163 bool
1164
1165config SGI_HAS_I8042
1166 bool
1167
1168config DEFAULT_SGI_PARTITION
1169 bool
1170
0e2794b0 1171config FW_ARC32
5e83d430
RB
1172 bool
1173
aaa9fad3 1174config FW_SNIPROM
231a35d3
TB
1175 bool
1176
1da177e4
LT
1177config BOOT_ELF32
1178 bool
1da177e4 1179
930beb5a
FF
1180config MIPS_L1_CACHE_SHIFT_4
1181 bool
1182
1183config MIPS_L1_CACHE_SHIFT_5
1184 bool
1185
1186config MIPS_L1_CACHE_SHIFT_6
1187 bool
1188
1189config MIPS_L1_CACHE_SHIFT_7
1190 bool
1191
1da177e4
LT
1192config MIPS_L1_CACHE_SHIFT
1193 int
a4c0201e
FF
1194 default "4" if MIPS_L1_CACHE_SHIFT_4
1195 default "5" if MIPS_L1_CACHE_SHIFT_5
1196 default "6" if MIPS_L1_CACHE_SHIFT_6
1197 default "7" if MIPS_L1_CACHE_SHIFT_7
1da177e4
LT
1198 default "5"
1199
1da177e4
LT
1200config HAVE_STD_PC_SERIAL_PORT
1201 bool
1202
1da177e4
LT
1203config ARC_CONSOLE
1204 bool "ARC console support"
e2defae5 1205 depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
1da177e4
LT
1206
1207config ARC_MEMORY
1208 bool
14b36af4 1209 depends on MACH_JAZZ || SNI_RM || SGI_IP32
1da177e4
LT
1210 default y
1211
1212config ARC_PROMLIB
1213 bool
e2defae5 1214 depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
1da177e4
LT
1215 default y
1216
0e2794b0 1217config FW_ARC64
1da177e4 1218 bool
1da177e4
LT
1219
1220config BOOT_ELF64
1221 bool
1da177e4 1222
1da177e4
LT
1223menu "CPU selection"
1224
1225choice
1226 prompt "CPU type"
1227 default CPU_R4X00
1228
0e476d91
HC
1229config CPU_LOONGSON3
1230 bool "Loongson 3 CPU"
1231 depends on SYS_HAS_CPU_LOONGSON3
1232 select CPU_SUPPORTS_64BIT_KERNEL
1233 select CPU_SUPPORTS_HIGHMEM
1234 select CPU_SUPPORTS_HUGEPAGES
1235 select WEAK_ORDERING
1236 select WEAK_REORDERING_BEYOND_LLSC
1237 help
1238 The Loongson 3 processor implements the MIPS64R2 instruction
1239 set with many extensions.
1240
3702bba5
WZ
1241config CPU_LOONGSON2E
1242 bool "Loongson 2E"
1243 depends on SYS_HAS_CPU_LOONGSON2E
1244 select CPU_LOONGSON2
2a21c730
FZ
1245 help
1246 The Loongson 2E processor implements the MIPS III instruction set
1247 with many extensions.
1248
25985edc 1249 It has an internal FPGA northbridge, which is compatible to
6f7a251a
WZ
1250 bonito64.
1251
1252config CPU_LOONGSON2F
1253 bool "Loongson 2F"
1254 depends on SYS_HAS_CPU_LOONGSON2F
1255 select CPU_LOONGSON2
c197da91 1256 select ARCH_REQUIRE_GPIOLIB
6f7a251a
WZ
1257 help
1258 The Loongson 2F processor implements the MIPS III instruction set
1259 with many extensions.
1260
1261 Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
1262 have a similar programming interface with FPGA northbridge used in
1263 Loongson2E.
1264
ca585cf9
KC
1265config CPU_LOONGSON1B
1266 bool "Loongson 1B"
1267 depends on SYS_HAS_CPU_LOONGSON1B
1268 select CPU_LOONGSON1
1269 help
1270 The Loongson 1B is a 32-bit SoC, which implements the MIPS32
1271 release 2 instruction set.
1272
6e760c8d
RB
1273config CPU_MIPS32_R1
1274 bool "MIPS32 Release 1"
7cf8053b 1275 depends on SYS_HAS_CPU_MIPS32_R1
6e760c8d 1276 select CPU_HAS_PREFETCH
797798c1 1277 select CPU_SUPPORTS_32BIT_KERNEL
ec28f306 1278 select CPU_SUPPORTS_HIGHMEM
1e5f1caa 1279 help
5e83d430 1280 Choose this option to build a kernel for release 1 or later of the
1e5f1caa
RB
1281 MIPS32 architecture. Most modern embedded systems with a 32-bit
1282 MIPS processor are based on a MIPS32 processor. If you know the
1283 specific type of processor in your system, choose those that one
1284 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1285 Release 2 of the MIPS32 architecture is available since several
1286 years so chances are you even have a MIPS32 Release 2 processor
1287 in which case you should choose CPU_MIPS32_R2 instead for better
1288 performance.
1289
1290config CPU_MIPS32_R2
1291 bool "MIPS32 Release 2"
7cf8053b 1292 depends on SYS_HAS_CPU_MIPS32_R2
1e5f1caa 1293 select CPU_HAS_PREFETCH
797798c1 1294 select CPU_SUPPORTS_32BIT_KERNEL
ec28f306 1295 select CPU_SUPPORTS_HIGHMEM
a5e9a69e 1296 select CPU_SUPPORTS_MSA
2235a54d 1297 select HAVE_KVM
6e760c8d 1298 help
5e83d430 1299 Choose this option to build a kernel for release 2 or later of the
6e760c8d
RB
1300 MIPS32 architecture. Most modern embedded systems with a 32-bit
1301 MIPS processor are based on a MIPS32 processor. If you know the
1302 specific type of processor in your system, choose those that one
1303 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1304
1305config CPU_MIPS64_R1
1306 bool "MIPS64 Release 1"
7cf8053b 1307 depends on SYS_HAS_CPU_MIPS64_R1
797798c1 1308 select CPU_HAS_PREFETCH
ed5ba2fb
YY
1309 select CPU_SUPPORTS_32BIT_KERNEL
1310 select CPU_SUPPORTS_64BIT_KERNEL
ec28f306 1311 select CPU_SUPPORTS_HIGHMEM
9cffd154 1312 select CPU_SUPPORTS_HUGEPAGES
6e760c8d
RB
1313 help
1314 Choose this option to build a kernel for release 1 or later of the
1315 MIPS64 architecture. Many modern embedded systems with a 64-bit
1316 MIPS processor are based on a MIPS64 processor. If you know the
1317 specific type of processor in your system, choose those that one
1318 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
1e5f1caa
RB
1319 Release 2 of the MIPS64 architecture is available since several
1320 years so chances are you even have a MIPS64 Release 2 processor
1321 in which case you should choose CPU_MIPS64_R2 instead for better
1322 performance.
1323
1324config CPU_MIPS64_R2
1325 bool "MIPS64 Release 2"
7cf8053b 1326 depends on SYS_HAS_CPU_MIPS64_R2
797798c1 1327 select CPU_HAS_PREFETCH
1e5f1caa
RB
1328 select CPU_SUPPORTS_32BIT_KERNEL
1329 select CPU_SUPPORTS_64BIT_KERNEL
ec28f306 1330 select CPU_SUPPORTS_HIGHMEM
9cffd154 1331 select CPU_SUPPORTS_HUGEPAGES
a5e9a69e 1332 select CPU_SUPPORTS_MSA
1e5f1caa
RB
1333 help
1334 Choose this option to build a kernel for release 2 or later of the
1335 MIPS64 architecture. Many modern embedded systems with a 64-bit
1336 MIPS processor are based on a MIPS64 processor. If you know the
1337 specific type of processor in your system, choose those that one
1338 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
1da177e4
LT
1339
1340config CPU_R3000
1341 bool "R3000"
7cf8053b 1342 depends on SYS_HAS_CPU_R3000
f7062ddb 1343 select CPU_HAS_WB
ed5ba2fb 1344 select CPU_SUPPORTS_32BIT_KERNEL
797798c1 1345 select CPU_SUPPORTS_HIGHMEM
1da177e4
LT
1346 help
1347 Please make sure to pick the right CPU type. Linux/MIPS is not
1348 designed to be generic, i.e. Kernels compiled for R3000 CPUs will
1349 *not* work on R4000 machines and vice versa. However, since most
1350 of the supported machines have an R4000 (or similar) CPU, R4x00
1351 might be a safe bet. If the resulting kernel does not work,
1352 try to recompile with R3000.
1353
1354config CPU_TX39XX
1355 bool "R39XX"
7cf8053b 1356 depends on SYS_HAS_CPU_TX39XX
ed5ba2fb 1357 select CPU_SUPPORTS_32BIT_KERNEL
1da177e4
LT
1358
1359config CPU_VR41XX
1360 bool "R41xx"
7cf8053b 1361 depends on SYS_HAS_CPU_VR41XX
ed5ba2fb
YY
1362 select CPU_SUPPORTS_32BIT_KERNEL
1363 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4 1364 help
5e83d430 1365 The options selects support for the NEC VR4100 series of processors.
1da177e4
LT
1366 Only choose this option if you have one of these processors as a
1367 kernel built with this option will not run on any other type of
1368 processor or vice versa.
1369
1370config CPU_R4300
1371 bool "R4300"
7cf8053b 1372 depends on SYS_HAS_CPU_R4300
ed5ba2fb
YY
1373 select CPU_SUPPORTS_32BIT_KERNEL
1374 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1375 help
1376 MIPS Technologies R4300-series processors.
1377
1378config CPU_R4X00
1379 bool "R4x00"
7cf8053b 1380 depends on SYS_HAS_CPU_R4X00
ed5ba2fb
YY
1381 select CPU_SUPPORTS_32BIT_KERNEL
1382 select CPU_SUPPORTS_64BIT_KERNEL
970d032f 1383 select CPU_SUPPORTS_HUGEPAGES
1da177e4
LT
1384 help
1385 MIPS Technologies R4000-series processors other than 4300, including
1386 the R4000, R4400, R4600, and 4700.
1387
1388config CPU_TX49XX
1389 bool "R49XX"
7cf8053b 1390 depends on SYS_HAS_CPU_TX49XX
de862b48 1391 select CPU_HAS_PREFETCH
ed5ba2fb
YY
1392 select CPU_SUPPORTS_32BIT_KERNEL
1393 select CPU_SUPPORTS_64BIT_KERNEL
970d032f 1394 select CPU_SUPPORTS_HUGEPAGES
1da177e4
LT
1395
1396config CPU_R5000
1397 bool "R5000"
7cf8053b 1398 depends on SYS_HAS_CPU_R5000
ed5ba2fb
YY
1399 select CPU_SUPPORTS_32BIT_KERNEL
1400 select CPU_SUPPORTS_64BIT_KERNEL
970d032f 1401 select CPU_SUPPORTS_HUGEPAGES
1da177e4
LT
1402 help
1403 MIPS Technologies R5000-series processors other than the Nevada.
1404
1405config CPU_R5432
1406 bool "R5432"
7cf8053b 1407 depends on SYS_HAS_CPU_R5432
5e83d430
RB
1408 select CPU_SUPPORTS_32BIT_KERNEL
1409 select CPU_SUPPORTS_64BIT_KERNEL
970d032f 1410 select CPU_SUPPORTS_HUGEPAGES
1da177e4 1411
542c1020
SK
1412config CPU_R5500
1413 bool "R5500"
1414 depends on SYS_HAS_CPU_R5500
542c1020
SK
1415 select CPU_SUPPORTS_32BIT_KERNEL
1416 select CPU_SUPPORTS_64BIT_KERNEL
9cffd154 1417 select CPU_SUPPORTS_HUGEPAGES
542c1020
SK
1418 help
1419 NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
1420 instruction set.
1421
1da177e4
LT
1422config CPU_R6000
1423 bool "R6000"
7cf8053b 1424 depends on SYS_HAS_CPU_R6000
ed5ba2fb 1425 select CPU_SUPPORTS_32BIT_KERNEL
1da177e4
LT
1426 help
1427 MIPS Technologies R6000 and R6000A series processors. Note these
c09b47d8 1428 processors are extremely rare and the support for them is incomplete.
1da177e4
LT
1429
1430config CPU_NEVADA
1431 bool "RM52xx"
7cf8053b 1432 depends on SYS_HAS_CPU_NEVADA
ed5ba2fb
YY
1433 select CPU_SUPPORTS_32BIT_KERNEL
1434 select CPU_SUPPORTS_64BIT_KERNEL
970d032f 1435 select CPU_SUPPORTS_HUGEPAGES
1da177e4
LT
1436 help
1437 QED / PMC-Sierra RM52xx-series ("Nevada") processors.
1438
1439config CPU_R8000
1440 bool "R8000"
7cf8053b 1441 depends on SYS_HAS_CPU_R8000
5e83d430 1442 select CPU_HAS_PREFETCH
ed5ba2fb 1443 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1444 help
1445 MIPS Technologies R8000 processors. Note these processors are
1446 uncommon and the support for them is incomplete.
1447
1448config CPU_R10000
1449 bool "R10000"
7cf8053b 1450 depends on SYS_HAS_CPU_R10000
5e83d430 1451 select CPU_HAS_PREFETCH
ed5ba2fb
YY
1452 select CPU_SUPPORTS_32BIT_KERNEL
1453 select CPU_SUPPORTS_64BIT_KERNEL
797798c1 1454 select CPU_SUPPORTS_HIGHMEM
970d032f 1455 select CPU_SUPPORTS_HUGEPAGES
1da177e4
LT
1456 help
1457 MIPS Technologies R10000-series processors.
1458
1459config CPU_RM7000
1460 bool "RM7000"
7cf8053b 1461 depends on SYS_HAS_CPU_RM7000
5e83d430 1462 select CPU_HAS_PREFETCH
ed5ba2fb
YY
1463 select CPU_SUPPORTS_32BIT_KERNEL
1464 select CPU_SUPPORTS_64BIT_KERNEL
797798c1 1465 select CPU_SUPPORTS_HIGHMEM
970d032f 1466 select CPU_SUPPORTS_HUGEPAGES
1da177e4
LT
1467
1468config CPU_SB1
1469 bool "SB1"
7cf8053b 1470 depends on SYS_HAS_CPU_SB1
ed5ba2fb
YY
1471 select CPU_SUPPORTS_32BIT_KERNEL
1472 select CPU_SUPPORTS_64BIT_KERNEL
797798c1 1473 select CPU_SUPPORTS_HIGHMEM
970d032f 1474 select CPU_SUPPORTS_HUGEPAGES
0004a9df 1475 select WEAK_ORDERING
1da177e4 1476
a86c7f72
DD
1477config CPU_CAVIUM_OCTEON
1478 bool "Cavium Octeon processor"
5e683389 1479 depends on SYS_HAS_CPU_CAVIUM_OCTEON
a86c7f72
DD
1480 select CPU_HAS_PREFETCH
1481 select CPU_SUPPORTS_64BIT_KERNEL
a86c7f72 1482 select WEAK_ORDERING
a86c7f72 1483 select CPU_SUPPORTS_HIGHMEM
9cffd154 1484 select CPU_SUPPORTS_HUGEPAGES
9296d94d 1485 select USB_EHCI_BIG_ENDIAN_MMIO
930beb5a 1486 select MIPS_L1_CACHE_SHIFT_7
a86c7f72
DD
1487 help
1488 The Cavium Octeon processor is a highly integrated chip containing
1489 many ethernet hardware widgets for networking tasks. The processor
1490 can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
1491 Full details can be found at http://www.caviumnetworks.com.
1492
cd746249
JG
1493config CPU_BMIPS
1494 bool "Broadcom BMIPS"
1495 depends on SYS_HAS_CPU_BMIPS
1496 select CPU_MIPS32
fe7f62c0 1497 select CPU_BMIPS32_3300 if SYS_HAS_CPU_BMIPS32_3300
cd746249
JG
1498 select CPU_BMIPS4350 if SYS_HAS_CPU_BMIPS4350
1499 select CPU_BMIPS4380 if SYS_HAS_CPU_BMIPS4380
1500 select CPU_BMIPS5000 if SYS_HAS_CPU_BMIPS5000
1501 select CPU_SUPPORTS_32BIT_KERNEL
1502 select DMA_NONCOHERENT
1503 select IRQ_CPU
1504 select SWAP_IO_SPACE
1505 select WEAK_ORDERING
c1c0c461 1506 select CPU_SUPPORTS_HIGHMEM
69aaf9c8 1507 select CPU_HAS_PREFETCH
c1c0c461 1508 help
fe7f62c0 1509 Support for BMIPS32/3300/4350/4380 and BMIPS5000 processors.
c1c0c461 1510
7f058e85
J
1511config CPU_XLR
1512 bool "Netlogic XLR SoC"
1513 depends on SYS_HAS_CPU_XLR
1514 select CPU_SUPPORTS_32BIT_KERNEL
1515 select CPU_SUPPORTS_64BIT_KERNEL
1516 select CPU_SUPPORTS_HIGHMEM
970d032f 1517 select CPU_SUPPORTS_HUGEPAGES
7f058e85
J
1518 select WEAK_ORDERING
1519 select WEAK_REORDERING_BEYOND_LLSC
7f058e85
J
1520 help
1521 Netlogic Microsystems XLR/XLS processors.
1c773ea4
J
1522
1523config CPU_XLP
1524 bool "Netlogic XLP SoC"
1525 depends on SYS_HAS_CPU_XLP
1526 select CPU_SUPPORTS_32BIT_KERNEL
1527 select CPU_SUPPORTS_64BIT_KERNEL
1528 select CPU_SUPPORTS_HIGHMEM
1c773ea4
J
1529 select WEAK_ORDERING
1530 select WEAK_REORDERING_BEYOND_LLSC
1531 select CPU_HAS_PREFETCH
d6504846 1532 select CPU_MIPSR2
1c773ea4
J
1533 help
1534 Netlogic Microsystems XLP processors.
1da177e4
LT
1535endchoice
1536
a6e18781
LY
1537config CPU_MIPS32_3_5_FEATURES
1538 bool "MIPS32 Release 3.5 Features"
1539 depends on SYS_HAS_CPU_MIPS32_R3_5
1540 depends on CPU_MIPS32_R2
1541 help
1542 Choose this option to build a kernel for release 2 or later of the
1543 MIPS32 architecture including features from the 3.5 release such as
1544 support for Enhanced Virtual Addressing (EVA).
1545
1546config CPU_MIPS32_3_5_EVA
1547 bool "Enhanced Virtual Addressing (EVA)"
1548 depends on CPU_MIPS32_3_5_FEATURES
1549 select EVA
1550 default y
1551 help
1552 Choose this option if you want to enable the Enhanced Virtual
1553 Addressing (EVA) on your MIPS32 core (such as proAptiv).
1554 One of its primary benefits is an increase in the maximum size
1555 of lowmem (up to 3GB). If unsure, say 'N' here.
1556
622844bf
WZ
1557if CPU_LOONGSON2F
1558config CPU_NOP_WORKAROUNDS
1559 bool
1560
1561config CPU_JUMP_WORKAROUNDS
1562 bool
1563
1564config CPU_LOONGSON2F_WORKAROUNDS
1565 bool "Loongson 2F Workarounds"
1566 default y
1567 select CPU_NOP_WORKAROUNDS
1568 select CPU_JUMP_WORKAROUNDS
1569 help
1570 Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which
1571 require workarounds. Without workarounds the system may hang
1572 unexpectedly. For more information please refer to the gas
1573 -mfix-loongson2f-nop and -mfix-loongson2f-jump options.
1574
1575 Loongson 2F03 and later have fixed these issues and no workarounds
1576 are needed. The workarounds have no significant side effect on them
1577 but may decrease the performance of the system so this option should
1578 be disabled unless the kernel is intended to be run on 2F01 or 2F02
1579 systems.
1580
1581 If unsure, please say Y.
1582endif # CPU_LOONGSON2F
1583
1b93b3c3
WZ
1584config SYS_SUPPORTS_ZBOOT
1585 bool
1586 select HAVE_KERNEL_GZIP
1587 select HAVE_KERNEL_BZIP2
31c4867d 1588 select HAVE_KERNEL_LZ4
1b93b3c3 1589 select HAVE_KERNEL_LZMA
fe1d45e0 1590 select HAVE_KERNEL_LZO
4e23eb63 1591 select HAVE_KERNEL_XZ
1b93b3c3
WZ
1592
1593config SYS_SUPPORTS_ZBOOT_UART16550
1594 bool
1595 select SYS_SUPPORTS_ZBOOT
1596
3702bba5
WZ
1597config CPU_LOONGSON2
1598 bool
1599 select CPU_SUPPORTS_32BIT_KERNEL
1600 select CPU_SUPPORTS_64BIT_KERNEL
1601 select CPU_SUPPORTS_HIGHMEM
970d032f 1602 select CPU_SUPPORTS_HUGEPAGES
3702bba5 1603
ca585cf9
KC
1604config CPU_LOONGSON1
1605 bool
1606 select CPU_MIPS32
1607 select CPU_MIPSR2
1608 select CPU_HAS_PREFETCH
1609 select CPU_SUPPORTS_32BIT_KERNEL
1610 select CPU_SUPPORTS_HIGHMEM
f29ad10d 1611 select CPU_SUPPORTS_CPUFREQ
ca585cf9 1612
fe7f62c0 1613config CPU_BMIPS32_3300
04fa8bf7 1614 select SMP_UP if SMP
1bbb6c1b 1615 bool
cd746249
JG
1616
1617config CPU_BMIPS4350
1618 bool
1619 select SYS_SUPPORTS_SMP
1620 select SYS_SUPPORTS_HOTPLUG_CPU
1621
1622config CPU_BMIPS4380
1623 bool
bbf2ba67 1624 select MIPS_L1_CACHE_SHIFT_6
cd746249
JG
1625 select SYS_SUPPORTS_SMP
1626 select SYS_SUPPORTS_HOTPLUG_CPU
1627
1628config CPU_BMIPS5000
1629 bool
cd746249 1630 select MIPS_CPU_SCACHE
bbf2ba67 1631 select MIPS_L1_CACHE_SHIFT_7
cd746249
JG
1632 select SYS_SUPPORTS_SMP
1633 select SYS_SUPPORTS_HOTPLUG_CPU
1bbb6c1b 1634
0e476d91
HC
1635config SYS_HAS_CPU_LOONGSON3
1636 bool
1637 select CPU_SUPPORTS_CPUFREQ
1638
3702bba5 1639config SYS_HAS_CPU_LOONGSON2E
2a21c730
FZ
1640 bool
1641
6f7a251a
WZ
1642config SYS_HAS_CPU_LOONGSON2F
1643 bool
55045ff5
WZ
1644 select CPU_SUPPORTS_CPUFREQ
1645 select CPU_SUPPORTS_ADDRWINCFG if 64BIT
22f1fdfd 1646 select CPU_SUPPORTS_UNCACHED_ACCELERATED
6f7a251a 1647
ca585cf9
KC
1648config SYS_HAS_CPU_LOONGSON1B
1649 bool
1650
7cf8053b
RB
1651config SYS_HAS_CPU_MIPS32_R1
1652 bool
1653
1654config SYS_HAS_CPU_MIPS32_R2
1655 bool
1656
a6e18781
LY
1657config SYS_HAS_CPU_MIPS32_R3_5
1658 bool
1659
7cf8053b
RB
1660config SYS_HAS_CPU_MIPS64_R1
1661 bool
1662
1663config SYS_HAS_CPU_MIPS64_R2
1664 bool
1665
1666config SYS_HAS_CPU_R3000
1667 bool
1668
1669config SYS_HAS_CPU_TX39XX
1670 bool
1671
1672config SYS_HAS_CPU_VR41XX
1673 bool
1674
1675config SYS_HAS_CPU_R4300
1676 bool
1677
1678config SYS_HAS_CPU_R4X00
1679 bool
1680
1681config SYS_HAS_CPU_TX49XX
1682 bool
1683
1684config SYS_HAS_CPU_R5000
1685 bool
1686
1687config SYS_HAS_CPU_R5432
1688 bool
1689
542c1020
SK
1690config SYS_HAS_CPU_R5500
1691 bool
1692
7cf8053b
RB
1693config SYS_HAS_CPU_R6000
1694 bool
1695
1696config SYS_HAS_CPU_NEVADA
1697 bool
1698
1699config SYS_HAS_CPU_R8000
1700 bool
1701
1702config SYS_HAS_CPU_R10000
1703 bool
1704
1705config SYS_HAS_CPU_RM7000
1706 bool
1707
7cf8053b
RB
1708config SYS_HAS_CPU_SB1
1709 bool
1710
5e683389
DD
1711config SYS_HAS_CPU_CAVIUM_OCTEON
1712 bool
1713
cd746249 1714config SYS_HAS_CPU_BMIPS
c1c0c461
KC
1715 bool
1716
fe7f62c0 1717config SYS_HAS_CPU_BMIPS32_3300
c1c0c461 1718 bool
cd746249 1719 select SYS_HAS_CPU_BMIPS
c1c0c461
KC
1720
1721config SYS_HAS_CPU_BMIPS4350
1722 bool
cd746249 1723 select SYS_HAS_CPU_BMIPS
c1c0c461
KC
1724
1725config SYS_HAS_CPU_BMIPS4380
1726 bool
cd746249 1727 select SYS_HAS_CPU_BMIPS
c1c0c461
KC
1728
1729config SYS_HAS_CPU_BMIPS5000
1730 bool
cd746249 1731 select SYS_HAS_CPU_BMIPS
c1c0c461 1732
7f058e85
J
1733config SYS_HAS_CPU_XLR
1734 bool
1735
1c773ea4
J
1736config SYS_HAS_CPU_XLP
1737 bool
1738
b6911bba
PB
1739config MIPS_MALTA_PM
1740 depends on MIPS_MALTA
1741 depends on PCI
1742 bool
1743 default y
1744
17099b11
RB
1745#
1746# CPU may reorder R->R, R->W, W->R, W->W
1747# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
1748#
0004a9df
RB
1749config WEAK_ORDERING
1750 bool
17099b11
RB
1751
1752#
1753# CPU may reorder reads and writes beyond LL/SC
1754# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
1755#
1756config WEAK_REORDERING_BEYOND_LLSC
1757 bool
5e83d430
RB
1758endmenu
1759
1760#
c09b47d8 1761# These two indicate any level of the MIPS32 and MIPS64 architecture
5e83d430
RB
1762#
1763config CPU_MIPS32
1764 bool
1765 default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
1766
1767config CPU_MIPS64
1768 bool
1769 default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
1770
1771#
c09b47d8 1772# These two indicate the revision of the architecture, either Release 1 or Release 2
5e83d430
RB
1773#
1774config CPU_MIPSR1
1775 bool
1776 default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
1777
1778config CPU_MIPSR2
1779 bool
a86c7f72 1780 default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
5e83d430 1781
a6e18781
LY
1782config EVA
1783 bool
1784
5e83d430
RB
1785config SYS_SUPPORTS_32BIT_KERNEL
1786 bool
1787config SYS_SUPPORTS_64BIT_KERNEL
1788 bool
1789config CPU_SUPPORTS_32BIT_KERNEL
1790 bool
1791config CPU_SUPPORTS_64BIT_KERNEL
1792 bool
55045ff5
WZ
1793config CPU_SUPPORTS_CPUFREQ
1794 bool
1795config CPU_SUPPORTS_ADDRWINCFG
1796 bool
9cffd154
DD
1797config CPU_SUPPORTS_HUGEPAGES
1798 bool
22f1fdfd
WZ
1799config CPU_SUPPORTS_UNCACHED_ACCELERATED
1800 bool
82622284
DD
1801config MIPS_PGD_C0_CONTEXT
1802 bool
d6504846 1803 default y if 64BIT && CPU_MIPSR2 && !CPU_XLP
5e83d430 1804
8192c9ea
DD
1805#
1806# Set to y for ptrace access to watch registers.
1807#
1808config HARDWARE_WATCHPOINTS
1809 bool
f839490a 1810 default y if CPU_MIPSR1 || CPU_MIPSR2
8192c9ea 1811
5e83d430
RB
1812menu "Kernel type"
1813
1814choice
5e83d430
RB
1815 prompt "Kernel code model"
1816 help
1817 You should only select this option if you have a workload that
1818 actually benefits from 64-bit processing or if your machine has
1819 large memory. You will only be presented a single option in this
1820 menu if your system does not support both 32-bit and 64-bit kernels.
1821
1822config 32BIT
1823 bool "32-bit kernel"
1824 depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
1825 select TRAD_SIGNALS
1826 help
1827 Select this option if you want to build a 32-bit kernel.
1828config 64BIT
1829 bool "64-bit kernel"
1830 depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
1831 help
1832 Select this option if you want to build a 64-bit kernel.
1833
1834endchoice
1835
2235a54d
SL
1836config KVM_GUEST
1837 bool "KVM Guest Kernel"
f2a5b1d7 1838 depends on BROKEN_ON_SMP
2235a54d
SL
1839 help
1840 Select this option if building a guest kernel for KVM (Trap & Emulate) mode
1841
eda3d33c
JH
1842config KVM_GUEST_TIMER_FREQ
1843 int "Count/Compare Timer Frequency (MHz)"
2235a54d 1844 depends on KVM_GUEST
eda3d33c 1845 default 100
2235a54d 1846 help
eda3d33c
JH
1847 Set this to non-zero if building a guest kernel for KVM to skip RTC
1848 emulation when determining guest CPU Frequency. Instead, the guest's
1849 timer frequency is specified directly.
2235a54d 1850
1da177e4
LT
1851choice
1852 prompt "Kernel page size"
1853 default PAGE_SIZE_4KB
1854
1855config PAGE_SIZE_4KB
1856 bool "4kB"
0e476d91 1857 depends on !CPU_LOONGSON2 && !CPU_LOONGSON3
1da177e4
LT
1858 help
1859 This option select the standard 4kB Linux page size. On some
1860 R3000-family processors this is the only available page size. Using
1861 4kB page size will minimize memory consumption and is therefore
1862 recommended for low memory systems.
1863
1864config PAGE_SIZE_8KB
1865 bool "8kB"
7d60717e 1866 depends on CPU_R8000 || CPU_CAVIUM_OCTEON
1da177e4
LT
1867 help
1868 Using 8kB page size will result in higher performance kernel at
1869 the price of higher memory consumption. This option is available
c52399be
RB
1870 only on R8000 and cnMIPS processors. Note that you will need a
1871 suitable Linux distribution to support this.
1da177e4
LT
1872
1873config PAGE_SIZE_16KB
1874 bool "16kB"
714bfad6 1875 depends on !CPU_R3000 && !CPU_TX39XX
1da177e4
LT
1876 help
1877 Using 16kB page size will result in higher performance kernel at
1878 the price of higher memory consumption. This option is available on
714bfad6
RB
1879 all non-R3000 family processors. Note that you will need a suitable
1880 Linux distribution to support this.
1da177e4 1881
c52399be
RB
1882config PAGE_SIZE_32KB
1883 bool "32kB"
1884 depends on CPU_CAVIUM_OCTEON
1885 help
1886 Using 32kB page size will result in higher performance kernel at
1887 the price of higher memory consumption. This option is available
1888 only on cnMIPS cores. Note that you will need a suitable Linux
1889 distribution to support this.
1890
1da177e4
LT
1891config PAGE_SIZE_64KB
1892 bool "64kB"
7d60717e 1893 depends on !CPU_R3000 && !CPU_TX39XX
1da177e4
LT
1894 help
1895 Using 64kB page size will result in higher performance kernel at
1896 the price of higher memory consumption. This option is available on
1897 all non-R3000 family processor. Not that at the time of this
714bfad6 1898 writing this option is still high experimental.
1da177e4
LT
1899
1900endchoice
1901
c9bace7c
DD
1902config FORCE_MAX_ZONEORDER
1903 int "Maximum zone order"
e4362d1e
AS
1904 range 14 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB
1905 default "14" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB
1906 range 13 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB
1907 default "13" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB
1908 range 12 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB
1909 default "12" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB
c9bace7c
DD
1910 range 11 64
1911 default "11"
1912 help
1913 The kernel memory allocator divides physically contiguous memory
1914 blocks into "zones", where each zone is a power of two number of
1915 pages. This option selects the largest power of two that the kernel
1916 keeps in the memory allocator. If you need to allocate very large
1917 blocks of physically contiguous memory, then you may need to
1918 increase this value.
1919
1920 This config option is actually maximum order plus one. For example,
1921 a value of 11 means that the largest free memory block is 2^10 pages.
1922
1923 The page size is not necessarily 4KB. Keep this in mind
1924 when choosing a value for this option.
1925
1da177e4
LT
1926config BOARD_SCACHE
1927 bool
1928
1929config IP22_CPU_SCACHE
1930 bool
1931 select BOARD_SCACHE
1932
9318c51a
CD
1933#
1934# Support for a MIPS32 / MIPS64 style S-caches
1935#
1936config MIPS_CPU_SCACHE
1937 bool
1938 select BOARD_SCACHE
1939
1da177e4
LT
1940config R5000_CPU_SCACHE
1941 bool
1942 select BOARD_SCACHE
1943
1944config RM7000_CPU_SCACHE
1945 bool
1946 select BOARD_SCACHE
1947
1948config SIBYTE_DMA_PAGEOPS
1949 bool "Use DMA to clear/copy pages"
1950 depends on CPU_SB1
1951 help
1952 Instead of using the CPU to zero and copy pages, use a Data Mover
1953 channel. These DMA channels are otherwise unused by the standard
1954 SiByte Linux port. Seems to give a small performance benefit.
1955
1956config CPU_HAS_PREFETCH
c8094b53 1957 bool
1da177e4 1958
3165c846
FF
1959config CPU_GENERIC_DUMP_TLB
1960 bool
1961 default y if !(CPU_R3000 || CPU_R6000 || CPU_R8000 || CPU_TX39XX)
1962
91405eb6
FF
1963config CPU_R4K_FPU
1964 bool
1965 default y if !(CPU_R3000 || CPU_R6000 || CPU_TX39XX || CPU_CAVIUM_OCTEON)
1966
62cedc4f
FF
1967config CPU_R4K_CACHE_TLB
1968 bool
1969 default y if !(CPU_R3000 || CPU_R8000 || CPU_SB1 || CPU_TX39XX || CPU_CAVIUM_OCTEON)
1970
59d6ab86 1971config MIPS_MT_SMP
a92b7f87 1972 bool "MIPS MT SMP support (1 TC on each available VPE)"
f41ae0b2 1973 depends on SYS_SUPPORTS_MULTITHREADING
f7062ddb 1974 select CPU_MIPSR2_IRQ_VI
d725cf38 1975 select CPU_MIPSR2_IRQ_EI
c080faa5 1976 select SYNC_R4K
0c2cb004 1977 select MIPS_GIC_IPI
f41ae0b2 1978 select MIPS_MT
41c594ab 1979 select SMP
87353d8a 1980 select SMP_UP
c080faa5
SH
1981 select SYS_SUPPORTS_SMP
1982 select SYS_SUPPORTS_SCHED_SMT
399aaa25 1983 select MIPS_PERF_SHARED_TC_COUNTERS
f41ae0b2 1984 help
c080faa5
SH
1985 This is a kernel model which is known as SMVP. This is supported
1986 on cores with the MT ASE and uses the available VPEs to implement
1987 virtual processors which supports SMP. This is equivalent to the
1988 Intel Hyperthreading feature. For further information go to
1989 <http://www.imgtec.com/mips/mips-multithreading.asp>.
41c594ab 1990
f41ae0b2
RB
1991config MIPS_MT
1992 bool
1993
0ab7aefc
RB
1994config SCHED_SMT
1995 bool "SMT (multithreading) scheduler support"
1996 depends on SYS_SUPPORTS_SCHED_SMT
1997 default n
1998 help
1999 SMT scheduler support improves the CPU scheduler's decision making
2000 when dealing with MIPS MT enabled cores at a cost of slightly
2001 increased overhead in some places. If unsure say N here.
2002
2003config SYS_SUPPORTS_SCHED_SMT
2004 bool
2005
f41ae0b2
RB
2006config SYS_SUPPORTS_MULTITHREADING
2007 bool
2008
f088fc84
RB
2009config MIPS_MT_FPAFF
2010 bool "Dynamic FPU affinity for FP-intensive threads"
f088fc84 2011 default y
b633648c 2012 depends on MIPS_MT_SMP
07cc0c9e
RB
2013
2014config MIPS_VPE_LOADER
2015 bool "VPE loader support."
704e6460 2016 depends on SYS_SUPPORTS_MULTITHREADING && MODULES
07cc0c9e
RB
2017 select CPU_MIPSR2_IRQ_VI
2018 select CPU_MIPSR2_IRQ_EI
07cc0c9e
RB
2019 select MIPS_MT
2020 help
2021 Includes a loader for loading an elf relocatable object
2022 onto another VPE and running it.
f088fc84 2023
17a1d523
DCZ
2024config MIPS_VPE_LOADER_CMP
2025 bool
2026 default "y"
2027 depends on MIPS_VPE_LOADER && MIPS_CMP
2028
1a2a6d7e
DCZ
2029config MIPS_VPE_LOADER_MT
2030 bool
2031 default "y"
2032 depends on MIPS_VPE_LOADER && !MIPS_CMP
2033
e01402b1
RB
2034config MIPS_VPE_LOADER_TOM
2035 bool "Load VPE program into memory hidden from linux"
2036 depends on MIPS_VPE_LOADER
2037 default y
2038 help
2039 The loader can use memory that is present but has been hidden from
2040 Linux using the kernel command line option "mem=xxMB". It's up to
2041 you to ensure the amount you put in the option and the space your
2042 program requires is less or equal to the amount physically present.
2043
e01402b1 2044config MIPS_VPE_APSP_API
5e83d430
RB
2045 bool "Enable support for AP/SP API (RTLX)"
2046 depends on MIPS_VPE_LOADER
2047 help
e01402b1 2048
da615cf6
DCZ
2049config MIPS_VPE_APSP_API_CMP
2050 bool
2051 default "y"
2052 depends on MIPS_VPE_APSP_API && MIPS_CMP
2053
2c973ef0
DCZ
2054config MIPS_VPE_APSP_API_MT
2055 bool
2056 default "y"
2057 depends on MIPS_VPE_APSP_API && !MIPS_CMP
2058
4a16ff4c 2059config MIPS_CMP
5cac93b3 2060 bool "MIPS CMP framework support (DEPRECATED)"
b633648c 2061 depends on SYS_SUPPORTS_MIPS_CMP
72e20142 2062 select MIPS_GIC_IPI
b10b43ba 2063 select SMP
eb9b5141 2064 select SYNC_R4K
b10b43ba 2065 select SYS_SUPPORTS_SMP
4a16ff4c
RB
2066 select WEAK_ORDERING
2067 default n
2068 help
044505c7
PB
2069 Select this if you are using a bootloader which implements the "CMP
2070 framework" protocol (ie. YAMON) and want your kernel to make use of
2071 its ability to start secondary CPUs.
4a16ff4c 2072
5cac93b3
PB
2073 Unless you have a specific need, you should use CONFIG_MIPS_CPS
2074 instead of this.
2075
0ee958e1
PB
2076config MIPS_CPS
2077 bool "MIPS Coherent Processing System support"
2078 depends on SYS_SUPPORTS_MIPS_CPS
2079 select MIPS_CM
2080 select MIPS_CPC
1d8f1f5a 2081 select MIPS_CPS_PM if HOTPLUG_CPU
0ee958e1
PB
2082 select MIPS_GIC_IPI
2083 select SMP
2084 select SYNC_R4K if (CEVT_R4K || CSRC_R4K)
1d8f1f5a 2085 select SYS_SUPPORTS_HOTPLUG_CPU
0ee958e1
PB
2086 select SYS_SUPPORTS_SMP
2087 select WEAK_ORDERING
2088 help
2089 Select this if you wish to run an SMP kernel across multiple cores
2090 within a MIPS Coherent Processing System. When this option is
2091 enabled the kernel will probe for other cores and boot them with
2092 no external assistance. It is safe to enable this when hardware
2093 support is unavailable.
2094
3179d37e 2095config MIPS_CPS_PM
39a59593 2096 depends on MIPS_CPS
a8b84677 2097 select MIPS_CPC
3179d37e
PB
2098 bool
2099
72e20142
PB
2100config MIPS_GIC_IPI
2101 bool
2102
9f98f3dd
PB
2103config MIPS_CM
2104 bool
2105
9c38cf44
PB
2106config MIPS_CPC
2107 bool
4a16ff4c 2108
1da177e4
LT
2109config SB1_PASS_1_WORKAROUNDS
2110 bool
2111 depends on CPU_SB1_PASS_1
2112 default y
2113
2114config SB1_PASS_2_WORKAROUNDS
2115 bool
2116 depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
2117 default y
2118
2119config SB1_PASS_2_1_WORKAROUNDS
2120 bool
2121 depends on CPU_SB1 && CPU_SB1_PASS_2
2122 default y
2123
2235a54d 2124
1da177e4 2125config 64BIT_PHYS_ADDR
d806cb2b 2126 bool
1da177e4 2127
60ec6571 2128config ARCH_PHYS_ADDR_T_64BIT
2129 def_bool 64BIT_PHYS_ADDR
2130
9693a853
FBH
2131config CPU_HAS_SMARTMIPS
2132 depends on SYS_SUPPORTS_SMARTMIPS
2133 bool "Support for the SmartMIPS ASE"
2134 help
2135 SmartMIPS is a extension of the MIPS32 architecture aimed at
2136 increased security at both hardware and software level for
2137 smartcards. Enabling this option will allow proper use of the
2138 SmartMIPS instructions by Linux applications. However a kernel with
2139 this option will not work on a MIPS core without SmartMIPS core. If
2140 you don't know you probably don't have SmartMIPS and should say N
2141 here.
2142
bce86083
SH
2143config CPU_MICROMIPS
2144 depends on SYS_SUPPORTS_MICROMIPS
2145 bool "Build kernel using microMIPS ISA"
2146 help
2147 When this option is enabled the kernel will be built using the
2148 microMIPS ISA
2149
a5e9a69e 2150config CPU_HAS_MSA
4af94d5d 2151 bool "Support for the MIPS SIMD Architecture (EXPERIMENTAL)"
a5e9a69e 2152 depends on CPU_SUPPORTS_MSA
2a6cb669 2153 depends on 64BIT || MIPS_O32_FP64_SUPPORT
a5e9a69e
PB
2154 help
2155 MIPS SIMD Architecture (MSA) introduces 128 bit wide vector registers
2156 and a set of SIMD instructions to operate on them. When this option
1db1af84
PB
2157 is enabled the kernel will support allocating & switching MSA
2158 vector register contexts. If you know that your kernel will only be
2159 running on CPUs which do not support MSA or that your userland will
2160 not be making use of it then you may wish to say N here to reduce
2161 the size & complexity of your kernel.
a5e9a69e
PB
2162
2163 If unsure, say Y.
2164
1da177e4 2165config CPU_HAS_WB
f7062ddb 2166 bool
e01402b1 2167
df0ac8a4
KC
2168config XKS01
2169 bool
2170
f41ae0b2
RB
2171#
2172# Vectored interrupt mode is an R2 feature
2173#
e01402b1 2174config CPU_MIPSR2_IRQ_VI
f41ae0b2 2175 bool
e01402b1 2176
f41ae0b2
RB
2177#
2178# Extended interrupt mode is an R2 feature
2179#
e01402b1 2180config CPU_MIPSR2_IRQ_EI
f41ae0b2 2181 bool
e01402b1 2182
1da177e4
LT
2183config CPU_HAS_SYNC
2184 bool
2185 depends on !CPU_R3000
2186 default y
2187
20d60d99
MR
2188#
2189# CPU non-features
2190#
2191config CPU_DADDI_WORKAROUNDS
2192 bool
2193
2194config CPU_R4000_WORKAROUNDS
2195 bool
2196 select CPU_R4400_WORKAROUNDS
2197
2198config CPU_R4400_WORKAROUNDS
2199 bool
2200
1da177e4
LT
2201#
2202# - Highmem only makes sense for the 32-bit kernel.
2203# - The current highmem code will only work properly on physically indexed
2204# caches such as R3000, SB1, R7000 or those that look like they're virtually
2205# indexed such as R4000/R4400 SC and MC versions or R10000. So for the
2206# moment we protect the user and offer the highmem option only on machines
2207# where it's known to be safe. This will not offer highmem on a few systems
2208# such as MIPS32 and MIPS64 CPUs which may have virtual and physically
2209# indexed CPUs but we're playing safe.
797798c1
RB
2210# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
2211# know they might have memory configurations that could make use of highmem
2212# support.
1da177e4
LT
2213#
2214config HIGHMEM
2215 bool "High Memory Support"
a6e18781 2216 depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM && !CPU_MIPS32_3_5_EVA
797798c1
RB
2217
2218config CPU_SUPPORTS_HIGHMEM
2219 bool
2220
2221config SYS_SUPPORTS_HIGHMEM
2222 bool
1da177e4 2223
9693a853
FBH
2224config SYS_SUPPORTS_SMARTMIPS
2225 bool
2226
a6a4834c
SH
2227config SYS_SUPPORTS_MICROMIPS
2228 bool
2229
377cb1b6
RB
2230config SYS_SUPPORTS_MIPS16
2231 bool
2232 help
2233 This option must be set if a kernel might be executed on a MIPS16-
2234 enabled CPU even if MIPS16 is not actually being used. In other
2235 words, it makes the kernel MIPS16-tolerant.
2236
a5e9a69e
PB
2237config CPU_SUPPORTS_MSA
2238 bool
2239
b4819b59
YY
2240config ARCH_FLATMEM_ENABLE
2241 def_bool y
f133f22d 2242 depends on !NUMA && !CPU_LOONGSON2
b4819b59 2243
d8cb4e11
RB
2244config ARCH_DISCONTIGMEM_ENABLE
2245 bool
2246 default y if SGI_IP27
2247 help
3dde6ad8 2248 Say Y to support efficient handling of discontiguous physical memory,
d8cb4e11
RB
2249 for architectures which are either NUMA (Non-Uniform Memory Access)
2250 or have huge holes in the physical address space for other reasons.
2251 See <file:Documentation/vm/numa> for more.
2252
31473747
AN
2253config ARCH_SPARSEMEM_ENABLE
2254 bool
7de58fab 2255 select SPARSEMEM_STATIC
31473747 2256
d8cb4e11
RB
2257config NUMA
2258 bool "NUMA Support"
2259 depends on SYS_SUPPORTS_NUMA
2260 help
2261 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
2262 Access). This option improves performance on systems with more
2263 than two nodes; on two node systems it is generally better to
2264 leave it disabled; on single node systems disable this option
2265 disabled.
2266
2267config SYS_SUPPORTS_NUMA
2268 bool
2269
c80d79d7
YG
2270config NODES_SHIFT
2271 int
2272 default "6"
2273 depends on NEED_MULTIPLE_NODES
2274
14f70012
DCZ
2275config HW_PERF_EVENTS
2276 bool "Enable hardware performance counter support for perf events"
b633648c 2277 depends on PERF_EVENTS && OPROFILE=n && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON || CPU_XLP)
14f70012
DCZ
2278 default y
2279 help
2280 Enable hardware performance counter support for perf events. If
2281 disabled, perf events will use software events only.
2282
b4819b59
YY
2283source "mm/Kconfig"
2284
1da177e4
LT
2285config SMP
2286 bool "Multi-Processing support"
e73ea273
RB
2287 depends on SYS_SUPPORTS_SMP
2288 help
1da177e4 2289 This enables support for systems with more than one CPU. If you have
4a474157
RG
2290 a system with only one CPU, say N. If you have a system with more
2291 than one CPU, say Y.
1da177e4 2292
4a474157 2293 If you say N here, the kernel will run on uni- and multiprocessor
1da177e4
LT
2294 machines, but will use only one CPU of a multiprocessor machine. If
2295 you say Y here, the kernel will run on many, but not all,
4a474157 2296 uniprocessor machines. On a uniprocessor machine, the kernel
1da177e4
LT
2297 will run faster if you say N here.
2298
2299 People using multiprocessor machines who say Y here should also say
2300 Y to "Enhanced Real Time Clock Support", below.
2301
03502faa
AB
2302 See also the SMP-HOWTO available at
2303 <http://www.tldp.org/docs.html#howto>.
1da177e4
LT
2304
2305 If you don't know what to do here, say N.
2306
87353d8a
RB
2307config SMP_UP
2308 bool
2309
4a16ff4c
RB
2310config SYS_SUPPORTS_MIPS_CMP
2311 bool
2312
0ee958e1
PB
2313config SYS_SUPPORTS_MIPS_CPS
2314 bool
2315
e73ea273
RB
2316config SYS_SUPPORTS_SMP
2317 bool
2318
130e2fb7
RB
2319config NR_CPUS_DEFAULT_4
2320 bool
2321
2322config NR_CPUS_DEFAULT_8
2323 bool
2324
2325config NR_CPUS_DEFAULT_16
2326 bool
2327
2328config NR_CPUS_DEFAULT_32
2329 bool
2330
2331config NR_CPUS_DEFAULT_64
2332 bool
2333
1da177e4 2334config NR_CPUS
a91796a9
J
2335 int "Maximum number of CPUs (2-256)"
2336 range 2 256
1da177e4 2337 depends on SMP
130e2fb7
RB
2338 default "4" if NR_CPUS_DEFAULT_4
2339 default "8" if NR_CPUS_DEFAULT_8
2340 default "16" if NR_CPUS_DEFAULT_16
2341 default "32" if NR_CPUS_DEFAULT_32
2342 default "64" if NR_CPUS_DEFAULT_64
1da177e4
LT
2343 help
2344 This allows you to specify the maximum number of CPUs which this
2345 kernel will support. The maximum supported value is 32 for 32-bit
2346 kernel and 64 for 64-bit kernels; the minimum value which makes
72ede9b1
AN
2347 sense is 1 for Qemu (useful only for kernel debugging purposes)
2348 and 2 for all others.
1da177e4
LT
2349
2350 This is purely to save memory - each supported CPU adds
72ede9b1
AN
2351 approximately eight kilobytes to the kernel image. For best
2352 performance should round up your number of processors to the next
2353 power of two.
1da177e4 2354
399aaa25
AC
2355config MIPS_PERF_SHARED_TC_COUNTERS
2356 bool
2357
1723b4a3
AN
2358#
2359# Timer Interrupt Frequency Configuration
2360#
2361
2362choice
2363 prompt "Timer frequency"
2364 default HZ_250
2365 help
2366 Allows the configuration of the timer frequency.
2367
2368 config HZ_48
0f873585 2369 bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
1723b4a3
AN
2370
2371 config HZ_100
2372 bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
2373
2374 config HZ_128
2375 bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
2376
2377 config HZ_250
2378 bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
2379
2380 config HZ_256
2381 bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
2382
2383 config HZ_1000
2384 bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
2385
2386 config HZ_1024
2387 bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
2388
2389endchoice
2390
2391config SYS_SUPPORTS_48HZ
2392 bool
2393
2394config SYS_SUPPORTS_100HZ
2395 bool
2396
2397config SYS_SUPPORTS_128HZ
2398 bool
2399
2400config SYS_SUPPORTS_250HZ
2401 bool
2402
2403config SYS_SUPPORTS_256HZ
2404 bool
2405
2406config SYS_SUPPORTS_1000HZ
2407 bool
2408
2409config SYS_SUPPORTS_1024HZ
2410 bool
2411
2412config SYS_SUPPORTS_ARBIT_HZ
2413 bool
2414 default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
2415 !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
2416 !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
2417 !SYS_SUPPORTS_1024HZ
2418
2419config HZ
2420 int
2421 default 48 if HZ_48
2422 default 100 if HZ_100
2423 default 128 if HZ_128
2424 default 250 if HZ_250
2425 default 256 if HZ_256
2426 default 1000 if HZ_1000
2427 default 1024 if HZ_1024
2428
e80de850 2429source "kernel/Kconfig.preempt"
1da177e4 2430
ea6e942b 2431config KEXEC
7d60717e 2432 bool "Kexec system call"
ea6e942b
AN
2433 help
2434 kexec is a system call that implements the ability to shutdown your
2435 current kernel, and to start another kernel. It is like a reboot
3dde6ad8 2436 but it is independent of the system firmware. And like a reboot
ea6e942b
AN
2437 you can start any kernel with it, not just Linux.
2438
01dd2fbf 2439 The name comes from the similarity to the exec system call.
ea6e942b
AN
2440
2441 It is an ongoing process to be certain the hardware in a machine
2442 is properly shutdown, so do not be surprised if this code does not
bf220695
GU
2443 initially work for you. As of this writing the exact hardware
2444 interface is strongly in flux, so no good recommendation can be
2445 made.
ea6e942b 2446
7aa1c8f4
RB
2447config CRASH_DUMP
2448 bool "Kernel crash dumps"
2449 help
2450 Generate crash dump after being started by kexec.
2451 This should be normally only set in special crash dump kernels
2452 which are loaded in the main kernel with kexec-tools into
2453 a specially reserved region and then later executed after
2454 a crash by kdump/kexec. The crash dump kernel must be compiled
2455 to a memory address not used by the main kernel or firmware using
2456 PHYSICAL_START.
2457
2458config PHYSICAL_START
2459 hex "Physical address where the kernel is loaded"
2460 default "0xffffffff84000000" if 64BIT
2461 default "0x84000000" if 32BIT
2462 depends on CRASH_DUMP
2463 help
2464 This gives the CKSEG0 or KSEG0 address where the kernel is loaded.
2465 If you plan to use kernel for capturing the crash dump change
2466 this value to start of the reserved region (the "X" value as
2467 specified in the "crashkernel=YM@XM" command line boot parameter
2468 passed to the panic-ed kernel).
2469
ea6e942b
AN
2470config SECCOMP
2471 bool "Enable seccomp to safely compute untrusted bytecode"
293c5bd1 2472 depends on PROC_FS
ea6e942b
AN
2473 default y
2474 help
2475 This kernel feature is useful for number crunching applications
2476 that may need to compute untrusted bytecode during their
2477 execution. By using pipes or other transports made available to
2478 the process as file descriptors supporting the read/write
2479 syscalls, it's possible to isolate those applications in
2480 their own address space using seccomp. Once seccomp is
2481 enabled via /proc/<pid>/seccomp, it cannot be disabled
2482 and the task is only allowed to execute a few safe syscalls
2483 defined by each seccomp mode.
2484
2485 If unsure, say Y. Only embedded should say N here.
2486
597ce172 2487config MIPS_O32_FP64_SUPPORT
06e2e882 2488 bool "Support for O32 binaries using 64-bit FP (EXPERIMENTAL)"
597ce172 2489 depends on 32BIT || MIPS32_O32
597ce172
PB
2490 help
2491 When this is enabled, the kernel will support use of 64-bit floating
2492 point registers with binaries using the O32 ABI along with the
2493 EF_MIPS_FP64 ELF header flag (typically built with -mfp64). On
2494 32-bit MIPS systems this support is at the cost of increasing the
2495 size and complexity of the compiled FPU emulator. Thus if you are
2496 running a MIPS32 system and know that none of your userland binaries
2497 will require 64-bit floating point, you may wish to reduce the size
2498 of your kernel & potentially improve FP emulation performance by
2499 saying N here.
2500
06e2e882
PB
2501 Although binutils currently supports use of this flag the details
2502 concerning its effect upon the O32 ABI in userland are still being
2503 worked on. In order to avoid userland becoming dependant upon current
2504 behaviour before the details have been finalised, this option should
2505 be considered experimental and only enabled by those working upon
2506 said details.
2507
2508 If unsure, say N.
597ce172 2509
f2ffa5ab 2510config USE_OF
0b3e06fd 2511 bool
f2ffa5ab 2512 select OF
e6ce1324 2513 select OF_EARLY_FLATTREE
abd2363f 2514 select IRQ_DOMAIN
f2ffa5ab 2515
7fafb068
AB
2516config BUILTIN_DTB
2517 bool
2518
5e83d430
RB
2519endmenu
2520
1df0f0ff
AN
2521config LOCKDEP_SUPPORT
2522 bool
2523 default y
2524
2525config STACKTRACE_SUPPORT
2526 bool
2527 default y
2528
b6c3539b
RB
2529source "init/Kconfig"
2530
dc52ddc0
MH
2531source "kernel/Kconfig.freezer"
2532
1da177e4
LT
2533menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
2534
5e83d430
RB
2535config HW_HAS_EISA
2536 bool
1da177e4
LT
2537config HW_HAS_PCI
2538 bool
2539
2540config PCI
2541 bool "Support for PCI controller"
2542 depends on HW_HAS_PCI
abb4ae46 2543 select PCI_DOMAINS
0f3b3956 2544 select NO_GENERIC_PCI_IOPORT_MAP
1da177e4
LT
2545 help
2546 Find out whether you have a PCI motherboard. PCI is the name of a
2547 bus system, i.e. the way the CPU talks to the other stuff inside
2548 your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
2549 say Y, otherwise N.
2550
0e476d91
HC
2551config HT_PCI
2552 bool "Support for HT-linked PCI"
2553 default y
2554 depends on CPU_LOONGSON3
2555 select PCI
2556 select PCI_DOMAINS
2557 help
2558 Loongson family machines use Hyper-Transport bus for inter-core
2559 connection and device connection. The PCI bus is a subordinate
2560 linked at HT. Choose Y for Loongson-3 based machines.
2561
1da177e4
LT
2562config PCI_DOMAINS
2563 bool
1da177e4
LT
2564
2565source "drivers/pci/Kconfig"
2566
3f787ca4
JG
2567source "drivers/pci/pcie/Kconfig"
2568
1da177e4
LT
2569#
2570# ISA support is now enabled via select. Too many systems still have the one
2571# or other ISA chip on the board that users don't know about so don't expect
2572# users to choose the right thing ...
2573#
2574config ISA
2575 bool
2576
2577config EISA
2578 bool "EISA support"
5e83d430 2579 depends on HW_HAS_EISA
1da177e4 2580 select ISA
aa414dff 2581 select GENERIC_ISA_DMA
1da177e4
LT
2582 ---help---
2583 The Extended Industry Standard Architecture (EISA) bus was
2584 developed as an open alternative to the IBM MicroChannel bus.
2585
2586 The EISA bus provided some of the features of the IBM MicroChannel
2587 bus while maintaining backward compatibility with cards made for
2588 the older ISA bus. The EISA bus saw limited use between 1988 and
2589 1995 when it was made obsolete by the PCI bus.
2590
2591 Say Y here if you are building a kernel for an EISA-based machine.
2592
2593 Otherwise, say N.
2594
2595source "drivers/eisa/Kconfig"
2596
2597config TC
2598 bool "TURBOchannel support"
2599 depends on MACH_DECSTATION
2600 help
50a23e6e
JM
2601 TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
2602 processors. TURBOchannel programming specifications are available
2603 at:
2604 <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/>
2605 and:
2606 <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/>
2607 Linux driver support status is documented at:
2608 <http://www.linux-mips.org/wiki/DECstation>
1da177e4 2609
1da177e4
LT
2610config MMU
2611 bool
2612 default y
2613
d865bea4
RB
2614config I8253
2615 bool
798778b8 2616 select CLKSRC_I8253
2d02612f 2617 select CLKEVT_I8253
9726b43a 2618 select MIPS_EXTERNAL_TIMER
d865bea4 2619
e05eb3f8
RB
2620config ZONE_DMA
2621 bool
2622
cce335ae
RB
2623config ZONE_DMA32
2624 bool
2625
1da177e4
LT
2626source "drivers/pcmcia/Kconfig"
2627
2628source "drivers/pci/hotplug/Kconfig"
2629
388b78ad 2630config RAPIDIO
56abde72 2631 tristate "RapidIO support"
388b78ad
AB
2632 depends on PCI
2633 default n
2634 help
2635 If you say Y here, the kernel will include drivers and
2636 infrastructure code to support RapidIO interconnect devices.
2637
2638source "drivers/rapidio/Kconfig"
2639
1da177e4
LT
2640endmenu
2641
2642menu "Executable file formats"
2643
2644source "fs/Kconfig.binfmt"
2645
2646config TRAD_SIGNALS
2647 bool
1da177e4 2648
1da177e4
LT
2649config MIPS32_COMPAT
2650 bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
875d43e7 2651 depends on 64BIT
1da177e4
LT
2652 help
2653 Select this option if you want Linux/MIPS 32-bit binary
2654 compatibility. Since all software available for Linux/MIPS is
2655 currently 32-bit you should say Y here.
2656
2657config COMPAT
2658 bool
2659 depends on MIPS32_COMPAT
48b25c43 2660 select ARCH_WANT_OLD_COMPAT_IPC
1da177e4
LT
2661 default y
2662
05e43966
AN
2663config SYSVIPC_COMPAT
2664 bool
2665 depends on COMPAT && SYSVIPC
2666 default y
2667
1da177e4
LT
2668config MIPS32_O32
2669 bool "Kernel support for o32 binaries"
2670 depends on MIPS32_COMPAT
2671 help
2672 Select this option if you want to run o32 binaries. These are pure
2673 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
2674 existing binaries are in this format.
2675
2676 If unsure, say Y.
2677
2678config MIPS32_N32
2679 bool "Kernel support for n32 binaries"
2680 depends on MIPS32_COMPAT
2681 help
2682 Select this option if you want to run n32 binaries. These are
2683 64-bit binaries using 32-bit quantities for addressing and certain
2684 data that would normally be 64-bit. They are used in special
2685 cases.
2686
2687 If unsure, say N.
2688
2689config BINFMT_ELF32
2690 bool
2691 default y if MIPS32_O32 || MIPS32_N32
2692
2116245e
RB
2693endmenu
2694
2695menu "Power management options"
2696
363c55ca
WZ
2697config ARCH_HIBERNATION_POSSIBLE
2698 def_bool y
3f5b3e17 2699 depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
363c55ca 2700
f4cb5700
JB
2701config ARCH_SUSPEND_POSSIBLE
2702 def_bool y
3f5b3e17 2703 depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
f4cb5700 2704
2116245e 2705source "kernel/power/Kconfig"
952fa954 2706
1da177e4
LT
2707endmenu
2708
7a998935
VK
2709config MIPS_EXTERNAL_TIMER
2710 bool
2711
7a998935 2712menu "CPU Power Management"
c095ebaf
PB
2713
2714if CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER
7a998935 2715source "drivers/cpufreq/Kconfig"
7a998935 2716endif
9726b43a 2717
c095ebaf
PB
2718source "drivers/cpuidle/Kconfig"
2719
2720endmenu
2721
d5950b43
SR
2722source "net/Kconfig"
2723
1da177e4
LT
2724source "drivers/Kconfig"
2725
98cdee0e
RB
2726source "drivers/firmware/Kconfig"
2727
1da177e4
LT
2728source "fs/Kconfig"
2729
2730source "arch/mips/Kconfig.debug"
2731
2732source "security/Kconfig"
2733
2734source "crypto/Kconfig"
2735
2736source "lib/Kconfig"
2235a54d
SL
2737
2738source "arch/mips/kvm/Kconfig"
This page took 1.138986 seconds and 5 git commands to generate.