Kconfig 58 KB

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