Kconfig 58 KB

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