Kconfig 56 KB

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