Kconfig 58 KB

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