Kconfig 58 KB

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