Kconfig 54 KB

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