Kconfig 62 KB

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