Kconfig 62 KB

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