Kconfig 62 KB

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