Kconfig 62 KB

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