Kconfig 62 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576
  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. select ARCH_REQUIRE_GPIOLIB
  690. help
  691. This option supports all of the Octeon reference boards from Cavium
  692. Networks. It builds a kernel that dynamically determines the Octeon
  693. CPU type and supports all known board reference implementations.
  694. Some of the supported boards are:
  695. EBT3000
  696. EBH3000
  697. EBH3100
  698. Thunder
  699. Kodama
  700. Hikari
  701. Say Y here for most Octeon reference boards.
  702. config NLM_XLR_BOARD
  703. bool "Netlogic XLR/XLS based systems"
  704. select BOOT_ELF32
  705. select NLM_COMMON
  706. select SYS_HAS_CPU_XLR
  707. select SYS_SUPPORTS_SMP
  708. select HW_HAS_PCI
  709. select SWAP_IO_SPACE
  710. select SYS_SUPPORTS_32BIT_KERNEL
  711. select SYS_SUPPORTS_64BIT_KERNEL
  712. select 64BIT_PHYS_ADDR
  713. select SYS_SUPPORTS_BIG_ENDIAN
  714. select SYS_SUPPORTS_HIGHMEM
  715. select DMA_COHERENT
  716. select NR_CPUS_DEFAULT_32
  717. select CEVT_R4K
  718. select CSRC_R4K
  719. select IRQ_CPU
  720. select ARCH_SUPPORTS_MSI
  721. select ZONE_DMA32 if 64BIT
  722. select SYNC_R4K
  723. select SYS_HAS_EARLY_PRINTK
  724. select USB_ARCH_HAS_OHCI if USB_SUPPORT
  725. select USB_ARCH_HAS_EHCI if USB_SUPPORT
  726. select SYS_SUPPORTS_ZBOOT
  727. select SYS_SUPPORTS_ZBOOT_UART16550
  728. help
  729. Support for systems based on Netlogic XLR and XLS processors.
  730. Say Y here if you have a XLR or XLS based board.
  731. config NLM_XLP_BOARD
  732. bool "Netlogic XLP based systems"
  733. select BOOT_ELF32
  734. select NLM_COMMON
  735. select SYS_HAS_CPU_XLP
  736. select SYS_SUPPORTS_SMP
  737. select HW_HAS_PCI
  738. select SYS_SUPPORTS_32BIT_KERNEL
  739. select SYS_SUPPORTS_64BIT_KERNEL
  740. select 64BIT_PHYS_ADDR
  741. select SYS_SUPPORTS_BIG_ENDIAN
  742. select SYS_SUPPORTS_LITTLE_ENDIAN
  743. select SYS_SUPPORTS_HIGHMEM
  744. select DMA_COHERENT
  745. select NR_CPUS_DEFAULT_32
  746. select CEVT_R4K
  747. select CSRC_R4K
  748. select IRQ_CPU
  749. select ZONE_DMA32 if 64BIT
  750. select SYNC_R4K
  751. select SYS_HAS_EARLY_PRINTK
  752. select USE_OF
  753. select SYS_SUPPORTS_ZBOOT
  754. select SYS_SUPPORTS_ZBOOT_UART16550
  755. help
  756. This board is based on Netlogic XLP Processor.
  757. Say Y here if you have a XLP based board.
  758. endchoice
  759. source "arch/mips/alchemy/Kconfig"
  760. source "arch/mips/ath79/Kconfig"
  761. source "arch/mips/bcm47xx/Kconfig"
  762. source "arch/mips/bcm63xx/Kconfig"
  763. source "arch/mips/jazz/Kconfig"
  764. source "arch/mips/jz4740/Kconfig"
  765. source "arch/mips/lantiq/Kconfig"
  766. source "arch/mips/lasat/Kconfig"
  767. source "arch/mips/pmcs-msp71xx/Kconfig"
  768. source "arch/mips/powertv/Kconfig"
  769. source "arch/mips/ralink/Kconfig"
  770. source "arch/mips/sgi-ip27/Kconfig"
  771. source "arch/mips/sibyte/Kconfig"
  772. source "arch/mips/txx9/Kconfig"
  773. source "arch/mips/vr41xx/Kconfig"
  774. source "arch/mips/cavium-octeon/Kconfig"
  775. source "arch/mips/loongson/Kconfig"
  776. source "arch/mips/loongson1/Kconfig"
  777. source "arch/mips/netlogic/Kconfig"
  778. endmenu
  779. config RWSEM_GENERIC_SPINLOCK
  780. bool
  781. default y
  782. config RWSEM_XCHGADD_ALGORITHM
  783. bool
  784. config ARCH_HAS_ILOG2_U32
  785. bool
  786. default n
  787. config ARCH_HAS_ILOG2_U64
  788. bool
  789. default n
  790. config GENERIC_HWEIGHT
  791. bool
  792. default y
  793. config GENERIC_CALIBRATE_DELAY
  794. bool
  795. default y
  796. config SCHED_OMIT_FRAME_POINTER
  797. bool
  798. default y
  799. #
  800. # Select some configuration options automatically based on user selections.
  801. #
  802. config FW_ARC
  803. bool
  804. config ARCH_MAY_HAVE_PC_FDC
  805. bool
  806. config BOOT_RAW
  807. bool
  808. config CEVT_BCM1480
  809. bool
  810. config CEVT_DS1287
  811. bool
  812. config CEVT_GT641XX
  813. bool
  814. config CEVT_R4K
  815. bool
  816. config CEVT_GIC
  817. bool
  818. config CEVT_SB1250
  819. bool
  820. config CEVT_TXX9
  821. bool
  822. config CSRC_BCM1480
  823. bool
  824. config CSRC_IOASIC
  825. bool
  826. config CSRC_POWERTV
  827. bool
  828. config CSRC_R4K
  829. bool
  830. config CSRC_GIC
  831. bool
  832. config CSRC_SB1250
  833. bool
  834. config GPIO_TXX9
  835. select ARCH_REQUIRE_GPIOLIB
  836. bool
  837. config FW_CFE
  838. bool
  839. config ARCH_DMA_ADDR_T_64BIT
  840. def_bool (HIGHMEM && 64BIT_PHYS_ADDR) || 64BIT
  841. config DMA_COHERENT
  842. bool
  843. config DMA_NONCOHERENT
  844. bool
  845. select NEED_DMA_MAP_STATE
  846. config NEED_DMA_MAP_STATE
  847. bool
  848. config SYS_HAS_EARLY_PRINTK
  849. bool
  850. config HOTPLUG_CPU
  851. bool "Support for hot-pluggable CPUs"
  852. depends on SMP && SYS_SUPPORTS_HOTPLUG_CPU
  853. help
  854. Say Y here to allow turning CPUs off and on. CPUs can be
  855. controlled through /sys/devices/system/cpu.
  856. (Note: power management support will enable this option
  857. automatically on SMP systems. )
  858. Say N if you want to disable CPU hotplug.
  859. config SYS_SUPPORTS_HOTPLUG_CPU
  860. bool
  861. config I8259
  862. bool
  863. config MIPS_BONITO64
  864. bool
  865. config MIPS_MSC
  866. bool
  867. config MIPS_NILE4
  868. bool
  869. config SYNC_R4K
  870. bool
  871. config MIPS_MACHINE
  872. def_bool n
  873. config NO_IOPORT
  874. def_bool n
  875. config GENERIC_ISA_DMA
  876. bool
  877. select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
  878. select ISA_DMA_API
  879. config GENERIC_ISA_DMA_SUPPORT_BROKEN
  880. bool
  881. select GENERIC_ISA_DMA
  882. config ISA_DMA_API
  883. bool
  884. config HOLES_IN_ZONE
  885. bool
  886. #
  887. # Endianness selection. Sufficiently obscure so many users don't know what to
  888. # answer,so we try hard to limit the available choices. Also the use of a
  889. # choice statement should be more obvious to the user.
  890. #
  891. choice
  892. prompt "Endianness selection"
  893. help
  894. Some MIPS machines can be configured for either little or big endian
  895. byte order. These modes require different kernels and a different
  896. Linux distribution. In general there is one preferred byteorder for a
  897. particular system but some systems are just as commonly used in the
  898. one or the other endianness.
  899. config CPU_BIG_ENDIAN
  900. bool "Big endian"
  901. depends on SYS_SUPPORTS_BIG_ENDIAN
  902. config CPU_LITTLE_ENDIAN
  903. bool "Little endian"
  904. depends on SYS_SUPPORTS_LITTLE_ENDIAN
  905. endchoice
  906. config EXPORT_UASM
  907. bool
  908. config SYS_SUPPORTS_APM_EMULATION
  909. bool
  910. config SYS_SUPPORTS_BIG_ENDIAN
  911. bool
  912. config SYS_SUPPORTS_LITTLE_ENDIAN
  913. bool
  914. config SYS_SUPPORTS_HUGETLBFS
  915. bool
  916. depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
  917. default y
  918. config MIPS_HUGE_TLB_SUPPORT
  919. def_bool HUGETLB_PAGE || TRANSPARENT_HUGEPAGE
  920. config IRQ_CPU
  921. bool
  922. config IRQ_CPU_RM7K
  923. bool
  924. config IRQ_MSP_SLP
  925. bool
  926. config IRQ_MSP_CIC
  927. bool
  928. config IRQ_TXX9
  929. bool
  930. config IRQ_GT641XX
  931. bool
  932. config IRQ_GIC
  933. bool
  934. config PCI_GT64XXX_PCI0
  935. bool
  936. config NO_EXCEPT_FILL
  937. bool
  938. config SOC_EMMA2RH
  939. bool
  940. select CEVT_R4K
  941. select CSRC_R4K
  942. select DMA_NONCOHERENT
  943. select IRQ_CPU
  944. select SWAP_IO_SPACE
  945. select SYS_HAS_CPU_R5500
  946. select SYS_SUPPORTS_32BIT_KERNEL
  947. select SYS_SUPPORTS_64BIT_KERNEL
  948. select SYS_SUPPORTS_BIG_ENDIAN
  949. config SOC_PNX833X
  950. bool
  951. select CEVT_R4K
  952. select CSRC_R4K
  953. select IRQ_CPU
  954. select DMA_NONCOHERENT
  955. select SYS_HAS_CPU_MIPS32_R2
  956. select SYS_SUPPORTS_32BIT_KERNEL
  957. select SYS_SUPPORTS_LITTLE_ENDIAN
  958. select SYS_SUPPORTS_BIG_ENDIAN
  959. select CPU_MIPSR2_IRQ_VI
  960. config SOC_PNX8335
  961. bool
  962. select SOC_PNX833X
  963. config SWAP_IO_SPACE
  964. bool
  965. config SGI_HAS_INDYDOG
  966. bool
  967. config SGI_HAS_HAL2
  968. bool
  969. config SGI_HAS_SEEQ
  970. bool
  971. config SGI_HAS_WD93
  972. bool
  973. config SGI_HAS_ZILOG
  974. bool
  975. config SGI_HAS_I8042
  976. bool
  977. config DEFAULT_SGI_PARTITION
  978. bool
  979. config FW_ARC32
  980. bool
  981. config FW_SNIPROM
  982. bool
  983. config BOOT_ELF32
  984. bool
  985. config MIPS_L1_CACHE_SHIFT
  986. int
  987. default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL || SOC_RT288X
  988. default "6" if MIPS_CPU_SCACHE
  989. default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
  990. default "5"
  991. config HAVE_STD_PC_SERIAL_PORT
  992. bool
  993. config ARC_CONSOLE
  994. bool "ARC console support"
  995. depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
  996. config ARC_MEMORY
  997. bool
  998. depends on MACH_JAZZ || SNI_RM || SGI_IP32
  999. default y
  1000. config ARC_PROMLIB
  1001. bool
  1002. depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
  1003. default y
  1004. config FW_ARC64
  1005. bool
  1006. config BOOT_ELF64
  1007. bool
  1008. menu "CPU selection"
  1009. choice
  1010. prompt "CPU type"
  1011. default CPU_R4X00
  1012. config CPU_LOONGSON2E
  1013. bool "Loongson 2E"
  1014. depends on SYS_HAS_CPU_LOONGSON2E
  1015. select CPU_LOONGSON2
  1016. help
  1017. The Loongson 2E processor implements the MIPS III instruction set
  1018. with many extensions.
  1019. It has an internal FPGA northbridge, which is compatible to
  1020. bonito64.
  1021. config CPU_LOONGSON2F
  1022. bool "Loongson 2F"
  1023. depends on SYS_HAS_CPU_LOONGSON2F
  1024. select CPU_LOONGSON2
  1025. select ARCH_REQUIRE_GPIOLIB
  1026. help
  1027. The Loongson 2F processor implements the MIPS III instruction set
  1028. with many extensions.
  1029. Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
  1030. have a similar programming interface with FPGA northbridge used in
  1031. Loongson2E.
  1032. config CPU_LOONGSON1B
  1033. bool "Loongson 1B"
  1034. depends on SYS_HAS_CPU_LOONGSON1B
  1035. select CPU_LOONGSON1
  1036. help
  1037. The Loongson 1B is a 32-bit SoC, which implements the MIPS32
  1038. release 2 instruction set.
  1039. config CPU_MIPS32_R1
  1040. bool "MIPS32 Release 1"
  1041. depends on SYS_HAS_CPU_MIPS32_R1
  1042. select CPU_HAS_PREFETCH
  1043. select CPU_SUPPORTS_32BIT_KERNEL
  1044. select CPU_SUPPORTS_HIGHMEM
  1045. help
  1046. Choose this option to build a kernel for release 1 or later of the
  1047. MIPS32 architecture. Most modern embedded systems with a 32-bit
  1048. MIPS processor are based on a MIPS32 processor. If you know the
  1049. specific type of processor in your system, choose those that one
  1050. otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
  1051. Release 2 of the MIPS32 architecture is available since several
  1052. years so chances are you even have a MIPS32 Release 2 processor
  1053. in which case you should choose CPU_MIPS32_R2 instead for better
  1054. performance.
  1055. config CPU_MIPS32_R2
  1056. bool "MIPS32 Release 2"
  1057. depends on SYS_HAS_CPU_MIPS32_R2
  1058. select CPU_HAS_PREFETCH
  1059. select CPU_SUPPORTS_32BIT_KERNEL
  1060. select CPU_SUPPORTS_HIGHMEM
  1061. select HAVE_KVM
  1062. help
  1063. Choose this option to build a kernel for release 2 or later of the
  1064. MIPS32 architecture. Most modern embedded systems with a 32-bit
  1065. MIPS processor are based on a MIPS32 processor. If you know the
  1066. specific type of processor in your system, choose those that one
  1067. otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
  1068. config CPU_MIPS64_R1
  1069. bool "MIPS64 Release 1"
  1070. depends on SYS_HAS_CPU_MIPS64_R1
  1071. select CPU_HAS_PREFETCH
  1072. select CPU_SUPPORTS_32BIT_KERNEL
  1073. select CPU_SUPPORTS_64BIT_KERNEL
  1074. select CPU_SUPPORTS_HIGHMEM
  1075. select CPU_SUPPORTS_HUGEPAGES
  1076. help
  1077. Choose this option to build a kernel for release 1 or later of the
  1078. MIPS64 architecture. Many modern embedded systems with a 64-bit
  1079. MIPS processor are based on a MIPS64 processor. If you know the
  1080. specific type of processor in your system, choose those that one
  1081. otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
  1082. Release 2 of the MIPS64 architecture is available since several
  1083. years so chances are you even have a MIPS64 Release 2 processor
  1084. in which case you should choose CPU_MIPS64_R2 instead for better
  1085. performance.
  1086. config CPU_MIPS64_R2
  1087. bool "MIPS64 Release 2"
  1088. depends on SYS_HAS_CPU_MIPS64_R2
  1089. select CPU_HAS_PREFETCH
  1090. select CPU_SUPPORTS_32BIT_KERNEL
  1091. select CPU_SUPPORTS_64BIT_KERNEL
  1092. select CPU_SUPPORTS_HIGHMEM
  1093. select CPU_SUPPORTS_HUGEPAGES
  1094. help
  1095. Choose this option to build a kernel for release 2 or later of the
  1096. MIPS64 architecture. Many modern embedded systems with a 64-bit
  1097. MIPS processor are based on a MIPS64 processor. If you know the
  1098. specific type of processor in your system, choose those that one
  1099. otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
  1100. config CPU_R3000
  1101. bool "R3000"
  1102. depends on SYS_HAS_CPU_R3000
  1103. select CPU_HAS_WB
  1104. select CPU_SUPPORTS_32BIT_KERNEL
  1105. select CPU_SUPPORTS_HIGHMEM
  1106. help
  1107. Please make sure to pick the right CPU type. Linux/MIPS is not
  1108. designed to be generic, i.e. Kernels compiled for R3000 CPUs will
  1109. *not* work on R4000 machines and vice versa. However, since most
  1110. of the supported machines have an R4000 (or similar) CPU, R4x00
  1111. might be a safe bet. If the resulting kernel does not work,
  1112. try to recompile with R3000.
  1113. config CPU_TX39XX
  1114. bool "R39XX"
  1115. depends on SYS_HAS_CPU_TX39XX
  1116. select CPU_SUPPORTS_32BIT_KERNEL
  1117. config CPU_VR41XX
  1118. bool "R41xx"
  1119. depends on SYS_HAS_CPU_VR41XX
  1120. select CPU_SUPPORTS_32BIT_KERNEL
  1121. select CPU_SUPPORTS_64BIT_KERNEL
  1122. help
  1123. The options selects support for the NEC VR4100 series of processors.
  1124. Only choose this option if you have one of these processors as a
  1125. kernel built with this option will not run on any other type of
  1126. processor or vice versa.
  1127. config CPU_R4300
  1128. bool "R4300"
  1129. depends on SYS_HAS_CPU_R4300
  1130. select CPU_SUPPORTS_32BIT_KERNEL
  1131. select CPU_SUPPORTS_64BIT_KERNEL
  1132. help
  1133. MIPS Technologies R4300-series processors.
  1134. config CPU_R4X00
  1135. bool "R4x00"
  1136. depends on SYS_HAS_CPU_R4X00
  1137. select CPU_SUPPORTS_32BIT_KERNEL
  1138. select CPU_SUPPORTS_64BIT_KERNEL
  1139. select CPU_SUPPORTS_HUGEPAGES
  1140. help
  1141. MIPS Technologies R4000-series processors other than 4300, including
  1142. the R4000, R4400, R4600, and 4700.
  1143. config CPU_TX49XX
  1144. bool "R49XX"
  1145. depends on SYS_HAS_CPU_TX49XX
  1146. select CPU_HAS_PREFETCH
  1147. select CPU_SUPPORTS_32BIT_KERNEL
  1148. select CPU_SUPPORTS_64BIT_KERNEL
  1149. select CPU_SUPPORTS_HUGEPAGES
  1150. config CPU_R5000
  1151. bool "R5000"
  1152. depends on SYS_HAS_CPU_R5000
  1153. select CPU_SUPPORTS_32BIT_KERNEL
  1154. select CPU_SUPPORTS_64BIT_KERNEL
  1155. select CPU_SUPPORTS_HUGEPAGES
  1156. help
  1157. MIPS Technologies R5000-series processors other than the Nevada.
  1158. config CPU_R5432
  1159. bool "R5432"
  1160. depends on SYS_HAS_CPU_R5432
  1161. select CPU_SUPPORTS_32BIT_KERNEL
  1162. select CPU_SUPPORTS_64BIT_KERNEL
  1163. select CPU_SUPPORTS_HUGEPAGES
  1164. config CPU_R5500
  1165. bool "R5500"
  1166. depends on SYS_HAS_CPU_R5500
  1167. select CPU_SUPPORTS_32BIT_KERNEL
  1168. select CPU_SUPPORTS_64BIT_KERNEL
  1169. select CPU_SUPPORTS_HUGEPAGES
  1170. help
  1171. NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
  1172. instruction set.
  1173. config CPU_R6000
  1174. bool "R6000"
  1175. depends on SYS_HAS_CPU_R6000
  1176. select CPU_SUPPORTS_32BIT_KERNEL
  1177. help
  1178. MIPS Technologies R6000 and R6000A series processors. Note these
  1179. processors are extremely rare and the support for them is incomplete.
  1180. config CPU_NEVADA
  1181. bool "RM52xx"
  1182. depends on SYS_HAS_CPU_NEVADA
  1183. select CPU_SUPPORTS_32BIT_KERNEL
  1184. select CPU_SUPPORTS_64BIT_KERNEL
  1185. select CPU_SUPPORTS_HUGEPAGES
  1186. help
  1187. QED / PMC-Sierra RM52xx-series ("Nevada") processors.
  1188. config CPU_R8000
  1189. bool "R8000"
  1190. depends on SYS_HAS_CPU_R8000
  1191. select CPU_HAS_PREFETCH
  1192. select CPU_SUPPORTS_64BIT_KERNEL
  1193. help
  1194. MIPS Technologies R8000 processors. Note these processors are
  1195. uncommon and the support for them is incomplete.
  1196. config CPU_R10000
  1197. bool "R10000"
  1198. depends on SYS_HAS_CPU_R10000
  1199. select CPU_HAS_PREFETCH
  1200. select CPU_SUPPORTS_32BIT_KERNEL
  1201. select CPU_SUPPORTS_64BIT_KERNEL
  1202. select CPU_SUPPORTS_HIGHMEM
  1203. select CPU_SUPPORTS_HUGEPAGES
  1204. help
  1205. MIPS Technologies R10000-series processors.
  1206. config CPU_RM7000
  1207. bool "RM7000"
  1208. depends on SYS_HAS_CPU_RM7000
  1209. select CPU_HAS_PREFETCH
  1210. select CPU_SUPPORTS_32BIT_KERNEL
  1211. select CPU_SUPPORTS_64BIT_KERNEL
  1212. select CPU_SUPPORTS_HIGHMEM
  1213. select CPU_SUPPORTS_HUGEPAGES
  1214. config CPU_SB1
  1215. bool "SB1"
  1216. depends on SYS_HAS_CPU_SB1
  1217. select CPU_SUPPORTS_32BIT_KERNEL
  1218. select CPU_SUPPORTS_64BIT_KERNEL
  1219. select CPU_SUPPORTS_HIGHMEM
  1220. select CPU_SUPPORTS_HUGEPAGES
  1221. select WEAK_ORDERING
  1222. config CPU_CAVIUM_OCTEON
  1223. bool "Cavium Octeon processor"
  1224. depends on SYS_HAS_CPU_CAVIUM_OCTEON
  1225. select ARCH_SPARSEMEM_ENABLE
  1226. select CPU_HAS_PREFETCH
  1227. select CPU_SUPPORTS_64BIT_KERNEL
  1228. select SYS_SUPPORTS_SMP
  1229. select NR_CPUS_DEFAULT_16
  1230. select WEAK_ORDERING
  1231. select CPU_SUPPORTS_HIGHMEM
  1232. select CPU_SUPPORTS_HUGEPAGES
  1233. select LIBFDT
  1234. select USE_OF
  1235. select USB_EHCI_BIG_ENDIAN_MMIO
  1236. help
  1237. The Cavium Octeon processor is a highly integrated chip containing
  1238. many ethernet hardware widgets for networking tasks. The processor
  1239. can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
  1240. Full details can be found at http://www.caviumnetworks.com.
  1241. config CPU_BMIPS3300
  1242. bool "BMIPS3300"
  1243. depends on SYS_HAS_CPU_BMIPS3300
  1244. select CPU_BMIPS
  1245. help
  1246. Broadcom BMIPS3300 processors.
  1247. config CPU_BMIPS4350
  1248. bool "BMIPS4350"
  1249. depends on SYS_HAS_CPU_BMIPS4350
  1250. select CPU_BMIPS
  1251. select SYS_SUPPORTS_SMP
  1252. select SYS_SUPPORTS_HOTPLUG_CPU
  1253. help
  1254. Broadcom BMIPS4350 ("VIPER") processors.
  1255. config CPU_BMIPS4380
  1256. bool "BMIPS4380"
  1257. depends on SYS_HAS_CPU_BMIPS4380
  1258. select CPU_BMIPS
  1259. select SYS_SUPPORTS_SMP
  1260. select SYS_SUPPORTS_HOTPLUG_CPU
  1261. help
  1262. Broadcom BMIPS4380 processors.
  1263. config CPU_BMIPS5000
  1264. bool "BMIPS5000"
  1265. depends on SYS_HAS_CPU_BMIPS5000
  1266. select CPU_BMIPS
  1267. select CPU_SUPPORTS_HIGHMEM
  1268. select MIPS_CPU_SCACHE
  1269. select SYS_SUPPORTS_SMP
  1270. select SYS_SUPPORTS_HOTPLUG_CPU
  1271. help
  1272. Broadcom BMIPS5000 processors.
  1273. config CPU_XLR
  1274. bool "Netlogic XLR SoC"
  1275. depends on SYS_HAS_CPU_XLR
  1276. select CPU_SUPPORTS_32BIT_KERNEL
  1277. select CPU_SUPPORTS_64BIT_KERNEL
  1278. select CPU_SUPPORTS_HIGHMEM
  1279. select CPU_SUPPORTS_HUGEPAGES
  1280. select WEAK_ORDERING
  1281. select WEAK_REORDERING_BEYOND_LLSC
  1282. help
  1283. Netlogic Microsystems XLR/XLS processors.
  1284. config CPU_XLP
  1285. bool "Netlogic XLP SoC"
  1286. depends on SYS_HAS_CPU_XLP
  1287. select CPU_SUPPORTS_32BIT_KERNEL
  1288. select CPU_SUPPORTS_64BIT_KERNEL
  1289. select CPU_SUPPORTS_HIGHMEM
  1290. select WEAK_ORDERING
  1291. select WEAK_REORDERING_BEYOND_LLSC
  1292. select CPU_HAS_PREFETCH
  1293. select CPU_MIPSR2
  1294. help
  1295. Netlogic Microsystems XLP processors.
  1296. endchoice
  1297. if CPU_LOONGSON2F
  1298. config CPU_NOP_WORKAROUNDS
  1299. bool
  1300. config CPU_JUMP_WORKAROUNDS
  1301. bool
  1302. config CPU_LOONGSON2F_WORKAROUNDS
  1303. bool "Loongson 2F Workarounds"
  1304. default y
  1305. select CPU_NOP_WORKAROUNDS
  1306. select CPU_JUMP_WORKAROUNDS
  1307. help
  1308. Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which
  1309. require workarounds. Without workarounds the system may hang
  1310. unexpectedly. For more information please refer to the gas
  1311. -mfix-loongson2f-nop and -mfix-loongson2f-jump options.
  1312. Loongson 2F03 and later have fixed these issues and no workarounds
  1313. are needed. The workarounds have no significant side effect on them
  1314. but may decrease the performance of the system so this option should
  1315. be disabled unless the kernel is intended to be run on 2F01 or 2F02
  1316. systems.
  1317. If unsure, please say Y.
  1318. endif # CPU_LOONGSON2F
  1319. config SYS_SUPPORTS_ZBOOT
  1320. bool
  1321. select HAVE_KERNEL_GZIP
  1322. select HAVE_KERNEL_BZIP2
  1323. select HAVE_KERNEL_LZMA
  1324. select HAVE_KERNEL_LZO
  1325. config SYS_SUPPORTS_ZBOOT_UART16550
  1326. bool
  1327. select SYS_SUPPORTS_ZBOOT
  1328. config CPU_LOONGSON2
  1329. bool
  1330. select CPU_SUPPORTS_32BIT_KERNEL
  1331. select CPU_SUPPORTS_64BIT_KERNEL
  1332. select CPU_SUPPORTS_HIGHMEM
  1333. select CPU_SUPPORTS_HUGEPAGES
  1334. config CPU_LOONGSON1
  1335. bool
  1336. select CPU_MIPS32
  1337. select CPU_MIPSR2
  1338. select CPU_HAS_PREFETCH
  1339. select CPU_SUPPORTS_32BIT_KERNEL
  1340. select CPU_SUPPORTS_HIGHMEM
  1341. config CPU_BMIPS
  1342. bool
  1343. select CPU_MIPS32
  1344. select CPU_SUPPORTS_32BIT_KERNEL
  1345. select DMA_NONCOHERENT
  1346. select IRQ_CPU
  1347. select SWAP_IO_SPACE
  1348. select WEAK_ORDERING
  1349. config SYS_HAS_CPU_LOONGSON2E
  1350. bool
  1351. config SYS_HAS_CPU_LOONGSON2F
  1352. bool
  1353. select CPU_SUPPORTS_CPUFREQ
  1354. select CPU_SUPPORTS_ADDRWINCFG if 64BIT
  1355. select CPU_SUPPORTS_UNCACHED_ACCELERATED
  1356. config SYS_HAS_CPU_LOONGSON1B
  1357. bool
  1358. config SYS_HAS_CPU_MIPS32_R1
  1359. bool
  1360. config SYS_HAS_CPU_MIPS32_R2
  1361. bool
  1362. config SYS_HAS_CPU_MIPS64_R1
  1363. bool
  1364. config SYS_HAS_CPU_MIPS64_R2
  1365. bool
  1366. config SYS_HAS_CPU_R3000
  1367. bool
  1368. config SYS_HAS_CPU_TX39XX
  1369. bool
  1370. config SYS_HAS_CPU_VR41XX
  1371. bool
  1372. config SYS_HAS_CPU_R4300
  1373. bool
  1374. config SYS_HAS_CPU_R4X00
  1375. bool
  1376. config SYS_HAS_CPU_TX49XX
  1377. bool
  1378. config SYS_HAS_CPU_R5000
  1379. bool
  1380. config SYS_HAS_CPU_R5432
  1381. bool
  1382. config SYS_HAS_CPU_R5500
  1383. bool
  1384. config SYS_HAS_CPU_R6000
  1385. bool
  1386. config SYS_HAS_CPU_NEVADA
  1387. bool
  1388. config SYS_HAS_CPU_R8000
  1389. bool
  1390. config SYS_HAS_CPU_R10000
  1391. bool
  1392. config SYS_HAS_CPU_RM7000
  1393. bool
  1394. config SYS_HAS_CPU_SB1
  1395. bool
  1396. config SYS_HAS_CPU_CAVIUM_OCTEON
  1397. bool
  1398. config SYS_HAS_CPU_BMIPS3300
  1399. bool
  1400. config SYS_HAS_CPU_BMIPS4350
  1401. bool
  1402. config SYS_HAS_CPU_BMIPS4380
  1403. bool
  1404. config SYS_HAS_CPU_BMIPS5000
  1405. bool
  1406. config SYS_HAS_CPU_XLR
  1407. bool
  1408. config SYS_HAS_CPU_XLP
  1409. bool
  1410. #
  1411. # CPU may reorder R->R, R->W, W->R, W->W
  1412. # Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
  1413. #
  1414. config WEAK_ORDERING
  1415. bool
  1416. #
  1417. # CPU may reorder reads and writes beyond LL/SC
  1418. # CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
  1419. #
  1420. config WEAK_REORDERING_BEYOND_LLSC
  1421. bool
  1422. endmenu
  1423. #
  1424. # These two indicate any level of the MIPS32 and MIPS64 architecture
  1425. #
  1426. config CPU_MIPS32
  1427. bool
  1428. default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
  1429. config CPU_MIPS64
  1430. bool
  1431. default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
  1432. #
  1433. # These two indicate the revision of the architecture, either Release 1 or Release 2
  1434. #
  1435. config CPU_MIPSR1
  1436. bool
  1437. default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
  1438. config CPU_MIPSR2
  1439. bool
  1440. default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
  1441. config SYS_SUPPORTS_32BIT_KERNEL
  1442. bool
  1443. config SYS_SUPPORTS_64BIT_KERNEL
  1444. bool
  1445. config CPU_SUPPORTS_32BIT_KERNEL
  1446. bool
  1447. config CPU_SUPPORTS_64BIT_KERNEL
  1448. bool
  1449. config CPU_SUPPORTS_CPUFREQ
  1450. bool
  1451. config CPU_SUPPORTS_ADDRWINCFG
  1452. bool
  1453. config CPU_SUPPORTS_HUGEPAGES
  1454. bool
  1455. config CPU_SUPPORTS_UNCACHED_ACCELERATED
  1456. bool
  1457. config MIPS_PGD_C0_CONTEXT
  1458. bool
  1459. default y if 64BIT && CPU_MIPSR2 && !CPU_XLP
  1460. #
  1461. # Set to y for ptrace access to watch registers.
  1462. #
  1463. config HARDWARE_WATCHPOINTS
  1464. bool
  1465. default y if CPU_MIPSR1 || CPU_MIPSR2
  1466. menu "Kernel type"
  1467. choice
  1468. prompt "Kernel code model"
  1469. help
  1470. You should only select this option if you have a workload that
  1471. actually benefits from 64-bit processing or if your machine has
  1472. large memory. You will only be presented a single option in this
  1473. menu if your system does not support both 32-bit and 64-bit kernels.
  1474. config 32BIT
  1475. bool "32-bit kernel"
  1476. depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
  1477. select TRAD_SIGNALS
  1478. help
  1479. Select this option if you want to build a 32-bit kernel.
  1480. config 64BIT
  1481. bool "64-bit kernel"
  1482. depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
  1483. help
  1484. Select this option if you want to build a 64-bit kernel.
  1485. endchoice
  1486. config KVM_GUEST
  1487. bool "KVM Guest Kernel"
  1488. depends on BROKEN_ON_SMP
  1489. help
  1490. Select this option if building a guest kernel for KVM (Trap & Emulate) mode
  1491. config KVM_HOST_FREQ
  1492. int "KVM Host Processor Frequency (MHz)"
  1493. depends on KVM_GUEST
  1494. default 500
  1495. help
  1496. Select this option if building a guest kernel for KVM to skip
  1497. RTC emulation when determining guest CPU Frequency. Instead, the guest
  1498. processor frequency is automatically derived from the host frequency.
  1499. choice
  1500. prompt "Kernel page size"
  1501. default PAGE_SIZE_4KB
  1502. config PAGE_SIZE_4KB
  1503. bool "4kB"
  1504. depends on !CPU_LOONGSON2
  1505. help
  1506. This option select the standard 4kB Linux page size. On some
  1507. R3000-family processors this is the only available page size. Using
  1508. 4kB page size will minimize memory consumption and is therefore
  1509. recommended for low memory systems.
  1510. config PAGE_SIZE_8KB
  1511. bool "8kB"
  1512. depends on CPU_R8000 || CPU_CAVIUM_OCTEON
  1513. help
  1514. Using 8kB page size will result in higher performance kernel at
  1515. the price of higher memory consumption. This option is available
  1516. only on R8000 and cnMIPS processors. Note that you will need a
  1517. suitable Linux distribution to support this.
  1518. config PAGE_SIZE_16KB
  1519. bool "16kB"
  1520. depends on !CPU_R3000 && !CPU_TX39XX
  1521. help
  1522. Using 16kB page size will result in higher performance kernel at
  1523. the price of higher memory consumption. This option is available on
  1524. all non-R3000 family processors. Note that you will need a suitable
  1525. Linux distribution to support this.
  1526. config PAGE_SIZE_32KB
  1527. bool "32kB"
  1528. depends on CPU_CAVIUM_OCTEON
  1529. help
  1530. Using 32kB page size will result in higher performance kernel at
  1531. the price of higher memory consumption. This option is available
  1532. only on cnMIPS cores. Note that you will need a suitable Linux
  1533. distribution to support this.
  1534. config PAGE_SIZE_64KB
  1535. bool "64kB"
  1536. depends on !CPU_R3000 && !CPU_TX39XX
  1537. help
  1538. Using 64kB page size will result in higher performance kernel at
  1539. the price of higher memory consumption. This option is available on
  1540. all non-R3000 family processor. Not that at the time of this
  1541. writing this option is still high experimental.
  1542. endchoice
  1543. config FORCE_MAX_ZONEORDER
  1544. int "Maximum zone order"
  1545. range 14 64 if HUGETLB_PAGE && PAGE_SIZE_64KB
  1546. default "14" if HUGETLB_PAGE && PAGE_SIZE_64KB
  1547. range 13 64 if HUGETLB_PAGE && PAGE_SIZE_32KB
  1548. default "13" if HUGETLB_PAGE && PAGE_SIZE_32KB
  1549. range 12 64 if HUGETLB_PAGE && PAGE_SIZE_16KB
  1550. default "12" if HUGETLB_PAGE && PAGE_SIZE_16KB
  1551. range 11 64
  1552. default "11"
  1553. help
  1554. The kernel memory allocator divides physically contiguous memory
  1555. blocks into "zones", where each zone is a power of two number of
  1556. pages. This option selects the largest power of two that the kernel
  1557. keeps in the memory allocator. If you need to allocate very large
  1558. blocks of physically contiguous memory, then you may need to
  1559. increase this value.
  1560. This config option is actually maximum order plus one. For example,
  1561. a value of 11 means that the largest free memory block is 2^10 pages.
  1562. The page size is not necessarily 4KB. Keep this in mind
  1563. when choosing a value for this option.
  1564. config CEVT_GIC
  1565. bool "Use GIC global counter for clock events"
  1566. depends on IRQ_GIC && !(MIPS_SEAD3 || MIPS_MT_SMTC)
  1567. help
  1568. Use the GIC global counter for the clock events. The R4K clock
  1569. event driver is always present, so if the platform ends up not
  1570. detecting a GIC, it will fall back to the R4K timer for the
  1571. generation of clock events.
  1572. config BOARD_SCACHE
  1573. bool
  1574. config IP22_CPU_SCACHE
  1575. bool
  1576. select BOARD_SCACHE
  1577. #
  1578. # Support for a MIPS32 / MIPS64 style S-caches
  1579. #
  1580. config MIPS_CPU_SCACHE
  1581. bool
  1582. select BOARD_SCACHE
  1583. config R5000_CPU_SCACHE
  1584. bool
  1585. select BOARD_SCACHE
  1586. config RM7000_CPU_SCACHE
  1587. bool
  1588. select BOARD_SCACHE
  1589. config SIBYTE_DMA_PAGEOPS
  1590. bool "Use DMA to clear/copy pages"
  1591. depends on CPU_SB1
  1592. help
  1593. Instead of using the CPU to zero and copy pages, use a Data Mover
  1594. channel. These DMA channels are otherwise unused by the standard
  1595. SiByte Linux port. Seems to give a small performance benefit.
  1596. config CPU_HAS_PREFETCH
  1597. bool
  1598. config CPU_GENERIC_DUMP_TLB
  1599. bool
  1600. default y if !(CPU_R3000 || CPU_R6000 || CPU_R8000 || CPU_TX39XX)
  1601. config CPU_R4K_FPU
  1602. bool
  1603. default y if !(CPU_R3000 || CPU_R6000 || CPU_TX39XX || CPU_CAVIUM_OCTEON)
  1604. config CPU_R4K_CACHE_TLB
  1605. bool
  1606. default y if !(CPU_R3000 || CPU_R8000 || CPU_SB1 || CPU_TX39XX || CPU_CAVIUM_OCTEON)
  1607. choice
  1608. prompt "MIPS MT options"
  1609. config MIPS_MT_DISABLED
  1610. bool "Disable multithreading support."
  1611. help
  1612. Use this option if your workload can't take advantage of
  1613. MIPS hardware multithreading support. On systems that don't have
  1614. the option of an MT-enabled processor this option will be the only
  1615. option in this menu.
  1616. config MIPS_MT_SMP
  1617. bool "Use 1 TC on each available VPE for SMP"
  1618. depends on SYS_SUPPORTS_MULTITHREADING
  1619. select CPU_MIPSR2_IRQ_VI
  1620. select CPU_MIPSR2_IRQ_EI
  1621. select MIPS_MT
  1622. select NR_CPUS_DEFAULT_2
  1623. select SMP
  1624. select SYS_SUPPORTS_SCHED_SMT if SMP
  1625. select SYS_SUPPORTS_SMP
  1626. select SMP_UP
  1627. select MIPS_PERF_SHARED_TC_COUNTERS
  1628. help
  1629. This is a kernel model which is known a VSMP but lately has been
  1630. marketesed into SMVP.
  1631. Virtual SMP uses the processor's VPEs to implement virtual
  1632. processors. In currently available configuration of the 34K processor
  1633. this allows for a dual processor. Both processors will share the same
  1634. primary caches; each will obtain the half of the TLB for it's own
  1635. exclusive use. For a layman this model can be described as similar to
  1636. what Intel calls Hyperthreading.
  1637. For further information see http://www.linux-mips.org/wiki/34K#VSMP
  1638. config MIPS_MT_SMTC
  1639. bool "SMTC: Use all TCs on all VPEs for SMP"
  1640. depends on CPU_MIPS32_R2
  1641. #depends on CPU_MIPS64_R2 # once there is hardware ...
  1642. depends on SYS_SUPPORTS_MULTITHREADING
  1643. select CPU_MIPSR2_IRQ_VI
  1644. select CPU_MIPSR2_IRQ_EI
  1645. select MIPS_MT
  1646. select NR_CPUS_DEFAULT_8
  1647. select SMP
  1648. select SYS_SUPPORTS_SMP
  1649. select SMP_UP
  1650. help
  1651. This is a kernel model which is known a SMTC or lately has been
  1652. marketesed into SMVP.
  1653. is presenting the available TC's of the core as processors to Linux.
  1654. On currently available 34K processors this means a Linux system will
  1655. see up to 5 processors. The implementation of the SMTC kernel differs
  1656. significantly from VSMP and cannot efficiently coexist in the same
  1657. kernel binary so the choice between VSMP and SMTC is a compile time
  1658. decision.
  1659. For further information see http://www.linux-mips.org/wiki/34K#SMTC
  1660. endchoice
  1661. config MIPS_MT
  1662. bool
  1663. config SCHED_SMT
  1664. bool "SMT (multithreading) scheduler support"
  1665. depends on SYS_SUPPORTS_SCHED_SMT
  1666. default n
  1667. help
  1668. SMT scheduler support improves the CPU scheduler's decision making
  1669. when dealing with MIPS MT enabled cores at a cost of slightly
  1670. increased overhead in some places. If unsure say N here.
  1671. config SYS_SUPPORTS_SCHED_SMT
  1672. bool
  1673. config SYS_SUPPORTS_MULTITHREADING
  1674. bool
  1675. config MIPS_MT_FPAFF
  1676. bool "Dynamic FPU affinity for FP-intensive threads"
  1677. default y
  1678. depends on MIPS_MT_SMP || MIPS_MT_SMTC
  1679. config MIPS_VPE_LOADER
  1680. bool "VPE loader support."
  1681. depends on SYS_SUPPORTS_MULTITHREADING && MODULES
  1682. select CPU_MIPSR2_IRQ_VI
  1683. select CPU_MIPSR2_IRQ_EI
  1684. select MIPS_MT
  1685. help
  1686. Includes a loader for loading an elf relocatable object
  1687. onto another VPE and running it.
  1688. config MIPS_MT_SMTC_IM_BACKSTOP
  1689. bool "Use per-TC register bits as backstop for inhibited IM bits"
  1690. depends on MIPS_MT_SMTC
  1691. default n
  1692. help
  1693. To support multiple TC microthreads acting as "CPUs" within
  1694. a VPE, VPE-wide interrupt mask bits must be specially manipulated
  1695. during interrupt handling. To support legacy drivers and interrupt
  1696. controller management code, SMTC has a "backstop" to track and
  1697. if necessary restore the interrupt mask. This has some performance
  1698. impact on interrupt service overhead.
  1699. config MIPS_MT_SMTC_IRQAFF
  1700. bool "Support IRQ affinity API"
  1701. depends on MIPS_MT_SMTC
  1702. default n
  1703. help
  1704. Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
  1705. for SMTC Linux kernel. Requires platform support, of which
  1706. an example can be found in the MIPS kernel i8259 and Malta
  1707. platform code. Adds some overhead to interrupt dispatch, and
  1708. should be used only if you know what you are doing.
  1709. config MIPS_VPE_LOADER_TOM
  1710. bool "Load VPE program into memory hidden from linux"
  1711. depends on MIPS_VPE_LOADER
  1712. default y
  1713. help
  1714. The loader can use memory that is present but has been hidden from
  1715. Linux using the kernel command line option "mem=xxMB". It's up to
  1716. you to ensure the amount you put in the option and the space your
  1717. program requires is less or equal to the amount physically present.
  1718. # this should possibly be in drivers/char, but it is rather cpu related. Hmmm
  1719. config MIPS_VPE_APSP_API
  1720. bool "Enable support for AP/SP API (RTLX)"
  1721. depends on MIPS_VPE_LOADER
  1722. help
  1723. config MIPS_CMP
  1724. bool "MIPS CMP framework support"
  1725. depends on SYS_SUPPORTS_MIPS_CMP
  1726. select SYNC_R4K
  1727. select SYS_SUPPORTS_SMP
  1728. select SYS_SUPPORTS_SCHED_SMT if SMP
  1729. select WEAK_ORDERING
  1730. default n
  1731. help
  1732. This is a placeholder option for the GCMP work. It will need to
  1733. be handled differently...
  1734. config SB1_PASS_1_WORKAROUNDS
  1735. bool
  1736. depends on CPU_SB1_PASS_1
  1737. default y
  1738. config SB1_PASS_2_WORKAROUNDS
  1739. bool
  1740. depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
  1741. default y
  1742. config SB1_PASS_2_1_WORKAROUNDS
  1743. bool
  1744. depends on CPU_SB1 && CPU_SB1_PASS_2
  1745. default y
  1746. config 64BIT_PHYS_ADDR
  1747. bool
  1748. config ARCH_PHYS_ADDR_T_64BIT
  1749. def_bool 64BIT_PHYS_ADDR
  1750. config CPU_HAS_SMARTMIPS
  1751. depends on SYS_SUPPORTS_SMARTMIPS
  1752. bool "Support for the SmartMIPS ASE"
  1753. help
  1754. SmartMIPS is a extension of the MIPS32 architecture aimed at
  1755. increased security at both hardware and software level for
  1756. smartcards. Enabling this option will allow proper use of the
  1757. SmartMIPS instructions by Linux applications. However a kernel with
  1758. this option will not work on a MIPS core without SmartMIPS core. If
  1759. you don't know you probably don't have SmartMIPS and should say N
  1760. here.
  1761. config CPU_MICROMIPS
  1762. depends on SYS_SUPPORTS_MICROMIPS
  1763. bool "Build kernel using microMIPS ISA"
  1764. help
  1765. When this option is enabled the kernel will be built using the
  1766. microMIPS ISA
  1767. config CPU_HAS_WB
  1768. bool
  1769. config XKS01
  1770. bool
  1771. #
  1772. # Vectored interrupt mode is an R2 feature
  1773. #
  1774. config CPU_MIPSR2_IRQ_VI
  1775. bool
  1776. #
  1777. # Extended interrupt mode is an R2 feature
  1778. #
  1779. config CPU_MIPSR2_IRQ_EI
  1780. bool
  1781. config CPU_HAS_SYNC
  1782. bool
  1783. depends on !CPU_R3000
  1784. default y
  1785. #
  1786. # CPU non-features
  1787. #
  1788. config CPU_DADDI_WORKAROUNDS
  1789. bool
  1790. config CPU_R4000_WORKAROUNDS
  1791. bool
  1792. select CPU_R4400_WORKAROUNDS
  1793. config CPU_R4400_WORKAROUNDS
  1794. bool
  1795. #
  1796. # - Highmem only makes sense for the 32-bit kernel.
  1797. # - The current highmem code will only work properly on physically indexed
  1798. # caches such as R3000, SB1, R7000 or those that look like they're virtually
  1799. # indexed such as R4000/R4400 SC and MC versions or R10000. So for the
  1800. # moment we protect the user and offer the highmem option only on machines
  1801. # where it's known to be safe. This will not offer highmem on a few systems
  1802. # such as MIPS32 and MIPS64 CPUs which may have virtual and physically
  1803. # indexed CPUs but we're playing safe.
  1804. # - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
  1805. # know they might have memory configurations that could make use of highmem
  1806. # support.
  1807. #
  1808. config HIGHMEM
  1809. bool "High Memory Support"
  1810. depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
  1811. config CPU_SUPPORTS_HIGHMEM
  1812. bool
  1813. config SYS_SUPPORTS_HIGHMEM
  1814. bool
  1815. config SYS_SUPPORTS_SMARTMIPS
  1816. bool
  1817. config SYS_SUPPORTS_MICROMIPS
  1818. bool
  1819. config ARCH_FLATMEM_ENABLE
  1820. def_bool y
  1821. depends on !NUMA && !CPU_LOONGSON2
  1822. config ARCH_DISCONTIGMEM_ENABLE
  1823. bool
  1824. default y if SGI_IP27
  1825. help
  1826. Say Y to support efficient handling of discontiguous physical memory,
  1827. for architectures which are either NUMA (Non-Uniform Memory Access)
  1828. or have huge holes in the physical address space for other reasons.
  1829. See <file:Documentation/vm/numa> for more.
  1830. config ARCH_SPARSEMEM_ENABLE
  1831. bool
  1832. select SPARSEMEM_STATIC
  1833. config NUMA
  1834. bool "NUMA Support"
  1835. depends on SYS_SUPPORTS_NUMA
  1836. help
  1837. Say Y to compile the kernel to support NUMA (Non-Uniform Memory
  1838. Access). This option improves performance on systems with more
  1839. than two nodes; on two node systems it is generally better to
  1840. leave it disabled; on single node systems disable this option
  1841. disabled.
  1842. config SYS_SUPPORTS_NUMA
  1843. bool
  1844. config NODES_SHIFT
  1845. int
  1846. default "6"
  1847. depends on NEED_MULTIPLE_NODES
  1848. config HW_PERF_EVENTS
  1849. bool "Enable hardware performance counter support for perf events"
  1850. depends on PERF_EVENTS && !MIPS_MT_SMTC && OPROFILE=n && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON || CPU_XLP)
  1851. default y
  1852. help
  1853. Enable hardware performance counter support for perf events. If
  1854. disabled, perf events will use software events only.
  1855. source "mm/Kconfig"
  1856. config SMP
  1857. bool "Multi-Processing support"
  1858. depends on SYS_SUPPORTS_SMP
  1859. select USE_GENERIC_SMP_HELPERS
  1860. help
  1861. This enables support for systems with more than one CPU. If you have
  1862. a system with only one CPU, like most personal computers, say N. If
  1863. you have a system with more than one CPU, say Y.
  1864. If you say N here, the kernel will run on single and multiprocessor
  1865. machines, but will use only one CPU of a multiprocessor machine. If
  1866. you say Y here, the kernel will run on many, but not all,
  1867. singleprocessor machines. On a singleprocessor machine, the kernel
  1868. will run faster if you say N here.
  1869. People using multiprocessor machines who say Y here should also say
  1870. Y to "Enhanced Real Time Clock Support", below.
  1871. See also the SMP-HOWTO available at
  1872. <http://www.tldp.org/docs.html#howto>.
  1873. If you don't know what to do here, say N.
  1874. config SMP_UP
  1875. bool
  1876. config SYS_SUPPORTS_MIPS_CMP
  1877. bool
  1878. config SYS_SUPPORTS_SMP
  1879. bool
  1880. config NR_CPUS_DEFAULT_1
  1881. bool
  1882. config NR_CPUS_DEFAULT_2
  1883. bool
  1884. config NR_CPUS_DEFAULT_4
  1885. bool
  1886. config NR_CPUS_DEFAULT_8
  1887. bool
  1888. config NR_CPUS_DEFAULT_16
  1889. bool
  1890. config NR_CPUS_DEFAULT_32
  1891. bool
  1892. config NR_CPUS_DEFAULT_64
  1893. bool
  1894. config NR_CPUS
  1895. int "Maximum number of CPUs (2-64)"
  1896. range 1 64 if NR_CPUS_DEFAULT_1
  1897. depends on SMP
  1898. default "1" if NR_CPUS_DEFAULT_1
  1899. default "2" if NR_CPUS_DEFAULT_2
  1900. default "4" if NR_CPUS_DEFAULT_4
  1901. default "8" if NR_CPUS_DEFAULT_8
  1902. default "16" if NR_CPUS_DEFAULT_16
  1903. default "32" if NR_CPUS_DEFAULT_32
  1904. default "64" if NR_CPUS_DEFAULT_64
  1905. help
  1906. This allows you to specify the maximum number of CPUs which this
  1907. kernel will support. The maximum supported value is 32 for 32-bit
  1908. kernel and 64 for 64-bit kernels; the minimum value which makes
  1909. sense is 1 for Qemu (useful only for kernel debugging purposes)
  1910. and 2 for all others.
  1911. This is purely to save memory - each supported CPU adds
  1912. approximately eight kilobytes to the kernel image. For best
  1913. performance should round up your number of processors to the next
  1914. power of two.
  1915. config MIPS_PERF_SHARED_TC_COUNTERS
  1916. bool
  1917. #
  1918. # Timer Interrupt Frequency Configuration
  1919. #
  1920. choice
  1921. prompt "Timer frequency"
  1922. default HZ_250
  1923. help
  1924. Allows the configuration of the timer frequency.
  1925. config HZ_48
  1926. bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
  1927. config HZ_100
  1928. bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
  1929. config HZ_128
  1930. bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
  1931. config HZ_250
  1932. bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
  1933. config HZ_256
  1934. bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
  1935. config HZ_1000
  1936. bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
  1937. config HZ_1024
  1938. bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
  1939. endchoice
  1940. config SYS_SUPPORTS_48HZ
  1941. bool
  1942. config SYS_SUPPORTS_100HZ
  1943. bool
  1944. config SYS_SUPPORTS_128HZ
  1945. bool
  1946. config SYS_SUPPORTS_250HZ
  1947. bool
  1948. config SYS_SUPPORTS_256HZ
  1949. bool
  1950. config SYS_SUPPORTS_1000HZ
  1951. bool
  1952. config SYS_SUPPORTS_1024HZ
  1953. bool
  1954. config SYS_SUPPORTS_ARBIT_HZ
  1955. bool
  1956. default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
  1957. !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
  1958. !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
  1959. !SYS_SUPPORTS_1024HZ
  1960. config HZ
  1961. int
  1962. default 48 if HZ_48
  1963. default 100 if HZ_100
  1964. default 128 if HZ_128
  1965. default 250 if HZ_250
  1966. default 256 if HZ_256
  1967. default 1000 if HZ_1000
  1968. default 1024 if HZ_1024
  1969. source "kernel/Kconfig.preempt"
  1970. config KEXEC
  1971. bool "Kexec system call"
  1972. help
  1973. kexec is a system call that implements the ability to shutdown your
  1974. current kernel, and to start another kernel. It is like a reboot
  1975. but it is independent of the system firmware. And like a reboot
  1976. you can start any kernel with it, not just Linux.
  1977. The name comes from the similarity to the exec system call.
  1978. It is an ongoing process to be certain the hardware in a machine
  1979. is properly shutdown, so do not be surprised if this code does not
  1980. initially work for you. It may help to enable device hotplugging
  1981. support. As of this writing the exact hardware interface is
  1982. strongly in flux, so no good recommendation can be made.
  1983. config CRASH_DUMP
  1984. bool "Kernel crash dumps"
  1985. help
  1986. Generate crash dump after being started by kexec.
  1987. This should be normally only set in special crash dump kernels
  1988. which are loaded in the main kernel with kexec-tools into
  1989. a specially reserved region and then later executed after
  1990. a crash by kdump/kexec. The crash dump kernel must be compiled
  1991. to a memory address not used by the main kernel or firmware using
  1992. PHYSICAL_START.
  1993. config PHYSICAL_START
  1994. hex "Physical address where the kernel is loaded"
  1995. default "0xffffffff84000000" if 64BIT
  1996. default "0x84000000" if 32BIT
  1997. depends on CRASH_DUMP
  1998. help
  1999. This gives the CKSEG0 or KSEG0 address where the kernel is loaded.
  2000. If you plan to use kernel for capturing the crash dump change
  2001. this value to start of the reserved region (the "X" value as
  2002. specified in the "crashkernel=YM@XM" command line boot parameter
  2003. passed to the panic-ed kernel).
  2004. config SECCOMP
  2005. bool "Enable seccomp to safely compute untrusted bytecode"
  2006. depends on PROC_FS
  2007. default y
  2008. help
  2009. This kernel feature is useful for number crunching applications
  2010. that may need to compute untrusted bytecode during their
  2011. execution. By using pipes or other transports made available to
  2012. the process as file descriptors supporting the read/write
  2013. syscalls, it's possible to isolate those applications in
  2014. their own address space using seccomp. Once seccomp is
  2015. enabled via /proc/<pid>/seccomp, it cannot be disabled
  2016. and the task is only allowed to execute a few safe syscalls
  2017. defined by each seccomp mode.
  2018. If unsure, say Y. Only embedded should say N here.
  2019. config CC_STACKPROTECTOR
  2020. bool "Enable -fstack-protector buffer overflow detection (EXPERIMENTAL)"
  2021. help
  2022. This option turns on the -fstack-protector GCC feature. This
  2023. feature puts, at the beginning of functions, a canary value on
  2024. the stack just before the return address, and validates
  2025. the value just before actually returning. Stack based buffer
  2026. overflows (that need to overwrite this return address) now also
  2027. overwrite the canary, which gets detected and the attack is then
  2028. neutralized via a kernel panic.
  2029. This feature requires gcc version 4.2 or above.
  2030. config USE_OF
  2031. bool
  2032. select OF
  2033. select OF_EARLY_FLATTREE
  2034. select IRQ_DOMAIN
  2035. endmenu
  2036. config LOCKDEP_SUPPORT
  2037. bool
  2038. default y
  2039. config STACKTRACE_SUPPORT
  2040. bool
  2041. default y
  2042. source "init/Kconfig"
  2043. source "kernel/Kconfig.freezer"
  2044. menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
  2045. config HW_HAS_EISA
  2046. bool
  2047. config HW_HAS_PCI
  2048. bool
  2049. config PCI
  2050. bool "Support for PCI controller"
  2051. depends on HW_HAS_PCI
  2052. select PCI_DOMAINS
  2053. select NO_GENERIC_PCI_IOPORT_MAP
  2054. help
  2055. Find out whether you have a PCI motherboard. PCI is the name of a
  2056. bus system, i.e. the way the CPU talks to the other stuff inside
  2057. your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
  2058. say Y, otherwise N.
  2059. config PCI_DOMAINS
  2060. bool
  2061. source "drivers/pci/Kconfig"
  2062. source "drivers/pci/pcie/Kconfig"
  2063. #
  2064. # ISA support is now enabled via select. Too many systems still have the one
  2065. # or other ISA chip on the board that users don't know about so don't expect
  2066. # users to choose the right thing ...
  2067. #
  2068. config ISA
  2069. bool
  2070. config EISA
  2071. bool "EISA support"
  2072. depends on HW_HAS_EISA
  2073. select ISA
  2074. select GENERIC_ISA_DMA
  2075. ---help---
  2076. The Extended Industry Standard Architecture (EISA) bus was
  2077. developed as an open alternative to the IBM MicroChannel bus.
  2078. The EISA bus provided some of the features of the IBM MicroChannel
  2079. bus while maintaining backward compatibility with cards made for
  2080. the older ISA bus. The EISA bus saw limited use between 1988 and
  2081. 1995 when it was made obsolete by the PCI bus.
  2082. Say Y here if you are building a kernel for an EISA-based machine.
  2083. Otherwise, say N.
  2084. source "drivers/eisa/Kconfig"
  2085. config TC
  2086. bool "TURBOchannel support"
  2087. depends on MACH_DECSTATION
  2088. help
  2089. TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
  2090. processors. TURBOchannel programming specifications are available
  2091. at:
  2092. <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/>
  2093. and:
  2094. <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/>
  2095. Linux driver support status is documented at:
  2096. <http://www.linux-mips.org/wiki/DECstation>
  2097. config MMU
  2098. bool
  2099. default y
  2100. config I8253
  2101. bool
  2102. select CLKSRC_I8253
  2103. select CLKEVT_I8253
  2104. select MIPS_EXTERNAL_TIMER
  2105. config ZONE_DMA
  2106. bool
  2107. config ZONE_DMA32
  2108. bool
  2109. source "drivers/pcmcia/Kconfig"
  2110. source "drivers/pci/hotplug/Kconfig"
  2111. config RAPIDIO
  2112. bool "RapidIO support"
  2113. depends on PCI
  2114. default n
  2115. help
  2116. If you say Y here, the kernel will include drivers and
  2117. infrastructure code to support RapidIO interconnect devices.
  2118. source "drivers/rapidio/Kconfig"
  2119. endmenu
  2120. menu "Executable file formats"
  2121. source "fs/Kconfig.binfmt"
  2122. config TRAD_SIGNALS
  2123. bool
  2124. config MIPS32_COMPAT
  2125. bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
  2126. depends on 64BIT
  2127. help
  2128. Select this option if you want Linux/MIPS 32-bit binary
  2129. compatibility. Since all software available for Linux/MIPS is
  2130. currently 32-bit you should say Y here.
  2131. config COMPAT
  2132. bool
  2133. depends on MIPS32_COMPAT
  2134. select ARCH_WANT_OLD_COMPAT_IPC
  2135. default y
  2136. config SYSVIPC_COMPAT
  2137. bool
  2138. depends on COMPAT && SYSVIPC
  2139. default y
  2140. config MIPS32_O32
  2141. bool "Kernel support for o32 binaries"
  2142. depends on MIPS32_COMPAT
  2143. help
  2144. Select this option if you want to run o32 binaries. These are pure
  2145. 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
  2146. existing binaries are in this format.
  2147. If unsure, say Y.
  2148. config MIPS32_N32
  2149. bool "Kernel support for n32 binaries"
  2150. depends on MIPS32_COMPAT
  2151. help
  2152. Select this option if you want to run n32 binaries. These are
  2153. 64-bit binaries using 32-bit quantities for addressing and certain
  2154. data that would normally be 64-bit. They are used in special
  2155. cases.
  2156. If unsure, say N.
  2157. config BINFMT_ELF32
  2158. bool
  2159. default y if MIPS32_O32 || MIPS32_N32
  2160. endmenu
  2161. menu "Power management options"
  2162. config ARCH_HIBERNATION_POSSIBLE
  2163. def_bool y
  2164. depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
  2165. config ARCH_SUSPEND_POSSIBLE
  2166. def_bool y
  2167. depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
  2168. source "kernel/power/Kconfig"
  2169. endmenu
  2170. config MIPS_EXTERNAL_TIMER
  2171. bool
  2172. if CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER
  2173. menu "CPU Power Management"
  2174. source "drivers/cpufreq/Kconfig"
  2175. endmenu
  2176. endif
  2177. source "net/Kconfig"
  2178. source "drivers/Kconfig"
  2179. source "drivers/firmware/Kconfig"
  2180. source "fs/Kconfig"
  2181. source "arch/mips/Kconfig.debug"
  2182. source "security/Kconfig"
  2183. source "crypto/Kconfig"
  2184. source "lib/Kconfig"
  2185. source "arch/mips/kvm/Kconfig"