Kconfig 57 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403
  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 NO_IOPORT
  794. def_bool n
  795. config GENERIC_ISA_DMA
  796. bool
  797. select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
  798. select ISA_DMA_API
  799. config GENERIC_ISA_DMA_SUPPORT_BROKEN
  800. bool
  801. select GENERIC_ISA_DMA
  802. config ISA_DMA_API
  803. bool
  804. config GENERIC_GPIO
  805. bool
  806. #
  807. # Endianess selection. Sufficiently obscure so many users don't know what to
  808. # answer,so we try hard to limit the available choices. Also the use of a
  809. # choice statement should be more obvious to the user.
  810. #
  811. choice
  812. prompt "Endianess selection"
  813. help
  814. Some MIPS machines can be configured for either little or big endian
  815. byte order. These modes require different kernels and a different
  816. Linux distribution. In general there is one preferred byteorder for a
  817. particular system but some systems are just as commonly used in the
  818. one or the other endianness.
  819. config CPU_BIG_ENDIAN
  820. bool "Big endian"
  821. depends on SYS_SUPPORTS_BIG_ENDIAN
  822. config CPU_LITTLE_ENDIAN
  823. bool "Little endian"
  824. depends on SYS_SUPPORTS_LITTLE_ENDIAN
  825. help
  826. endchoice
  827. config EXPORT_UASM
  828. bool
  829. config SYS_SUPPORTS_APM_EMULATION
  830. bool
  831. config SYS_SUPPORTS_BIG_ENDIAN
  832. bool
  833. config SYS_SUPPORTS_LITTLE_ENDIAN
  834. bool
  835. config SYS_SUPPORTS_HUGETLBFS
  836. bool
  837. depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
  838. default y
  839. config IRQ_CPU
  840. bool
  841. config IRQ_CPU_RM7K
  842. bool
  843. config IRQ_CPU_RM9K
  844. bool
  845. config IRQ_MSP_SLP
  846. bool
  847. config IRQ_MSP_CIC
  848. bool
  849. config IRQ_TXX9
  850. bool
  851. config IRQ_GT641XX
  852. bool
  853. config IRQ_GIC
  854. bool
  855. config IRQ_CPU_OCTEON
  856. bool
  857. config MIPS_BOARDS_GEN
  858. bool
  859. config PCI_GT64XXX_PCI0
  860. bool
  861. config NO_EXCEPT_FILL
  862. bool
  863. config MIPS_RM9122
  864. bool
  865. select SERIAL_RM9000
  866. config SOC_EMMA2RH
  867. bool
  868. select CEVT_R4K
  869. select CSRC_R4K
  870. select DMA_NONCOHERENT
  871. select IRQ_CPU
  872. select SWAP_IO_SPACE
  873. select SYS_HAS_CPU_R5500
  874. select SYS_SUPPORTS_32BIT_KERNEL
  875. select SYS_SUPPORTS_64BIT_KERNEL
  876. select SYS_SUPPORTS_BIG_ENDIAN
  877. config SOC_PNX833X
  878. bool
  879. select CEVT_R4K
  880. select CSRC_R4K
  881. select IRQ_CPU
  882. select DMA_NONCOHERENT
  883. select SYS_HAS_CPU_MIPS32_R2
  884. select SYS_SUPPORTS_32BIT_KERNEL
  885. select SYS_SUPPORTS_LITTLE_ENDIAN
  886. select SYS_SUPPORTS_BIG_ENDIAN
  887. select GENERIC_GPIO
  888. select CPU_MIPSR2_IRQ_VI
  889. config SOC_PNX8335
  890. bool
  891. select SOC_PNX833X
  892. config PNX8550
  893. bool
  894. select SOC_PNX8550
  895. config SOC_PNX8550
  896. bool
  897. select DMA_NONCOHERENT
  898. select HW_HAS_PCI
  899. select SYS_HAS_CPU_MIPS32_R1
  900. select SYS_HAS_EARLY_PRINTK
  901. select SYS_SUPPORTS_32BIT_KERNEL
  902. select GENERIC_GPIO
  903. config SWAP_IO_SPACE
  904. bool
  905. config SERIAL_RM9000
  906. bool
  907. config SGI_HAS_INDYDOG
  908. bool
  909. config SGI_HAS_HAL2
  910. bool
  911. config SGI_HAS_SEEQ
  912. bool
  913. config SGI_HAS_WD93
  914. bool
  915. config SGI_HAS_ZILOG
  916. bool
  917. config SGI_HAS_I8042
  918. bool
  919. config DEFAULT_SGI_PARTITION
  920. bool
  921. config ARC32
  922. bool
  923. config SNIPROM
  924. bool
  925. config BOOT_ELF32
  926. bool
  927. config MIPS_L1_CACHE_SHIFT
  928. int
  929. default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL
  930. default "6" if MIPS_CPU_SCACHE
  931. default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
  932. default "5"
  933. config HAVE_STD_PC_SERIAL_PORT
  934. bool
  935. config ARC_CONSOLE
  936. bool "ARC console support"
  937. depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
  938. config ARC_MEMORY
  939. bool
  940. depends on MACH_JAZZ || SNI_RM || SGI_IP32
  941. default y
  942. config ARC_PROMLIB
  943. bool
  944. depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
  945. default y
  946. config ARC64
  947. bool
  948. config BOOT_ELF64
  949. bool
  950. menu "CPU selection"
  951. choice
  952. prompt "CPU type"
  953. default CPU_R4X00
  954. config CPU_LOONGSON2E
  955. bool "Loongson 2E"
  956. depends on SYS_HAS_CPU_LOONGSON2E
  957. select CPU_LOONGSON2
  958. help
  959. The Loongson 2E processor implements the MIPS III instruction set
  960. with many extensions.
  961. It has an internal FPGA northbridge, which is compatiable to
  962. bonito64.
  963. config CPU_LOONGSON2F
  964. bool "Loongson 2F"
  965. depends on SYS_HAS_CPU_LOONGSON2F
  966. select CPU_LOONGSON2
  967. select GENERIC_GPIO
  968. select ARCH_REQUIRE_GPIOLIB
  969. help
  970. The Loongson 2F processor implements the MIPS III instruction set
  971. with many extensions.
  972. Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
  973. have a similar programming interface with FPGA northbridge used in
  974. Loongson2E.
  975. config CPU_MIPS32_R1
  976. bool "MIPS32 Release 1"
  977. depends on SYS_HAS_CPU_MIPS32_R1
  978. select CPU_HAS_PREFETCH
  979. select CPU_SUPPORTS_32BIT_KERNEL
  980. select CPU_SUPPORTS_HIGHMEM
  981. help
  982. Choose this option to build a kernel for release 1 or later of the
  983. MIPS32 architecture. Most modern embedded systems with a 32-bit
  984. MIPS processor are based on a MIPS32 processor. If you know the
  985. specific type of processor in your system, choose those that one
  986. otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
  987. Release 2 of the MIPS32 architecture is available since several
  988. years so chances are you even have a MIPS32 Release 2 processor
  989. in which case you should choose CPU_MIPS32_R2 instead for better
  990. performance.
  991. config CPU_MIPS32_R2
  992. bool "MIPS32 Release 2"
  993. depends on SYS_HAS_CPU_MIPS32_R2
  994. select CPU_HAS_PREFETCH
  995. select CPU_SUPPORTS_32BIT_KERNEL
  996. select CPU_SUPPORTS_HIGHMEM
  997. help
  998. Choose this option to build a kernel for release 2 or later of the
  999. MIPS32 architecture. Most modern embedded systems with a 32-bit
  1000. MIPS processor are based on a MIPS32 processor. If you know the
  1001. specific type of processor in your system, choose those that one
  1002. otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
  1003. config CPU_MIPS64_R1
  1004. bool "MIPS64 Release 1"
  1005. depends on SYS_HAS_CPU_MIPS64_R1
  1006. select CPU_HAS_PREFETCH
  1007. select CPU_SUPPORTS_32BIT_KERNEL
  1008. select CPU_SUPPORTS_64BIT_KERNEL
  1009. select CPU_SUPPORTS_HIGHMEM
  1010. select CPU_SUPPORTS_HUGEPAGES
  1011. help
  1012. Choose this option to build a kernel for release 1 or later of the
  1013. MIPS64 architecture. Many modern embedded systems with a 64-bit
  1014. MIPS processor are based on a MIPS64 processor. If you know the
  1015. specific type of processor in your system, choose those that one
  1016. otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
  1017. Release 2 of the MIPS64 architecture is available since several
  1018. years so chances are you even have a MIPS64 Release 2 processor
  1019. in which case you should choose CPU_MIPS64_R2 instead for better
  1020. performance.
  1021. config CPU_MIPS64_R2
  1022. bool "MIPS64 Release 2"
  1023. depends on SYS_HAS_CPU_MIPS64_R2
  1024. select CPU_HAS_PREFETCH
  1025. select CPU_SUPPORTS_32BIT_KERNEL
  1026. select CPU_SUPPORTS_64BIT_KERNEL
  1027. select CPU_SUPPORTS_HIGHMEM
  1028. select CPU_SUPPORTS_HUGEPAGES
  1029. help
  1030. Choose this option to build a kernel for release 2 or later of the
  1031. MIPS64 architecture. Many modern embedded systems with a 64-bit
  1032. MIPS processor are based on a MIPS64 processor. If you know the
  1033. specific type of processor in your system, choose those that one
  1034. otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
  1035. config CPU_R3000
  1036. bool "R3000"
  1037. depends on SYS_HAS_CPU_R3000
  1038. select CPU_HAS_WB
  1039. select CPU_SUPPORTS_32BIT_KERNEL
  1040. select CPU_SUPPORTS_HIGHMEM
  1041. help
  1042. Please make sure to pick the right CPU type. Linux/MIPS is not
  1043. designed to be generic, i.e. Kernels compiled for R3000 CPUs will
  1044. *not* work on R4000 machines and vice versa. However, since most
  1045. of the supported machines have an R4000 (or similar) CPU, R4x00
  1046. might be a safe bet. If the resulting kernel does not work,
  1047. try to recompile with R3000.
  1048. config CPU_TX39XX
  1049. bool "R39XX"
  1050. depends on SYS_HAS_CPU_TX39XX
  1051. select CPU_SUPPORTS_32BIT_KERNEL
  1052. config CPU_VR41XX
  1053. bool "R41xx"
  1054. depends on SYS_HAS_CPU_VR41XX
  1055. select CPU_SUPPORTS_32BIT_KERNEL
  1056. select CPU_SUPPORTS_64BIT_KERNEL
  1057. help
  1058. The options selects support for the NEC VR4100 series of processors.
  1059. Only choose this option if you have one of these processors as a
  1060. kernel built with this option will not run on any other type of
  1061. processor or vice versa.
  1062. config CPU_R4300
  1063. bool "R4300"
  1064. depends on SYS_HAS_CPU_R4300
  1065. select CPU_SUPPORTS_32BIT_KERNEL
  1066. select CPU_SUPPORTS_64BIT_KERNEL
  1067. help
  1068. MIPS Technologies R4300-series processors.
  1069. config CPU_R4X00
  1070. bool "R4x00"
  1071. depends on SYS_HAS_CPU_R4X00
  1072. select CPU_SUPPORTS_32BIT_KERNEL
  1073. select CPU_SUPPORTS_64BIT_KERNEL
  1074. help
  1075. MIPS Technologies R4000-series processors other than 4300, including
  1076. the R4000, R4400, R4600, and 4700.
  1077. config CPU_TX49XX
  1078. bool "R49XX"
  1079. depends on SYS_HAS_CPU_TX49XX
  1080. select CPU_HAS_PREFETCH
  1081. select CPU_SUPPORTS_32BIT_KERNEL
  1082. select CPU_SUPPORTS_64BIT_KERNEL
  1083. config CPU_R5000
  1084. bool "R5000"
  1085. depends on SYS_HAS_CPU_R5000
  1086. select CPU_SUPPORTS_32BIT_KERNEL
  1087. select CPU_SUPPORTS_64BIT_KERNEL
  1088. help
  1089. MIPS Technologies R5000-series processors other than the Nevada.
  1090. config CPU_R5432
  1091. bool "R5432"
  1092. depends on SYS_HAS_CPU_R5432
  1093. select CPU_SUPPORTS_32BIT_KERNEL
  1094. select CPU_SUPPORTS_64BIT_KERNEL
  1095. config CPU_R5500
  1096. bool "R5500"
  1097. depends on SYS_HAS_CPU_R5500
  1098. select CPU_SUPPORTS_32BIT_KERNEL
  1099. select CPU_SUPPORTS_64BIT_KERNEL
  1100. select CPU_SUPPORTS_HUGEPAGES
  1101. help
  1102. NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
  1103. instruction set.
  1104. config CPU_R6000
  1105. bool "R6000"
  1106. depends on EXPERIMENTAL
  1107. depends on SYS_HAS_CPU_R6000
  1108. select CPU_SUPPORTS_32BIT_KERNEL
  1109. help
  1110. MIPS Technologies R6000 and R6000A series processors. Note these
  1111. processors are extremely rare and the support for them is incomplete.
  1112. config CPU_NEVADA
  1113. bool "RM52xx"
  1114. depends on SYS_HAS_CPU_NEVADA
  1115. select CPU_SUPPORTS_32BIT_KERNEL
  1116. select CPU_SUPPORTS_64BIT_KERNEL
  1117. help
  1118. QED / PMC-Sierra RM52xx-series ("Nevada") processors.
  1119. config CPU_R8000
  1120. bool "R8000"
  1121. depends on EXPERIMENTAL
  1122. depends on SYS_HAS_CPU_R8000
  1123. select CPU_HAS_PREFETCH
  1124. select CPU_SUPPORTS_64BIT_KERNEL
  1125. help
  1126. MIPS Technologies R8000 processors. Note these processors are
  1127. uncommon and the support for them is incomplete.
  1128. config CPU_R10000
  1129. bool "R10000"
  1130. depends on SYS_HAS_CPU_R10000
  1131. select CPU_HAS_PREFETCH
  1132. select CPU_SUPPORTS_32BIT_KERNEL
  1133. select CPU_SUPPORTS_64BIT_KERNEL
  1134. select CPU_SUPPORTS_HIGHMEM
  1135. help
  1136. MIPS Technologies R10000-series processors.
  1137. config CPU_RM7000
  1138. bool "RM7000"
  1139. depends on SYS_HAS_CPU_RM7000
  1140. select CPU_HAS_PREFETCH
  1141. select CPU_SUPPORTS_32BIT_KERNEL
  1142. select CPU_SUPPORTS_64BIT_KERNEL
  1143. select CPU_SUPPORTS_HIGHMEM
  1144. config CPU_RM9000
  1145. bool "RM9000"
  1146. depends on SYS_HAS_CPU_RM9000
  1147. select CPU_HAS_PREFETCH
  1148. select CPU_SUPPORTS_32BIT_KERNEL
  1149. select CPU_SUPPORTS_64BIT_KERNEL
  1150. select CPU_SUPPORTS_HIGHMEM
  1151. select WEAK_ORDERING
  1152. config CPU_SB1
  1153. bool "SB1"
  1154. depends on SYS_HAS_CPU_SB1
  1155. select CPU_SUPPORTS_32BIT_KERNEL
  1156. select CPU_SUPPORTS_64BIT_KERNEL
  1157. select CPU_SUPPORTS_HIGHMEM
  1158. select WEAK_ORDERING
  1159. config CPU_CAVIUM_OCTEON
  1160. bool "Cavium Octeon processor"
  1161. depends on SYS_HAS_CPU_CAVIUM_OCTEON
  1162. select IRQ_CPU
  1163. select IRQ_CPU_OCTEON
  1164. select CPU_HAS_PREFETCH
  1165. select CPU_SUPPORTS_64BIT_KERNEL
  1166. select SYS_SUPPORTS_SMP
  1167. select NR_CPUS_DEFAULT_16
  1168. select WEAK_ORDERING
  1169. select CPU_SUPPORTS_HIGHMEM
  1170. select CPU_SUPPORTS_HUGEPAGES
  1171. help
  1172. The Cavium Octeon processor is a highly integrated chip containing
  1173. many ethernet hardware widgets for networking tasks. The processor
  1174. can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
  1175. Full details can be found at http://www.caviumnetworks.com.
  1176. config CPU_BMIPS3300
  1177. bool "BMIPS3300"
  1178. depends on SYS_HAS_CPU_BMIPS3300
  1179. select DMA_NONCOHERENT
  1180. select IRQ_CPU
  1181. select SWAP_IO_SPACE
  1182. select SYS_SUPPORTS_32BIT_KERNEL
  1183. select WEAK_ORDERING
  1184. help
  1185. Broadcom BMIPS3300 processors.
  1186. config CPU_BMIPS4350
  1187. bool "BMIPS4350"
  1188. depends on SYS_HAS_CPU_BMIPS4350
  1189. select CPU_SUPPORTS_32BIT_KERNEL
  1190. select DMA_NONCOHERENT
  1191. select IRQ_CPU
  1192. select SWAP_IO_SPACE
  1193. select SYS_SUPPORTS_SMP
  1194. select SYS_SUPPORTS_HOTPLUG_CPU
  1195. select WEAK_ORDERING
  1196. help
  1197. Broadcom BMIPS4350 ("VIPER") processors.
  1198. config CPU_BMIPS4380
  1199. bool "BMIPS4380"
  1200. depends on SYS_HAS_CPU_BMIPS4380
  1201. select CPU_SUPPORTS_32BIT_KERNEL
  1202. select DMA_NONCOHERENT
  1203. select IRQ_CPU
  1204. select SWAP_IO_SPACE
  1205. select SYS_SUPPORTS_SMP
  1206. select SYS_SUPPORTS_HOTPLUG_CPU
  1207. select WEAK_ORDERING
  1208. help
  1209. Broadcom BMIPS4380 processors.
  1210. config CPU_BMIPS5000
  1211. bool "BMIPS5000"
  1212. depends on SYS_HAS_CPU_BMIPS5000
  1213. select CPU_SUPPORTS_32BIT_KERNEL
  1214. select CPU_SUPPORTS_HIGHMEM
  1215. select DMA_NONCOHERENT
  1216. select IRQ_CPU
  1217. select SWAP_IO_SPACE
  1218. select SYS_SUPPORTS_SMP
  1219. select SYS_SUPPORTS_HOTPLUG_CPU
  1220. select WEAK_ORDERING
  1221. help
  1222. Broadcom BMIPS5000 processors.
  1223. endchoice
  1224. if CPU_LOONGSON2F
  1225. config CPU_NOP_WORKAROUNDS
  1226. bool
  1227. config CPU_JUMP_WORKAROUNDS
  1228. bool
  1229. config CPU_LOONGSON2F_WORKAROUNDS
  1230. bool "Loongson 2F Workarounds"
  1231. default y
  1232. select CPU_NOP_WORKAROUNDS
  1233. select CPU_JUMP_WORKAROUNDS
  1234. help
  1235. Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which
  1236. require workarounds. Without workarounds the system may hang
  1237. unexpectedly. For more information please refer to the gas
  1238. -mfix-loongson2f-nop and -mfix-loongson2f-jump options.
  1239. Loongson 2F03 and later have fixed these issues and no workarounds
  1240. are needed. The workarounds have no significant side effect on them
  1241. but may decrease the performance of the system so this option should
  1242. be disabled unless the kernel is intended to be run on 2F01 or 2F02
  1243. systems.
  1244. If unsure, please say Y.
  1245. endif # CPU_LOONGSON2F
  1246. config SYS_SUPPORTS_ZBOOT
  1247. bool
  1248. select HAVE_KERNEL_GZIP
  1249. select HAVE_KERNEL_BZIP2
  1250. select HAVE_KERNEL_LZMA
  1251. select HAVE_KERNEL_LZO
  1252. config SYS_SUPPORTS_ZBOOT_UART16550
  1253. bool
  1254. select SYS_SUPPORTS_ZBOOT
  1255. config CPU_LOONGSON2
  1256. bool
  1257. select CPU_SUPPORTS_32BIT_KERNEL
  1258. select CPU_SUPPORTS_64BIT_KERNEL
  1259. select CPU_SUPPORTS_HIGHMEM
  1260. config SYS_HAS_CPU_LOONGSON2E
  1261. bool
  1262. config SYS_HAS_CPU_LOONGSON2F
  1263. bool
  1264. select CPU_SUPPORTS_CPUFREQ
  1265. select CPU_SUPPORTS_ADDRWINCFG if 64BIT
  1266. select CPU_SUPPORTS_UNCACHED_ACCELERATED
  1267. config SYS_HAS_CPU_MIPS32_R1
  1268. bool
  1269. config SYS_HAS_CPU_MIPS32_R2
  1270. bool
  1271. config SYS_HAS_CPU_MIPS64_R1
  1272. bool
  1273. config SYS_HAS_CPU_MIPS64_R2
  1274. bool
  1275. config SYS_HAS_CPU_R3000
  1276. bool
  1277. config SYS_HAS_CPU_TX39XX
  1278. bool
  1279. config SYS_HAS_CPU_VR41XX
  1280. bool
  1281. config SYS_HAS_CPU_R4300
  1282. bool
  1283. config SYS_HAS_CPU_R4X00
  1284. bool
  1285. config SYS_HAS_CPU_TX49XX
  1286. bool
  1287. config SYS_HAS_CPU_R5000
  1288. bool
  1289. config SYS_HAS_CPU_R5432
  1290. bool
  1291. config SYS_HAS_CPU_R5500
  1292. bool
  1293. config SYS_HAS_CPU_R6000
  1294. bool
  1295. config SYS_HAS_CPU_NEVADA
  1296. bool
  1297. config SYS_HAS_CPU_R8000
  1298. bool
  1299. config SYS_HAS_CPU_R10000
  1300. bool
  1301. config SYS_HAS_CPU_RM7000
  1302. bool
  1303. config SYS_HAS_CPU_RM9000
  1304. bool
  1305. config SYS_HAS_CPU_SB1
  1306. bool
  1307. config SYS_HAS_CPU_CAVIUM_OCTEON
  1308. bool
  1309. config SYS_HAS_CPU_BMIPS3300
  1310. bool
  1311. config SYS_HAS_CPU_BMIPS4350
  1312. bool
  1313. config SYS_HAS_CPU_BMIPS4380
  1314. bool
  1315. config SYS_HAS_CPU_BMIPS5000
  1316. bool
  1317. #
  1318. # CPU may reorder R->R, R->W, W->R, W->W
  1319. # Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
  1320. #
  1321. config WEAK_ORDERING
  1322. bool
  1323. #
  1324. # CPU may reorder reads and writes beyond LL/SC
  1325. # CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
  1326. #
  1327. config WEAK_REORDERING_BEYOND_LLSC
  1328. bool
  1329. endmenu
  1330. #
  1331. # These two indicate any level of the MIPS32 and MIPS64 architecture
  1332. #
  1333. config CPU_MIPS32
  1334. bool
  1335. default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
  1336. config CPU_MIPS64
  1337. bool
  1338. default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
  1339. #
  1340. # These two indicate the revision of the architecture, either Release 1 or Release 2
  1341. #
  1342. config CPU_MIPSR1
  1343. bool
  1344. default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
  1345. config CPU_MIPSR2
  1346. bool
  1347. default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
  1348. config SYS_SUPPORTS_32BIT_KERNEL
  1349. bool
  1350. config SYS_SUPPORTS_64BIT_KERNEL
  1351. bool
  1352. config CPU_SUPPORTS_32BIT_KERNEL
  1353. bool
  1354. config CPU_SUPPORTS_64BIT_KERNEL
  1355. bool
  1356. config CPU_SUPPORTS_CPUFREQ
  1357. bool
  1358. config CPU_SUPPORTS_ADDRWINCFG
  1359. bool
  1360. config CPU_SUPPORTS_HUGEPAGES
  1361. bool
  1362. config CPU_SUPPORTS_UNCACHED_ACCELERATED
  1363. bool
  1364. config MIPS_PGD_C0_CONTEXT
  1365. bool
  1366. default y if 64BIT && CPU_MIPSR2
  1367. #
  1368. # Set to y for ptrace access to watch registers.
  1369. #
  1370. config HARDWARE_WATCHPOINTS
  1371. bool
  1372. default y if CPU_MIPSR1 || CPU_MIPSR2
  1373. menu "Kernel type"
  1374. choice
  1375. prompt "Kernel code model"
  1376. help
  1377. You should only select this option if you have a workload that
  1378. actually benefits from 64-bit processing or if your machine has
  1379. large memory. You will only be presented a single option in this
  1380. menu if your system does not support both 32-bit and 64-bit kernels.
  1381. config 32BIT
  1382. bool "32-bit kernel"
  1383. depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
  1384. select TRAD_SIGNALS
  1385. help
  1386. Select this option if you want to build a 32-bit kernel.
  1387. config 64BIT
  1388. bool "64-bit kernel"
  1389. depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
  1390. select HAVE_SYSCALL_WRAPPERS
  1391. help
  1392. Select this option if you want to build a 64-bit kernel.
  1393. endchoice
  1394. choice
  1395. prompt "Kernel page size"
  1396. default PAGE_SIZE_4KB
  1397. config PAGE_SIZE_4KB
  1398. bool "4kB"
  1399. depends on !CPU_LOONGSON2
  1400. help
  1401. This option select the standard 4kB Linux page size. On some
  1402. R3000-family processors this is the only available page size. Using
  1403. 4kB page size will minimize memory consumption and is therefore
  1404. recommended for low memory systems.
  1405. config PAGE_SIZE_8KB
  1406. bool "8kB"
  1407. depends on (EXPERIMENTAL && CPU_R8000) || CPU_CAVIUM_OCTEON
  1408. help
  1409. Using 8kB page size will result in higher performance kernel at
  1410. the price of higher memory consumption. This option is available
  1411. only on R8000 and cnMIPS processors. Note that you will need a
  1412. suitable Linux distribution to support this.
  1413. config PAGE_SIZE_16KB
  1414. bool "16kB"
  1415. depends on !CPU_R3000 && !CPU_TX39XX
  1416. help
  1417. Using 16kB page size will result in higher performance kernel at
  1418. the price of higher memory consumption. This option is available on
  1419. all non-R3000 family processors. Note that you will need a suitable
  1420. Linux distribution to support this.
  1421. config PAGE_SIZE_32KB
  1422. bool "32kB"
  1423. depends on CPU_CAVIUM_OCTEON
  1424. help
  1425. Using 32kB page size will result in higher performance kernel at
  1426. the price of higher memory consumption. This option is available
  1427. only on cnMIPS cores. Note that you will need a suitable Linux
  1428. distribution to support this.
  1429. config PAGE_SIZE_64KB
  1430. bool "64kB"
  1431. depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
  1432. help
  1433. Using 64kB page size will result in higher performance kernel at
  1434. the price of higher memory consumption. This option is available on
  1435. all non-R3000 family processor. Not that at the time of this
  1436. writing this option is still high experimental.
  1437. endchoice
  1438. config FORCE_MAX_ZONEORDER
  1439. int "Maximum zone order"
  1440. range 13 64 if SYS_SUPPORTS_HUGETLBFS && PAGE_SIZE_32KB
  1441. default "13" if SYS_SUPPORTS_HUGETLBFS && PAGE_SIZE_32KB
  1442. range 12 64 if SYS_SUPPORTS_HUGETLBFS && PAGE_SIZE_16KB
  1443. default "12" if SYS_SUPPORTS_HUGETLBFS && PAGE_SIZE_16KB
  1444. range 11 64
  1445. default "11"
  1446. help
  1447. The kernel memory allocator divides physically contiguous memory
  1448. blocks into "zones", where each zone is a power of two number of
  1449. pages. This option selects the largest power of two that the kernel
  1450. keeps in the memory allocator. If you need to allocate very large
  1451. blocks of physically contiguous memory, then you may need to
  1452. increase this value.
  1453. This config option is actually maximum order plus one. For example,
  1454. a value of 11 means that the largest free memory block is 2^10 pages.
  1455. The page size is not necessarily 4KB. Keep this in mind
  1456. when choosing a value for this option.
  1457. config BOARD_SCACHE
  1458. bool
  1459. config IP22_CPU_SCACHE
  1460. bool
  1461. select BOARD_SCACHE
  1462. #
  1463. # Support for a MIPS32 / MIPS64 style S-caches
  1464. #
  1465. config MIPS_CPU_SCACHE
  1466. bool
  1467. select BOARD_SCACHE
  1468. config R5000_CPU_SCACHE
  1469. bool
  1470. select BOARD_SCACHE
  1471. config RM7000_CPU_SCACHE
  1472. bool
  1473. select BOARD_SCACHE
  1474. config SIBYTE_DMA_PAGEOPS
  1475. bool "Use DMA to clear/copy pages"
  1476. depends on CPU_SB1
  1477. help
  1478. Instead of using the CPU to zero and copy pages, use a Data Mover
  1479. channel. These DMA channels are otherwise unused by the standard
  1480. SiByte Linux port. Seems to give a small performance benefit.
  1481. config CPU_HAS_PREFETCH
  1482. bool
  1483. choice
  1484. prompt "MIPS MT options"
  1485. config MIPS_MT_DISABLED
  1486. bool "Disable multithreading support."
  1487. help
  1488. Use this option if your workload can't take advantage of
  1489. MIPS hardware multithreading support. On systems that don't have
  1490. the option of an MT-enabled processor this option will be the only
  1491. option in this menu.
  1492. config MIPS_MT_SMP
  1493. bool "Use 1 TC on each available VPE for SMP"
  1494. depends on SYS_SUPPORTS_MULTITHREADING
  1495. select CPU_MIPSR2_IRQ_VI
  1496. select CPU_MIPSR2_IRQ_EI
  1497. select MIPS_MT
  1498. select NR_CPUS_DEFAULT_2
  1499. select SMP
  1500. select SYS_SUPPORTS_SCHED_SMT if SMP
  1501. select SYS_SUPPORTS_SMP
  1502. select SMP_UP
  1503. help
  1504. This is a kernel model which is known a VSMP but lately has been
  1505. marketesed into SMVP.
  1506. Virtual SMP uses the processor's VPEs to implement virtual
  1507. processors. In currently available configuration of the 34K processor
  1508. this allows for a dual processor. Both processors will share the same
  1509. primary caches; each will obtain the half of the TLB for it's own
  1510. exclusive use. For a layman this model can be described as similar to
  1511. what Intel calls Hyperthreading.
  1512. For further information see http://www.linux-mips.org/wiki/34K#VSMP
  1513. config MIPS_MT_SMTC
  1514. bool "SMTC: Use all TCs on all VPEs for SMP"
  1515. depends on CPU_MIPS32_R2
  1516. #depends on CPU_MIPS64_R2 # once there is hardware ...
  1517. depends on SYS_SUPPORTS_MULTITHREADING
  1518. select CPU_MIPSR2_IRQ_VI
  1519. select CPU_MIPSR2_IRQ_EI
  1520. select MIPS_MT
  1521. select NR_CPUS_DEFAULT_8
  1522. select SMP
  1523. select SYS_SUPPORTS_SMP
  1524. select SMP_UP
  1525. help
  1526. This is a kernel model which is known a SMTC or lately has been
  1527. marketesed into SMVP.
  1528. is presenting the available TC's of the core as processors to Linux.
  1529. On currently available 34K processors this means a Linux system will
  1530. see up to 5 processors. The implementation of the SMTC kernel differs
  1531. significantly from VSMP and cannot efficiently coexist in the same
  1532. kernel binary so the choice between VSMP and SMTC is a compile time
  1533. decision.
  1534. For further information see http://www.linux-mips.org/wiki/34K#SMTC
  1535. endchoice
  1536. config MIPS_MT
  1537. bool
  1538. config SCHED_SMT
  1539. bool "SMT (multithreading) scheduler support"
  1540. depends on SYS_SUPPORTS_SCHED_SMT
  1541. default n
  1542. help
  1543. SMT scheduler support improves the CPU scheduler's decision making
  1544. when dealing with MIPS MT enabled cores at a cost of slightly
  1545. increased overhead in some places. If unsure say N here.
  1546. config SYS_SUPPORTS_SCHED_SMT
  1547. bool
  1548. config SYS_SUPPORTS_MULTITHREADING
  1549. bool
  1550. config MIPS_MT_FPAFF
  1551. bool "Dynamic FPU affinity for FP-intensive threads"
  1552. default y
  1553. depends on MIPS_MT_SMP || MIPS_MT_SMTC
  1554. config MIPS_VPE_LOADER
  1555. bool "VPE loader support."
  1556. depends on SYS_SUPPORTS_MULTITHREADING
  1557. select CPU_MIPSR2_IRQ_VI
  1558. select CPU_MIPSR2_IRQ_EI
  1559. select MIPS_MT
  1560. help
  1561. Includes a loader for loading an elf relocatable object
  1562. onto another VPE and running it.
  1563. config MIPS_MT_SMTC_IM_BACKSTOP
  1564. bool "Use per-TC register bits as backstop for inhibited IM bits"
  1565. depends on MIPS_MT_SMTC
  1566. default n
  1567. help
  1568. To support multiple TC microthreads acting as "CPUs" within
  1569. a VPE, VPE-wide interrupt mask bits must be specially manipulated
  1570. during interrupt handling. To support legacy drivers and interrupt
  1571. controller management code, SMTC has a "backstop" to track and
  1572. if necessary restore the interrupt mask. This has some performance
  1573. impact on interrupt service overhead.
  1574. config MIPS_MT_SMTC_IRQAFF
  1575. bool "Support IRQ affinity API"
  1576. depends on MIPS_MT_SMTC
  1577. default n
  1578. help
  1579. Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
  1580. for SMTC Linux kernel. Requires platform support, of which
  1581. an example can be found in the MIPS kernel i8259 and Malta
  1582. platform code. Adds some overhead to interrupt dispatch, and
  1583. should be used only if you know what you are doing.
  1584. config MIPS_VPE_LOADER_TOM
  1585. bool "Load VPE program into memory hidden from linux"
  1586. depends on MIPS_VPE_LOADER
  1587. default y
  1588. help
  1589. The loader can use memory that is present but has been hidden from
  1590. Linux using the kernel command line option "mem=xxMB". It's up to
  1591. you to ensure the amount you put in the option and the space your
  1592. program requires is less or equal to the amount physically present.
  1593. # this should possibly be in drivers/char, but it is rather cpu related. Hmmm
  1594. config MIPS_VPE_APSP_API
  1595. bool "Enable support for AP/SP API (RTLX)"
  1596. depends on MIPS_VPE_LOADER
  1597. help
  1598. config MIPS_APSP_KSPD
  1599. bool "Enable KSPD"
  1600. depends on MIPS_VPE_APSP_API
  1601. default y
  1602. help
  1603. KSPD is a kernel daemon that accepts syscall requests from the SP
  1604. side, actions them and returns the results. It also handles the
  1605. "exit" syscall notifying other kernel modules the SP program is
  1606. exiting. You probably want to say yes here.
  1607. config MIPS_CMP
  1608. bool "MIPS CMP framework support"
  1609. depends on SYS_SUPPORTS_MIPS_CMP
  1610. select SYNC_R4K
  1611. select SYS_SUPPORTS_SMP
  1612. select SYS_SUPPORTS_SCHED_SMT if SMP
  1613. select WEAK_ORDERING
  1614. default n
  1615. help
  1616. This is a placeholder option for the GCMP work. It will need to
  1617. be handled differently...
  1618. config SB1_PASS_1_WORKAROUNDS
  1619. bool
  1620. depends on CPU_SB1_PASS_1
  1621. default y
  1622. config SB1_PASS_2_WORKAROUNDS
  1623. bool
  1624. depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
  1625. default y
  1626. config SB1_PASS_2_1_WORKAROUNDS
  1627. bool
  1628. depends on CPU_SB1 && CPU_SB1_PASS_2
  1629. default y
  1630. config 64BIT_PHYS_ADDR
  1631. bool
  1632. config ARCH_PHYS_ADDR_T_64BIT
  1633. def_bool 64BIT_PHYS_ADDR
  1634. config CPU_HAS_SMARTMIPS
  1635. depends on SYS_SUPPORTS_SMARTMIPS
  1636. bool "Support for the SmartMIPS ASE"
  1637. help
  1638. SmartMIPS is a extension of the MIPS32 architecture aimed at
  1639. increased security at both hardware and software level for
  1640. smartcards. Enabling this option will allow proper use of the
  1641. SmartMIPS instructions by Linux applications. However a kernel with
  1642. this option will not work on a MIPS core without SmartMIPS core. If
  1643. you don't know you probably don't have SmartMIPS and should say N
  1644. here.
  1645. config CPU_HAS_WB
  1646. bool
  1647. #
  1648. # Vectored interrupt mode is an R2 feature
  1649. #
  1650. config CPU_MIPSR2_IRQ_VI
  1651. bool
  1652. #
  1653. # Extended interrupt mode is an R2 feature
  1654. #
  1655. config CPU_MIPSR2_IRQ_EI
  1656. bool
  1657. config CPU_HAS_SYNC
  1658. bool
  1659. depends on !CPU_R3000
  1660. default y
  1661. config GENERIC_CLOCKEVENTS_BROADCAST
  1662. bool
  1663. #
  1664. # CPU non-features
  1665. #
  1666. config CPU_DADDI_WORKAROUNDS
  1667. bool
  1668. config CPU_R4000_WORKAROUNDS
  1669. bool
  1670. select CPU_R4400_WORKAROUNDS
  1671. config CPU_R4400_WORKAROUNDS
  1672. bool
  1673. #
  1674. # - Highmem only makes sense for the 32-bit kernel.
  1675. # - The current highmem code will only work properly on physically indexed
  1676. # caches such as R3000, SB1, R7000 or those that look like they're virtually
  1677. # indexed such as R4000/R4400 SC and MC versions or R10000. So for the
  1678. # moment we protect the user and offer the highmem option only on machines
  1679. # where it's known to be safe. This will not offer highmem on a few systems
  1680. # such as MIPS32 and MIPS64 CPUs which may have virtual and physically
  1681. # indexed CPUs but we're playing safe.
  1682. # - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
  1683. # know they might have memory configurations that could make use of highmem
  1684. # support.
  1685. #
  1686. config HIGHMEM
  1687. bool "High Memory Support"
  1688. depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
  1689. config CPU_SUPPORTS_HIGHMEM
  1690. bool
  1691. config SYS_SUPPORTS_HIGHMEM
  1692. bool
  1693. config SYS_SUPPORTS_SMARTMIPS
  1694. bool
  1695. config ARCH_FLATMEM_ENABLE
  1696. def_bool y
  1697. depends on !NUMA && !CPU_LOONGSON2
  1698. config ARCH_DISCONTIGMEM_ENABLE
  1699. bool
  1700. default y if SGI_IP27
  1701. help
  1702. Say Y to support efficient handling of discontiguous physical memory,
  1703. for architectures which are either NUMA (Non-Uniform Memory Access)
  1704. or have huge holes in the physical address space for other reasons.
  1705. See <file:Documentation/vm/numa> for more.
  1706. config ARCH_POPULATES_NODE_MAP
  1707. def_bool y
  1708. config ARCH_SPARSEMEM_ENABLE
  1709. bool
  1710. select SPARSEMEM_STATIC
  1711. config NUMA
  1712. bool "NUMA Support"
  1713. depends on SYS_SUPPORTS_NUMA
  1714. help
  1715. Say Y to compile the kernel to support NUMA (Non-Uniform Memory
  1716. Access). This option improves performance on systems with more
  1717. than two nodes; on two node systems it is generally better to
  1718. leave it disabled; on single node systems disable this option
  1719. disabled.
  1720. config SYS_SUPPORTS_NUMA
  1721. bool
  1722. config NODES_SHIFT
  1723. int
  1724. default "6"
  1725. depends on NEED_MULTIPLE_NODES
  1726. config HW_PERF_EVENTS
  1727. bool "Enable hardware performance counter support for perf events"
  1728. depends on PERF_EVENTS && !MIPS_MT_SMTC && OPROFILE=n && CPU_MIPS32
  1729. default y
  1730. help
  1731. Enable hardware performance counter support for perf events. If
  1732. disabled, perf events will use software events only.
  1733. source "mm/Kconfig"
  1734. config SMP
  1735. bool "Multi-Processing support"
  1736. depends on SYS_SUPPORTS_SMP
  1737. select IRQ_PER_CPU
  1738. select USE_GENERIC_SMP_HELPERS
  1739. help
  1740. This enables support for systems with more than one CPU. If you have
  1741. a system with only one CPU, like most personal computers, say N. If
  1742. you have a system with more than one CPU, say Y.
  1743. If you say N here, the kernel will run on single and multiprocessor
  1744. machines, but will use only one CPU of a multiprocessor machine. If
  1745. you say Y here, the kernel will run on many, but not all,
  1746. singleprocessor machines. On a singleprocessor machine, the kernel
  1747. will run faster if you say N here.
  1748. People using multiprocessor machines who say Y here should also say
  1749. Y to "Enhanced Real Time Clock Support", below.
  1750. See also the SMP-HOWTO available at
  1751. <http://www.tldp.org/docs.html#howto>.
  1752. If you don't know what to do here, say N.
  1753. config SMP_UP
  1754. bool
  1755. config SYS_SUPPORTS_MIPS_CMP
  1756. bool
  1757. config SYS_SUPPORTS_SMP
  1758. bool
  1759. config NR_CPUS_DEFAULT_1
  1760. bool
  1761. config NR_CPUS_DEFAULT_2
  1762. bool
  1763. config NR_CPUS_DEFAULT_4
  1764. bool
  1765. config NR_CPUS_DEFAULT_8
  1766. bool
  1767. config NR_CPUS_DEFAULT_16
  1768. bool
  1769. config NR_CPUS_DEFAULT_32
  1770. bool
  1771. config NR_CPUS_DEFAULT_64
  1772. bool
  1773. config NR_CPUS
  1774. int "Maximum number of CPUs (2-64)"
  1775. range 1 64 if NR_CPUS_DEFAULT_1
  1776. depends on SMP
  1777. default "1" if NR_CPUS_DEFAULT_1
  1778. default "2" if NR_CPUS_DEFAULT_2
  1779. default "4" if NR_CPUS_DEFAULT_4
  1780. default "8" if NR_CPUS_DEFAULT_8
  1781. default "16" if NR_CPUS_DEFAULT_16
  1782. default "32" if NR_CPUS_DEFAULT_32
  1783. default "64" if NR_CPUS_DEFAULT_64
  1784. help
  1785. This allows you to specify the maximum number of CPUs which this
  1786. kernel will support. The maximum supported value is 32 for 32-bit
  1787. kernel and 64 for 64-bit kernels; the minimum value which makes
  1788. sense is 1 for Qemu (useful only for kernel debugging purposes)
  1789. and 2 for all others.
  1790. This is purely to save memory - each supported CPU adds
  1791. approximately eight kilobytes to the kernel image. For best
  1792. performance should round up your number of processors to the next
  1793. power of two.
  1794. source "kernel/time/Kconfig"
  1795. #
  1796. # Timer Interrupt Frequency Configuration
  1797. #
  1798. choice
  1799. prompt "Timer frequency"
  1800. default HZ_250
  1801. help
  1802. Allows the configuration of the timer frequency.
  1803. config HZ_48
  1804. bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
  1805. config HZ_100
  1806. bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
  1807. config HZ_128
  1808. bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
  1809. config HZ_250
  1810. bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
  1811. config HZ_256
  1812. bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
  1813. config HZ_1000
  1814. bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
  1815. config HZ_1024
  1816. bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
  1817. endchoice
  1818. config SYS_SUPPORTS_48HZ
  1819. bool
  1820. config SYS_SUPPORTS_100HZ
  1821. bool
  1822. config SYS_SUPPORTS_128HZ
  1823. bool
  1824. config SYS_SUPPORTS_250HZ
  1825. bool
  1826. config SYS_SUPPORTS_256HZ
  1827. bool
  1828. config SYS_SUPPORTS_1000HZ
  1829. bool
  1830. config SYS_SUPPORTS_1024HZ
  1831. bool
  1832. config SYS_SUPPORTS_ARBIT_HZ
  1833. bool
  1834. default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
  1835. !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
  1836. !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
  1837. !SYS_SUPPORTS_1024HZ
  1838. config HZ
  1839. int
  1840. default 48 if HZ_48
  1841. default 100 if HZ_100
  1842. default 128 if HZ_128
  1843. default 250 if HZ_250
  1844. default 256 if HZ_256
  1845. default 1000 if HZ_1000
  1846. default 1024 if HZ_1024
  1847. source "kernel/Kconfig.preempt"
  1848. config MIPS_INSANE_LARGE
  1849. bool "Support for large 64-bit configurations"
  1850. depends on CPU_R10000 && 64BIT
  1851. help
  1852. MIPS R10000 does support a 44 bit / 16TB address space as opposed to
  1853. previous 64-bit processors which only supported 40 bit / 1TB. If you
  1854. need processes of more than 1TB virtual address space, say Y here.
  1855. This will result in additional memory usage, so it is not
  1856. recommended for normal users.
  1857. config KEXEC
  1858. bool "Kexec system call (EXPERIMENTAL)"
  1859. depends on EXPERIMENTAL
  1860. help
  1861. kexec is a system call that implements the ability to shutdown your
  1862. current kernel, and to start another kernel. It is like a reboot
  1863. but it is independent of the system firmware. And like a reboot
  1864. you can start any kernel with it, not just Linux.
  1865. The name comes from the similarity to the exec system call.
  1866. It is an ongoing process to be certain the hardware in a machine
  1867. is properly shutdown, so do not be surprised if this code does not
  1868. initially work for you. It may help to enable device hotplugging
  1869. support. As of this writing the exact hardware interface is
  1870. strongly in flux, so no good recommendation can be made.
  1871. config SECCOMP
  1872. bool "Enable seccomp to safely compute untrusted bytecode"
  1873. depends on PROC_FS
  1874. default y
  1875. help
  1876. This kernel feature is useful for number crunching applications
  1877. that may need to compute untrusted bytecode during their
  1878. execution. By using pipes or other transports made available to
  1879. the process as file descriptors supporting the read/write
  1880. syscalls, it's possible to isolate those applications in
  1881. their own address space using seccomp. Once seccomp is
  1882. enabled via /proc/<pid>/seccomp, it cannot be disabled
  1883. and the task is only allowed to execute a few safe syscalls
  1884. defined by each seccomp mode.
  1885. If unsure, say Y. Only embedded should say N here.
  1886. config USE_OF
  1887. bool "Flattened Device Tree support"
  1888. select OF
  1889. select OF_EARLY_FLATTREE
  1890. help
  1891. Include support for flattened device tree machine descriptions.
  1892. endmenu
  1893. config LOCKDEP_SUPPORT
  1894. bool
  1895. default y
  1896. config STACKTRACE_SUPPORT
  1897. bool
  1898. default y
  1899. source "init/Kconfig"
  1900. source "kernel/Kconfig.freezer"
  1901. menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
  1902. config HW_HAS_EISA
  1903. bool
  1904. config HW_HAS_PCI
  1905. bool
  1906. config PCI
  1907. bool "Support for PCI controller"
  1908. depends on HW_HAS_PCI
  1909. select PCI_DOMAINS
  1910. help
  1911. Find out whether you have a PCI motherboard. PCI is the name of a
  1912. bus system, i.e. the way the CPU talks to the other stuff inside
  1913. your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
  1914. say Y, otherwise N.
  1915. config PCI_DOMAINS
  1916. bool
  1917. source "drivers/pci/Kconfig"
  1918. #
  1919. # ISA support is now enabled via select. Too many systems still have the one
  1920. # or other ISA chip on the board that users don't know about so don't expect
  1921. # users to choose the right thing ...
  1922. #
  1923. config ISA
  1924. bool
  1925. config EISA
  1926. bool "EISA support"
  1927. depends on HW_HAS_EISA
  1928. select ISA
  1929. select GENERIC_ISA_DMA
  1930. ---help---
  1931. The Extended Industry Standard Architecture (EISA) bus was
  1932. developed as an open alternative to the IBM MicroChannel bus.
  1933. The EISA bus provided some of the features of the IBM MicroChannel
  1934. bus while maintaining backward compatibility with cards made for
  1935. the older ISA bus. The EISA bus saw limited use between 1988 and
  1936. 1995 when it was made obsolete by the PCI bus.
  1937. Say Y here if you are building a kernel for an EISA-based machine.
  1938. Otherwise, say N.
  1939. source "drivers/eisa/Kconfig"
  1940. config TC
  1941. bool "TURBOchannel support"
  1942. depends on MACH_DECSTATION
  1943. help
  1944. TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
  1945. processors. TURBOchannel programming specifications are available
  1946. at:
  1947. <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/>
  1948. and:
  1949. <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/>
  1950. Linux driver support status is documented at:
  1951. <http://www.linux-mips.org/wiki/DECstation>
  1952. #config ACCESSBUS
  1953. # bool "Access.Bus support"
  1954. # depends on TC
  1955. config MMU
  1956. bool
  1957. default y
  1958. config I8253
  1959. bool
  1960. select MIPS_EXTERNAL_TIMER
  1961. config ZONE_DMA32
  1962. bool
  1963. source "drivers/pcmcia/Kconfig"
  1964. source "drivers/pci/hotplug/Kconfig"
  1965. endmenu
  1966. menu "Executable file formats"
  1967. source "fs/Kconfig.binfmt"
  1968. config TRAD_SIGNALS
  1969. bool
  1970. config MIPS32_COMPAT
  1971. bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
  1972. depends on 64BIT
  1973. help
  1974. Select this option if you want Linux/MIPS 32-bit binary
  1975. compatibility. Since all software available for Linux/MIPS is
  1976. currently 32-bit you should say Y here.
  1977. config COMPAT
  1978. bool
  1979. depends on MIPS32_COMPAT
  1980. default y
  1981. config SYSVIPC_COMPAT
  1982. bool
  1983. depends on COMPAT && SYSVIPC
  1984. default y
  1985. config MIPS32_O32
  1986. bool "Kernel support for o32 binaries"
  1987. depends on MIPS32_COMPAT
  1988. help
  1989. Select this option if you want to run o32 binaries. These are pure
  1990. 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
  1991. existing binaries are in this format.
  1992. If unsure, say Y.
  1993. config MIPS32_N32
  1994. bool "Kernel support for n32 binaries"
  1995. depends on MIPS32_COMPAT
  1996. help
  1997. Select this option if you want to run n32 binaries. These are
  1998. 64-bit binaries using 32-bit quantities for addressing and certain
  1999. data that would normally be 64-bit. They are used in special
  2000. cases.
  2001. If unsure, say N.
  2002. config BINFMT_ELF32
  2003. bool
  2004. default y if MIPS32_O32 || MIPS32_N32
  2005. endmenu
  2006. menu "Power management options"
  2007. config ARCH_HIBERNATION_POSSIBLE
  2008. def_bool y
  2009. depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
  2010. config ARCH_SUSPEND_POSSIBLE
  2011. def_bool y
  2012. depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
  2013. source "kernel/power/Kconfig"
  2014. endmenu
  2015. source "arch/mips/kernel/cpufreq/Kconfig"
  2016. source "net/Kconfig"
  2017. source "drivers/Kconfig"
  2018. source "fs/Kconfig"
  2019. source "arch/mips/Kconfig.debug"
  2020. source "security/Kconfig"
  2021. source "crypto/Kconfig"
  2022. source "lib/Kconfig"