Kconfig 57 KB

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