Kconfig 50 KB

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