Kconfig 62 KB

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