Kconfig 58 KB

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