Kconfig 57 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423
  1. config MIPS
  2. bool
  3. default y
  4. select HAVE_GENERIC_DMA_COHERENT
  5. select HAVE_IDE
  6. select HAVE_OPROFILE
  7. select HAVE_PERF_EVENTS
  8. select PERF_USE_VMALLOC
  9. select HAVE_ARCH_KGDB
  10. select HAVE_FUNCTION_TRACER
  11. select HAVE_FUNCTION_TRACE_MCOUNT_TEST
  12. select HAVE_DYNAMIC_FTRACE
  13. select HAVE_FTRACE_MCOUNT_RECORD
  14. select HAVE_C_RECORDMCOUNT
  15. select HAVE_FUNCTION_GRAPH_TRACER
  16. select HAVE_KPROBES
  17. select HAVE_KRETPROBES
  18. select RTC_LIB if !MACH_LOONGSON
  19. select GENERIC_ATOMIC64 if !64BIT
  20. select HAVE_DMA_ATTRS
  21. select HAVE_DMA_API_DEBUG
  22. select HAVE_GENERIC_HARDIRQS
  23. select GENERIC_IRQ_PROBE
  24. select HAVE_ARCH_JUMP_LABEL
  25. menu "Machine selection"
  26. config ZONE_DMA
  27. bool
  28. choice
  29. prompt "System type"
  30. default SGI_IP22
  31. config MIPS_ALCHEMY
  32. bool "Alchemy processor based machines"
  33. select 64BIT_PHYS_ADDR
  34. select CEVT_R4K_LIB
  35. select CSRC_R4K_LIB
  36. select IRQ_CPU
  37. select SYS_HAS_CPU_MIPS32_R1
  38. select SYS_SUPPORTS_32BIT_KERNEL
  39. select SYS_SUPPORTS_APM_EMULATION
  40. select GENERIC_GPIO
  41. select ARCH_WANT_OPTIONAL_GPIOLIB
  42. select SYS_SUPPORTS_ZBOOT
  43. config AR7
  44. bool "Texas Instruments AR7"
  45. select BOOT_ELF32
  46. select DMA_NONCOHERENT
  47. select CEVT_R4K
  48. select CSRC_R4K
  49. select IRQ_CPU
  50. select NO_EXCEPT_FILL
  51. select SWAP_IO_SPACE
  52. select SYS_HAS_CPU_MIPS32_R1
  53. select SYS_HAS_EARLY_PRINTK
  54. select SYS_SUPPORTS_32BIT_KERNEL
  55. select SYS_SUPPORTS_LITTLE_ENDIAN
  56. select SYS_SUPPORTS_ZBOOT_UART16550
  57. select ARCH_REQUIRE_GPIOLIB
  58. select GCD
  59. select VLYNQ
  60. help
  61. Support for the Texas Instruments AR7 System-on-a-Chip
  62. family: TNETD7100, 7200 and 7300.
  63. config ATH79
  64. bool "Atheros AR71XX/AR724X/AR913X based boards"
  65. select ARCH_REQUIRE_GPIOLIB
  66. select BOOT_RAW
  67. select CEVT_R4K
  68. select CSRC_R4K
  69. select DMA_NONCOHERENT
  70. select IRQ_CPU
  71. select SYS_HAS_CPU_MIPS32_R2
  72. select SYS_HAS_EARLY_PRINTK
  73. select SYS_SUPPORTS_32BIT_KERNEL
  74. select SYS_SUPPORTS_BIG_ENDIAN
  75. help
  76. Support for the Atheros AR71XX/AR724X/AR913X SoCs.
  77. config BCM47XX
  78. bool "Broadcom BCM47XX based boards"
  79. select CEVT_R4K
  80. select CSRC_R4K
  81. select DMA_NONCOHERENT
  82. select HW_HAS_PCI
  83. select IRQ_CPU
  84. select SYS_HAS_CPU_MIPS32_R1
  85. select SYS_SUPPORTS_32BIT_KERNEL
  86. select SYS_SUPPORTS_LITTLE_ENDIAN
  87. select SSB
  88. select SSB_DRIVER_MIPS
  89. select SSB_DRIVER_EXTIF
  90. select SSB_EMBEDDED
  91. select SSB_B43_PCI_BRIDGE if PCI
  92. select SSB_PCICORE_HOSTMODE if PCI
  93. select GENERIC_GPIO
  94. select SYS_HAS_EARLY_PRINTK
  95. select CFE
  96. help
  97. Support for BCM47XX based boards
  98. config BCM63XX
  99. bool "Broadcom BCM63XX based boards"
  100. select CEVT_R4K
  101. select CSRC_R4K
  102. select DMA_NONCOHERENT
  103. select IRQ_CPU
  104. select SYS_HAS_CPU_MIPS32_R1
  105. select SYS_SUPPORTS_32BIT_KERNEL
  106. select SYS_SUPPORTS_BIG_ENDIAN
  107. select SYS_HAS_EARLY_PRINTK
  108. select SWAP_IO_SPACE
  109. select ARCH_REQUIRE_GPIOLIB
  110. help
  111. Support for BCM63XX based boards
  112. config MIPS_COBALT
  113. bool "Cobalt Server"
  114. select CEVT_R4K
  115. select CSRC_R4K
  116. select CEVT_GT641XX
  117. select DMA_NONCOHERENT
  118. select HW_HAS_PCI
  119. select I8253
  120. select I8259
  121. select IRQ_CPU
  122. select IRQ_GT641XX
  123. select PCI_GT64XXX_PCI0
  124. select PCI
  125. select SYS_HAS_CPU_NEVADA
  126. select SYS_HAS_EARLY_PRINTK
  127. select SYS_SUPPORTS_32BIT_KERNEL
  128. select SYS_SUPPORTS_64BIT_KERNEL
  129. select SYS_SUPPORTS_LITTLE_ENDIAN
  130. config MACH_DECSTATION
  131. bool "DECstations"
  132. select BOOT_ELF32
  133. select CEVT_DS1287
  134. select CEVT_R4K
  135. select CSRC_IOASIC
  136. select CSRC_R4K
  137. select CPU_DADDI_WORKAROUNDS if 64BIT
  138. select CPU_R4000_WORKAROUNDS if 64BIT
  139. select CPU_R4400_WORKAROUNDS if 64BIT
  140. select DMA_NONCOHERENT
  141. select NO_IOPORT
  142. select IRQ_CPU
  143. select SYS_HAS_CPU_R3000
  144. select SYS_HAS_CPU_R4X00
  145. select SYS_SUPPORTS_32BIT_KERNEL
  146. select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
  147. select SYS_SUPPORTS_LITTLE_ENDIAN
  148. select SYS_SUPPORTS_128HZ
  149. select SYS_SUPPORTS_256HZ
  150. select SYS_SUPPORTS_1024HZ
  151. help
  152. This enables support for DEC's MIPS based workstations. For details
  153. see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
  154. DECstation porting pages on <http://decstation.unix-ag.org/>.
  155. If you have one of the following DECstation Models you definitely
  156. want to choose R4xx0 for the CPU Type:
  157. DECstation 5000/50
  158. DECstation 5000/150
  159. DECstation 5000/260
  160. DECsystem 5900/260
  161. otherwise choose R3000.
  162. config MACH_JAZZ
  163. bool "Jazz family of machines"
  164. select ARC
  165. select ARC32
  166. select ARCH_MAY_HAVE_PC_FDC
  167. select CEVT_R4K
  168. select CSRC_R4K
  169. select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
  170. select GENERIC_ISA_DMA
  171. select IRQ_CPU
  172. select I8253
  173. select I8259
  174. select ISA
  175. select SYS_HAS_CPU_R4X00
  176. select SYS_SUPPORTS_32BIT_KERNEL
  177. select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
  178. select SYS_SUPPORTS_100HZ
  179. help
  180. This a family of machines based on the MIPS R4030 chipset which was
  181. used by several vendors to build RISC/os and Windows NT workstations.
  182. Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
  183. Olivetti M700-10 workstations.
  184. config MACH_JZ4740
  185. bool "Ingenic JZ4740 based machines"
  186. select SYS_HAS_CPU_MIPS32_R1
  187. select SYS_SUPPORTS_32BIT_KERNEL
  188. select SYS_SUPPORTS_LITTLE_ENDIAN
  189. select DMA_NONCOHERENT
  190. select IRQ_CPU
  191. select GENERIC_GPIO
  192. select ARCH_REQUIRE_GPIOLIB
  193. select SYS_HAS_EARLY_PRINTK
  194. select HAVE_PWM
  195. config LASAT
  196. bool "LASAT Networks platforms"
  197. select CEVT_R4K
  198. select CSRC_R4K
  199. select DMA_NONCOHERENT
  200. select SYS_HAS_EARLY_PRINTK
  201. select HW_HAS_PCI
  202. select IRQ_CPU
  203. select PCI_GT64XXX_PCI0
  204. select MIPS_NILE4
  205. select R5000_CPU_SCACHE
  206. select SYS_HAS_CPU_R5000
  207. select SYS_SUPPORTS_32BIT_KERNEL
  208. select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
  209. select SYS_SUPPORTS_LITTLE_ENDIAN
  210. config MACH_LOONGSON
  211. bool "Loongson family of machines"
  212. select SYS_SUPPORTS_ZBOOT
  213. help
  214. This enables the support of Loongson family of machines.
  215. Loongson is a family of general-purpose MIPS-compatible CPUs.
  216. developed at Institute of Computing Technology (ICT),
  217. Chinese Academy of Sciences (CAS) in the People's Republic
  218. of China. The chief architect is Professor Weiwu Hu.
  219. config MIPS_MALTA
  220. bool "MIPS Malta board"
  221. select ARCH_MAY_HAVE_PC_FDC
  222. select BOOT_ELF32
  223. select BOOT_RAW
  224. select CEVT_R4K
  225. select CSRC_R4K
  226. select DMA_NONCOHERENT
  227. select GENERIC_ISA_DMA
  228. select IRQ_CPU
  229. select IRQ_GIC
  230. select HW_HAS_PCI
  231. select I8253
  232. select I8259
  233. select MIPS_BOARDS_GEN
  234. select MIPS_BONITO64
  235. select MIPS_CPU_SCACHE
  236. select PCI_GT64XXX_PCI0
  237. select MIPS_MSC
  238. select SWAP_IO_SPACE
  239. select SYS_HAS_CPU_MIPS32_R1
  240. select SYS_HAS_CPU_MIPS32_R2
  241. select SYS_HAS_CPU_MIPS64_R1
  242. select SYS_HAS_CPU_NEVADA
  243. select SYS_HAS_CPU_RM7000
  244. select SYS_HAS_EARLY_PRINTK
  245. select SYS_SUPPORTS_32BIT_KERNEL
  246. select SYS_SUPPORTS_64BIT_KERNEL
  247. select SYS_SUPPORTS_BIG_ENDIAN
  248. select SYS_SUPPORTS_LITTLE_ENDIAN
  249. select SYS_SUPPORTS_MIPS_CMP
  250. select SYS_SUPPORTS_MULTITHREADING
  251. select SYS_SUPPORTS_SMARTMIPS
  252. select SYS_SUPPORTS_ZBOOT
  253. help
  254. This enables support for the MIPS Technologies Malta evaluation
  255. board.
  256. config MIPS_SIM
  257. bool 'MIPS simulator (MIPSsim)'
  258. select CEVT_R4K
  259. select CSRC_R4K
  260. select DMA_NONCOHERENT
  261. select SYS_HAS_EARLY_PRINTK
  262. select IRQ_CPU
  263. select BOOT_RAW
  264. select SYS_HAS_CPU_MIPS32_R1
  265. select SYS_HAS_CPU_MIPS32_R2
  266. select SYS_HAS_EARLY_PRINTK
  267. select SYS_SUPPORTS_32BIT_KERNEL
  268. select SYS_SUPPORTS_BIG_ENDIAN
  269. select SYS_SUPPORTS_MULTITHREADING
  270. select SYS_SUPPORTS_LITTLE_ENDIAN
  271. help
  272. This option enables support for MIPS Technologies MIPSsim software
  273. emulator.
  274. config NEC_MARKEINS
  275. bool "NEC EMMA2RH Mark-eins board"
  276. select SOC_EMMA2RH
  277. select HW_HAS_PCI
  278. help
  279. This enables support for the NEC Electronics Mark-eins boards.
  280. config MACH_VR41XX
  281. bool "NEC VR4100 series based machines"
  282. select CEVT_R4K
  283. select CSRC_R4K
  284. select SYS_HAS_CPU_VR41XX
  285. select ARCH_REQUIRE_GPIOLIB
  286. config NXP_STB220
  287. bool "NXP STB220 board"
  288. select SOC_PNX833X
  289. help
  290. Support for NXP Semiconductors STB220 Development Board.
  291. config NXP_STB225
  292. bool "NXP 225 board"
  293. select SOC_PNX833X
  294. select SOC_PNX8335
  295. help
  296. Support for NXP Semiconductors STB225 Development Board.
  297. config PNX8550_JBS
  298. bool "NXP PNX8550 based JBS board"
  299. select PNX8550
  300. select SYS_SUPPORTS_LITTLE_ENDIAN
  301. config PNX8550_STB810
  302. bool "NXP PNX8550 based STB810 board"
  303. select PNX8550
  304. select SYS_SUPPORTS_LITTLE_ENDIAN
  305. config PMC_MSP
  306. bool "PMC-Sierra MSP chipsets"
  307. depends on EXPERIMENTAL
  308. select DMA_NONCOHERENT
  309. select SWAP_IO_SPACE
  310. select NO_EXCEPT_FILL
  311. select BOOT_RAW
  312. select SYS_HAS_CPU_MIPS32_R1
  313. select SYS_HAS_CPU_MIPS32_R2
  314. select SYS_SUPPORTS_32BIT_KERNEL
  315. select SYS_SUPPORTS_BIG_ENDIAN
  316. select IRQ_CPU
  317. select SERIAL_8250
  318. select SERIAL_8250_CONSOLE
  319. help
  320. This adds support for the PMC-Sierra family of Multi-Service
  321. Processor System-On-A-Chips. These parts include a number
  322. of integrated peripherals, interfaces and DSPs in addition to
  323. a variety of MIPS cores.
  324. config PMC_YOSEMITE
  325. bool "PMC-Sierra Yosemite eval board"
  326. select CEVT_R4K
  327. select CSRC_R4K
  328. select DMA_COHERENT
  329. select HW_HAS_PCI
  330. select IRQ_CPU
  331. select IRQ_CPU_RM7K
  332. select IRQ_CPU_RM9K
  333. select SWAP_IO_SPACE
  334. select SYS_HAS_CPU_RM9000
  335. select SYS_HAS_EARLY_PRINTK
  336. select SYS_SUPPORTS_32BIT_KERNEL
  337. select SYS_SUPPORTS_64BIT_KERNEL
  338. select SYS_SUPPORTS_BIG_ENDIAN
  339. select SYS_SUPPORTS_HIGHMEM
  340. select SYS_SUPPORTS_SMP
  341. help
  342. Yosemite is an evaluation board for the RM9000x2 processor
  343. manufactured by PMC-Sierra.
  344. config POWERTV
  345. bool "Cisco PowerTV"
  346. select BOOT_ELF32
  347. select CEVT_R4K
  348. select CPU_MIPSR2_IRQ_VI
  349. select CPU_MIPSR2_IRQ_EI
  350. select CSRC_POWERTV
  351. select DMA_NONCOHERENT
  352. select HW_HAS_PCI
  353. select SYS_HAS_EARLY_PRINTK
  354. select SYS_HAS_CPU_MIPS32_R2
  355. select SYS_SUPPORTS_32BIT_KERNEL
  356. select SYS_SUPPORTS_BIG_ENDIAN
  357. select SYS_SUPPORTS_HIGHMEM
  358. select USB_OHCI_LITTLE_ENDIAN
  359. help
  360. This enables support for the Cisco PowerTV Platform.
  361. config SGI_IP22
  362. bool "SGI IP22 (Indy/Indigo2)"
  363. select ARC
  364. select ARC32
  365. select BOOT_ELF32
  366. select CEVT_R4K
  367. select CSRC_R4K
  368. select DEFAULT_SGI_PARTITION
  369. select DMA_NONCOHERENT
  370. select HW_HAS_EISA
  371. select I8253
  372. select I8259
  373. select IP22_CPU_SCACHE
  374. select IRQ_CPU
  375. select GENERIC_ISA_DMA_SUPPORT_BROKEN
  376. select SGI_HAS_I8042
  377. select SGI_HAS_INDYDOG
  378. select SGI_HAS_HAL2
  379. select SGI_HAS_SEEQ
  380. select SGI_HAS_WD93
  381. select SGI_HAS_ZILOG
  382. select SWAP_IO_SPACE
  383. select SYS_HAS_CPU_R4X00
  384. select SYS_HAS_CPU_R5000
  385. #
  386. # Disable EARLY_PRINTK for now since it leads to overwritten prom
  387. # memory during early boot on some machines.
  388. #
  389. # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
  390. # for a more details discussion
  391. #
  392. # select SYS_HAS_EARLY_PRINTK
  393. select SYS_SUPPORTS_32BIT_KERNEL
  394. select SYS_SUPPORTS_64BIT_KERNEL
  395. select SYS_SUPPORTS_BIG_ENDIAN
  396. help
  397. This are the SGI Indy, Challenge S and Indigo2, as well as certain
  398. OEM variants like the Tandem CMN B006S. To compile a Linux kernel
  399. that runs on these, say Y here.
  400. config SGI_IP27
  401. bool "SGI IP27 (Origin200/2000)"
  402. select ARC
  403. select ARC64
  404. select BOOT_ELF64
  405. select DEFAULT_SGI_PARTITION
  406. select DMA_COHERENT
  407. select SYS_HAS_EARLY_PRINTK
  408. select HW_HAS_PCI
  409. select NR_CPUS_DEFAULT_64
  410. select SYS_HAS_CPU_R10000
  411. select SYS_SUPPORTS_64BIT_KERNEL
  412. select SYS_SUPPORTS_BIG_ENDIAN
  413. select SYS_SUPPORTS_NUMA
  414. select SYS_SUPPORTS_SMP
  415. help
  416. This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
  417. workstations. To compile a Linux kernel that runs on these, say Y
  418. here.
  419. config SGI_IP28
  420. bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
  421. depends on EXPERIMENTAL
  422. select ARC
  423. select ARC64
  424. select BOOT_ELF64
  425. select CEVT_R4K
  426. select CSRC_R4K
  427. select DEFAULT_SGI_PARTITION
  428. select DMA_NONCOHERENT
  429. select GENERIC_ISA_DMA_SUPPORT_BROKEN
  430. select IRQ_CPU
  431. select HW_HAS_EISA
  432. select I8253
  433. select I8259
  434. select SGI_HAS_I8042
  435. select SGI_HAS_INDYDOG
  436. select SGI_HAS_HAL2
  437. select SGI_HAS_SEEQ
  438. select SGI_HAS_WD93
  439. select SGI_HAS_ZILOG
  440. select SWAP_IO_SPACE
  441. select SYS_HAS_CPU_R10000
  442. #
  443. # Disable EARLY_PRINTK for now since it leads to overwritten prom
  444. # memory during early boot on some machines.
  445. #
  446. # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
  447. # for a more details discussion
  448. #
  449. # select SYS_HAS_EARLY_PRINTK
  450. select SYS_SUPPORTS_64BIT_KERNEL
  451. select SYS_SUPPORTS_BIG_ENDIAN
  452. help
  453. This is the SGI Indigo2 with R10000 processor. To compile a Linux
  454. kernel that runs on these, say Y here.
  455. config SGI_IP32
  456. bool "SGI IP32 (O2)"
  457. select ARC
  458. select ARC32
  459. select BOOT_ELF32
  460. select CEVT_R4K
  461. select CSRC_R4K
  462. select DMA_NONCOHERENT
  463. select HW_HAS_PCI
  464. select IRQ_CPU
  465. select R5000_CPU_SCACHE
  466. select RM7000_CPU_SCACHE
  467. select SYS_HAS_CPU_R5000
  468. select SYS_HAS_CPU_R10000 if BROKEN
  469. select SYS_HAS_CPU_RM7000
  470. select SYS_HAS_CPU_NEVADA
  471. select SYS_SUPPORTS_64BIT_KERNEL
  472. select SYS_SUPPORTS_BIG_ENDIAN
  473. help
  474. If you want this kernel to run on SGI O2 workstation, say Y here.
  475. config SIBYTE_CRHINE
  476. bool "Sibyte BCM91120C-CRhine"
  477. depends on EXPERIMENTAL
  478. select BOOT_ELF32
  479. select DMA_COHERENT
  480. select SIBYTE_BCM1120
  481. select SWAP_IO_SPACE
  482. select SYS_HAS_CPU_SB1
  483. select SYS_SUPPORTS_BIG_ENDIAN
  484. select SYS_SUPPORTS_LITTLE_ENDIAN
  485. config SIBYTE_CARMEL
  486. bool "Sibyte BCM91120x-Carmel"
  487. depends on EXPERIMENTAL
  488. select BOOT_ELF32
  489. select DMA_COHERENT
  490. select SIBYTE_BCM1120
  491. select SWAP_IO_SPACE
  492. select SYS_HAS_CPU_SB1
  493. select SYS_SUPPORTS_BIG_ENDIAN
  494. select SYS_SUPPORTS_LITTLE_ENDIAN
  495. config SIBYTE_CRHONE
  496. bool "Sibyte BCM91125C-CRhone"
  497. depends on EXPERIMENTAL
  498. select BOOT_ELF32
  499. select DMA_COHERENT
  500. select SIBYTE_BCM1125
  501. select SWAP_IO_SPACE
  502. select SYS_HAS_CPU_SB1
  503. select SYS_SUPPORTS_BIG_ENDIAN
  504. select SYS_SUPPORTS_HIGHMEM
  505. select SYS_SUPPORTS_LITTLE_ENDIAN
  506. config SIBYTE_RHONE
  507. bool "Sibyte BCM91125E-Rhone"
  508. depends on EXPERIMENTAL
  509. select BOOT_ELF32
  510. select DMA_COHERENT
  511. select SIBYTE_BCM1125H
  512. select SWAP_IO_SPACE
  513. select SYS_HAS_CPU_SB1
  514. select SYS_SUPPORTS_BIG_ENDIAN
  515. select SYS_SUPPORTS_LITTLE_ENDIAN
  516. config SIBYTE_SWARM
  517. bool "Sibyte BCM91250A-SWARM"
  518. select BOOT_ELF32
  519. select DMA_COHERENT
  520. select HAVE_PATA_PLATFORM
  521. select NR_CPUS_DEFAULT_2
  522. select SIBYTE_SB1250
  523. select SWAP_IO_SPACE
  524. select SYS_HAS_CPU_SB1
  525. select SYS_SUPPORTS_BIG_ENDIAN
  526. select SYS_SUPPORTS_HIGHMEM
  527. select SYS_SUPPORTS_LITTLE_ENDIAN
  528. select ZONE_DMA32 if 64BIT
  529. config SIBYTE_LITTLESUR
  530. bool "Sibyte BCM91250C2-LittleSur"
  531. depends on EXPERIMENTAL
  532. select BOOT_ELF32
  533. select DMA_COHERENT
  534. select HAVE_PATA_PLATFORM
  535. select NR_CPUS_DEFAULT_2
  536. select SIBYTE_SB1250
  537. select SWAP_IO_SPACE
  538. select SYS_HAS_CPU_SB1
  539. select SYS_SUPPORTS_BIG_ENDIAN
  540. select SYS_SUPPORTS_HIGHMEM
  541. select SYS_SUPPORTS_LITTLE_ENDIAN
  542. config SIBYTE_SENTOSA
  543. bool "Sibyte BCM91250E-Sentosa"
  544. depends on EXPERIMENTAL
  545. select BOOT_ELF32
  546. select DMA_COHERENT
  547. select NR_CPUS_DEFAULT_2
  548. select SIBYTE_SB1250
  549. select SWAP_IO_SPACE
  550. select SYS_HAS_CPU_SB1
  551. select SYS_SUPPORTS_BIG_ENDIAN
  552. select SYS_SUPPORTS_LITTLE_ENDIAN
  553. config SIBYTE_BIGSUR
  554. bool "Sibyte BCM91480B-BigSur"
  555. select BOOT_ELF32
  556. select DMA_COHERENT
  557. select NR_CPUS_DEFAULT_4
  558. select SIBYTE_BCM1x80
  559. select SWAP_IO_SPACE
  560. select SYS_HAS_CPU_SB1
  561. select SYS_SUPPORTS_BIG_ENDIAN
  562. select SYS_SUPPORTS_HIGHMEM
  563. select SYS_SUPPORTS_LITTLE_ENDIAN
  564. select ZONE_DMA32 if 64BIT
  565. config SNI_RM
  566. bool "SNI RM200/300/400"
  567. select ARC if CPU_LITTLE_ENDIAN
  568. select ARC32 if CPU_LITTLE_ENDIAN
  569. select SNIPROM if CPU_BIG_ENDIAN
  570. select ARCH_MAY_HAVE_PC_FDC
  571. select BOOT_ELF32
  572. select CEVT_R4K
  573. select CSRC_R4K
  574. select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
  575. select DMA_NONCOHERENT
  576. select GENERIC_ISA_DMA
  577. select HW_HAS_EISA
  578. select HW_HAS_PCI
  579. select IRQ_CPU
  580. select I8253
  581. select I8259
  582. select ISA
  583. select SWAP_IO_SPACE if CPU_BIG_ENDIAN
  584. select SYS_HAS_CPU_R4X00
  585. select SYS_HAS_CPU_R5000
  586. select SYS_HAS_CPU_R10000
  587. select R5000_CPU_SCACHE
  588. select SYS_HAS_EARLY_PRINTK
  589. select SYS_SUPPORTS_32BIT_KERNEL
  590. select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
  591. select SYS_SUPPORTS_BIG_ENDIAN
  592. select SYS_SUPPORTS_HIGHMEM
  593. select SYS_SUPPORTS_LITTLE_ENDIAN
  594. help
  595. The SNI RM200/300/400 are MIPS-based machines manufactured by
  596. Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
  597. Technology and now in turn merged with Fujitsu. Say Y here to
  598. support this machine type.
  599. config MACH_TX39XX
  600. bool "Toshiba TX39 series based machines"
  601. config MACH_TX49XX
  602. bool "Toshiba TX49 series based machines"
  603. config MIKROTIK_RB532
  604. bool "Mikrotik RB532 boards"
  605. select CEVT_R4K
  606. select CSRC_R4K
  607. select DMA_NONCOHERENT
  608. select HW_HAS_PCI
  609. select IRQ_CPU
  610. select SYS_HAS_CPU_MIPS32_R1
  611. select SYS_SUPPORTS_32BIT_KERNEL
  612. select SYS_SUPPORTS_LITTLE_ENDIAN
  613. select SWAP_IO_SPACE
  614. select BOOT_RAW
  615. select ARCH_REQUIRE_GPIOLIB
  616. help
  617. Support the Mikrotik(tm) RouterBoard 532 series,
  618. based on the IDT RC32434 SoC.
  619. config WR_PPMC
  620. bool "Wind River PPMC board"
  621. select CEVT_R4K
  622. select CSRC_R4K
  623. select IRQ_CPU
  624. select BOOT_ELF32
  625. select DMA_NONCOHERENT
  626. select HW_HAS_PCI
  627. select PCI_GT64XXX_PCI0
  628. select SWAP_IO_SPACE
  629. select SYS_HAS_CPU_MIPS32_R1
  630. select SYS_HAS_CPU_MIPS32_R2
  631. select SYS_HAS_CPU_MIPS64_R1
  632. select SYS_HAS_CPU_NEVADA
  633. select SYS_HAS_CPU_RM7000
  634. select SYS_SUPPORTS_32BIT_KERNEL
  635. select SYS_SUPPORTS_64BIT_KERNEL
  636. select SYS_SUPPORTS_BIG_ENDIAN
  637. select SYS_SUPPORTS_LITTLE_ENDIAN
  638. help
  639. This enables support for the Wind River MIPS32 4KC PPMC evaluation
  640. board, which is based on GT64120 bridge chip.
  641. config CAVIUM_OCTEON_SIMULATOR
  642. bool "Cavium Networks Octeon Simulator"
  643. select CEVT_R4K
  644. select 64BIT_PHYS_ADDR
  645. select DMA_COHERENT
  646. select SYS_SUPPORTS_64BIT_KERNEL
  647. select SYS_SUPPORTS_BIG_ENDIAN
  648. select SYS_SUPPORTS_HIGHMEM
  649. select SYS_SUPPORTS_HOTPLUG_CPU
  650. select SYS_HAS_CPU_CAVIUM_OCTEON
  651. help
  652. The Octeon simulator is software performance model of the Cavium
  653. Octeon Processor. It supports simulating Octeon processors on x86
  654. hardware.
  655. config CAVIUM_OCTEON_REFERENCE_BOARD
  656. bool "Cavium Networks Octeon reference board"
  657. select CEVT_R4K
  658. select 64BIT_PHYS_ADDR
  659. select DMA_COHERENT
  660. select SYS_SUPPORTS_64BIT_KERNEL
  661. select SYS_SUPPORTS_BIG_ENDIAN
  662. select SYS_SUPPORTS_HIGHMEM
  663. select SYS_SUPPORTS_HOTPLUG_CPU
  664. select SYS_HAS_EARLY_PRINTK
  665. select SYS_HAS_CPU_CAVIUM_OCTEON
  666. select SWAP_IO_SPACE
  667. select HW_HAS_PCI
  668. select ARCH_SUPPORTS_MSI
  669. select ZONE_DMA32
  670. select USB_ARCH_HAS_OHCI
  671. select USB_ARCH_HAS_EHCI
  672. help
  673. This option supports all of the Octeon reference boards from Cavium
  674. Networks. It builds a kernel that dynamically determines the Octeon
  675. CPU type and supports all known board reference implementations.
  676. Some of the supported boards are:
  677. EBT3000
  678. EBH3000
  679. EBH3100
  680. Thunder
  681. Kodama
  682. Hikari
  683. Say Y here for most Octeon reference boards.
  684. endchoice
  685. source "arch/mips/alchemy/Kconfig"
  686. source "arch/mips/ath79/Kconfig"
  687. source "arch/mips/bcm63xx/Kconfig"
  688. source "arch/mips/jazz/Kconfig"
  689. source "arch/mips/jz4740/Kconfig"
  690. source "arch/mips/lasat/Kconfig"
  691. source "arch/mips/pmc-sierra/Kconfig"
  692. source "arch/mips/powertv/Kconfig"
  693. source "arch/mips/sgi-ip27/Kconfig"
  694. source "arch/mips/sibyte/Kconfig"
  695. source "arch/mips/txx9/Kconfig"
  696. source "arch/mips/vr41xx/Kconfig"
  697. source "arch/mips/cavium-octeon/Kconfig"
  698. source "arch/mips/loongson/Kconfig"
  699. endmenu
  700. config RWSEM_GENERIC_SPINLOCK
  701. bool
  702. default y
  703. config RWSEM_XCHGADD_ALGORITHM
  704. bool
  705. config ARCH_HAS_ILOG2_U32
  706. bool
  707. default n
  708. config ARCH_HAS_ILOG2_U64
  709. bool
  710. default n
  711. config ARCH_SUPPORTS_OPROFILE
  712. bool
  713. default y if !MIPS_MT_SMTC
  714. config GENERIC_FIND_NEXT_BIT
  715. bool
  716. default y
  717. config GENERIC_HWEIGHT
  718. bool
  719. default y
  720. config GENERIC_CALIBRATE_DELAY
  721. bool
  722. default y
  723. config GENERIC_CLOCKEVENTS
  724. bool
  725. default y
  726. config GENERIC_CMOS_UPDATE
  727. bool
  728. default y
  729. config SCHED_OMIT_FRAME_POINTER
  730. bool
  731. default y
  732. config GENERIC_HARDIRQS_NO__DO_IRQ
  733. def_bool y
  734. #
  735. # Select some configuration options automatically based on user selections.
  736. #
  737. config ARC
  738. bool
  739. config ARCH_MAY_HAVE_PC_FDC
  740. bool
  741. config BOOT_RAW
  742. bool
  743. config CEVT_BCM1480
  744. bool
  745. config CEVT_DS1287
  746. bool
  747. config CEVT_GT641XX
  748. bool
  749. config CEVT_R4K_LIB
  750. bool
  751. config CEVT_R4K
  752. select CEVT_R4K_LIB
  753. bool
  754. config CEVT_SB1250
  755. bool
  756. config CEVT_TXX9
  757. bool
  758. config CSRC_BCM1480
  759. bool
  760. config CSRC_IOASIC
  761. bool
  762. config CSRC_POWERTV
  763. bool
  764. config CSRC_R4K_LIB
  765. bool
  766. config CSRC_R4K
  767. select CSRC_R4K_LIB
  768. bool
  769. config CSRC_SB1250
  770. bool
  771. config GPIO_TXX9
  772. select GENERIC_GPIO
  773. select ARCH_REQUIRE_GPIOLIB
  774. bool
  775. config CFE
  776. bool
  777. config DMA_COHERENT
  778. bool
  779. config DMA_NONCOHERENT
  780. bool
  781. select NEED_DMA_MAP_STATE
  782. config NEED_DMA_MAP_STATE
  783. bool
  784. config SYS_HAS_EARLY_PRINTK
  785. bool
  786. config HOTPLUG_CPU
  787. bool "Support for hot-pluggable CPUs"
  788. depends on SMP && HOTPLUG && SYS_SUPPORTS_HOTPLUG_CPU
  789. help
  790. Say Y here to allow turning CPUs off and on. CPUs can be
  791. controlled through /sys/devices/system/cpu.
  792. (Note: power management support will enable this option
  793. automatically on SMP systems. )
  794. Say N if you want to disable CPU hotplug.
  795. config SYS_SUPPORTS_HOTPLUG_CPU
  796. bool
  797. config I8259
  798. bool
  799. config MIPS_BONITO64
  800. bool
  801. config MIPS_MSC
  802. bool
  803. config MIPS_NILE4
  804. bool
  805. config MIPS_DISABLE_OBSOLETE_IDE
  806. bool
  807. config SYNC_R4K
  808. bool
  809. config MIPS_MACHINE
  810. def_bool n
  811. config NO_IOPORT
  812. def_bool n
  813. config GENERIC_ISA_DMA
  814. bool
  815. select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
  816. select ISA_DMA_API
  817. config GENERIC_ISA_DMA_SUPPORT_BROKEN
  818. bool
  819. select GENERIC_ISA_DMA
  820. config ISA_DMA_API
  821. bool
  822. config GENERIC_GPIO
  823. bool
  824. #
  825. # Endianess selection. Sufficiently obscure so many users don't know what to
  826. # answer,so we try hard to limit the available choices. Also the use of a
  827. # choice statement should be more obvious to the user.
  828. #
  829. choice
  830. prompt "Endianess selection"
  831. help
  832. Some MIPS machines can be configured for either little or big endian
  833. byte order. These modes require different kernels and a different
  834. Linux distribution. In general there is one preferred byteorder for a
  835. particular system but some systems are just as commonly used in the
  836. one or the other endianness.
  837. config CPU_BIG_ENDIAN
  838. bool "Big endian"
  839. depends on SYS_SUPPORTS_BIG_ENDIAN
  840. config CPU_LITTLE_ENDIAN
  841. bool "Little endian"
  842. depends on SYS_SUPPORTS_LITTLE_ENDIAN
  843. help
  844. endchoice
  845. config EXPORT_UASM
  846. bool
  847. config SYS_SUPPORTS_APM_EMULATION
  848. bool
  849. config SYS_SUPPORTS_BIG_ENDIAN
  850. bool
  851. config SYS_SUPPORTS_LITTLE_ENDIAN
  852. bool
  853. config SYS_SUPPORTS_HUGETLBFS
  854. bool
  855. depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
  856. default y
  857. config IRQ_CPU
  858. bool
  859. config IRQ_CPU_RM7K
  860. bool
  861. config IRQ_CPU_RM9K
  862. bool
  863. config IRQ_MSP_SLP
  864. bool
  865. config IRQ_MSP_CIC
  866. bool
  867. config IRQ_TXX9
  868. bool
  869. config IRQ_GT641XX
  870. bool
  871. config IRQ_GIC
  872. bool
  873. config IRQ_CPU_OCTEON
  874. bool
  875. config MIPS_BOARDS_GEN
  876. bool
  877. config PCI_GT64XXX_PCI0
  878. bool
  879. config NO_EXCEPT_FILL
  880. bool
  881. config MIPS_RM9122
  882. bool
  883. select SERIAL_RM9000
  884. config SOC_EMMA2RH
  885. bool
  886. select CEVT_R4K
  887. select CSRC_R4K
  888. select DMA_NONCOHERENT
  889. select IRQ_CPU
  890. select SWAP_IO_SPACE
  891. select SYS_HAS_CPU_R5500
  892. select SYS_SUPPORTS_32BIT_KERNEL
  893. select SYS_SUPPORTS_64BIT_KERNEL
  894. select SYS_SUPPORTS_BIG_ENDIAN
  895. config SOC_PNX833X
  896. bool
  897. select CEVT_R4K
  898. select CSRC_R4K
  899. select IRQ_CPU
  900. select DMA_NONCOHERENT
  901. select SYS_HAS_CPU_MIPS32_R2
  902. select SYS_SUPPORTS_32BIT_KERNEL
  903. select SYS_SUPPORTS_LITTLE_ENDIAN
  904. select SYS_SUPPORTS_BIG_ENDIAN
  905. select GENERIC_GPIO
  906. select CPU_MIPSR2_IRQ_VI
  907. config SOC_PNX8335
  908. bool
  909. select SOC_PNX833X
  910. config PNX8550
  911. bool
  912. select SOC_PNX8550
  913. config SOC_PNX8550
  914. bool
  915. select DMA_NONCOHERENT
  916. select HW_HAS_PCI
  917. select SYS_HAS_CPU_MIPS32_R1
  918. select SYS_HAS_EARLY_PRINTK
  919. select SYS_SUPPORTS_32BIT_KERNEL
  920. select GENERIC_GPIO
  921. config SWAP_IO_SPACE
  922. bool
  923. config SERIAL_RM9000
  924. bool
  925. config SGI_HAS_INDYDOG
  926. bool
  927. config SGI_HAS_HAL2
  928. bool
  929. config SGI_HAS_SEEQ
  930. bool
  931. config SGI_HAS_WD93
  932. bool
  933. config SGI_HAS_ZILOG
  934. bool
  935. config SGI_HAS_I8042
  936. bool
  937. config DEFAULT_SGI_PARTITION
  938. bool
  939. config ARC32
  940. bool
  941. config SNIPROM
  942. bool
  943. config BOOT_ELF32
  944. bool
  945. config MIPS_L1_CACHE_SHIFT
  946. int
  947. default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL
  948. default "6" if MIPS_CPU_SCACHE
  949. default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
  950. default "5"
  951. config HAVE_STD_PC_SERIAL_PORT
  952. bool
  953. config ARC_CONSOLE
  954. bool "ARC console support"
  955. depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
  956. config ARC_MEMORY
  957. bool
  958. depends on MACH_JAZZ || SNI_RM || SGI_IP32
  959. default y
  960. config ARC_PROMLIB
  961. bool
  962. depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
  963. default y
  964. config ARC64
  965. bool
  966. config BOOT_ELF64
  967. bool
  968. menu "CPU selection"
  969. choice
  970. prompt "CPU type"
  971. default CPU_R4X00
  972. config CPU_LOONGSON2E
  973. bool "Loongson 2E"
  974. depends on SYS_HAS_CPU_LOONGSON2E
  975. select CPU_LOONGSON2
  976. help
  977. The Loongson 2E processor implements the MIPS III instruction set
  978. with many extensions.
  979. It has an internal FPGA northbridge, which is compatiable to
  980. bonito64.
  981. config CPU_LOONGSON2F
  982. bool "Loongson 2F"
  983. depends on SYS_HAS_CPU_LOONGSON2F
  984. select CPU_LOONGSON2
  985. select GENERIC_GPIO
  986. select ARCH_REQUIRE_GPIOLIB
  987. help
  988. The Loongson 2F processor implements the MIPS III instruction set
  989. with many extensions.
  990. Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
  991. have a similar programming interface with FPGA northbridge used in
  992. Loongson2E.
  993. config CPU_MIPS32_R1
  994. bool "MIPS32 Release 1"
  995. depends on SYS_HAS_CPU_MIPS32_R1
  996. select CPU_HAS_PREFETCH
  997. select CPU_SUPPORTS_32BIT_KERNEL
  998. select CPU_SUPPORTS_HIGHMEM
  999. help
  1000. Choose this option to build a kernel for release 1 or later of the
  1001. MIPS32 architecture. Most modern embedded systems with a 32-bit
  1002. MIPS processor are based on a MIPS32 processor. If you know the
  1003. specific type of processor in your system, choose those that one
  1004. otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
  1005. Release 2 of the MIPS32 architecture is available since several
  1006. years so chances are you even have a MIPS32 Release 2 processor
  1007. in which case you should choose CPU_MIPS32_R2 instead for better
  1008. performance.
  1009. config CPU_MIPS32_R2
  1010. bool "MIPS32 Release 2"
  1011. depends on SYS_HAS_CPU_MIPS32_R2
  1012. select CPU_HAS_PREFETCH
  1013. select CPU_SUPPORTS_32BIT_KERNEL
  1014. select CPU_SUPPORTS_HIGHMEM
  1015. help
  1016. Choose this option to build a kernel for release 2 or later of the
  1017. MIPS32 architecture. Most modern embedded systems with a 32-bit
  1018. MIPS processor are based on a MIPS32 processor. If you know the
  1019. specific type of processor in your system, choose those that one
  1020. otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
  1021. config CPU_MIPS64_R1
  1022. bool "MIPS64 Release 1"
  1023. depends on SYS_HAS_CPU_MIPS64_R1
  1024. select CPU_HAS_PREFETCH
  1025. select CPU_SUPPORTS_32BIT_KERNEL
  1026. select CPU_SUPPORTS_64BIT_KERNEL
  1027. select CPU_SUPPORTS_HIGHMEM
  1028. select CPU_SUPPORTS_HUGEPAGES
  1029. help
  1030. Choose this option to build a kernel for release 1 or later of the
  1031. MIPS64 architecture. Many modern embedded systems with a 64-bit
  1032. MIPS processor are based on a MIPS64 processor. If you know the
  1033. specific type of processor in your system, choose those that one
  1034. otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
  1035. Release 2 of the MIPS64 architecture is available since several
  1036. years so chances are you even have a MIPS64 Release 2 processor
  1037. in which case you should choose CPU_MIPS64_R2 instead for better
  1038. performance.
  1039. config CPU_MIPS64_R2
  1040. bool "MIPS64 Release 2"
  1041. depends on SYS_HAS_CPU_MIPS64_R2
  1042. select CPU_HAS_PREFETCH
  1043. select CPU_SUPPORTS_32BIT_KERNEL
  1044. select CPU_SUPPORTS_64BIT_KERNEL
  1045. select CPU_SUPPORTS_HIGHMEM
  1046. select CPU_SUPPORTS_HUGEPAGES
  1047. help
  1048. Choose this option to build a kernel for release 2 or later of the
  1049. MIPS64 architecture. Many modern embedded systems with a 64-bit
  1050. MIPS processor are based on a MIPS64 processor. If you know the
  1051. specific type of processor in your system, choose those that one
  1052. otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
  1053. config CPU_R3000
  1054. bool "R3000"
  1055. depends on SYS_HAS_CPU_R3000
  1056. select CPU_HAS_WB
  1057. select CPU_SUPPORTS_32BIT_KERNEL
  1058. select CPU_SUPPORTS_HIGHMEM
  1059. help
  1060. Please make sure to pick the right CPU type. Linux/MIPS is not
  1061. designed to be generic, i.e. Kernels compiled for R3000 CPUs will
  1062. *not* work on R4000 machines and vice versa. However, since most
  1063. of the supported machines have an R4000 (or similar) CPU, R4x00
  1064. might be a safe bet. If the resulting kernel does not work,
  1065. try to recompile with R3000.
  1066. config CPU_TX39XX
  1067. bool "R39XX"
  1068. depends on SYS_HAS_CPU_TX39XX
  1069. select CPU_SUPPORTS_32BIT_KERNEL
  1070. config CPU_VR41XX
  1071. bool "R41xx"
  1072. depends on SYS_HAS_CPU_VR41XX
  1073. select CPU_SUPPORTS_32BIT_KERNEL
  1074. select CPU_SUPPORTS_64BIT_KERNEL
  1075. help
  1076. The options selects support for the NEC VR4100 series of processors.
  1077. Only choose this option if you have one of these processors as a
  1078. kernel built with this option will not run on any other type of
  1079. processor or vice versa.
  1080. config CPU_R4300
  1081. bool "R4300"
  1082. depends on SYS_HAS_CPU_R4300
  1083. select CPU_SUPPORTS_32BIT_KERNEL
  1084. select CPU_SUPPORTS_64BIT_KERNEL
  1085. help
  1086. MIPS Technologies R4300-series processors.
  1087. config CPU_R4X00
  1088. bool "R4x00"
  1089. depends on SYS_HAS_CPU_R4X00
  1090. select CPU_SUPPORTS_32BIT_KERNEL
  1091. select CPU_SUPPORTS_64BIT_KERNEL
  1092. help
  1093. MIPS Technologies R4000-series processors other than 4300, including
  1094. the R4000, R4400, R4600, and 4700.
  1095. config CPU_TX49XX
  1096. bool "R49XX"
  1097. depends on SYS_HAS_CPU_TX49XX
  1098. select CPU_HAS_PREFETCH
  1099. select CPU_SUPPORTS_32BIT_KERNEL
  1100. select CPU_SUPPORTS_64BIT_KERNEL
  1101. config CPU_R5000
  1102. bool "R5000"
  1103. depends on SYS_HAS_CPU_R5000
  1104. select CPU_SUPPORTS_32BIT_KERNEL
  1105. select CPU_SUPPORTS_64BIT_KERNEL
  1106. help
  1107. MIPS Technologies R5000-series processors other than the Nevada.
  1108. config CPU_R5432
  1109. bool "R5432"
  1110. depends on SYS_HAS_CPU_R5432
  1111. select CPU_SUPPORTS_32BIT_KERNEL
  1112. select CPU_SUPPORTS_64BIT_KERNEL
  1113. config CPU_R5500
  1114. bool "R5500"
  1115. depends on SYS_HAS_CPU_R5500
  1116. select CPU_SUPPORTS_32BIT_KERNEL
  1117. select CPU_SUPPORTS_64BIT_KERNEL
  1118. select CPU_SUPPORTS_HUGEPAGES
  1119. help
  1120. NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
  1121. instruction set.
  1122. config CPU_R6000
  1123. bool "R6000"
  1124. depends on EXPERIMENTAL
  1125. depends on SYS_HAS_CPU_R6000
  1126. select CPU_SUPPORTS_32BIT_KERNEL
  1127. help
  1128. MIPS Technologies R6000 and R6000A series processors. Note these
  1129. processors are extremely rare and the support for them is incomplete.
  1130. config CPU_NEVADA
  1131. bool "RM52xx"
  1132. depends on SYS_HAS_CPU_NEVADA
  1133. select CPU_SUPPORTS_32BIT_KERNEL
  1134. select CPU_SUPPORTS_64BIT_KERNEL
  1135. help
  1136. QED / PMC-Sierra RM52xx-series ("Nevada") processors.
  1137. config CPU_R8000
  1138. bool "R8000"
  1139. depends on EXPERIMENTAL
  1140. depends on SYS_HAS_CPU_R8000
  1141. select CPU_HAS_PREFETCH
  1142. select CPU_SUPPORTS_64BIT_KERNEL
  1143. help
  1144. MIPS Technologies R8000 processors. Note these processors are
  1145. uncommon and the support for them is incomplete.
  1146. config CPU_R10000
  1147. bool "R10000"
  1148. depends on SYS_HAS_CPU_R10000
  1149. select CPU_HAS_PREFETCH
  1150. select CPU_SUPPORTS_32BIT_KERNEL
  1151. select CPU_SUPPORTS_64BIT_KERNEL
  1152. select CPU_SUPPORTS_HIGHMEM
  1153. help
  1154. MIPS Technologies R10000-series processors.
  1155. config CPU_RM7000
  1156. bool "RM7000"
  1157. depends on SYS_HAS_CPU_RM7000
  1158. select CPU_HAS_PREFETCH
  1159. select CPU_SUPPORTS_32BIT_KERNEL
  1160. select CPU_SUPPORTS_64BIT_KERNEL
  1161. select CPU_SUPPORTS_HIGHMEM
  1162. config CPU_RM9000
  1163. bool "RM9000"
  1164. depends on SYS_HAS_CPU_RM9000
  1165. select CPU_HAS_PREFETCH
  1166. select CPU_SUPPORTS_32BIT_KERNEL
  1167. select CPU_SUPPORTS_64BIT_KERNEL
  1168. select CPU_SUPPORTS_HIGHMEM
  1169. select WEAK_ORDERING
  1170. config CPU_SB1
  1171. bool "SB1"
  1172. depends on SYS_HAS_CPU_SB1
  1173. select CPU_SUPPORTS_32BIT_KERNEL
  1174. select CPU_SUPPORTS_64BIT_KERNEL
  1175. select CPU_SUPPORTS_HIGHMEM
  1176. select WEAK_ORDERING
  1177. config CPU_CAVIUM_OCTEON
  1178. bool "Cavium Octeon processor"
  1179. depends on SYS_HAS_CPU_CAVIUM_OCTEON
  1180. select IRQ_CPU
  1181. select IRQ_CPU_OCTEON
  1182. select CPU_HAS_PREFETCH
  1183. select CPU_SUPPORTS_64BIT_KERNEL
  1184. select SYS_SUPPORTS_SMP
  1185. select NR_CPUS_DEFAULT_16
  1186. select WEAK_ORDERING
  1187. select CPU_SUPPORTS_HIGHMEM
  1188. select CPU_SUPPORTS_HUGEPAGES
  1189. help
  1190. The Cavium Octeon processor is a highly integrated chip containing
  1191. many ethernet hardware widgets for networking tasks. The processor
  1192. can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
  1193. Full details can be found at http://www.caviumnetworks.com.
  1194. config CPU_BMIPS3300
  1195. bool "BMIPS3300"
  1196. depends on SYS_HAS_CPU_BMIPS3300
  1197. select DMA_NONCOHERENT
  1198. select IRQ_CPU
  1199. select SWAP_IO_SPACE
  1200. select SYS_SUPPORTS_32BIT_KERNEL
  1201. select WEAK_ORDERING
  1202. help
  1203. Broadcom BMIPS3300 processors.
  1204. config CPU_BMIPS4350
  1205. bool "BMIPS4350"
  1206. depends on SYS_HAS_CPU_BMIPS4350
  1207. select CPU_SUPPORTS_32BIT_KERNEL
  1208. select DMA_NONCOHERENT
  1209. select IRQ_CPU
  1210. select SWAP_IO_SPACE
  1211. select SYS_SUPPORTS_SMP
  1212. select SYS_SUPPORTS_HOTPLUG_CPU
  1213. select WEAK_ORDERING
  1214. help
  1215. Broadcom BMIPS4350 ("VIPER") processors.
  1216. config CPU_BMIPS4380
  1217. bool "BMIPS4380"
  1218. depends on SYS_HAS_CPU_BMIPS4380
  1219. select CPU_SUPPORTS_32BIT_KERNEL
  1220. select DMA_NONCOHERENT
  1221. select IRQ_CPU
  1222. select SWAP_IO_SPACE
  1223. select SYS_SUPPORTS_SMP
  1224. select SYS_SUPPORTS_HOTPLUG_CPU
  1225. select WEAK_ORDERING
  1226. help
  1227. Broadcom BMIPS4380 processors.
  1228. config CPU_BMIPS5000
  1229. bool "BMIPS5000"
  1230. depends on SYS_HAS_CPU_BMIPS5000
  1231. select CPU_SUPPORTS_32BIT_KERNEL
  1232. select CPU_SUPPORTS_HIGHMEM
  1233. select DMA_NONCOHERENT
  1234. select IRQ_CPU
  1235. select SWAP_IO_SPACE
  1236. select SYS_SUPPORTS_SMP
  1237. select SYS_SUPPORTS_HOTPLUG_CPU
  1238. select WEAK_ORDERING
  1239. help
  1240. Broadcom BMIPS5000 processors.
  1241. endchoice
  1242. if CPU_LOONGSON2F
  1243. config CPU_NOP_WORKAROUNDS
  1244. bool
  1245. config CPU_JUMP_WORKAROUNDS
  1246. bool
  1247. config CPU_LOONGSON2F_WORKAROUNDS
  1248. bool "Loongson 2F Workarounds"
  1249. default y
  1250. select CPU_NOP_WORKAROUNDS
  1251. select CPU_JUMP_WORKAROUNDS
  1252. help
  1253. Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which
  1254. require workarounds. Without workarounds the system may hang
  1255. unexpectedly. For more information please refer to the gas
  1256. -mfix-loongson2f-nop and -mfix-loongson2f-jump options.
  1257. Loongson 2F03 and later have fixed these issues and no workarounds
  1258. are needed. The workarounds have no significant side effect on them
  1259. but may decrease the performance of the system so this option should
  1260. be disabled unless the kernel is intended to be run on 2F01 or 2F02
  1261. systems.
  1262. If unsure, please say Y.
  1263. endif # CPU_LOONGSON2F
  1264. config SYS_SUPPORTS_ZBOOT
  1265. bool
  1266. select HAVE_KERNEL_GZIP
  1267. select HAVE_KERNEL_BZIP2
  1268. select HAVE_KERNEL_LZMA
  1269. select HAVE_KERNEL_LZO
  1270. config SYS_SUPPORTS_ZBOOT_UART16550
  1271. bool
  1272. select SYS_SUPPORTS_ZBOOT
  1273. config CPU_LOONGSON2
  1274. bool
  1275. select CPU_SUPPORTS_32BIT_KERNEL
  1276. select CPU_SUPPORTS_64BIT_KERNEL
  1277. select CPU_SUPPORTS_HIGHMEM
  1278. config SYS_HAS_CPU_LOONGSON2E
  1279. bool
  1280. config SYS_HAS_CPU_LOONGSON2F
  1281. bool
  1282. select CPU_SUPPORTS_CPUFREQ
  1283. select CPU_SUPPORTS_ADDRWINCFG if 64BIT
  1284. select CPU_SUPPORTS_UNCACHED_ACCELERATED
  1285. config SYS_HAS_CPU_MIPS32_R1
  1286. bool
  1287. config SYS_HAS_CPU_MIPS32_R2
  1288. bool
  1289. config SYS_HAS_CPU_MIPS64_R1
  1290. bool
  1291. config SYS_HAS_CPU_MIPS64_R2
  1292. bool
  1293. config SYS_HAS_CPU_R3000
  1294. bool
  1295. config SYS_HAS_CPU_TX39XX
  1296. bool
  1297. config SYS_HAS_CPU_VR41XX
  1298. bool
  1299. config SYS_HAS_CPU_R4300
  1300. bool
  1301. config SYS_HAS_CPU_R4X00
  1302. bool
  1303. config SYS_HAS_CPU_TX49XX
  1304. bool
  1305. config SYS_HAS_CPU_R5000
  1306. bool
  1307. config SYS_HAS_CPU_R5432
  1308. bool
  1309. config SYS_HAS_CPU_R5500
  1310. bool
  1311. config SYS_HAS_CPU_R6000
  1312. bool
  1313. config SYS_HAS_CPU_NEVADA
  1314. bool
  1315. config SYS_HAS_CPU_R8000
  1316. bool
  1317. config SYS_HAS_CPU_R10000
  1318. bool
  1319. config SYS_HAS_CPU_RM7000
  1320. bool
  1321. config SYS_HAS_CPU_RM9000
  1322. bool
  1323. config SYS_HAS_CPU_SB1
  1324. bool
  1325. config SYS_HAS_CPU_CAVIUM_OCTEON
  1326. bool
  1327. config SYS_HAS_CPU_BMIPS3300
  1328. bool
  1329. config SYS_HAS_CPU_BMIPS4350
  1330. bool
  1331. config SYS_HAS_CPU_BMIPS4380
  1332. bool
  1333. config SYS_HAS_CPU_BMIPS5000
  1334. bool
  1335. #
  1336. # CPU may reorder R->R, R->W, W->R, W->W
  1337. # Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
  1338. #
  1339. config WEAK_ORDERING
  1340. bool
  1341. #
  1342. # CPU may reorder reads and writes beyond LL/SC
  1343. # CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
  1344. #
  1345. config WEAK_REORDERING_BEYOND_LLSC
  1346. bool
  1347. endmenu
  1348. #
  1349. # These two indicate any level of the MIPS32 and MIPS64 architecture
  1350. #
  1351. config CPU_MIPS32
  1352. bool
  1353. default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
  1354. config CPU_MIPS64
  1355. bool
  1356. default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
  1357. #
  1358. # These two indicate the revision of the architecture, either Release 1 or Release 2
  1359. #
  1360. config CPU_MIPSR1
  1361. bool
  1362. default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
  1363. config CPU_MIPSR2
  1364. bool
  1365. default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
  1366. config SYS_SUPPORTS_32BIT_KERNEL
  1367. bool
  1368. config SYS_SUPPORTS_64BIT_KERNEL
  1369. bool
  1370. config CPU_SUPPORTS_32BIT_KERNEL
  1371. bool
  1372. config CPU_SUPPORTS_64BIT_KERNEL
  1373. bool
  1374. config CPU_SUPPORTS_CPUFREQ
  1375. bool
  1376. config CPU_SUPPORTS_ADDRWINCFG
  1377. bool
  1378. config CPU_SUPPORTS_HUGEPAGES
  1379. bool
  1380. config CPU_SUPPORTS_UNCACHED_ACCELERATED
  1381. bool
  1382. config MIPS_PGD_C0_CONTEXT
  1383. bool
  1384. default y if 64BIT && CPU_MIPSR2
  1385. #
  1386. # Set to y for ptrace access to watch registers.
  1387. #
  1388. config HARDWARE_WATCHPOINTS
  1389. bool
  1390. default y if CPU_MIPSR1 || CPU_MIPSR2
  1391. menu "Kernel type"
  1392. choice
  1393. prompt "Kernel code model"
  1394. help
  1395. You should only select this option if you have a workload that
  1396. actually benefits from 64-bit processing or if your machine has
  1397. large memory. You will only be presented a single option in this
  1398. menu if your system does not support both 32-bit and 64-bit kernels.
  1399. config 32BIT
  1400. bool "32-bit kernel"
  1401. depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
  1402. select TRAD_SIGNALS
  1403. help
  1404. Select this option if you want to build a 32-bit kernel.
  1405. config 64BIT
  1406. bool "64-bit kernel"
  1407. depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
  1408. select HAVE_SYSCALL_WRAPPERS
  1409. help
  1410. Select this option if you want to build a 64-bit kernel.
  1411. endchoice
  1412. choice
  1413. prompt "Kernel page size"
  1414. default PAGE_SIZE_4KB
  1415. config PAGE_SIZE_4KB
  1416. bool "4kB"
  1417. depends on !CPU_LOONGSON2
  1418. help
  1419. This option select the standard 4kB Linux page size. On some
  1420. R3000-family processors this is the only available page size. Using
  1421. 4kB page size will minimize memory consumption and is therefore
  1422. recommended for low memory systems.
  1423. config PAGE_SIZE_8KB
  1424. bool "8kB"
  1425. depends on (EXPERIMENTAL && CPU_R8000) || CPU_CAVIUM_OCTEON
  1426. help
  1427. Using 8kB page size will result in higher performance kernel at
  1428. the price of higher memory consumption. This option is available
  1429. only on R8000 and cnMIPS processors. Note that you will need a
  1430. suitable Linux distribution to support this.
  1431. config PAGE_SIZE_16KB
  1432. bool "16kB"
  1433. depends on !CPU_R3000 && !CPU_TX39XX
  1434. help
  1435. Using 16kB page size will result in higher performance kernel at
  1436. the price of higher memory consumption. This option is available on
  1437. all non-R3000 family processors. Note that you will need a suitable
  1438. Linux distribution to support this.
  1439. config PAGE_SIZE_32KB
  1440. bool "32kB"
  1441. depends on CPU_CAVIUM_OCTEON
  1442. help
  1443. Using 32kB page size will result in higher performance kernel at
  1444. the price of higher memory consumption. This option is available
  1445. only on cnMIPS cores. Note that you will need a suitable Linux
  1446. distribution to support this.
  1447. config PAGE_SIZE_64KB
  1448. bool "64kB"
  1449. depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
  1450. help
  1451. Using 64kB page size will result in higher performance kernel at
  1452. the price of higher memory consumption. This option is available on
  1453. all non-R3000 family processor. Not that at the time of this
  1454. writing this option is still high experimental.
  1455. endchoice
  1456. config FORCE_MAX_ZONEORDER
  1457. int "Maximum zone order"
  1458. range 13 64 if SYS_SUPPORTS_HUGETLBFS && PAGE_SIZE_32KB
  1459. default "13" if SYS_SUPPORTS_HUGETLBFS && PAGE_SIZE_32KB
  1460. range 12 64 if SYS_SUPPORTS_HUGETLBFS && PAGE_SIZE_16KB
  1461. default "12" if SYS_SUPPORTS_HUGETLBFS && PAGE_SIZE_16KB
  1462. range 11 64
  1463. default "11"
  1464. help
  1465. The kernel memory allocator divides physically contiguous memory
  1466. blocks into "zones", where each zone is a power of two number of
  1467. pages. This option selects the largest power of two that the kernel
  1468. keeps in the memory allocator. If you need to allocate very large
  1469. blocks of physically contiguous memory, then you may need to
  1470. increase this value.
  1471. This config option is actually maximum order plus one. For example,
  1472. a value of 11 means that the largest free memory block is 2^10 pages.
  1473. The page size is not necessarily 4KB. Keep this in mind
  1474. when choosing a value for this option.
  1475. config BOARD_SCACHE
  1476. bool
  1477. config IP22_CPU_SCACHE
  1478. bool
  1479. select BOARD_SCACHE
  1480. #
  1481. # Support for a MIPS32 / MIPS64 style S-caches
  1482. #
  1483. config MIPS_CPU_SCACHE
  1484. bool
  1485. select BOARD_SCACHE
  1486. config R5000_CPU_SCACHE
  1487. bool
  1488. select BOARD_SCACHE
  1489. config RM7000_CPU_SCACHE
  1490. bool
  1491. select BOARD_SCACHE
  1492. config SIBYTE_DMA_PAGEOPS
  1493. bool "Use DMA to clear/copy pages"
  1494. depends on CPU_SB1
  1495. help
  1496. Instead of using the CPU to zero and copy pages, use a Data Mover
  1497. channel. These DMA channels are otherwise unused by the standard
  1498. SiByte Linux port. Seems to give a small performance benefit.
  1499. config CPU_HAS_PREFETCH
  1500. bool
  1501. choice
  1502. prompt "MIPS MT options"
  1503. config MIPS_MT_DISABLED
  1504. bool "Disable multithreading support."
  1505. help
  1506. Use this option if your workload can't take advantage of
  1507. MIPS hardware multithreading support. On systems that don't have
  1508. the option of an MT-enabled processor this option will be the only
  1509. option in this menu.
  1510. config MIPS_MT_SMP
  1511. bool "Use 1 TC on each available VPE for SMP"
  1512. depends on SYS_SUPPORTS_MULTITHREADING
  1513. select CPU_MIPSR2_IRQ_VI
  1514. select CPU_MIPSR2_IRQ_EI
  1515. select MIPS_MT
  1516. select NR_CPUS_DEFAULT_2
  1517. select SMP
  1518. select SYS_SUPPORTS_SCHED_SMT if SMP
  1519. select SYS_SUPPORTS_SMP
  1520. select SMP_UP
  1521. help
  1522. This is a kernel model which is known a VSMP but lately has been
  1523. marketesed into SMVP.
  1524. Virtual SMP uses the processor's VPEs to implement virtual
  1525. processors. In currently available configuration of the 34K processor
  1526. this allows for a dual processor. Both processors will share the same
  1527. primary caches; each will obtain the half of the TLB for it's own
  1528. exclusive use. For a layman this model can be described as similar to
  1529. what Intel calls Hyperthreading.
  1530. For further information see http://www.linux-mips.org/wiki/34K#VSMP
  1531. config MIPS_MT_SMTC
  1532. bool "SMTC: Use all TCs on all VPEs for SMP"
  1533. depends on CPU_MIPS32_R2
  1534. #depends on CPU_MIPS64_R2 # once there is hardware ...
  1535. depends on SYS_SUPPORTS_MULTITHREADING
  1536. select CPU_MIPSR2_IRQ_VI
  1537. select CPU_MIPSR2_IRQ_EI
  1538. select MIPS_MT
  1539. select NR_CPUS_DEFAULT_8
  1540. select SMP
  1541. select SYS_SUPPORTS_SMP
  1542. select SMP_UP
  1543. help
  1544. This is a kernel model which is known a SMTC or lately has been
  1545. marketesed into SMVP.
  1546. is presenting the available TC's of the core as processors to Linux.
  1547. On currently available 34K processors this means a Linux system will
  1548. see up to 5 processors. The implementation of the SMTC kernel differs
  1549. significantly from VSMP and cannot efficiently coexist in the same
  1550. kernel binary so the choice between VSMP and SMTC is a compile time
  1551. decision.
  1552. For further information see http://www.linux-mips.org/wiki/34K#SMTC
  1553. endchoice
  1554. config MIPS_MT
  1555. bool
  1556. config SCHED_SMT
  1557. bool "SMT (multithreading) scheduler support"
  1558. depends on SYS_SUPPORTS_SCHED_SMT
  1559. default n
  1560. help
  1561. SMT scheduler support improves the CPU scheduler's decision making
  1562. when dealing with MIPS MT enabled cores at a cost of slightly
  1563. increased overhead in some places. If unsure say N here.
  1564. config SYS_SUPPORTS_SCHED_SMT
  1565. bool
  1566. config SYS_SUPPORTS_MULTITHREADING
  1567. bool
  1568. config MIPS_MT_FPAFF
  1569. bool "Dynamic FPU affinity for FP-intensive threads"
  1570. default y
  1571. depends on MIPS_MT_SMP || MIPS_MT_SMTC
  1572. config MIPS_VPE_LOADER
  1573. bool "VPE loader support."
  1574. depends on SYS_SUPPORTS_MULTITHREADING
  1575. select CPU_MIPSR2_IRQ_VI
  1576. select CPU_MIPSR2_IRQ_EI
  1577. select MIPS_MT
  1578. help
  1579. Includes a loader for loading an elf relocatable object
  1580. onto another VPE and running it.
  1581. config MIPS_MT_SMTC_IM_BACKSTOP
  1582. bool "Use per-TC register bits as backstop for inhibited IM bits"
  1583. depends on MIPS_MT_SMTC
  1584. default n
  1585. help
  1586. To support multiple TC microthreads acting as "CPUs" within
  1587. a VPE, VPE-wide interrupt mask bits must be specially manipulated
  1588. during interrupt handling. To support legacy drivers and interrupt
  1589. controller management code, SMTC has a "backstop" to track and
  1590. if necessary restore the interrupt mask. This has some performance
  1591. impact on interrupt service overhead.
  1592. config MIPS_MT_SMTC_IRQAFF
  1593. bool "Support IRQ affinity API"
  1594. depends on MIPS_MT_SMTC
  1595. default n
  1596. help
  1597. Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
  1598. for SMTC Linux kernel. Requires platform support, of which
  1599. an example can be found in the MIPS kernel i8259 and Malta
  1600. platform code. Adds some overhead to interrupt dispatch, and
  1601. should be used only if you know what you are doing.
  1602. config MIPS_VPE_LOADER_TOM
  1603. bool "Load VPE program into memory hidden from linux"
  1604. depends on MIPS_VPE_LOADER
  1605. default y
  1606. help
  1607. The loader can use memory that is present but has been hidden from
  1608. Linux using the kernel command line option "mem=xxMB". It's up to
  1609. you to ensure the amount you put in the option and the space your
  1610. program requires is less or equal to the amount physically present.
  1611. # this should possibly be in drivers/char, but it is rather cpu related. Hmmm
  1612. config MIPS_VPE_APSP_API
  1613. bool "Enable support for AP/SP API (RTLX)"
  1614. depends on MIPS_VPE_LOADER
  1615. help
  1616. config MIPS_APSP_KSPD
  1617. bool "Enable KSPD"
  1618. depends on MIPS_VPE_APSP_API
  1619. default y
  1620. help
  1621. KSPD is a kernel daemon that accepts syscall requests from the SP
  1622. side, actions them and returns the results. It also handles the
  1623. "exit" syscall notifying other kernel modules the SP program is
  1624. exiting. You probably want to say yes here.
  1625. config MIPS_CMP
  1626. bool "MIPS CMP framework support"
  1627. depends on SYS_SUPPORTS_MIPS_CMP
  1628. select SYNC_R4K
  1629. select SYS_SUPPORTS_SMP
  1630. select SYS_SUPPORTS_SCHED_SMT if SMP
  1631. select WEAK_ORDERING
  1632. default n
  1633. help
  1634. This is a placeholder option for the GCMP work. It will need to
  1635. be handled differently...
  1636. config SB1_PASS_1_WORKAROUNDS
  1637. bool
  1638. depends on CPU_SB1_PASS_1
  1639. default y
  1640. config SB1_PASS_2_WORKAROUNDS
  1641. bool
  1642. depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
  1643. default y
  1644. config SB1_PASS_2_1_WORKAROUNDS
  1645. bool
  1646. depends on CPU_SB1 && CPU_SB1_PASS_2
  1647. default y
  1648. config 64BIT_PHYS_ADDR
  1649. bool
  1650. config ARCH_PHYS_ADDR_T_64BIT
  1651. def_bool 64BIT_PHYS_ADDR
  1652. config CPU_HAS_SMARTMIPS
  1653. depends on SYS_SUPPORTS_SMARTMIPS
  1654. bool "Support for the SmartMIPS ASE"
  1655. help
  1656. SmartMIPS is a extension of the MIPS32 architecture aimed at
  1657. increased security at both hardware and software level for
  1658. smartcards. Enabling this option will allow proper use of the
  1659. SmartMIPS instructions by Linux applications. However a kernel with
  1660. this option will not work on a MIPS core without SmartMIPS core. If
  1661. you don't know you probably don't have SmartMIPS and should say N
  1662. here.
  1663. config CPU_HAS_WB
  1664. bool
  1665. #
  1666. # Vectored interrupt mode is an R2 feature
  1667. #
  1668. config CPU_MIPSR2_IRQ_VI
  1669. bool
  1670. #
  1671. # Extended interrupt mode is an R2 feature
  1672. #
  1673. config CPU_MIPSR2_IRQ_EI
  1674. bool
  1675. config CPU_HAS_SYNC
  1676. bool
  1677. depends on !CPU_R3000
  1678. default y
  1679. config GENERIC_CLOCKEVENTS_BROADCAST
  1680. bool
  1681. #
  1682. # CPU non-features
  1683. #
  1684. config CPU_DADDI_WORKAROUNDS
  1685. bool
  1686. config CPU_R4000_WORKAROUNDS
  1687. bool
  1688. select CPU_R4400_WORKAROUNDS
  1689. config CPU_R4400_WORKAROUNDS
  1690. bool
  1691. #
  1692. # - Highmem only makes sense for the 32-bit kernel.
  1693. # - The current highmem code will only work properly on physically indexed
  1694. # caches such as R3000, SB1, R7000 or those that look like they're virtually
  1695. # indexed such as R4000/R4400 SC and MC versions or R10000. So for the
  1696. # moment we protect the user and offer the highmem option only on machines
  1697. # where it's known to be safe. This will not offer highmem on a few systems
  1698. # such as MIPS32 and MIPS64 CPUs which may have virtual and physically
  1699. # indexed CPUs but we're playing safe.
  1700. # - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
  1701. # know they might have memory configurations that could make use of highmem
  1702. # support.
  1703. #
  1704. config HIGHMEM
  1705. bool "High Memory Support"
  1706. depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
  1707. config CPU_SUPPORTS_HIGHMEM
  1708. bool
  1709. config SYS_SUPPORTS_HIGHMEM
  1710. bool
  1711. config SYS_SUPPORTS_SMARTMIPS
  1712. bool
  1713. config ARCH_FLATMEM_ENABLE
  1714. def_bool y
  1715. depends on !NUMA && !CPU_LOONGSON2
  1716. config ARCH_DISCONTIGMEM_ENABLE
  1717. bool
  1718. default y if SGI_IP27
  1719. help
  1720. Say Y to support efficient handling of discontiguous physical memory,
  1721. for architectures which are either NUMA (Non-Uniform Memory Access)
  1722. or have huge holes in the physical address space for other reasons.
  1723. See <file:Documentation/vm/numa> for more.
  1724. config ARCH_POPULATES_NODE_MAP
  1725. def_bool y
  1726. config ARCH_SPARSEMEM_ENABLE
  1727. bool
  1728. select SPARSEMEM_STATIC
  1729. config NUMA
  1730. bool "NUMA Support"
  1731. depends on SYS_SUPPORTS_NUMA
  1732. help
  1733. Say Y to compile the kernel to support NUMA (Non-Uniform Memory
  1734. Access). This option improves performance on systems with more
  1735. than two nodes; on two node systems it is generally better to
  1736. leave it disabled; on single node systems disable this option
  1737. disabled.
  1738. config SYS_SUPPORTS_NUMA
  1739. bool
  1740. config NODES_SHIFT
  1741. int
  1742. default "6"
  1743. depends on NEED_MULTIPLE_NODES
  1744. config HW_PERF_EVENTS
  1745. bool "Enable hardware performance counter support for perf events"
  1746. depends on PERF_EVENTS && !MIPS_MT_SMTC && OPROFILE=n && CPU_MIPS32
  1747. default y
  1748. help
  1749. Enable hardware performance counter support for perf events. If
  1750. disabled, perf events will use software events only.
  1751. source "mm/Kconfig"
  1752. config SMP
  1753. bool "Multi-Processing support"
  1754. depends on SYS_SUPPORTS_SMP
  1755. select IRQ_PER_CPU
  1756. select USE_GENERIC_SMP_HELPERS
  1757. help
  1758. This enables support for systems with more than one CPU. If you have
  1759. a system with only one CPU, like most personal computers, say N. If
  1760. you have a system with more than one CPU, say Y.
  1761. If you say N here, the kernel will run on single and multiprocessor
  1762. machines, but will use only one CPU of a multiprocessor machine. If
  1763. you say Y here, the kernel will run on many, but not all,
  1764. singleprocessor machines. On a singleprocessor machine, the kernel
  1765. will run faster if you say N here.
  1766. People using multiprocessor machines who say Y here should also say
  1767. Y to "Enhanced Real Time Clock Support", below.
  1768. See also the SMP-HOWTO available at
  1769. <http://www.tldp.org/docs.html#howto>.
  1770. If you don't know what to do here, say N.
  1771. config SMP_UP
  1772. bool
  1773. config SYS_SUPPORTS_MIPS_CMP
  1774. bool
  1775. config SYS_SUPPORTS_SMP
  1776. bool
  1777. config NR_CPUS_DEFAULT_1
  1778. bool
  1779. config NR_CPUS_DEFAULT_2
  1780. bool
  1781. config NR_CPUS_DEFAULT_4
  1782. bool
  1783. config NR_CPUS_DEFAULT_8
  1784. bool
  1785. config NR_CPUS_DEFAULT_16
  1786. bool
  1787. config NR_CPUS_DEFAULT_32
  1788. bool
  1789. config NR_CPUS_DEFAULT_64
  1790. bool
  1791. config NR_CPUS
  1792. int "Maximum number of CPUs (2-64)"
  1793. range 1 64 if NR_CPUS_DEFAULT_1
  1794. depends on SMP
  1795. default "1" if NR_CPUS_DEFAULT_1
  1796. default "2" if NR_CPUS_DEFAULT_2
  1797. default "4" if NR_CPUS_DEFAULT_4
  1798. default "8" if NR_CPUS_DEFAULT_8
  1799. default "16" if NR_CPUS_DEFAULT_16
  1800. default "32" if NR_CPUS_DEFAULT_32
  1801. default "64" if NR_CPUS_DEFAULT_64
  1802. help
  1803. This allows you to specify the maximum number of CPUs which this
  1804. kernel will support. The maximum supported value is 32 for 32-bit
  1805. kernel and 64 for 64-bit kernels; the minimum value which makes
  1806. sense is 1 for Qemu (useful only for kernel debugging purposes)
  1807. and 2 for all others.
  1808. This is purely to save memory - each supported CPU adds
  1809. approximately eight kilobytes to the kernel image. For best
  1810. performance should round up your number of processors to the next
  1811. power of two.
  1812. source "kernel/time/Kconfig"
  1813. #
  1814. # Timer Interrupt Frequency Configuration
  1815. #
  1816. choice
  1817. prompt "Timer frequency"
  1818. default HZ_250
  1819. help
  1820. Allows the configuration of the timer frequency.
  1821. config HZ_48
  1822. bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
  1823. config HZ_100
  1824. bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
  1825. config HZ_128
  1826. bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
  1827. config HZ_250
  1828. bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
  1829. config HZ_256
  1830. bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
  1831. config HZ_1000
  1832. bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
  1833. config HZ_1024
  1834. bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
  1835. endchoice
  1836. config SYS_SUPPORTS_48HZ
  1837. bool
  1838. config SYS_SUPPORTS_100HZ
  1839. bool
  1840. config SYS_SUPPORTS_128HZ
  1841. bool
  1842. config SYS_SUPPORTS_250HZ
  1843. bool
  1844. config SYS_SUPPORTS_256HZ
  1845. bool
  1846. config SYS_SUPPORTS_1000HZ
  1847. bool
  1848. config SYS_SUPPORTS_1024HZ
  1849. bool
  1850. config SYS_SUPPORTS_ARBIT_HZ
  1851. bool
  1852. default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
  1853. !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
  1854. !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
  1855. !SYS_SUPPORTS_1024HZ
  1856. config HZ
  1857. int
  1858. default 48 if HZ_48
  1859. default 100 if HZ_100
  1860. default 128 if HZ_128
  1861. default 250 if HZ_250
  1862. default 256 if HZ_256
  1863. default 1000 if HZ_1000
  1864. default 1024 if HZ_1024
  1865. source "kernel/Kconfig.preempt"
  1866. config MIPS_INSANE_LARGE
  1867. bool "Support for large 64-bit configurations"
  1868. depends on CPU_R10000 && 64BIT
  1869. help
  1870. MIPS R10000 does support a 44 bit / 16TB address space as opposed to
  1871. previous 64-bit processors which only supported 40 bit / 1TB. If you
  1872. need processes of more than 1TB virtual address space, say Y here.
  1873. This will result in additional memory usage, so it is not
  1874. recommended for normal users.
  1875. config KEXEC
  1876. bool "Kexec system call (EXPERIMENTAL)"
  1877. depends on EXPERIMENTAL
  1878. help
  1879. kexec is a system call that implements the ability to shutdown your
  1880. current kernel, and to start another kernel. It is like a reboot
  1881. but it is independent of the system firmware. And like a reboot
  1882. you can start any kernel with it, not just Linux.
  1883. The name comes from the similarity to the exec system call.
  1884. It is an ongoing process to be certain the hardware in a machine
  1885. is properly shutdown, so do not be surprised if this code does not
  1886. initially work for you. It may help to enable device hotplugging
  1887. support. As of this writing the exact hardware interface is
  1888. strongly in flux, so no good recommendation can be made.
  1889. config SECCOMP
  1890. bool "Enable seccomp to safely compute untrusted bytecode"
  1891. depends on PROC_FS
  1892. default y
  1893. help
  1894. This kernel feature is useful for number crunching applications
  1895. that may need to compute untrusted bytecode during their
  1896. execution. By using pipes or other transports made available to
  1897. the process as file descriptors supporting the read/write
  1898. syscalls, it's possible to isolate those applications in
  1899. their own address space using seccomp. Once seccomp is
  1900. enabled via /proc/<pid>/seccomp, it cannot be disabled
  1901. and the task is only allowed to execute a few safe syscalls
  1902. defined by each seccomp mode.
  1903. If unsure, say Y. Only embedded should say N here.
  1904. config USE_OF
  1905. bool "Flattened Device Tree support"
  1906. select OF
  1907. select OF_EARLY_FLATTREE
  1908. help
  1909. Include support for flattened device tree machine descriptions.
  1910. endmenu
  1911. config LOCKDEP_SUPPORT
  1912. bool
  1913. default y
  1914. config STACKTRACE_SUPPORT
  1915. bool
  1916. default y
  1917. source "init/Kconfig"
  1918. source "kernel/Kconfig.freezer"
  1919. menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
  1920. config HW_HAS_EISA
  1921. bool
  1922. config HW_HAS_PCI
  1923. bool
  1924. config PCI
  1925. bool "Support for PCI controller"
  1926. depends on HW_HAS_PCI
  1927. select PCI_DOMAINS
  1928. help
  1929. Find out whether you have a PCI motherboard. PCI is the name of a
  1930. bus system, i.e. the way the CPU talks to the other stuff inside
  1931. your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
  1932. say Y, otherwise N.
  1933. config PCI_DOMAINS
  1934. bool
  1935. source "drivers/pci/Kconfig"
  1936. #
  1937. # ISA support is now enabled via select. Too many systems still have the one
  1938. # or other ISA chip on the board that users don't know about so don't expect
  1939. # users to choose the right thing ...
  1940. #
  1941. config ISA
  1942. bool
  1943. config EISA
  1944. bool "EISA support"
  1945. depends on HW_HAS_EISA
  1946. select ISA
  1947. select GENERIC_ISA_DMA
  1948. ---help---
  1949. The Extended Industry Standard Architecture (EISA) bus was
  1950. developed as an open alternative to the IBM MicroChannel bus.
  1951. The EISA bus provided some of the features of the IBM MicroChannel
  1952. bus while maintaining backward compatibility with cards made for
  1953. the older ISA bus. The EISA bus saw limited use between 1988 and
  1954. 1995 when it was made obsolete by the PCI bus.
  1955. Say Y here if you are building a kernel for an EISA-based machine.
  1956. Otherwise, say N.
  1957. source "drivers/eisa/Kconfig"
  1958. config TC
  1959. bool "TURBOchannel support"
  1960. depends on MACH_DECSTATION
  1961. help
  1962. TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
  1963. processors. TURBOchannel programming specifications are available
  1964. at:
  1965. <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/>
  1966. and:
  1967. <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/>
  1968. Linux driver support status is documented at:
  1969. <http://www.linux-mips.org/wiki/DECstation>
  1970. #config ACCESSBUS
  1971. # bool "Access.Bus support"
  1972. # depends on TC
  1973. config MMU
  1974. bool
  1975. default y
  1976. config I8253
  1977. bool
  1978. select MIPS_EXTERNAL_TIMER
  1979. config ZONE_DMA32
  1980. bool
  1981. source "drivers/pcmcia/Kconfig"
  1982. source "drivers/pci/hotplug/Kconfig"
  1983. endmenu
  1984. menu "Executable file formats"
  1985. source "fs/Kconfig.binfmt"
  1986. config TRAD_SIGNALS
  1987. bool
  1988. config MIPS32_COMPAT
  1989. bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
  1990. depends on 64BIT
  1991. help
  1992. Select this option if you want Linux/MIPS 32-bit binary
  1993. compatibility. Since all software available for Linux/MIPS is
  1994. currently 32-bit you should say Y here.
  1995. config COMPAT
  1996. bool
  1997. depends on MIPS32_COMPAT
  1998. default y
  1999. config SYSVIPC_COMPAT
  2000. bool
  2001. depends on COMPAT && SYSVIPC
  2002. default y
  2003. config MIPS32_O32
  2004. bool "Kernel support for o32 binaries"
  2005. depends on MIPS32_COMPAT
  2006. help
  2007. Select this option if you want to run o32 binaries. These are pure
  2008. 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
  2009. existing binaries are in this format.
  2010. If unsure, say Y.
  2011. config MIPS32_N32
  2012. bool "Kernel support for n32 binaries"
  2013. depends on MIPS32_COMPAT
  2014. help
  2015. Select this option if you want to run n32 binaries. These are
  2016. 64-bit binaries using 32-bit quantities for addressing and certain
  2017. data that would normally be 64-bit. They are used in special
  2018. cases.
  2019. If unsure, say N.
  2020. config BINFMT_ELF32
  2021. bool
  2022. default y if MIPS32_O32 || MIPS32_N32
  2023. endmenu
  2024. menu "Power management options"
  2025. config ARCH_HIBERNATION_POSSIBLE
  2026. def_bool y
  2027. depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
  2028. config ARCH_SUSPEND_POSSIBLE
  2029. def_bool y
  2030. depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
  2031. source "kernel/power/Kconfig"
  2032. endmenu
  2033. source "arch/mips/kernel/cpufreq/Kconfig"
  2034. source "net/Kconfig"
  2035. source "drivers/Kconfig"
  2036. source "fs/Kconfig"
  2037. source "arch/mips/Kconfig.debug"
  2038. source "security/Kconfig"
  2039. source "crypto/Kconfig"
  2040. source "lib/Kconfig"