xref: /linux/arch/mips/Kconfig (revision 1f21d2bde0046e959b53756f74d96dfd040a803b)
11da177e4SLinus Torvaldsconfig MIPS
21da177e4SLinus Torvalds	bool
31da177e4SLinus Torvalds	default y
41da177e4SLinus Torvalds	# Horrible source of confusion.  Die, die, die ...
51da177e4SLinus Torvalds	select EMBEDDED
61da177e4SLinus Torvalds
71da177e4SLinus Torvaldsmainmenu "Linux/MIPS Kernel Configuration"
81da177e4SLinus Torvalds
91da177e4SLinus Torvaldsmenu "Machine selection"
101da177e4SLinus Torvalds
115ac6da66SChristoph Lameterconfig ZONE_DMA
125ac6da66SChristoph Lameter	bool
135ac6da66SChristoph Lameter
145e83d430SRalf Baechlechoice
155e83d430SRalf Baechle	prompt "System type"
165e83d430SRalf Baechle	default SGI_IP22
171da177e4SLinus Torvalds
18c3543e25SYoichi Yuasaconfig MACH_ALCHEMY
19c3543e25SYoichi Yuasa	bool "Alchemy processor based machines"
201da177e4SLinus Torvalds
2135189fadSRalf Baechleconfig BASLER_EXCITE
22be91589eSThomas Koeller	bool "Basler eXcite smart camera"
2335189fadSRalf Baechle	select DMA_COHERENT
2435189fadSRalf Baechle	select HW_HAS_PCI
2535189fadSRalf Baechle	select IRQ_CPU
2635189fadSRalf Baechle	select IRQ_CPU_RM7K
2735189fadSRalf Baechle	select IRQ_CPU_RM9K
28663c3d90Sthomas@koeller.dyndns.org	select MIPS_RM9122
2935189fadSRalf Baechle	select SYS_HAS_CPU_RM9000
3035189fadSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3135189fadSRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
32cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
3335189fadSRalf Baechle	help
3435189fadSRalf Baechle	  The eXcite is a smart camera platform manufactured by
35be91589eSThomas Koeller	  Basler Vision Technologies AG.
3635189fadSRalf Baechle
3735189fadSRalf Baechleconfig BASLER_EXCITE_PROTOTYPE
3835189fadSRalf Baechle	bool "Support for pre-release units"
3935189fadSRalf Baechle	depends on BASLER_EXCITE
4035189fadSRalf Baechle	default n
4135189fadSRalf Baechle	help
4235189fadSRalf Baechle	  Pre-series (prototype) units are different from later ones in
4335189fadSRalf Baechle	  some ways. Select this option if you have one of these. Please
4435189fadSRalf Baechle	  note that a kernel built with this option selected will not be
4535189fadSRalf Baechle	  able to run on normal units.
4635189fadSRalf Baechle
471da177e4SLinus Torvaldsconfig MIPS_COBALT
483fa986faSMartin Michlmayr	bool "Cobalt Server"
491da177e4SLinus Torvalds	select DMA_NONCOHERENT
501da177e4SLinus Torvalds	select HW_HAS_PCI
511da177e4SLinus Torvalds	select I8259
521da177e4SLinus Torvalds	select IRQ_CPU
53252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
547cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
550a22e0d4SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
56ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
57ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
585e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
599fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
601da177e4SLinus Torvalds
611da177e4SLinus Torvaldsconfig MACH_DECSTATION
623fa986faSMartin Michlmayr	bool "DECstations"
631da177e4SLinus Torvalds	select BOOT_ELF32
641da177e4SLinus Torvalds	select DMA_NONCOHERENT
65d388d685SMaciej W. Rozycki	select NO_IOPORT
661da177e4SLinus Torvalds	select IRQ_CPU
677cf8053bSRalf Baechle	select SYS_HAS_CPU_R3000
687cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
69ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
70ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
715e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
721723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_128HZ
731723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_256HZ
741723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_1024HZ
755e83d430SRalf Baechle	help
761da177e4SLinus Torvalds	  This enables support for DEC's MIPS based workstations.  For details
771da177e4SLinus Torvalds	  see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
781da177e4SLinus Torvalds	  DECstation porting pages on <http://decstation.unix-ag.org/>.
791da177e4SLinus Torvalds
801da177e4SLinus Torvalds	  If you have one of the following DECstation Models you definitely
811da177e4SLinus Torvalds	  want to choose R4xx0 for the CPU Type:
821da177e4SLinus Torvalds
831da177e4SLinus Torvalds		DECstation 5000/50
841da177e4SLinus Torvalds		DECstation 5000/150
851da177e4SLinus Torvalds		DECstation 5000/260
861da177e4SLinus Torvalds		DECsystem 5900/260
871da177e4SLinus Torvalds
881da177e4SLinus Torvalds	  otherwise choose R3000.
891da177e4SLinus Torvalds
905e83d430SRalf Baechleconfig MACH_JAZZ
913fa986faSMartin Michlmayr	bool "Jazz family of machines"
925e83d430SRalf Baechle	select ARC
935e83d430SRalf Baechle	select ARC32
945e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
955e83d430SRalf Baechle	select GENERIC_ISA_DMA
965e83d430SRalf Baechle	select I8259
975e83d430SRalf Baechle	select ISA
98de61b542SRalf Baechle	select PCSPEAKER
997cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
1005e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
1015e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1021723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_100HZ
1039fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
1041da177e4SLinus Torvalds	help
1055e83d430SRalf Baechle	 This a family of machines based on the MIPS R4030 chipset which was
1065e83d430SRalf Baechle	 used by several vendors to build RISC/os and Windows NT workstations.
1075e83d430SRalf Baechle	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millenium and
1085e83d430SRalf Baechle	 Olivetti M700-10 workstations.
1095e83d430SRalf Baechle
110*1f21d2bdSBrian Murphyconfig LASAT
111*1f21d2bdSBrian Murphy	bool "LASAT Networks platforms"
112*1f21d2bdSBrian Murphy	select DMA_NONCOHERENT
113*1f21d2bdSBrian Murphy	select SYS_HAS_EARLY_PRINTK
114*1f21d2bdSBrian Murphy	select HW_HAS_PCI
115*1f21d2bdSBrian Murphy	select PCI_GT64XXX_PCI0
116*1f21d2bdSBrian Murphy	select MIPS_NILE4
117*1f21d2bdSBrian Murphy	select R5000_CPU_SCACHE
118*1f21d2bdSBrian Murphy	select SYS_HAS_CPU_R5000
119*1f21d2bdSBrian Murphy	select SYS_SUPPORTS_32BIT_KERNEL
120*1f21d2bdSBrian Murphy	select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
121*1f21d2bdSBrian Murphy	select SYS_SUPPORTS_LITTLE_ENDIAN
122*1f21d2bdSBrian Murphy	select GENERIC_HARDIRQS_NO__DO_IRQ
123*1f21d2bdSBrian Murphy
124ade299d8SYoichi Yuasaconfig LEMOTE_FULONG
125ade299d8SYoichi Yuasa	bool "Lemote Fulong mini-PC"
126ade299d8SYoichi Yuasa	select ARCH_SPARSEMEM_ENABLE
127ade299d8SYoichi Yuasa	select SYS_HAS_CPU_LOONGSON2
128ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
129ade299d8SYoichi Yuasa	select BOOT_ELF32
130ade299d8SYoichi Yuasa	select BOARD_SCACHE
131ade299d8SYoichi Yuasa	select HAVE_STD_PC_SERIAL_PORT
132ade299d8SYoichi Yuasa	select HW_HAS_PCI
133ade299d8SYoichi Yuasa	select I8259
134ade299d8SYoichi Yuasa	select ISA
135ade299d8SYoichi Yuasa	select IRQ_CPU
136ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
137ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
138ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
139ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
140ade299d8SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
141ade299d8SYoichi Yuasa	select GENERIC_HARDIRQS_NO__DO_IRQ
14223dd6d35SRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
143ade299d8SYoichi Yuasa	select CPU_HAS_WB
144ade299d8SYoichi Yuasa	help
145ade299d8SYoichi Yuasa	  Lemote Fulong mini-PC board based on the Chinese Loongson-2E CPU and
146ade299d8SYoichi Yuasa	  an FPGA northbridge
147ade299d8SYoichi Yuasa
1481da177e4SLinus Torvaldsconfig MIPS_ATLAS
1493fa986faSMartin Michlmayr	bool "MIPS Atlas board"
1501da177e4SLinus Torvalds	select BOOT_ELF32
1511da177e4SLinus Torvalds	select DMA_NONCOHERENT
15236a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
1535e83d430SRalf Baechle	select IRQ_CPU
1541da177e4SLinus Torvalds	select HW_HAS_PCI
1555e83d430SRalf Baechle	select MIPS_BOARDS_GEN
1565e83d430SRalf Baechle	select MIPS_BONITO64
157252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
1585e83d430SRalf Baechle	select MIPS_MSC
159f4b7cdb4SMaciej W. Rozycki	select RM7000_CPU_SCACHE
1601da177e4SLinus Torvalds	select SWAP_IO_SPACE
1617cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
1627cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
1637cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
1647cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
1657cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
166ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
167ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
1685e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
1695e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
170f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING if EXPERIMENTAL
1719693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
172e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
1731da177e4SLinus Torvalds	help
174f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Atlas evaluation
1751da177e4SLinus Torvalds	  board.
1761da177e4SLinus Torvalds
1771da177e4SLinus Torvaldsconfig MIPS_MALTA
1783fa986faSMartin Michlmayr	bool "MIPS Malta board"
17961ed242dSRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
1801da177e4SLinus Torvalds	select BOOT_ELF32
1811da177e4SLinus Torvalds	select DMA_NONCOHERENT
1821da177e4SLinus Torvalds	select GENERIC_ISA_DMA
183aa414dffSRalf Baechle	select IRQ_CPU
1841da177e4SLinus Torvalds	select HW_HAS_PCI
1851da177e4SLinus Torvalds	select I8259
1865e83d430SRalf Baechle	select MIPS_BOARDS_GEN
1875e83d430SRalf Baechle	select MIPS_BONITO64
1889318c51aSChris Dearman	select MIPS_CPU_SCACHE
189252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
1905e83d430SRalf Baechle	select MIPS_MSC
1911da177e4SLinus Torvalds	select SWAP_IO_SPACE
1927cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
1937cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
1947cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
1957cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
1967cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
19736a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
198ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
199ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
2005e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2015e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
202f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
2039693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
2041da177e4SLinus Torvalds	help
205f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Malta evaluation
2061da177e4SLinus Torvalds	  board.
2071da177e4SLinus Torvalds
2081da177e4SLinus Torvaldsconfig MIPS_SEAD
209d98cc84dSRalf Baechle	bool "MIPS SEAD board"
2101da177e4SLinus Torvalds	select IRQ_CPU
2111da177e4SLinus Torvalds	select DMA_NONCOHERENT
21236a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
2135e83d430SRalf Baechle	select MIPS_BOARDS_GEN
2147cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2157cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2167cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
217ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
2185e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
2195e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2205e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
2219693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
222f638d197SMaciej W. Rozycki	help
223f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies SEAD evaluation
224f638d197SMaciej W. Rozycki	  board.
2251da177e4SLinus Torvalds
226c78cbf49SRalf Baechleconfig MIPS_SIM
2273fa986faSMartin Michlmayr	bool 'MIPS simulator (MIPSsim)'
228c78cbf49SRalf Baechle	select DMA_NONCOHERENT
22936a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
230c78cbf49SRalf Baechle	select IRQ_CPU
2319267a30dSMarc St-Jean	select BOOT_RAW
2327cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2337cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
23436a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
235c78cbf49SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
236c78cbf49SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
237f6e2373aSRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
238c78cbf49SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
239c78cbf49SRalf Baechle	help
240c78cbf49SRalf Baechle	  This option enables support for MIPS Technologies MIPSsim software
241c78cbf49SRalf Baechle	  emulator.
242c78cbf49SRalf Baechle
243ade299d8SYoichi Yuasaconfig MARKEINS
244ade299d8SYoichi Yuasa	bool "NEC EMMA2RH Mark-eins"
245ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
246ade299d8SYoichi Yuasa	select HW_HAS_PCI
247ade299d8SYoichi Yuasa	select IRQ_CPU
248ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
249ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
250ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
251ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
252ade299d8SYoichi Yuasa	select SYS_HAS_CPU_R5000
253ade299d8SYoichi Yuasa	help
254ade299d8SYoichi Yuasa	  This enables support for the R5432-based NEC Mark-eins
255ade299d8SYoichi Yuasa	  boards with R5500 CPU.
256ade299d8SYoichi Yuasa
2575e83d430SRalf Baechleconfig MACH_VR41XX
25874142d65SYoichi Yuasa	bool "NEC VR4100 series based machines"
2597cf8053bSRalf Baechle	select SYS_HAS_CPU_VR41XX
2609fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
2615e83d430SRalf Baechle
262ade299d8SYoichi Yuasaconfig PNX8550_JBS
263ade299d8SYoichi Yuasa	bool "Philips PNX8550 based JBS board"
264ade299d8SYoichi Yuasa	select PNX8550
265ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
266ade299d8SYoichi Yuasa
267ade299d8SYoichi Yuasaconfig PNX8550_STB810
268ade299d8SYoichi Yuasa	bool "Philips PNX8550 based STB810 board"
269ade299d8SYoichi Yuasa	select PNX8550
270ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
271ade299d8SYoichi Yuasa
2729267a30dSMarc St-Jeanconfig PMC_MSP
2739267a30dSMarc St-Jean	bool "PMC-Sierra MSP chipsets"
2749267a30dSMarc St-Jean	depends on EXPERIMENTAL
2759267a30dSMarc St-Jean	select DMA_NONCOHERENT
2769267a30dSMarc St-Jean	select SWAP_IO_SPACE
2779267a30dSMarc St-Jean	select NO_EXCEPT_FILL
2789267a30dSMarc St-Jean	select BOOT_RAW
2799267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R1
2809267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R2
2819267a30dSMarc St-Jean	select SYS_SUPPORTS_32BIT_KERNEL
2829267a30dSMarc St-Jean	select SYS_SUPPORTS_BIG_ENDIAN
2839267a30dSMarc St-Jean	select SYS_SUPPORTS_KGDB
2849267a30dSMarc St-Jean	select IRQ_CPU
2859267a30dSMarc St-Jean	select SERIAL_8250
2869267a30dSMarc St-Jean	select SERIAL_8250_CONSOLE
2879267a30dSMarc St-Jean	help
2889267a30dSMarc St-Jean	  This adds support for the PMC-Sierra family of Multi-Service
2899267a30dSMarc St-Jean	  Processor System-On-A-Chips.  These parts include a number
2909267a30dSMarc St-Jean	  of integrated peripherals, interfaces and DSPs in addition to
2919267a30dSMarc St-Jean	  a variety of MIPS cores.
2929267a30dSMarc St-Jean
2935e83d430SRalf Baechleconfig PMC_YOSEMITE
2943fa986faSMartin Michlmayr	bool "PMC-Sierra Yosemite eval board"
2955e83d430SRalf Baechle	select DMA_COHERENT
2965e83d430SRalf Baechle	select HW_HAS_PCI
2975e83d430SRalf Baechle	select IRQ_CPU
2985e83d430SRalf Baechle	select IRQ_CPU_RM7K
2995e83d430SRalf Baechle	select IRQ_CPU_RM9K
3005e83d430SRalf Baechle	select SWAP_IO_SPACE
3017cf8053bSRalf Baechle	select SYS_HAS_CPU_RM9000
30236a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3035e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3045e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
3055e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3065e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
307cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
308e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
3095e83d430SRalf Baechle	help
3105e83d430SRalf Baechle	  Yosemite is an evaluation board for the RM9000x2 processor
3115e83d430SRalf Baechle	  manufactured by PMC-Sierra.
3121da177e4SLinus Torvalds
31307119621SRalf Baechleconfig QEMU
3143fa986faSMartin Michlmayr	bool "Qemu"
31507119621SRalf Baechle	select DMA_COHERENT
31607119621SRalf Baechle	select GENERIC_ISA_DMA
31707119621SRalf Baechle	select HAVE_STD_PC_SERIAL_PORT
31807119621SRalf Baechle	select I8259
31907119621SRalf Baechle	select ISA
320de61b542SRalf Baechle	select PCSPEAKER
32107119621SRalf Baechle	select SWAP_IO_SPACE
3227cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
32307119621SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
32407119621SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
325c8cc9618SAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
326b1c6cd42SAtsushi Nemoto	select ARCH_SPARSEMEM_ENABLE
3279fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
32872ede9b1SAtsushi Nemoto	select NR_CPUS_DEFAULT_1
32972ede9b1SAtsushi Nemoto	select SYS_SUPPORTS_SMP
33007119621SRalf Baechle	help
33107119621SRalf Baechle	  Qemu is a software emulator which among other architectures also
33207119621SRalf Baechle	  can simulate a MIPS32 4Kc system.  This patch adds support for the
33307119621SRalf Baechle	  system architecture that currently is being simulated by Qemu.  It
33407119621SRalf Baechle	  will eventually be removed again when Qemu has the capability to
33507119621SRalf Baechle	  simulate actual MIPS hardware platforms.  More information on Qemu
33607119621SRalf Baechle	  can be found at http://www.linux-mips.org/wiki/Qemu.
33707119621SRalf Baechle
3381da177e4SLinus Torvaldsconfig SGI_IP22
3393fa986faSMartin Michlmayr	bool "SGI IP22 (Indy/Indigo2)"
3401da177e4SLinus Torvalds	select ARC
3411da177e4SLinus Torvalds	select ARC32
3421da177e4SLinus Torvalds	select BOOT_ELF32
3431da177e4SLinus Torvalds	select DMA_NONCOHERENT
3445e83d430SRalf Baechle	select HW_HAS_EISA
3451da177e4SLinus Torvalds	select IP22_CPU_SCACHE
3461da177e4SLinus Torvalds	select IRQ_CPU
347aa414dffSRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
3481da177e4SLinus Torvalds	select SWAP_IO_SPACE
3497cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
3507cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
35136a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
352ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
353ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
3545e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3551da177e4SLinus Torvalds	help
3561da177e4SLinus Torvalds	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
3571da177e4SLinus Torvalds	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
3581da177e4SLinus Torvalds	  that runs on these, say Y here.
3591da177e4SLinus Torvalds
3601da177e4SLinus Torvaldsconfig SGI_IP27
3613fa986faSMartin Michlmayr	bool "SGI IP27 (Origin200/2000)"
3621da177e4SLinus Torvalds	select ARC
3631da177e4SLinus Torvalds	select ARC64
3645e83d430SRalf Baechle	select BOOT_ELF64
3651da177e4SLinus Torvalds	select DMA_IP27
36636a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3671da177e4SLinus Torvalds	select HW_HAS_PCI
368130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_64
3691da177e4SLinus Torvalds	select PCI_DOMAINS
3707cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000
371ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
3725e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
373cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
374d8cb4e11SRalf Baechle	select SYS_SUPPORTS_NUMA
3751a5c5de1SRalf Baechle	select SYS_SUPPORTS_SMP
376e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
3771da177e4SLinus Torvalds	help
3781da177e4SLinus Torvalds	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
3791da177e4SLinus Torvalds	  workstations.  To compile a Linux kernel that runs on these, say Y
3801da177e4SLinus Torvalds	  here.
3811da177e4SLinus Torvalds
3821da177e4SLinus Torvaldsconfig SGI_IP32
383cfd2afc0SRalf Baechle	bool "SGI IP32 (O2)"
3841da177e4SLinus Torvalds	select ARC
3851da177e4SLinus Torvalds	select ARC32
3861da177e4SLinus Torvalds	select BOOT_ELF32
3871da177e4SLinus Torvalds	select DMA_NONCOHERENT
3881da177e4SLinus Torvalds	select HW_HAS_PCI
3891da177e4SLinus Torvalds	select R5000_CPU_SCACHE
3901da177e4SLinus Torvalds	select RM7000_CPU_SCACHE
3917cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
3927cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000 if BROKEN
3937cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
394dd2f18feSRalf Baechle	select SYS_HAS_CPU_NEVADA
395ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
3965e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3971da177e4SLinus Torvalds	help
3981da177e4SLinus Torvalds	  If you want this kernel to run on SGI O2 workstation, say Y here.
3991da177e4SLinus Torvalds
400ade299d8SYoichi Yuasaconfig SIBYTE_CRHINE
401ade299d8SYoichi Yuasa	bool "Sibyte BCM91120C-CRhine"
4025e83d430SRalf Baechle	depends on EXPERIMENTAL
4035e83d430SRalf Baechle	select BOOT_ELF32
4045e83d430SRalf Baechle	select DMA_COHERENT
4055e83d430SRalf Baechle	select SIBYTE_BCM1120
4065e83d430SRalf Baechle	select SWAP_IO_SPACE
4077cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4085e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4095e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4105e83d430SRalf Baechle
411ade299d8SYoichi Yuasaconfig SIBYTE_CARMEL
412ade299d8SYoichi Yuasa	bool "Sibyte BCM91120x-Carmel"
4135e83d430SRalf Baechle	depends on EXPERIMENTAL
4145e83d430SRalf Baechle	select BOOT_ELF32
4155e83d430SRalf Baechle	select DMA_COHERENT
4165e83d430SRalf Baechle	select SIBYTE_BCM1120
4175e83d430SRalf Baechle	select SWAP_IO_SPACE
4187cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4195e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4205e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4215e83d430SRalf Baechle
4225e83d430SRalf Baechleconfig SIBYTE_CRHONE
4233fa986faSMartin Michlmayr	bool "Sibyte BCM91125C-CRhone"
4245e83d430SRalf Baechle	depends on EXPERIMENTAL
4255e83d430SRalf Baechle	select BOOT_ELF32
4265e83d430SRalf Baechle	select DMA_COHERENT
4275e83d430SRalf Baechle	select SIBYTE_BCM1125
4285e83d430SRalf Baechle	select SWAP_IO_SPACE
4297cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4305e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4315e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
4325e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4335e83d430SRalf Baechle
434ade299d8SYoichi Yuasaconfig SIBYTE_RHONE
435ade299d8SYoichi Yuasa	bool "Sibyte BCM91125E-Rhone"
436ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
437ade299d8SYoichi Yuasa	select BOOT_ELF32
438ade299d8SYoichi Yuasa	select DMA_COHERENT
439ade299d8SYoichi Yuasa	select SIBYTE_BCM1125H
440ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
441ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
442ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
443ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
444ade299d8SYoichi Yuasa
445ade299d8SYoichi Yuasaconfig SIBYTE_SWARM
446ade299d8SYoichi Yuasa	bool "Sibyte BCM91250A-SWARM"
447ade299d8SYoichi Yuasa	select BOOT_ELF32
448ade299d8SYoichi Yuasa	select DMA_COHERENT
449ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
450ade299d8SYoichi Yuasa	select SIBYTE_SB1250
451ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
452ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
453ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
454ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
455ade299d8SYoichi Yuasa	select SYS_SUPPORTS_KGDB
456ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
457ade299d8SYoichi Yuasa
458ade299d8SYoichi Yuasaconfig SIBYTE_LITTLESUR
459ade299d8SYoichi Yuasa	bool "Sibyte BCM91250C2-LittleSur"
460ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
461ade299d8SYoichi Yuasa	select BOOT_ELF32
462ade299d8SYoichi Yuasa	select DMA_COHERENT
463ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
464ade299d8SYoichi Yuasa	select SIBYTE_SB1250
465ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
466ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
467ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
468ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
469ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
470ade299d8SYoichi Yuasa
471ade299d8SYoichi Yuasaconfig SIBYTE_SENTOSA
472ade299d8SYoichi Yuasa	bool "Sibyte BCM91250E-Sentosa"
473ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
474ade299d8SYoichi Yuasa	select BOOT_ELF32
475ade299d8SYoichi Yuasa	select DMA_COHERENT
476ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
477ade299d8SYoichi Yuasa	select SIBYTE_SB1250
478ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
479ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
480ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
481ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
482ade299d8SYoichi Yuasa
483ade299d8SYoichi Yuasaconfig SIBYTE_PTSWARM
484ade299d8SYoichi Yuasa	bool "Sibyte BCM91250PT-PTSWARM"
485ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
486ade299d8SYoichi Yuasa	select BOOT_ELF32
487ade299d8SYoichi Yuasa	select DMA_COHERENT
488ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
489ade299d8SYoichi Yuasa	select SIBYTE_SB1250
490ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
491ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
492ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
493ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
494ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
495ade299d8SYoichi Yuasa
496ade299d8SYoichi Yuasaconfig SIBYTE_BIGSUR
497ade299d8SYoichi Yuasa	bool "Sibyte BCM91480B-BigSur"
498ade299d8SYoichi Yuasa	select BOOT_ELF32
499ade299d8SYoichi Yuasa	select DMA_COHERENT
500ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_4
501ade299d8SYoichi Yuasa	select PCI_DOMAINS
502ade299d8SYoichi Yuasa	select SIBYTE_BCM1x80
503ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
504ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
505ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
506ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
507ade299d8SYoichi Yuasa
50814b36af4SThomas Bogendoerferconfig SNI_RM
50914b36af4SThomas Bogendoerfer	bool "SNI RM200/300/400"
5104a0312fcSThomas Bogendoerfer	select ARC if CPU_LITTLE_ENDIAN
5114a0312fcSThomas Bogendoerfer	select ARC32 if CPU_LITTLE_ENDIAN
5125e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
5135e83d430SRalf Baechle	select BOOT_ELF32
5145e83d430SRalf Baechle	select DMA_NONCOHERENT
5155e83d430SRalf Baechle	select GENERIC_ISA_DMA
5165e83d430SRalf Baechle	select HW_HAS_EISA
5175e83d430SRalf Baechle	select HW_HAS_PCI
518c066a32aSThomas Bogendoerfer	select IRQ_CPU
5195e83d430SRalf Baechle	select I8259
5205e83d430SRalf Baechle	select ISA
521de61b542SRalf Baechle	select PCSPEAKER
5224a0312fcSThomas Bogendoerfer	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
5237cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
5244a0312fcSThomas Bogendoerfer	select SYS_HAS_CPU_R5000
525c066a32aSThomas Bogendoerfer	select SYS_HAS_CPU_R10000
5264a0312fcSThomas Bogendoerfer	select R5000_CPU_SCACHE
52736a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
528ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
5295e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
5304a0312fcSThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
5315e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5325e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5331da177e4SLinus Torvalds	help
53414b36af4SThomas Bogendoerfer	  The SNI RM200/300/400 are MIPS-based machines manufactured by
53514b36af4SThomas Bogendoerfer	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
5365e83d430SRalf Baechle	  Technology and now in turn merged with Fujitsu.  Say Y here to
5375e83d430SRalf Baechle	  support this machine type.
5381da177e4SLinus Torvalds
5395e83d430SRalf Baechleconfig TOSHIBA_JMR3927
5403fa986faSMartin Michlmayr	bool "Toshiba JMR-TX3927 board"
5415e83d430SRalf Baechle	select DMA_NONCOHERENT
5425e83d430SRalf Baechle	select HW_HAS_PCI
5435e83d430SRalf Baechle	select MIPS_TX3927
544c87abd75SAtsushi Nemoto	select IRQ_TXX9
5455e83d430SRalf Baechle	select SWAP_IO_SPACE
5467cf8053bSRalf Baechle	select SYS_HAS_CPU_TX39XX
5475e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
5486a2603a2SSergei Shtylyov	select SYS_SUPPORTS_LITTLE_ENDIAN
5495e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5502127435eSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
5515e83d430SRalf Baechle
5525e83d430SRalf Baechleconfig TOSHIBA_RBTX4927
55308a91283SYoichi Yuasa	bool "Toshiba RBTX49[23]7 board"
5545e83d430SRalf Baechle	select DMA_NONCOHERENT
5555e83d430SRalf Baechle	select HAS_TXX9_SERIAL
5565e83d430SRalf Baechle	select HW_HAS_PCI
557c87abd75SAtsushi Nemoto	select IRQ_CPU
558c87abd75SAtsushi Nemoto	select IRQ_TXX9
559c87abd75SAtsushi Nemoto	select I8259 if TOSHIBA_FPCIB0
5605e83d430SRalf Baechle	select SWAP_IO_SPACE
5617cf8053bSRalf Baechle	select SYS_HAS_CPU_TX49XX
5625e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
5635e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
5646a2603a2SSergei Shtylyov	select SYS_SUPPORTS_LITTLE_ENDIAN
5655e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
566cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
5679fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
5685e83d430SRalf Baechle	help
5695e83d430SRalf Baechle	  This Toshiba board is based on the TX4927 processor. Say Y here to
5705e83d430SRalf Baechle	  support this machine type
5711da177e4SLinus Torvalds
57223fbee9dSRalf Baechleconfig TOSHIBA_RBTX4938
5733fa986faSMartin Michlmayr	bool "Toshiba RBTX4938 board"
57423fbee9dSRalf Baechle	select DMA_NONCOHERENT
57523fbee9dSRalf Baechle	select HAS_TXX9_SERIAL
57623fbee9dSRalf Baechle	select HW_HAS_PCI
577c87abd75SAtsushi Nemoto	select IRQ_CPU
578c87abd75SAtsushi Nemoto	select IRQ_TXX9
57923fbee9dSRalf Baechle	select SWAP_IO_SPACE
5807cf8053bSRalf Baechle	select SYS_HAS_CPU_TX49XX
58123fbee9dSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
58223fbee9dSRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
58323fbee9dSRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
584cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
5859fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
5863896b054SAtsushi Nemoto	select GENERIC_GPIO
58723fbee9dSRalf Baechle	help
58823fbee9dSRalf Baechle	  This Toshiba board is based on the TX4938 processor. Say Y here to
58923fbee9dSRalf Baechle	  support this machine type
59023fbee9dSRalf Baechle
591ade299d8SYoichi Yuasaconfig WR_PPMC
592ade299d8SYoichi Yuasa	bool "Wind River PPMC board"
593ade299d8SYoichi Yuasa	select IRQ_CPU
594ade299d8SYoichi Yuasa	select BOOT_ELF32
595ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
596ade299d8SYoichi Yuasa	select HW_HAS_PCI
597ade299d8SYoichi Yuasa	select PCI_GT64XXX_PCI0
598ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
599ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R1
600ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R2
601ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS64_R1
602ade299d8SYoichi Yuasa	select SYS_HAS_CPU_NEVADA
603ade299d8SYoichi Yuasa	select SYS_HAS_CPU_RM7000
604ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
605ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
606ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
607ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
608ade299d8SYoichi Yuasa	help
609ade299d8SYoichi Yuasa	  This enables support for the Wind River MIPS32 4KC PPMC evaluation
610ade299d8SYoichi Yuasa	  board, which is based on GT64120 bridge chip.
611ade299d8SYoichi Yuasa
6121da177e4SLinus Torvaldsendchoice
6131da177e4SLinus Torvalds
614c3543e25SYoichi Yuasasource "arch/mips/au1000/Kconfig"
6155e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig"
616*1f21d2bdSBrian Murphysource "arch/mips/lasat/Kconfig"
6175e83d430SRalf Baechlesource "arch/mips/pmc-sierra/Kconfig"
61829c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig"
61938b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig"
6205e83d430SRalf Baechlesource "arch/mips/tx4927/Kconfig"
62123fbee9dSRalf Baechlesource "arch/mips/tx4938/Kconfig"
6225e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig"
62338b18f72SRalf Baechle
6245e83d430SRalf Baechleendmenu
6255e83d430SRalf Baechle
6261da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
6271da177e4SLinus Torvalds	bool
6281da177e4SLinus Torvalds	default y
6291da177e4SLinus Torvalds
6301da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
6311da177e4SLinus Torvalds	bool
6321da177e4SLinus Torvalds
633f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
634f0d1b0b3SDavid Howells	bool
635f0d1b0b3SDavid Howells	default n
636f0d1b0b3SDavid Howells
637f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
638f0d1b0b3SDavid Howells	bool
639f0d1b0b3SDavid Howells	default n
640f0d1b0b3SDavid Howells
6413c9ee7efSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
6423c9ee7efSAkinobu Mita	bool
6433c9ee7efSAkinobu Mita	default y
6443c9ee7efSAkinobu Mita
6453c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT
6463c9ee7efSAkinobu Mita	bool
6473c9ee7efSAkinobu Mita	default y
6483c9ee7efSAkinobu Mita
6491da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
6501da177e4SLinus Torvalds	bool
6511da177e4SLinus Torvalds	default y
6521da177e4SLinus Torvalds
6538db02010SRalf Baechleconfig GENERIC_TIME
6548db02010SRalf Baechle	bool
6558db02010SRalf Baechle	default y
6568db02010SRalf Baechle
6571cc89038SAtsushi Nemotoconfig SCHED_NO_NO_OMIT_FRAME_POINTER
6581cc89038SAtsushi Nemoto	bool
6591cc89038SAtsushi Nemoto	default y
6601cc89038SAtsushi Nemoto
661e77c232cSFranck Bui-Huuconfig GENERIC_HARDIRQS_NO__DO_IRQ
662e77c232cSFranck Bui-Huu	bool
663e77c232cSFranck Bui-Huu	default n
664e77c232cSFranck Bui-Huu
6651da177e4SLinus Torvalds#
6661da177e4SLinus Torvalds# Select some configuration options automatically based on user selections.
6671da177e4SLinus Torvalds#
6681da177e4SLinus Torvaldsconfig ARC
6691da177e4SLinus Torvalds	bool
6701da177e4SLinus Torvalds
67161ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC
67261ed242dSRalf Baechle	bool
67361ed242dSRalf Baechle
6749267a30dSMarc St-Jeanconfig BOOT_RAW
6759267a30dSMarc St-Jean	bool
6769267a30dSMarc St-Jean
6771da177e4SLinus Torvaldsconfig DMA_COHERENT
6781da177e4SLinus Torvalds	bool
6791da177e4SLinus Torvalds
6801da177e4SLinus Torvaldsconfig DMA_IP27
6811da177e4SLinus Torvalds	bool
6821da177e4SLinus Torvalds
6834ce588cdSRalf Baechleconfig DMA_IP32
6844ce588cdSRalf Baechle	bool
6854ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
6864ce588cdSRalf Baechle
6871da177e4SLinus Torvaldsconfig DMA_NONCOHERENT
6881da177e4SLinus Torvalds	bool
6894ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
6904ce588cdSRalf Baechle
6914ce588cdSRalf Baechleconfig DMA_NEED_PCI_MAP_STATE
6924ce588cdSRalf Baechle	bool
6931da177e4SLinus Torvalds
6941da177e4SLinus Torvaldsconfig EARLY_PRINTK
69536a88530SRalf Baechle	bool "Early printk" if EMBEDDED && DEBUG_KERNEL
69636a88530SRalf Baechle	depends on SYS_HAS_EARLY_PRINTK
69736a88530SRalf Baechle	default y
69836a88530SRalf Baechle	help
69936a88530SRalf Baechle	  This option enables special console drivers which allow the kernel
70036a88530SRalf Baechle	  to print messages very early in the bootup process.
70136a88530SRalf Baechle
70236a88530SRalf Baechle	  This is useful for kernel debugging when your machine crashes very
703490dcc4dSRobert P. J. Day	  early before the console code is initialized. For normal operation,
704490dcc4dSRobert P. J. Day	  it is not recommended because it looks ugly on some machines and
705490dcc4dSRobert P. J. Day	  doesn't cooperate with an X server. You should normally say N here,
70636a88530SRalf Baechle	  unless you want to debug such a crash.
70736a88530SRalf Baechle
70836a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK
7091da177e4SLinus Torvalds	bool
7101da177e4SLinus Torvalds
711dbb74540SRalf Baechleconfig HOTPLUG_CPU
712dbb74540SRalf Baechle	bool
713dbb74540SRalf Baechle	default n
714dbb74540SRalf Baechle
7151da177e4SLinus Torvaldsconfig I8259
7161da177e4SLinus Torvalds	bool
7171da177e4SLinus Torvalds
7181da177e4SLinus Torvaldsconfig MIPS_BONITO64
7191da177e4SLinus Torvalds	bool
7201da177e4SLinus Torvalds
7211da177e4SLinus Torvaldsconfig MIPS_MSC
7221da177e4SLinus Torvalds	bool
7231da177e4SLinus Torvalds
724*1f21d2bdSBrian Murphyconfig MIPS_NILE4
725*1f21d2bdSBrian Murphy	bool
726*1f21d2bdSBrian Murphy
7271da177e4SLinus Torvaldsconfig MIPS_DISABLE_OBSOLETE_IDE
7281da177e4SLinus Torvalds	bool
7291da177e4SLinus Torvalds
730d388d685SMaciej W. Rozyckiconfig NO_IOPORT
731d388d685SMaciej W. Rozycki	def_bool n
732d388d685SMaciej W. Rozycki
7338313da30SRalf Baechleconfig GENERIC_ISA_DMA
7348313da30SRalf Baechle	bool
7358313da30SRalf Baechle	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
7368313da30SRalf Baechle
737aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN
738aa414dffSRalf Baechle	bool
7398313da30SRalf Baechle	select GENERIC_ISA_DMA
740aa414dffSRalf Baechle
74109663335SYoichi Yuasaconfig GENERIC_GPIO
74209663335SYoichi Yuasa	bool
74309663335SYoichi Yuasa
7445e83d430SRalf Baechle#
7453cb2fcccSMatt LaPlante# Endianess selection.  Sufficiently obscure so many users don't know what to
7465e83d430SRalf Baechle# answer,so we try hard to limit the available choices.  Also the use of a
7475e83d430SRalf Baechle# choice statement should be more obvious to the user.
7485e83d430SRalf Baechle#
7495e83d430SRalf Baechlechoice
7505e83d430SRalf Baechle	prompt "Endianess selection"
7511da177e4SLinus Torvalds	help
7521da177e4SLinus Torvalds	  Some MIPS machines can be configured for either little or big endian
7535e83d430SRalf Baechle	  byte order. These modes require different kernels and a different
7543cb2fcccSMatt LaPlante	  Linux distribution.  In general there is one preferred byteorder for a
7555e83d430SRalf Baechle	  particular system but some systems are just as commonly used in the
7563dde6ad8SDavid Sterba	  one or the other endianness.
7575e83d430SRalf Baechle
7585e83d430SRalf Baechleconfig CPU_BIG_ENDIAN
7595e83d430SRalf Baechle	bool "Big endian"
7605e83d430SRalf Baechle	depends on SYS_SUPPORTS_BIG_ENDIAN
7615e83d430SRalf Baechle
7625e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN
7635e83d430SRalf Baechle	bool "Little endian"
7645e83d430SRalf Baechle	depends on SYS_SUPPORTS_LITTLE_ENDIAN
7655e83d430SRalf Baechle	help
7665e83d430SRalf Baechle
7675e83d430SRalf Baechleendchoice
7685e83d430SRalf Baechle
7692116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION
7702116245eSRalf Baechle	bool
7712116245eSRalf Baechle
7725e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN
7735e83d430SRalf Baechle	bool
7745e83d430SRalf Baechle
7755e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN
7765e83d430SRalf Baechle	bool
7771da177e4SLinus Torvalds
7781da177e4SLinus Torvaldsconfig IRQ_CPU
7791da177e4SLinus Torvalds	bool
7801da177e4SLinus Torvalds
7811da177e4SLinus Torvaldsconfig IRQ_CPU_RM7K
7821da177e4SLinus Torvalds	bool
7831da177e4SLinus Torvalds
7845e83d430SRalf Baechleconfig IRQ_CPU_RM9K
7855e83d430SRalf Baechle	bool
7865e83d430SRalf Baechle
7879267a30dSMarc St-Jeanconfig IRQ_MSP_SLP
7889267a30dSMarc St-Jean	bool
7899267a30dSMarc St-Jean
7909267a30dSMarc St-Jeanconfig IRQ_MSP_CIC
7919267a30dSMarc St-Jean	bool
7929267a30dSMarc St-Jean
7938420fd00SAtsushi Nemotoconfig IRQ_TXX9
7948420fd00SAtsushi Nemoto	bool
7958420fd00SAtsushi Nemoto
7961da177e4SLinus Torvaldsconfig MIPS_BOARDS_GEN
7971da177e4SLinus Torvalds	bool
7981da177e4SLinus Torvalds
799252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0
8001da177e4SLinus Torvalds	bool
8011da177e4SLinus Torvalds
8029267a30dSMarc St-Jeanconfig NO_EXCEPT_FILL
8039267a30dSMarc St-Jean	bool
8049267a30dSMarc St-Jean
8051da177e4SLinus Torvaldsconfig MIPS_TX3927
8061da177e4SLinus Torvalds	bool
8071da177e4SLinus Torvalds	select HAS_TXX9_SERIAL
8081da177e4SLinus Torvalds
809663c3d90Sthomas@koeller.dyndns.orgconfig MIPS_RM9122
810663c3d90Sthomas@koeller.dyndns.org	bool
811663c3d90Sthomas@koeller.dyndns.org	select SERIAL_RM9000
812663c3d90Sthomas@koeller.dyndns.org
813bdf21b18SPete Popovconfig PNX8550
814bdf21b18SPete Popov	bool
815bdf21b18SPete Popov	select SOC_PNX8550
816bdf21b18SPete Popov
817bdf21b18SPete Popovconfig SOC_PNX8550
818bdf21b18SPete Popov	bool
819bdf21b18SPete Popov	select DMA_NONCOHERENT
820bdf21b18SPete Popov	select HW_HAS_PCI
821b8c2a77cSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
82236a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
8237cf8053bSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
824e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
825cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
8264ead1681SFlorian Fainelli	select GENERIC_GPIO
827bdf21b18SPete Popov
8281da177e4SLinus Torvaldsconfig SWAP_IO_SPACE
8291da177e4SLinus Torvalds	bool
8301da177e4SLinus Torvalds
831355c471fSdmitry pervushinconfig EMMA2RH
832355c471fSdmitry pervushin	bool
833355c471fSdmitry pervushin	depends on MARKEINS
834355c471fSdmitry pervushin	default y
835355c471fSdmitry pervushin
836663c3d90Sthomas@koeller.dyndns.orgconfig SERIAL_RM9000
837663c3d90Sthomas@koeller.dyndns.org	bool
838663c3d90Sthomas@koeller.dyndns.org
8395e83d430SRalf Baechleconfig ARC32
8405e83d430SRalf Baechle	bool
8415e83d430SRalf Baechle
8421da177e4SLinus Torvaldsconfig BOOT_ELF32
8431da177e4SLinus Torvalds	bool
8441da177e4SLinus Torvalds
8451da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT
8461da177e4SLinus Torvalds	int
84706cf5583SThomas Bogendoerfer	default "4" if MACH_DECSTATION
84806cf5583SThomas Bogendoerfer	default "7" if SGI_IP27 || SNI_RM
8499267a30dSMarc St-Jean	default "4" if PMC_MSP4200_EVAL
8501da177e4SLinus Torvalds	default "5"
8511da177e4SLinus Torvalds
8521da177e4SLinus Torvaldsconfig HAVE_STD_PC_SERIAL_PORT
8531da177e4SLinus Torvalds	bool
8541da177e4SLinus Torvalds
8551da177e4SLinus Torvaldsconfig ARC_CONSOLE
8561da177e4SLinus Torvalds	bool "ARC console support"
85736a88530SRalf Baechle	depends on SGI_IP22 || (SNI_RM && CPU_LITTLE_ENDIAN)
8581da177e4SLinus Torvalds
8591da177e4SLinus Torvaldsconfig ARC_MEMORY
8601da177e4SLinus Torvalds	bool
86114b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP32
8621da177e4SLinus Torvalds	default y
8631da177e4SLinus Torvalds
8641da177e4SLinus Torvaldsconfig ARC_PROMLIB
8651da177e4SLinus Torvalds	bool
86614b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP32
8671da177e4SLinus Torvalds	default y
8681da177e4SLinus Torvalds
8691da177e4SLinus Torvaldsconfig ARC64
8701da177e4SLinus Torvalds	bool
8711da177e4SLinus Torvalds
8721da177e4SLinus Torvaldsconfig BOOT_ELF64
8731da177e4SLinus Torvalds	bool
8741da177e4SLinus Torvalds
8751da177e4SLinus Torvaldsmenu "CPU selection"
8761da177e4SLinus Torvalds
8771da177e4SLinus Torvaldschoice
8781da177e4SLinus Torvalds	prompt "CPU type"
8791da177e4SLinus Torvalds	default CPU_R4X00
8801da177e4SLinus Torvalds
8812a21c730SFuxin Zhangconfig CPU_LOONGSON2
8822a21c730SFuxin Zhang	bool "Loongson 2"
8832a21c730SFuxin Zhang	depends on SYS_HAS_CPU_LOONGSON2
8842a21c730SFuxin Zhang	select CPU_SUPPORTS_32BIT_KERNEL
8852a21c730SFuxin Zhang	select CPU_SUPPORTS_64BIT_KERNEL
8862a21c730SFuxin Zhang	select CPU_SUPPORTS_HIGHMEM
8872a21c730SFuxin Zhang	help
8882a21c730SFuxin Zhang	  The Loongson 2E processor implements the MIPS III instruction set
8892a21c730SFuxin Zhang	  with many extensions.
8902a21c730SFuxin Zhang
8916e760c8dSRalf Baechleconfig CPU_MIPS32_R1
8926e760c8dSRalf Baechle	bool "MIPS32 Release 1"
8937cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R1
894f7062ddbSRalf Baechle	select CPU_HAS_LLSC
8956e760c8dSRalf Baechle	select CPU_HAS_PREFETCH
896797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
897ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
8986e760c8dSRalf Baechle	help
8995e83d430SRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
9001e5f1caaSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
9011e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
9021e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
9031e5f1caaSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
9041e5f1caaSRalf Baechle	  Release 2 of the MIPS32 architecture is available since several
9051e5f1caaSRalf Baechle	  years so chances are you even have a MIPS32 Release 2 processor
9061e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS32_R2 instead for better
9071e5f1caaSRalf Baechle	  performance.
9081e5f1caaSRalf Baechle
9091e5f1caaSRalf Baechleconfig CPU_MIPS32_R2
9101e5f1caaSRalf Baechle	bool "MIPS32 Release 2"
9117cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R2
912f7062ddbSRalf Baechle	select CPU_HAS_LLSC
9131e5f1caaSRalf Baechle	select CPU_HAS_PREFETCH
914797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
915ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9161e5f1caaSRalf Baechle	help
9175e83d430SRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
9186e760c8dSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
9196e760c8dSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
9206e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
9216e760c8dSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
9221da177e4SLinus Torvalds
9236e760c8dSRalf Baechleconfig CPU_MIPS64_R1
9246e760c8dSRalf Baechle	bool "MIPS64 Release 1"
9257cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R1
926f7062ddbSRalf Baechle	select CPU_HAS_LLSC
927797798c1SRalf Baechle	select CPU_HAS_PREFETCH
928ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
929ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
930ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9316e760c8dSRalf Baechle	help
9326e760c8dSRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
9336e760c8dSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
9346e760c8dSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
9356e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
9366e760c8dSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
9371e5f1caaSRalf Baechle	  Release 2 of the MIPS64 architecture is available since several
9381e5f1caaSRalf Baechle	  years so chances are you even have a MIPS64 Release 2 processor
9391e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS64_R2 instead for better
9401e5f1caaSRalf Baechle	  performance.
9411e5f1caaSRalf Baechle
9421e5f1caaSRalf Baechleconfig CPU_MIPS64_R2
9431e5f1caaSRalf Baechle	bool "MIPS64 Release 2"
9447cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R2
945f7062ddbSRalf Baechle	select CPU_HAS_LLSC
946797798c1SRalf Baechle	select CPU_HAS_PREFETCH
9471e5f1caaSRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
9481e5f1caaSRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
949ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9501e5f1caaSRalf Baechle	help
9511e5f1caaSRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
9521e5f1caaSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
9531e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
9541e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
9551e5f1caaSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
9561da177e4SLinus Torvalds
9571da177e4SLinus Torvaldsconfig CPU_R3000
9581da177e4SLinus Torvalds	bool "R3000"
9597cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R3000
960f7062ddbSRalf Baechle	select CPU_HAS_WB
961ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
962797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9631da177e4SLinus Torvalds	help
9641da177e4SLinus Torvalds	  Please make sure to pick the right CPU type. Linux/MIPS is not
9651da177e4SLinus Torvalds	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
9661da177e4SLinus Torvalds	  *not* work on R4000 machines and vice versa.  However, since most
9671da177e4SLinus Torvalds	  of the supported machines have an R4000 (or similar) CPU, R4x00
9681da177e4SLinus Torvalds	  might be a safe bet.  If the resulting kernel does not work,
9691da177e4SLinus Torvalds	  try to recompile with R3000.
9701da177e4SLinus Torvalds
9711da177e4SLinus Torvaldsconfig CPU_TX39XX
9721da177e4SLinus Torvalds	bool "R39XX"
9737cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX39XX
974ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
9751da177e4SLinus Torvalds
9761da177e4SLinus Torvaldsconfig CPU_VR41XX
9771da177e4SLinus Torvalds	bool "R41xx"
9787cf8053bSRalf Baechle	depends on SYS_HAS_CPU_VR41XX
979ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
980ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
9811da177e4SLinus Torvalds	help
9825e83d430SRalf Baechle	  The options selects support for the NEC VR4100 series of processors.
9831da177e4SLinus Torvalds	  Only choose this option if you have one of these processors as a
9841da177e4SLinus Torvalds	  kernel built with this option will not run on any other type of
9851da177e4SLinus Torvalds	  processor or vice versa.
9861da177e4SLinus Torvalds
9871da177e4SLinus Torvaldsconfig CPU_R4300
9881da177e4SLinus Torvalds	bool "R4300"
9897cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4300
990f7062ddbSRalf Baechle	select CPU_HAS_LLSC
991ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
992ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
9931da177e4SLinus Torvalds	help
9941da177e4SLinus Torvalds	  MIPS Technologies R4300-series processors.
9951da177e4SLinus Torvalds
9961da177e4SLinus Torvaldsconfig CPU_R4X00
9971da177e4SLinus Torvalds	bool "R4x00"
9987cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4X00
999f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1000ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1001ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10021da177e4SLinus Torvalds	help
10031da177e4SLinus Torvalds	  MIPS Technologies R4000-series processors other than 4300, including
10041da177e4SLinus Torvalds	  the R4000, R4400, R4600, and 4700.
10051da177e4SLinus Torvalds
10061da177e4SLinus Torvaldsconfig CPU_TX49XX
10071da177e4SLinus Torvalds	bool "R49XX"
10087cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX49XX
1009f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1010de862b48SAtsushi Nemoto	select CPU_HAS_PREFETCH
1011ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1012ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10131da177e4SLinus Torvalds
10141da177e4SLinus Torvaldsconfig CPU_R5000
10151da177e4SLinus Torvalds	bool "R5000"
10167cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5000
1017f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1018ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1019ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10201da177e4SLinus Torvalds	help
10211da177e4SLinus Torvalds	  MIPS Technologies R5000-series processors other than the Nevada.
10221da177e4SLinus Torvalds
10231da177e4SLinus Torvaldsconfig CPU_R5432
10241da177e4SLinus Torvalds	bool "R5432"
10257cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5432
1026f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10275e83d430SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
10285e83d430SRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
10291da177e4SLinus Torvalds
10301da177e4SLinus Torvaldsconfig CPU_R6000
10311da177e4SLinus Torvalds	bool "R6000"
1032ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
1033f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10347cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R6000
1035ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
10361da177e4SLinus Torvalds	help
10371da177e4SLinus Torvalds	  MIPS Technologies R6000 and R6000A series processors.  Note these
1038c09b47d8SChris Dearman	  processors are extremely rare and the support for them is incomplete.
10391da177e4SLinus Torvalds
10401da177e4SLinus Torvaldsconfig CPU_NEVADA
10411da177e4SLinus Torvalds	bool "RM52xx"
10427cf8053bSRalf Baechle	depends on SYS_HAS_CPU_NEVADA
1043f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1044ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1045ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10461da177e4SLinus Torvalds	help
10471da177e4SLinus Torvalds	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
10481da177e4SLinus Torvalds
10491da177e4SLinus Torvaldsconfig CPU_R8000
10501da177e4SLinus Torvalds	bool "R8000"
1051ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
10527cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R8000
1053f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10545e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1055ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10561da177e4SLinus Torvalds	help
10571da177e4SLinus Torvalds	  MIPS Technologies R8000 processors.  Note these processors are
10581da177e4SLinus Torvalds	  uncommon and the support for them is incomplete.
10591da177e4SLinus Torvalds
10601da177e4SLinus Torvaldsconfig CPU_R10000
10611da177e4SLinus Torvalds	bool "R10000"
10627cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R10000
1063f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10645e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1065ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1066ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1067797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10681da177e4SLinus Torvalds	help
10691da177e4SLinus Torvalds	  MIPS Technologies R10000-series processors.
10701da177e4SLinus Torvalds
10711da177e4SLinus Torvaldsconfig CPU_RM7000
10721da177e4SLinus Torvalds	bool "RM7000"
10737cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM7000
1074f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10755e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1076ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1077ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1078797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10791da177e4SLinus Torvalds
10801da177e4SLinus Torvaldsconfig CPU_RM9000
10811da177e4SLinus Torvalds	bool "RM9000"
10827cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM9000
1083f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10845e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1085ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1086ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1087797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10880004a9dfSRalf Baechle	select WEAK_ORDERING
10891da177e4SLinus Torvalds
10901da177e4SLinus Torvaldsconfig CPU_SB1
10911da177e4SLinus Torvalds	bool "SB1"
10927cf8053bSRalf Baechle	depends on SYS_HAS_CPU_SB1
1093f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1094ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1095ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1096797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10970004a9dfSRalf Baechle	select WEAK_ORDERING
10981da177e4SLinus Torvalds
10991da177e4SLinus Torvaldsendchoice
11001da177e4SLinus Torvalds
11012a21c730SFuxin Zhangconfig SYS_HAS_CPU_LOONGSON2
11022a21c730SFuxin Zhang	bool
11032a21c730SFuxin Zhang
11047cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1
11057cf8053bSRalf Baechle	bool
11067cf8053bSRalf Baechle
11077cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2
11087cf8053bSRalf Baechle	bool
11097cf8053bSRalf Baechle
11107cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1
11117cf8053bSRalf Baechle	bool
11127cf8053bSRalf Baechle
11137cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2
11147cf8053bSRalf Baechle	bool
11157cf8053bSRalf Baechle
11167cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000
11177cf8053bSRalf Baechle	bool
11187cf8053bSRalf Baechle
11197cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX39XX
11207cf8053bSRalf Baechle	bool
11217cf8053bSRalf Baechle
11227cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX
11237cf8053bSRalf Baechle	bool
11247cf8053bSRalf Baechle
11257cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4300
11267cf8053bSRalf Baechle	bool
11277cf8053bSRalf Baechle
11287cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00
11297cf8053bSRalf Baechle	bool
11307cf8053bSRalf Baechle
11317cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX
11327cf8053bSRalf Baechle	bool
11337cf8053bSRalf Baechle
11347cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000
11357cf8053bSRalf Baechle	bool
11367cf8053bSRalf Baechle
11377cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5432
11387cf8053bSRalf Baechle	bool
11397cf8053bSRalf Baechle
11407cf8053bSRalf Baechleconfig SYS_HAS_CPU_R6000
11417cf8053bSRalf Baechle	bool
11427cf8053bSRalf Baechle
11437cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA
11447cf8053bSRalf Baechle	bool
11457cf8053bSRalf Baechle
11467cf8053bSRalf Baechleconfig SYS_HAS_CPU_R8000
11477cf8053bSRalf Baechle	bool
11487cf8053bSRalf Baechle
11497cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000
11507cf8053bSRalf Baechle	bool
11517cf8053bSRalf Baechle
11527cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000
11537cf8053bSRalf Baechle	bool
11547cf8053bSRalf Baechle
11557cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM9000
11567cf8053bSRalf Baechle	bool
11577cf8053bSRalf Baechle
11587cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1
11597cf8053bSRalf Baechle	bool
11607cf8053bSRalf Baechle
116117099b11SRalf Baechle#
116217099b11SRalf Baechle# CPU may reorder R->R, R->W, W->R, W->W
116317099b11SRalf Baechle# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
116417099b11SRalf Baechle#
11650004a9dfSRalf Baechleconfig WEAK_ORDERING
11660004a9dfSRalf Baechle	bool
116717099b11SRalf Baechle
116817099b11SRalf Baechle#
116917099b11SRalf Baechle# CPU may reorder reads and writes beyond LL/SC
117017099b11SRalf Baechle# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
117117099b11SRalf Baechle#
117217099b11SRalf Baechleconfig WEAK_REORDERING_BEYOND_LLSC
117317099b11SRalf Baechle	bool
11745e83d430SRalf Baechleendmenu
11755e83d430SRalf Baechle
11765e83d430SRalf Baechle#
11775e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture
11785e83d430SRalf Baechle#
11795e83d430SRalf Baechleconfig CPU_MIPS32
11805e83d430SRalf Baechle	bool
11815e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
11825e83d430SRalf Baechle
11835e83d430SRalf Baechleconfig CPU_MIPS64
11845e83d430SRalf Baechle	bool
11855e83d430SRalf Baechle	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
11865e83d430SRalf Baechle
11875e83d430SRalf Baechle#
1188c09b47d8SChris Dearman# These two indicate the revision of the architecture, either Release 1 or Release 2
11895e83d430SRalf Baechle#
11905e83d430SRalf Baechleconfig CPU_MIPSR1
11915e83d430SRalf Baechle	bool
11925e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
11935e83d430SRalf Baechle
11945e83d430SRalf Baechleconfig CPU_MIPSR2
11955e83d430SRalf Baechle	bool
11965e83d430SRalf Baechle	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2
11975e83d430SRalf Baechle
11985e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL
11995e83d430SRalf Baechle	bool
12005e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL
12015e83d430SRalf Baechle	bool
12025e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL
12035e83d430SRalf Baechle	bool
12045e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL
12055e83d430SRalf Baechle	bool
12065e83d430SRalf Baechle
12075e83d430SRalf Baechlemenu "Kernel type"
12085e83d430SRalf Baechle
12095e83d430SRalf Baechlechoice
12105e83d430SRalf Baechle
12115e83d430SRalf Baechle	prompt "Kernel code model"
12125e83d430SRalf Baechle	help
12135e83d430SRalf Baechle	  You should only select this option if you have a workload that
12145e83d430SRalf Baechle	  actually benefits from 64-bit processing or if your machine has
12155e83d430SRalf Baechle	  large memory.  You will only be presented a single option in this
12165e83d430SRalf Baechle	  menu if your system does not support both 32-bit and 64-bit kernels.
12175e83d430SRalf Baechle
12185e83d430SRalf Baechleconfig 32BIT
12195e83d430SRalf Baechle	bool "32-bit kernel"
12205e83d430SRalf Baechle	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
12215e83d430SRalf Baechle	select TRAD_SIGNALS
12225e83d430SRalf Baechle	help
12235e83d430SRalf Baechle	  Select this option if you want to build a 32-bit kernel.
12245e83d430SRalf Baechleconfig 64BIT
12255e83d430SRalf Baechle	bool "64-bit kernel"
12265e83d430SRalf Baechle	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
12275e83d430SRalf Baechle	help
12285e83d430SRalf Baechle	  Select this option if you want to build a 64-bit kernel.
12295e83d430SRalf Baechle
12305e83d430SRalf Baechleendchoice
12315e83d430SRalf Baechle
12321da177e4SLinus Torvaldschoice
12331da177e4SLinus Torvalds	prompt "Kernel page size"
12341da177e4SLinus Torvalds	default PAGE_SIZE_4KB
12351da177e4SLinus Torvalds
12361da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB
12371da177e4SLinus Torvalds	bool "4kB"
12381da177e4SLinus Torvalds	help
12391da177e4SLinus Torvalds	 This option select the standard 4kB Linux page size.  On some
12401da177e4SLinus Torvalds	 R3000-family processors this is the only available page size.  Using
12411da177e4SLinus Torvalds	 4kB page size will minimize memory consumption and is therefore
12421da177e4SLinus Torvalds	 recommended for low memory systems.
12431da177e4SLinus Torvalds
12441da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB
12451da177e4SLinus Torvalds	bool "8kB"
12461da177e4SLinus Torvalds	depends on EXPERIMENTAL && CPU_R8000
12471da177e4SLinus Torvalds	help
12481da177e4SLinus Torvalds	  Using 8kB page size will result in higher performance kernel at
12491da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available
12501da177e4SLinus Torvalds	  only on the R8000 processor.  Not that at the time of this writing
12511da177e4SLinus Torvalds	  this option is still high experimental; there are also issues with
12521da177e4SLinus Torvalds	  compatibility of user applications.
12531da177e4SLinus Torvalds
12541da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB
12551da177e4SLinus Torvalds	bool "16kB"
1256714bfad6SRalf Baechle	depends on !CPU_R3000 && !CPU_TX39XX
12571da177e4SLinus Torvalds	help
12581da177e4SLinus Torvalds	  Using 16kB page size will result in higher performance kernel at
12591da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
1260714bfad6SRalf Baechle	  all non-R3000 family processors.  Note that you will need a suitable
1261714bfad6SRalf Baechle	  Linux distribution to support this.
12621da177e4SLinus Torvalds
12631da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB
12641da177e4SLinus Torvalds	bool "64kB"
12651da177e4SLinus Torvalds	depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
12661da177e4SLinus Torvalds	help
12671da177e4SLinus Torvalds	  Using 64kB page size will result in higher performance kernel at
12681da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
12691da177e4SLinus Torvalds	  all non-R3000 family processor.  Not that at the time of this
1270714bfad6SRalf Baechle	  writing this option is still high experimental.
12711da177e4SLinus Torvalds
12721da177e4SLinus Torvaldsendchoice
12731da177e4SLinus Torvalds
12741da177e4SLinus Torvaldsconfig BOARD_SCACHE
12751da177e4SLinus Torvalds	bool
12761da177e4SLinus Torvalds
12771da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE
12781da177e4SLinus Torvalds	bool
12791da177e4SLinus Torvalds	select BOARD_SCACHE
12801da177e4SLinus Torvalds
12819318c51aSChris Dearman#
12829318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches
12839318c51aSChris Dearman#
12849318c51aSChris Dearmanconfig MIPS_CPU_SCACHE
12859318c51aSChris Dearman	bool
12869318c51aSChris Dearman	select BOARD_SCACHE
12879318c51aSChris Dearman
12881da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE
12891da177e4SLinus Torvalds	bool
12901da177e4SLinus Torvalds	select BOARD_SCACHE
12911da177e4SLinus Torvalds
12921da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE
12931da177e4SLinus Torvalds	bool
12941da177e4SLinus Torvalds	select BOARD_SCACHE
12951da177e4SLinus Torvalds
12961da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS
12971da177e4SLinus Torvalds	bool "Use DMA to clear/copy pages"
12981da177e4SLinus Torvalds	depends on CPU_SB1
12991da177e4SLinus Torvalds	help
13001da177e4SLinus Torvalds	  Instead of using the CPU to zero and copy pages, use a Data Mover
13011da177e4SLinus Torvalds	  channel.  These DMA channels are otherwise unused by the standard
13021da177e4SLinus Torvalds	  SiByte Linux port.  Seems to give a small performance benefit.
13031da177e4SLinus Torvalds
13041da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH
1305c8094b53SRalf Baechle	bool
13061da177e4SLinus Torvalds
1307340ee4b9SRalf Baechlechoice
1308340ee4b9SRalf Baechle	prompt "MIPS MT options"
1309f41ae0b2SRalf Baechle
1310f41ae0b2SRalf Baechleconfig MIPS_MT_DISABLED
1311f41ae0b2SRalf Baechle	bool "Disable multithreading support."
1312f41ae0b2SRalf Baechle	help
1313f41ae0b2SRalf Baechle	  Use this option if your workload can't take advantage of
1314f41ae0b2SRalf Baechle	  MIPS hardware multithreading support.  On systems that don't have
1315f41ae0b2SRalf Baechle	  the option of an MT-enabled processor this option will be the only
1316f41ae0b2SRalf Baechle	  option in this menu.
1317340ee4b9SRalf Baechle
131859d6ab86SRalf Baechleconfig MIPS_MT_SMP
131959d6ab86SRalf Baechle	bool "Use 1 TC on each available VPE for SMP"
132059d6ab86SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
132159d6ab86SRalf Baechle	select CPU_MIPSR2_IRQ_VI
1322d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
132359d6ab86SRalf Baechle	select CPU_MIPSR2_SRS
132459d6ab86SRalf Baechle	select MIPS_MT
1325f510aa3bSRalf Baechle	select NR_CPUS_DEFAULT_2
132659d6ab86SRalf Baechle	select SMP
132759d6ab86SRalf Baechle	select SYS_SUPPORTS_SMP
132859d6ab86SRalf Baechle	help
132959d6ab86SRalf Baechle	  This is a kernel model which is also known a VSMP or lately
133059d6ab86SRalf Baechle	  has been marketesed into SMVP.
133159d6ab86SRalf Baechle
133241c594abSRalf Baechleconfig MIPS_MT_SMTC
133341c594abSRalf Baechle	bool "SMTC: Use all TCs on all VPEs for SMP"
1334f41ae0b2SRalf Baechle	depends on CPU_MIPS32_R2
1335f41ae0b2SRalf Baechle	#depends on CPU_MIPS64_R2		# once there is hardware ...
1336f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1337f7062ddbSRalf Baechle	select CPU_MIPSR2_IRQ_VI
1338d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1339f7062ddbSRalf Baechle	select CPU_MIPSR2_SRS
1340f41ae0b2SRalf Baechle	select MIPS_MT
1341130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_8
134241c594abSRalf Baechle	select SMP
134373b76c78SRalf Baechle	select SYS_SUPPORTS_SMP
1344f41ae0b2SRalf Baechle	help
1345f41ae0b2SRalf Baechle	  This is a kernel model which is known a SMTC or lately has been
1346f41ae0b2SRalf Baechle	  marketesed into SMVP.
134741c594abSRalf Baechle
1348340ee4b9SRalf Baechleendchoice
1349340ee4b9SRalf Baechle
1350f41ae0b2SRalf Baechleconfig MIPS_MT
1351f41ae0b2SRalf Baechle	bool
1352f41ae0b2SRalf Baechle
1353f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING
1354f41ae0b2SRalf Baechle	bool
1355f41ae0b2SRalf Baechle
1356f088fc84SRalf Baechleconfig MIPS_MT_FPAFF
1357f088fc84SRalf Baechle	bool "Dynamic FPU affinity for FP-intensive threads"
1358f088fc84SRalf Baechle	default y
135907cc0c9eSRalf Baechle	depends on MIPS_MT_SMP || MIPS_MT_SMTC
136007cc0c9eSRalf Baechle
136107cc0c9eSRalf Baechleconfig MIPS_VPE_LOADER
136207cc0c9eSRalf Baechle	bool "VPE loader support."
136307cc0c9eSRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
136407cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_VI
136507cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_EI
136607cc0c9eSRalf Baechle	select CPU_MIPSR2_SRS
136707cc0c9eSRalf Baechle	select MIPS_MT
136807cc0c9eSRalf Baechle	help
136907cc0c9eSRalf Baechle	  Includes a loader for loading an elf relocatable object
137007cc0c9eSRalf Baechle	  onto another VPE and running it.
1371f088fc84SRalf Baechle
1372ac8be955SRalf Baechleconfig MIPS_MT_SMTC_INSTANT_REPLAY
1373ac8be955SRalf Baechle	bool "Low-latency Dispatch of Deferred SMTC IPIs"
1374619af723SRalf Baechle	depends on MIPS_MT_SMTC && !PREEMPT
1375ac8be955SRalf Baechle	default y
1376ac8be955SRalf Baechle	help
1377ac8be955SRalf Baechle	  SMTC pseudo-interrupts between TCs are deferred and queued
1378ac8be955SRalf Baechle	  if the target TC is interrupt-inhibited (IXMT). In the first
1379ac8be955SRalf Baechle	  SMTC prototypes, these queued IPIs were serviced on return
1380ac8be955SRalf Baechle	  to user mode, or on entry into the kernel idle loop. The
1381ac8be955SRalf Baechle	  INSTANT_REPLAY option dispatches them as part of local_irq_restore()
1382ac8be955SRalf Baechle	  processing, which adds runtime overhead (hence the option to turn
1383ac8be955SRalf Baechle	  it off), but ensures that IPIs are handled promptly even under
1384ac8be955SRalf Baechle	  heavy I/O interrupt load.
1385ac8be955SRalf Baechle
13860db34215SKevin D. Kissellconfig MIPS_MT_SMTC_IM_BACKSTOP
13870db34215SKevin D. Kissell	bool "Use per-TC register bits as backstop for inhibited IM bits"
13880db34215SKevin D. Kissell	depends on MIPS_MT_SMTC
13890db34215SKevin D. Kissell	default y
13900db34215SKevin D. Kissell	help
13910db34215SKevin D. Kissell	  To support multiple TC microthreads acting as "CPUs" within
13920db34215SKevin D. Kissell	  a VPE, VPE-wide interrupt mask bits must be specially manipulated
13930db34215SKevin D. Kissell	  during interrupt handling. To support legacy drivers and interrupt
13940db34215SKevin D. Kissell	  controller management code, SMTC has a "backstop" to track and
13950db34215SKevin D. Kissell	  if necessary restore the interrupt mask. This has some performance
13960db34215SKevin D. Kissell	  impact on interrupt service overhead. Disable it only if you know
13970db34215SKevin D. Kissell	  what you are doing.
13980db34215SKevin D. Kissell
1399f571eff0SKevin D. Kissellconfig MIPS_MT_SMTC_IRQAFF
1400f571eff0SKevin D. Kissell	bool "Support IRQ affinity API"
1401f571eff0SKevin D. Kissell	depends on MIPS_MT_SMTC
1402f571eff0SKevin D. Kissell	default n
1403f571eff0SKevin D. Kissell	help
1404f571eff0SKevin D. Kissell	  Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1405f571eff0SKevin D. Kissell	  for SMTC Linux kernel. Requires platform support, of which
1406f571eff0SKevin D. Kissell	  an example can be found in the MIPS kernel i8259 and Malta
1407f571eff0SKevin D. Kissell	  platform code.  It is recommended that MIPS_MT_SMTC_INSTANT_REPLAY
1408f571eff0SKevin D. Kissell	  be enabled if MIPS_MT_SMTC_IRQAFF is used. Adds overhead to
1409f571eff0SKevin D. Kissell	  interrupt dispatch, and should be used only if you know what
1410f571eff0SKevin D. Kissell	  you are doing.
1411f571eff0SKevin D. Kissell
1412e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM
1413e01402b1SRalf Baechle	bool "Load VPE program into memory hidden from linux"
1414e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
1415e01402b1SRalf Baechle	default y
1416e01402b1SRalf Baechle	help
1417e01402b1SRalf Baechle	  The loader can use memory that is present but has been hidden from
1418e01402b1SRalf Baechle	  Linux using the kernel command line option "mem=xxMB". It's up to
1419e01402b1SRalf Baechle	  you to ensure the amount you put in the option and the space your
1420e01402b1SRalf Baechle	  program requires is less or equal to the amount physically present.
1421e01402b1SRalf Baechle
1422e01402b1SRalf Baechle# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1423e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API
1424e01402b1SRalf Baechle	bool "Enable support for AP/SP API (RTLX)"
1425e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
14265e83d430SRalf Baechle	help
1427e01402b1SRalf Baechle
14282600990eSRalf Baechleconfig MIPS_APSP_KSPD
14292600990eSRalf Baechle	bool "Enable KSPD"
14302600990eSRalf Baechle	depends on MIPS_VPE_APSP_API
14312600990eSRalf Baechle	default y
14322600990eSRalf Baechle	help
14332600990eSRalf Baechle	  KSPD is a kernel daemon that accepts syscall requests from the SP
14342600990eSRalf Baechle	  side, actions them and returns the results. It also handles the
14352600990eSRalf Baechle	  "exit" syscall notifying other kernel modules the SP program is
14362600990eSRalf Baechle	  exiting.  You probably want to say yes here.
14372600990eSRalf Baechle
14381da177e4SLinus Torvaldsconfig SB1_PASS_1_WORKAROUNDS
14391da177e4SLinus Torvalds	bool
14401da177e4SLinus Torvalds	depends on CPU_SB1_PASS_1
14411da177e4SLinus Torvalds	default y
14421da177e4SLinus Torvalds
14431da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS
14441da177e4SLinus Torvalds	bool
14451da177e4SLinus Torvalds	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
14461da177e4SLinus Torvalds	default y
14471da177e4SLinus Torvalds
14481da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS
14491da177e4SLinus Torvalds	bool
14501da177e4SLinus Torvalds	depends on CPU_SB1 && CPU_SB1_PASS_2
14511da177e4SLinus Torvalds	default y
14521da177e4SLinus Torvalds
14531da177e4SLinus Torvaldsconfig 64BIT_PHYS_ADDR
1454d806cb2bSRalf Baechle	bool
14551da177e4SLinus Torvalds
14561da177e4SLinus Torvaldsconfig CPU_HAS_LLSC
1457f7062ddbSRalf Baechle	bool
14581da177e4SLinus Torvalds
14599693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS
14609693a853SFranck Bui-Huu	depends on SYS_SUPPORTS_SMARTMIPS
14619693a853SFranck Bui-Huu	bool "Support for the SmartMIPS ASE"
14629693a853SFranck Bui-Huu	help
14639693a853SFranck Bui-Huu	  SmartMIPS is a extension of the MIPS32 architecture aimed at
14649693a853SFranck Bui-Huu	  increased security at both hardware and software level for
14659693a853SFranck Bui-Huu	  smartcards.  Enabling this option will allow proper use of the
14669693a853SFranck Bui-Huu	  SmartMIPS instructions by Linux applications.  However a kernel with
14679693a853SFranck Bui-Huu	  this option will not work on a MIPS core without SmartMIPS core.  If
14689693a853SFranck Bui-Huu	  you don't know you probably don't have SmartMIPS and should say N
14699693a853SFranck Bui-Huu	  here.
14709693a853SFranck Bui-Huu
14711da177e4SLinus Torvaldsconfig CPU_HAS_WB
1472f7062ddbSRalf Baechle	bool
1473e01402b1SRalf Baechle
14742a21c730SFuxin Zhangconfig 64BIT_CONTEXT
14752a21c730SFuxin Zhang	bool "Save 64bit integer registers"
14762a21c730SFuxin Zhang	depends on 32BIT && CPU_LOONGSON2
14772a21c730SFuxin Zhang	help
14782a21c730SFuxin Zhang	  Loongson2 CPU is 64bit , when used in 32BIT mode, its integer
14792a21c730SFuxin Zhang	  registers can still be accessed as 64bit, mainly for multimedia
14802a21c730SFuxin Zhang	  instructions. We must have all 64bit save/restored to make sure
14812a21c730SFuxin Zhang	  those instructions to get correct result.
14822a21c730SFuxin Zhang
1483f41ae0b2SRalf Baechle#
1484f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature
1485f41ae0b2SRalf Baechle#
1486e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI
1487f41ae0b2SRalf Baechle	bool
1488e01402b1SRalf Baechle
1489f41ae0b2SRalf Baechle#
1490f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature
1491f41ae0b2SRalf Baechle#
1492e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI
1493f41ae0b2SRalf Baechle	bool
1494e01402b1SRalf Baechle
1495f41ae0b2SRalf Baechle#
1496f41ae0b2SRalf Baechle# Shadow registers are an R2 feature
1497f41ae0b2SRalf Baechle#
1498e01402b1SRalf Baechleconfig CPU_MIPSR2_SRS
1499f41ae0b2SRalf Baechle	bool
1500e01402b1SRalf Baechle
15011da177e4SLinus Torvaldsconfig CPU_HAS_SYNC
15021da177e4SLinus Torvalds	bool
15031da177e4SLinus Torvalds	depends on !CPU_R3000
15041da177e4SLinus Torvalds	default y
15051da177e4SLinus Torvalds
15061da177e4SLinus Torvalds#
1507797798c1SRalf Baechle# Use the generic interrupt handling code in kernel/irq/:
1508797798c1SRalf Baechle#
1509797798c1SRalf Baechleconfig GENERIC_HARDIRQS
1510797798c1SRalf Baechle	bool
1511797798c1SRalf Baechle	default y
1512797798c1SRalf Baechle
1513797798c1SRalf Baechleconfig GENERIC_IRQ_PROBE
1514797798c1SRalf Baechle	bool
1515797798c1SRalf Baechle	default y
1516797798c1SRalf Baechle
15170d7012a9SIngo Molnarconfig IRQ_PER_CPU
15180d7012a9SIngo Molnar	bool
15190d7012a9SIngo Molnar
1520797798c1SRalf Baechle#
15211da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel.
15221da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed
15231da177e4SLinus Torvalds#   caches such as R3000, SB1, R7000 or those that look like they're virtually
15241da177e4SLinus Torvalds#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
15251da177e4SLinus Torvalds#   moment we protect the user and offer the highmem option only on machines
15261da177e4SLinus Torvalds#   where it's known to be safe.  This will not offer highmem on a few systems
15271da177e4SLinus Torvalds#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
15281da177e4SLinus Torvalds#   indexed CPUs but we're playing safe.
1529797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1530797798c1SRalf Baechle#   know they might have memory configurations that could make use of highmem
1531797798c1SRalf Baechle#   support.
15321da177e4SLinus Torvalds#
15331da177e4SLinus Torvaldsconfig HIGHMEM
15341da177e4SLinus Torvalds	bool "High Memory Support"
1535797798c1SRalf Baechle	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1536797798c1SRalf Baechle
1537797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM
1538797798c1SRalf Baechle	bool
1539797798c1SRalf Baechle
1540797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM
1541797798c1SRalf Baechle	bool
15421da177e4SLinus Torvalds
15439693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS
15449693a853SFranck Bui-Huu	bool
15459693a853SFranck Bui-Huu
1546b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE
1547b4819b59SYoichi Yuasa	def_bool y
1548b4819b59SYoichi Yuasa	depends on !NUMA
1549b4819b59SYoichi Yuasa
1550d8cb4e11SRalf Baechleconfig ARCH_DISCONTIGMEM_ENABLE
1551d8cb4e11SRalf Baechle	bool
1552d8cb4e11SRalf Baechle	default y if SGI_IP27
1553d8cb4e11SRalf Baechle	help
15543dde6ad8SDavid Sterba	  Say Y to support efficient handling of discontiguous physical memory,
1555d8cb4e11SRalf Baechle	  for architectures which are either NUMA (Non-Uniform Memory Access)
1556d8cb4e11SRalf Baechle	  or have huge holes in the physical address space for other reasons.
1557d8cb4e11SRalf Baechle	  See <file:Documentation/vm/numa> for more.
1558d8cb4e11SRalf Baechle
1559b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE
1560b1c6cd42SAtsushi Nemoto	bool
15617de58fabSAtsushi Nemoto	select SPARSEMEM_STATIC
156231473747SAtsushi Nemoto
1563d8cb4e11SRalf Baechleconfig NUMA
1564d8cb4e11SRalf Baechle	bool "NUMA Support"
1565d8cb4e11SRalf Baechle	depends on SYS_SUPPORTS_NUMA
1566d8cb4e11SRalf Baechle	help
1567d8cb4e11SRalf Baechle	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1568d8cb4e11SRalf Baechle	  Access).  This option improves performance on systems with more
1569d8cb4e11SRalf Baechle	  than two nodes; on two node systems it is generally better to
1570d8cb4e11SRalf Baechle	  leave it disabled; on single node systems disable this option
1571d8cb4e11SRalf Baechle	  disabled.
1572d8cb4e11SRalf Baechle
1573d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA
1574d8cb4e11SRalf Baechle	bool
1575d8cb4e11SRalf Baechle
1576c80d79d7SYasunori Gotoconfig NODES_SHIFT
1577c80d79d7SYasunori Goto	int
1578c80d79d7SYasunori Goto	default "6"
1579c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
1580c80d79d7SYasunori Goto
1581b4819b59SYoichi Yuasasource "mm/Kconfig"
1582b4819b59SYoichi Yuasa
15831da177e4SLinus Torvaldsconfig SMP
15841da177e4SLinus Torvalds	bool "Multi-Processing support"
1585e73ea273SRalf Baechle	depends on SYS_SUPPORTS_SMP
1586b4b30a5aSRalf Baechle	select IRQ_PER_CPU
1587e73ea273SRalf Baechle	help
15881da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
15891da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
15901da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
15911da177e4SLinus Torvalds
15921da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
15931da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
15941da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
15951da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
15961da177e4SLinus Torvalds	  will run faster if you say N here.
15971da177e4SLinus Torvalds
15981da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
15991da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below.
16001da177e4SLinus Torvalds
16011da177e4SLinus Torvalds	  See also the <file:Documentation/smp.txt> and the SMP-HOWTO
16021da177e4SLinus Torvalds	  available at <http://www.tldp.org/docs.html#howto>.
16031da177e4SLinus Torvalds
16041da177e4SLinus Torvalds	  If you don't know what to do here, say N.
16051da177e4SLinus Torvalds
1606e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP
1607e73ea273SRalf Baechle	bool
1608e73ea273SRalf Baechle
160972ede9b1SAtsushi Nemotoconfig NR_CPUS_DEFAULT_1
161072ede9b1SAtsushi Nemoto	bool
161172ede9b1SAtsushi Nemoto
1612130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_2
1613130e2fb7SRalf Baechle	bool
1614130e2fb7SRalf Baechle
1615130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4
1616130e2fb7SRalf Baechle	bool
1617130e2fb7SRalf Baechle
1618130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8
1619130e2fb7SRalf Baechle	bool
1620130e2fb7SRalf Baechle
1621130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16
1622130e2fb7SRalf Baechle	bool
1623130e2fb7SRalf Baechle
1624130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32
1625130e2fb7SRalf Baechle	bool
1626130e2fb7SRalf Baechle
1627130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64
1628130e2fb7SRalf Baechle	bool
1629130e2fb7SRalf Baechle
16301da177e4SLinus Torvaldsconfig NR_CPUS
16311da177e4SLinus Torvalds	int "Maximum number of CPUs (2-64)"
163272ede9b1SAtsushi Nemoto	range 1 64 if NR_CPUS_DEFAULT_1
16331da177e4SLinus Torvalds	depends on SMP
163472ede9b1SAtsushi Nemoto	default "1" if NR_CPUS_DEFAULT_1
1635130e2fb7SRalf Baechle	default "2" if NR_CPUS_DEFAULT_2
1636130e2fb7SRalf Baechle	default "4" if NR_CPUS_DEFAULT_4
1637130e2fb7SRalf Baechle	default "8" if NR_CPUS_DEFAULT_8
1638130e2fb7SRalf Baechle	default "16" if NR_CPUS_DEFAULT_16
1639130e2fb7SRalf Baechle	default "32" if NR_CPUS_DEFAULT_32
1640130e2fb7SRalf Baechle	default "64" if NR_CPUS_DEFAULT_64
16411da177e4SLinus Torvalds	help
16421da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
16431da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 32 for 32-bit
16441da177e4SLinus Torvalds	  kernel and 64 for 64-bit kernels; the minimum value which makes
164572ede9b1SAtsushi Nemoto	  sense is 1 for Qemu (useful only for kernel debugging purposes)
164672ede9b1SAtsushi Nemoto	  and 2 for all others.
16471da177e4SLinus Torvalds
16481da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
164972ede9b1SAtsushi Nemoto	  approximately eight kilobytes to the kernel image.  For best
165072ede9b1SAtsushi Nemoto	  performance should round up your number of processors to the next
165172ede9b1SAtsushi Nemoto	  power of two.
16521da177e4SLinus Torvalds
16531723b4a3SAtsushi Nemoto#
16541723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration
16551723b4a3SAtsushi Nemoto#
16561723b4a3SAtsushi Nemoto
16571723b4a3SAtsushi Nemotochoice
16581723b4a3SAtsushi Nemoto	prompt "Timer frequency"
16591723b4a3SAtsushi Nemoto	default HZ_250
16601723b4a3SAtsushi Nemoto	help
16611723b4a3SAtsushi Nemoto	 Allows the configuration of the timer frequency.
16621723b4a3SAtsushi Nemoto
16631723b4a3SAtsushi Nemoto	config HZ_48
16641723b4a3SAtsushi Nemoto		bool "48 HZ" if SYS_SUPPORTS_48HZ
16651723b4a3SAtsushi Nemoto
16661723b4a3SAtsushi Nemoto	config HZ_100
16671723b4a3SAtsushi Nemoto		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
16681723b4a3SAtsushi Nemoto
16691723b4a3SAtsushi Nemoto	config HZ_128
16701723b4a3SAtsushi Nemoto		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
16711723b4a3SAtsushi Nemoto
16721723b4a3SAtsushi Nemoto	config HZ_250
16731723b4a3SAtsushi Nemoto		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
16741723b4a3SAtsushi Nemoto
16751723b4a3SAtsushi Nemoto	config HZ_256
16761723b4a3SAtsushi Nemoto		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
16771723b4a3SAtsushi Nemoto
16781723b4a3SAtsushi Nemoto	config HZ_1000
16791723b4a3SAtsushi Nemoto		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
16801723b4a3SAtsushi Nemoto
16811723b4a3SAtsushi Nemoto	config HZ_1024
16821723b4a3SAtsushi Nemoto		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
16831723b4a3SAtsushi Nemoto
16841723b4a3SAtsushi Nemotoendchoice
16851723b4a3SAtsushi Nemoto
16861723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ
16871723b4a3SAtsushi Nemoto	bool
16881723b4a3SAtsushi Nemoto
16891723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ
16901723b4a3SAtsushi Nemoto	bool
16911723b4a3SAtsushi Nemoto
16921723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ
16931723b4a3SAtsushi Nemoto	bool
16941723b4a3SAtsushi Nemoto
16951723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ
16961723b4a3SAtsushi Nemoto	bool
16971723b4a3SAtsushi Nemoto
16981723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ
16991723b4a3SAtsushi Nemoto	bool
17001723b4a3SAtsushi Nemoto
17011723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ
17021723b4a3SAtsushi Nemoto	bool
17031723b4a3SAtsushi Nemoto
17041723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ
17051723b4a3SAtsushi Nemoto	bool
17061723b4a3SAtsushi Nemoto
17071723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ
17081723b4a3SAtsushi Nemoto	bool
17091723b4a3SAtsushi Nemoto	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
17101723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
17111723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
17121723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_1024HZ
17131723b4a3SAtsushi Nemoto
17141723b4a3SAtsushi Nemotoconfig HZ
17151723b4a3SAtsushi Nemoto	int
17161723b4a3SAtsushi Nemoto	default 48 if HZ_48
17171723b4a3SAtsushi Nemoto	default 100 if HZ_100
17181723b4a3SAtsushi Nemoto	default 128 if HZ_128
17191723b4a3SAtsushi Nemoto	default 250 if HZ_250
17201723b4a3SAtsushi Nemoto	default 256 if HZ_256
17211723b4a3SAtsushi Nemoto	default 1000 if HZ_1000
17221723b4a3SAtsushi Nemoto	default 1024 if HZ_1024
17231723b4a3SAtsushi Nemoto
1724e80de850SRalf Baechlesource "kernel/Kconfig.preempt"
17251da177e4SLinus Torvalds
17261da177e4SLinus Torvaldsconfig MIPS_INSANE_LARGE
17271da177e4SLinus Torvalds	bool "Support for large 64-bit configurations"
1728875d43e7SRalf Baechle	depends on CPU_R10000 && 64BIT
17291da177e4SLinus Torvalds	help
17301da177e4SLinus Torvalds	  MIPS R10000 does support a 44 bit / 16TB address space as opposed to
17311da177e4SLinus Torvalds	  previous 64-bit processors which only supported 40 bit / 1TB. If you
17321da177e4SLinus Torvalds	  need processes of more than 1TB virtual address space, say Y here.
17331da177e4SLinus Torvalds	  This will result in additional memory usage, so it is not
17341da177e4SLinus Torvalds	  recommended for normal users.
17351da177e4SLinus Torvalds
1736ea6e942bSAtsushi Nemotoconfig KEXEC
1737ea6e942bSAtsushi Nemoto	bool "Kexec system call (EXPERIMENTAL)"
1738ea6e942bSAtsushi Nemoto	depends on EXPERIMENTAL
1739ea6e942bSAtsushi Nemoto	help
1740ea6e942bSAtsushi Nemoto	  kexec is a system call that implements the ability to shutdown your
1741ea6e942bSAtsushi Nemoto	  current kernel, and to start another kernel.  It is like a reboot
17423dde6ad8SDavid Sterba	  but it is independent of the system firmware.   And like a reboot
1743ea6e942bSAtsushi Nemoto	  you can start any kernel with it, not just Linux.
1744ea6e942bSAtsushi Nemoto
1745ea6e942bSAtsushi Nemoto	  The name comes from the similiarity to the exec system call.
1746ea6e942bSAtsushi Nemoto
1747ea6e942bSAtsushi Nemoto	  It is an ongoing process to be certain the hardware in a machine
1748ea6e942bSAtsushi Nemoto	  is properly shutdown, so do not be surprised if this code does not
1749ea6e942bSAtsushi Nemoto	  initially work for you.  It may help to enable device hotplugging
1750ea6e942bSAtsushi Nemoto	  support.  As of this writing the exact hardware interface is
1751ea6e942bSAtsushi Nemoto	  strongly in flux, so no good recommendation can be made.
1752ea6e942bSAtsushi Nemoto
1753ea6e942bSAtsushi Nemotoconfig SECCOMP
1754ea6e942bSAtsushi Nemoto	bool "Enable seccomp to safely compute untrusted bytecode"
1755293c5bd1SRalf Baechle	depends on PROC_FS
1756ea6e942bSAtsushi Nemoto	default y
1757ea6e942bSAtsushi Nemoto	help
1758ea6e942bSAtsushi Nemoto	  This kernel feature is useful for number crunching applications
1759ea6e942bSAtsushi Nemoto	  that may need to compute untrusted bytecode during their
1760ea6e942bSAtsushi Nemoto	  execution. By using pipes or other transports made available to
1761ea6e942bSAtsushi Nemoto	  the process as file descriptors supporting the read/write
1762ea6e942bSAtsushi Nemoto	  syscalls, it's possible to isolate those applications in
1763ea6e942bSAtsushi Nemoto	  their own address space using seccomp. Once seccomp is
1764ea6e942bSAtsushi Nemoto	  enabled via /proc/<pid>/seccomp, it cannot be disabled
1765ea6e942bSAtsushi Nemoto	  and the task is only allowed to execute a few safe syscalls
1766ea6e942bSAtsushi Nemoto	  defined by each seccomp mode.
1767ea6e942bSAtsushi Nemoto
1768ea6e942bSAtsushi Nemoto	  If unsure, say Y. Only embedded should say N here.
1769ea6e942bSAtsushi Nemoto
17705e83d430SRalf Baechleendmenu
17715e83d430SRalf Baechle
17721da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
17731da177e4SLinus Torvalds	bool
17741da177e4SLinus Torvalds	default y
17751da177e4SLinus Torvalds
17761df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT
17771df0f0ffSAtsushi Nemoto	bool
17781df0f0ffSAtsushi Nemoto	default y
17791df0f0ffSAtsushi Nemoto
17801df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT
17811df0f0ffSAtsushi Nemoto	bool
17821df0f0ffSAtsushi Nemoto	default y
17831df0f0ffSAtsushi Nemoto
1784b6c3539bSRalf Baechlesource "init/Kconfig"
1785b6c3539bSRalf Baechle
17861da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
17871da177e4SLinus Torvalds
17885e83d430SRalf Baechleconfig HW_HAS_EISA
17895e83d430SRalf Baechle	bool
17901da177e4SLinus Torvaldsconfig HW_HAS_PCI
17911da177e4SLinus Torvalds	bool
17921da177e4SLinus Torvalds
17931da177e4SLinus Torvaldsconfig PCI
17941da177e4SLinus Torvalds	bool "Support for PCI controller"
17951da177e4SLinus Torvalds	depends on HW_HAS_PCI
17961da177e4SLinus Torvalds	help
17971da177e4SLinus Torvalds	  Find out whether you have a PCI motherboard. PCI is the name of a
17981da177e4SLinus Torvalds	  bus system, i.e. the way the CPU talks to the other stuff inside
17991da177e4SLinus Torvalds	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
18001da177e4SLinus Torvalds	  say Y, otherwise N.
18011da177e4SLinus Torvalds
18021da177e4SLinus Torvalds	  The PCI-HOWTO, available from
18031da177e4SLinus Torvalds	  <http://www.tldp.org/docs.html#howto>, contains valuable
18041da177e4SLinus Torvalds	  information about which PCI hardware does work under Linux and which
18051da177e4SLinus Torvalds	  doesn't.
18061da177e4SLinus Torvalds
18071da177e4SLinus Torvaldsconfig PCI_DOMAINS
18081da177e4SLinus Torvalds	bool
18091da177e4SLinus Torvalds	depends on PCI
18101da177e4SLinus Torvalds
18111da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
18121da177e4SLinus Torvalds
18131da177e4SLinus Torvalds#
18141da177e4SLinus Torvalds# ISA support is now enabled via select.  Too many systems still have the one
18151da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect
18161da177e4SLinus Torvalds# users to choose the right thing ...
18171da177e4SLinus Torvalds#
18181da177e4SLinus Torvaldsconfig ISA
18191da177e4SLinus Torvalds	bool
18201da177e4SLinus Torvalds
18211da177e4SLinus Torvaldsconfig EISA
18221da177e4SLinus Torvalds	bool "EISA support"
18235e83d430SRalf Baechle	depends on HW_HAS_EISA
18241da177e4SLinus Torvalds	select ISA
1825aa414dffSRalf Baechle	select GENERIC_ISA_DMA
18261da177e4SLinus Torvalds	---help---
18271da177e4SLinus Torvalds	  The Extended Industry Standard Architecture (EISA) bus was
18281da177e4SLinus Torvalds	  developed as an open alternative to the IBM MicroChannel bus.
18291da177e4SLinus Torvalds
18301da177e4SLinus Torvalds	  The EISA bus provided some of the features of the IBM MicroChannel
18311da177e4SLinus Torvalds	  bus while maintaining backward compatibility with cards made for
18321da177e4SLinus Torvalds	  the older ISA bus.  The EISA bus saw limited use between 1988 and
18331da177e4SLinus Torvalds	  1995 when it was made obsolete by the PCI bus.
18341da177e4SLinus Torvalds
18351da177e4SLinus Torvalds	  Say Y here if you are building a kernel for an EISA-based machine.
18361da177e4SLinus Torvalds
18371da177e4SLinus Torvalds	  Otherwise, say N.
18381da177e4SLinus Torvalds
18391da177e4SLinus Torvaldssource "drivers/eisa/Kconfig"
18401da177e4SLinus Torvalds
18411da177e4SLinus Torvaldsconfig TC
18421da177e4SLinus Torvalds	bool "TURBOchannel support"
18431da177e4SLinus Torvalds	depends on MACH_DECSTATION
18441da177e4SLinus Torvalds	help
18451da177e4SLinus Torvalds	  TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
18461da177e4SLinus Torvalds	  processors.  Documentation on writing device drivers for TurboChannel
18471da177e4SLinus Torvalds	  is available at:
18481da177e4SLinus Torvalds	  <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
18491da177e4SLinus Torvalds
18501da177e4SLinus Torvalds#config ACCESSBUS
18511da177e4SLinus Torvalds#	bool "Access.Bus support"
18521da177e4SLinus Torvalds#	depends on TC
18531da177e4SLinus Torvalds
18541da177e4SLinus Torvaldsconfig MMU
18551da177e4SLinus Torvalds	bool
18561da177e4SLinus Torvalds	default y
18571da177e4SLinus Torvalds
1858de61b542SRalf Baechleconfig PCSPEAKER
1859e5c6c8e4SMichael Neuling	bool
1860e5c6c8e4SMichael Neuling
18611da177e4SLinus Torvaldssource "drivers/pcmcia/Kconfig"
18621da177e4SLinus Torvalds
18631da177e4SLinus Torvaldssource "drivers/pci/hotplug/Kconfig"
18641da177e4SLinus Torvalds
18651da177e4SLinus Torvaldsendmenu
18661da177e4SLinus Torvalds
18671da177e4SLinus Torvaldsmenu "Executable file formats"
18681da177e4SLinus Torvalds
18691da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
18701da177e4SLinus Torvalds
18711da177e4SLinus Torvaldsconfig TRAD_SIGNALS
18721da177e4SLinus Torvalds	bool
18731da177e4SLinus Torvalds
18741da177e4SLinus Torvaldsconfig BINFMT_IRIX
18751da177e4SLinus Torvalds	bool "Include IRIX binary compatibility"
18765e83d430SRalf Baechle	depends on CPU_BIG_ENDIAN && 32BIT && BROKEN
18771da177e4SLinus Torvalds
18781da177e4SLinus Torvaldsconfig MIPS32_COMPAT
18791da177e4SLinus Torvalds	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
1880875d43e7SRalf Baechle	depends on 64BIT
18811da177e4SLinus Torvalds	help
18821da177e4SLinus Torvalds	  Select this option if you want Linux/MIPS 32-bit binary
18831da177e4SLinus Torvalds	  compatibility. Since all software available for Linux/MIPS is
18841da177e4SLinus Torvalds	  currently 32-bit you should say Y here.
18851da177e4SLinus Torvalds
18861da177e4SLinus Torvaldsconfig COMPAT
18871da177e4SLinus Torvalds	bool
18881da177e4SLinus Torvalds	depends on MIPS32_COMPAT
18891da177e4SLinus Torvalds	default y
18901da177e4SLinus Torvalds
189105e43966SAtsushi Nemotoconfig SYSVIPC_COMPAT
189205e43966SAtsushi Nemoto	bool
189305e43966SAtsushi Nemoto	depends on COMPAT && SYSVIPC
189405e43966SAtsushi Nemoto	default y
189505e43966SAtsushi Nemoto
18961da177e4SLinus Torvaldsconfig MIPS32_O32
18971da177e4SLinus Torvalds	bool "Kernel support for o32 binaries"
18981da177e4SLinus Torvalds	depends on MIPS32_COMPAT
18991da177e4SLinus Torvalds	help
19001da177e4SLinus Torvalds	  Select this option if you want to run o32 binaries.  These are pure
19011da177e4SLinus Torvalds	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
19021da177e4SLinus Torvalds	  existing binaries are in this format.
19031da177e4SLinus Torvalds
19041da177e4SLinus Torvalds	  If unsure, say Y.
19051da177e4SLinus Torvalds
19061da177e4SLinus Torvaldsconfig MIPS32_N32
19071da177e4SLinus Torvalds	bool "Kernel support for n32 binaries"
19081da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19091da177e4SLinus Torvalds	help
19101da177e4SLinus Torvalds	  Select this option if you want to run n32 binaries.  These are
19111da177e4SLinus Torvalds	  64-bit binaries using 32-bit quantities for addressing and certain
19121da177e4SLinus Torvalds	  data that would normally be 64-bit.  They are used in special
19131da177e4SLinus Torvalds	  cases.
19141da177e4SLinus Torvalds
19151da177e4SLinus Torvalds	  If unsure, say N.
19161da177e4SLinus Torvalds
19171da177e4SLinus Torvaldsconfig BINFMT_ELF32
19181da177e4SLinus Torvalds	bool
19191da177e4SLinus Torvalds	default y if MIPS32_O32 || MIPS32_N32
19201da177e4SLinus Torvalds
19212116245eSRalf Baechleendmenu
19221da177e4SLinus Torvalds
19232116245eSRalf Baechlemenu "Power management options"
1924952fa954SRodolfo Giometti
19252116245eSRalf Baechlesource "kernel/power/Kconfig"
1926952fa954SRodolfo Giometti
19271da177e4SLinus Torvaldsendmenu
19281da177e4SLinus Torvalds
1929d5950b43SSam Ravnborgsource "net/Kconfig"
1930d5950b43SSam Ravnborg
19311da177e4SLinus Torvaldssource "drivers/Kconfig"
19321da177e4SLinus Torvalds
19331da177e4SLinus Torvaldssource "fs/Kconfig"
19341da177e4SLinus Torvalds
19355e83d430SRalf Baechlesource "arch/mips/oprofile/Kconfig"
19365e83d430SRalf Baechle
19371da177e4SLinus Torvaldssource "arch/mips/Kconfig.debug"
19381da177e4SLinus Torvalds
19391da177e4SLinus Torvaldssource "security/Kconfig"
19401da177e4SLinus Torvalds
19411da177e4SLinus Torvaldssource "crypto/Kconfig"
19421da177e4SLinus Torvalds
19431da177e4SLinus Torvaldssource "lib/Kconfig"
1944