Kconfig 62 KB

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