Kconfig 62 KB

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