Kconfig 80 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201
  1. # SPDX-License-Identifier: GPL-2.0
  2. config MIPS
  3. bool
  4. default y
  5. select ARCH_BINFMT_ELF_STATE
  6. select ARCH_CLOCKSOURCE_DATA
  7. select ARCH_DISCARD_MEMBLOCK
  8. select ARCH_HAS_ELF_RANDOMIZE
  9. select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
  10. select ARCH_SUPPORTS_UPROBES
  11. select ARCH_USE_BUILTIN_BSWAP
  12. select ARCH_USE_CMPXCHG_LOCKREF if 64BIT
  13. select ARCH_USE_QUEUED_RWLOCKS
  14. select ARCH_USE_QUEUED_SPINLOCKS
  15. select ARCH_WANT_IPC_PARSE_VERSION
  16. select BUILDTIME_EXTABLE_SORT
  17. select CLONE_BACKWARDS
  18. select CPU_PM if CPU_IDLE
  19. select DMA_DIRECT_OPS
  20. select GENERIC_ATOMIC64 if !64BIT
  21. select GENERIC_CLOCKEVENTS
  22. select GENERIC_CMOS_UPDATE
  23. select GENERIC_CPU_AUTOPROBE
  24. select GENERIC_IRQ_PROBE
  25. select GENERIC_IRQ_SHOW
  26. select GENERIC_LIB_ASHLDI3
  27. select GENERIC_LIB_ASHRDI3
  28. select GENERIC_LIB_CMPDI2
  29. select GENERIC_LIB_LSHRDI3
  30. select GENERIC_LIB_UCMPDI2
  31. select GENERIC_PCI_IOMAP
  32. select GENERIC_SCHED_CLOCK if !CAVIUM_OCTEON_SOC
  33. select GENERIC_SMP_IDLE_THREAD
  34. select GENERIC_TIME_VSYSCALL
  35. select HANDLE_DOMAIN_IRQ
  36. select HAVE_ARCH_COMPILER_H
  37. select HAVE_ARCH_JUMP_LABEL
  38. select HAVE_ARCH_KGDB
  39. select HAVE_ARCH_MMAP_RND_BITS if MMU
  40. select HAVE_ARCH_MMAP_RND_COMPAT_BITS if MMU && COMPAT
  41. select HAVE_ARCH_SECCOMP_FILTER
  42. select HAVE_ARCH_TRACEHOOK
  43. select HAVE_ARCH_TRANSPARENT_HUGEPAGE if CPU_SUPPORTS_HUGEPAGES && 64BIT
  44. select HAVE_CBPF_JIT if (!64BIT && !CPU_MICROMIPS)
  45. select HAVE_EBPF_JIT if (64BIT && !CPU_MICROMIPS)
  46. select HAVE_CONTEXT_TRACKING
  47. select HAVE_COPY_THREAD_TLS
  48. select HAVE_C_RECORDMCOUNT
  49. select HAVE_DEBUG_KMEMLEAK
  50. select HAVE_DEBUG_STACKOVERFLOW
  51. select HAVE_DMA_CONTIGUOUS
  52. select HAVE_DYNAMIC_FTRACE
  53. select HAVE_EXIT_THREAD
  54. select HAVE_FTRACE_MCOUNT_RECORD
  55. select HAVE_FUNCTION_GRAPH_TRACER
  56. select HAVE_FUNCTION_TRACER
  57. select HAVE_GENERIC_DMA_COHERENT
  58. select HAVE_IDE
  59. select HAVE_IRQ_EXIT_ON_IRQ_STACK
  60. select HAVE_IRQ_TIME_ACCOUNTING
  61. select HAVE_KPROBES
  62. select HAVE_KRETPROBES
  63. select HAVE_MEMBLOCK
  64. select HAVE_MEMBLOCK_NODE_MAP
  65. select HAVE_MOD_ARCH_SPECIFIC
  66. select HAVE_NMI
  67. select HAVE_OPROFILE
  68. select HAVE_PERF_EVENTS
  69. select HAVE_REGS_AND_STACK_ACCESS_API
  70. select HAVE_RSEQ
  71. select HAVE_STACKPROTECTOR
  72. select HAVE_SYSCALL_TRACEPOINTS
  73. select HAVE_VIRT_CPU_ACCOUNTING_GEN if 64BIT || !SMP
  74. select IRQ_FORCED_THREADING
  75. select MODULES_USE_ELF_RELA if MODULES && 64BIT
  76. select MODULES_USE_ELF_REL if MODULES
  77. select PERF_USE_VMALLOC
  78. select RTC_LIB if !MACH_LOONGSON64
  79. select SYSCTL_EXCEPTION_TRACE
  80. select VIRT_TO_BUS
  81. menu "Machine selection"
  82. choice
  83. prompt "System type"
  84. default MIPS_GENERIC
  85. config MIPS_GENERIC
  86. bool "Generic board-agnostic MIPS kernel"
  87. select BOOT_RAW
  88. select BUILTIN_DTB
  89. select CEVT_R4K
  90. select CLKSRC_MIPS_GIC
  91. select COMMON_CLK
  92. select CPU_MIPSR2_IRQ_VI
  93. select CPU_MIPSR2_IRQ_EI
  94. select CSRC_R4K
  95. select DMA_PERDEV_COHERENT
  96. select HW_HAS_PCI
  97. select IRQ_MIPS_CPU
  98. select LIBFDT
  99. select MIPS_AUTO_PFN_OFFSET
  100. select MIPS_CPU_SCACHE
  101. select MIPS_GIC
  102. select MIPS_L1_CACHE_SHIFT_7
  103. select NO_EXCEPT_FILL
  104. select PCI_DRIVERS_GENERIC
  105. select PINCTRL
  106. select SMP_UP if SMP
  107. select SWAP_IO_SPACE
  108. select SYS_HAS_CPU_MIPS32_R1
  109. select SYS_HAS_CPU_MIPS32_R2
  110. select SYS_HAS_CPU_MIPS32_R6
  111. select SYS_HAS_CPU_MIPS64_R1
  112. select SYS_HAS_CPU_MIPS64_R2
  113. select SYS_HAS_CPU_MIPS64_R6
  114. select SYS_SUPPORTS_32BIT_KERNEL
  115. select SYS_SUPPORTS_64BIT_KERNEL
  116. select SYS_SUPPORTS_BIG_ENDIAN
  117. select SYS_SUPPORTS_HIGHMEM
  118. select SYS_SUPPORTS_LITTLE_ENDIAN
  119. select SYS_SUPPORTS_MICROMIPS
  120. select SYS_SUPPORTS_MIPS_CPS
  121. select SYS_SUPPORTS_MIPS16
  122. select SYS_SUPPORTS_MULTITHREADING
  123. select SYS_SUPPORTS_RELOCATABLE
  124. select SYS_SUPPORTS_SMARTMIPS
  125. select USB_EHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN
  126. select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
  127. select USB_OHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN
  128. select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
  129. select USB_UHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN
  130. select USB_UHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
  131. select USE_OF
  132. help
  133. Select this to build a kernel which aims to support multiple boards,
  134. generally using a flattened device tree passed from the bootloader
  135. using the boot protocol defined in the UHI (Unified Hosting
  136. Interface) specification.
  137. config MIPS_ALCHEMY
  138. bool "Alchemy processor based machines"
  139. select PHYS_ADDR_T_64BIT
  140. select CEVT_R4K
  141. select CSRC_R4K
  142. select IRQ_MIPS_CPU
  143. select DMA_MAYBE_COHERENT # Au1000,1500,1100 aren't, rest is
  144. select SYS_HAS_CPU_MIPS32_R1
  145. select SYS_SUPPORTS_32BIT_KERNEL
  146. select SYS_SUPPORTS_APM_EMULATION
  147. select GPIOLIB
  148. select SYS_SUPPORTS_ZBOOT
  149. select COMMON_CLK
  150. config AR7
  151. bool "Texas Instruments AR7"
  152. select BOOT_ELF32
  153. select DMA_NONCOHERENT
  154. select CEVT_R4K
  155. select CSRC_R4K
  156. select IRQ_MIPS_CPU
  157. select NO_EXCEPT_FILL
  158. select SWAP_IO_SPACE
  159. select SYS_HAS_CPU_MIPS32_R1
  160. select SYS_HAS_EARLY_PRINTK
  161. select SYS_SUPPORTS_32BIT_KERNEL
  162. select SYS_SUPPORTS_LITTLE_ENDIAN
  163. select SYS_SUPPORTS_MIPS16
  164. select SYS_SUPPORTS_ZBOOT_UART16550
  165. select GPIOLIB
  166. select VLYNQ
  167. select HAVE_CLK
  168. help
  169. Support for the Texas Instruments AR7 System-on-a-Chip
  170. family: TNETD7100, 7200 and 7300.
  171. config ATH25
  172. bool "Atheros AR231x/AR531x SoC support"
  173. select CEVT_R4K
  174. select CSRC_R4K
  175. select DMA_NONCOHERENT
  176. select IRQ_MIPS_CPU
  177. select IRQ_DOMAIN
  178. select SYS_HAS_CPU_MIPS32_R1
  179. select SYS_SUPPORTS_BIG_ENDIAN
  180. select SYS_SUPPORTS_32BIT_KERNEL
  181. select SYS_HAS_EARLY_PRINTK
  182. help
  183. Support for Atheros AR231x and Atheros AR531x based boards
  184. config ATH79
  185. bool "Atheros AR71XX/AR724X/AR913X based boards"
  186. select ARCH_HAS_RESET_CONTROLLER
  187. select BOOT_RAW
  188. select CEVT_R4K
  189. select CSRC_R4K
  190. select DMA_NONCOHERENT
  191. select GPIOLIB
  192. select PINCTRL
  193. select HAVE_CLK
  194. select COMMON_CLK
  195. select CLKDEV_LOOKUP
  196. select IRQ_MIPS_CPU
  197. select MIPS_MACHINE
  198. select SYS_HAS_CPU_MIPS32_R2
  199. select SYS_HAS_EARLY_PRINTK
  200. select SYS_SUPPORTS_32BIT_KERNEL
  201. select SYS_SUPPORTS_BIG_ENDIAN
  202. select SYS_SUPPORTS_MIPS16
  203. select SYS_SUPPORTS_ZBOOT_UART_PROM
  204. select USE_OF
  205. select USB_EHCI_ROOT_HUB_TT if USB_EHCI_HCD_PLATFORM
  206. help
  207. Support for the Atheros AR71XX/AR724X/AR913X SoCs.
  208. config BMIPS_GENERIC
  209. bool "Broadcom Generic BMIPS kernel"
  210. select ARCH_HAS_SYNC_DMA_FOR_CPU_ALL
  211. select ARCH_HAS_PHYS_TO_DMA
  212. select BOOT_RAW
  213. select NO_EXCEPT_FILL
  214. select USE_OF
  215. select CEVT_R4K
  216. select CSRC_R4K
  217. select SYNC_R4K
  218. select COMMON_CLK
  219. select BCM6345_L1_IRQ
  220. select BCM7038_L1_IRQ
  221. select BCM7120_L2_IRQ
  222. select BRCMSTB_L2_IRQ
  223. select IRQ_MIPS_CPU
  224. select DMA_NONCOHERENT
  225. select SYS_SUPPORTS_32BIT_KERNEL
  226. select SYS_SUPPORTS_LITTLE_ENDIAN
  227. select SYS_SUPPORTS_BIG_ENDIAN
  228. select SYS_SUPPORTS_HIGHMEM
  229. select SYS_HAS_CPU_BMIPS32_3300
  230. select SYS_HAS_CPU_BMIPS4350
  231. select SYS_HAS_CPU_BMIPS4380
  232. select SYS_HAS_CPU_BMIPS5000
  233. select SWAP_IO_SPACE
  234. select USB_EHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN
  235. select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
  236. select USB_OHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN
  237. select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
  238. select HARDIRQS_SW_RESEND
  239. help
  240. Build a generic DT-based kernel image that boots on select
  241. BCM33xx cable modem chips, BCM63xx DSL chips, and BCM7xxx set-top
  242. box chips. Note that CONFIG_CPU_BIG_ENDIAN/CONFIG_CPU_LITTLE_ENDIAN
  243. must be set appropriately for your board.
  244. config BCM47XX
  245. bool "Broadcom BCM47XX based boards"
  246. select BOOT_RAW
  247. select CEVT_R4K
  248. select CSRC_R4K
  249. select DMA_NONCOHERENT
  250. select HW_HAS_PCI
  251. select IRQ_MIPS_CPU
  252. select SYS_HAS_CPU_MIPS32_R1
  253. select NO_EXCEPT_FILL
  254. select SYS_SUPPORTS_32BIT_KERNEL
  255. select SYS_SUPPORTS_LITTLE_ENDIAN
  256. select SYS_SUPPORTS_MIPS16
  257. select SYS_SUPPORTS_ZBOOT
  258. select SYS_HAS_EARLY_PRINTK
  259. select USE_GENERIC_EARLY_PRINTK_8250
  260. select GPIOLIB
  261. select LEDS_GPIO_REGISTER
  262. select BCM47XX_NVRAM
  263. select BCM47XX_SPROM
  264. select BCM47XX_SSB if !BCM47XX_BCMA
  265. help
  266. Support for BCM47XX based boards
  267. config BCM63XX
  268. bool "Broadcom BCM63XX based boards"
  269. select BOOT_RAW
  270. select CEVT_R4K
  271. select CSRC_R4K
  272. select SYNC_R4K
  273. select DMA_NONCOHERENT
  274. select IRQ_MIPS_CPU
  275. select SYS_SUPPORTS_32BIT_KERNEL
  276. select SYS_SUPPORTS_BIG_ENDIAN
  277. select SYS_HAS_EARLY_PRINTK
  278. select SWAP_IO_SPACE
  279. select GPIOLIB
  280. select HAVE_CLK
  281. select MIPS_L1_CACHE_SHIFT_4
  282. select CLKDEV_LOOKUP
  283. help
  284. Support for BCM63XX based boards
  285. config MIPS_COBALT
  286. bool "Cobalt Server"
  287. select CEVT_R4K
  288. select CSRC_R4K
  289. select CEVT_GT641XX
  290. select DMA_NONCOHERENT
  291. select HW_HAS_PCI
  292. select I8253
  293. select I8259
  294. select IRQ_MIPS_CPU
  295. select IRQ_GT641XX
  296. select PCI_GT64XXX_PCI0
  297. select PCI
  298. select SYS_HAS_CPU_NEVADA
  299. select SYS_HAS_EARLY_PRINTK
  300. select SYS_SUPPORTS_32BIT_KERNEL
  301. select SYS_SUPPORTS_64BIT_KERNEL
  302. select SYS_SUPPORTS_LITTLE_ENDIAN
  303. select USE_GENERIC_EARLY_PRINTK_8250
  304. config MACH_DECSTATION
  305. bool "DECstations"
  306. select BOOT_ELF32
  307. select CEVT_DS1287
  308. select CEVT_R4K if CPU_R4X00
  309. select CSRC_IOASIC
  310. select CSRC_R4K if CPU_R4X00
  311. select CPU_DADDI_WORKAROUNDS if 64BIT
  312. select CPU_R4000_WORKAROUNDS if 64BIT
  313. select CPU_R4400_WORKAROUNDS if 64BIT
  314. select DMA_NONCOHERENT
  315. select NO_IOPORT_MAP
  316. select IRQ_MIPS_CPU
  317. select SYS_HAS_CPU_R3000
  318. select SYS_HAS_CPU_R4X00
  319. select SYS_SUPPORTS_32BIT_KERNEL
  320. select SYS_SUPPORTS_64BIT_KERNEL
  321. select SYS_SUPPORTS_LITTLE_ENDIAN
  322. select SYS_SUPPORTS_128HZ
  323. select SYS_SUPPORTS_256HZ
  324. select SYS_SUPPORTS_1024HZ
  325. select MIPS_L1_CACHE_SHIFT_4
  326. help
  327. This enables support for DEC's MIPS based workstations. For details
  328. see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
  329. DECstation porting pages on <http://decstation.unix-ag.org/>.
  330. If you have one of the following DECstation Models you definitely
  331. want to choose R4xx0 for the CPU Type:
  332. DECstation 5000/50
  333. DECstation 5000/150
  334. DECstation 5000/260
  335. DECsystem 5900/260
  336. otherwise choose R3000.
  337. config MACH_JAZZ
  338. bool "Jazz family of machines"
  339. select ARCH_MIGHT_HAVE_PC_PARPORT
  340. select ARCH_MIGHT_HAVE_PC_SERIO
  341. select FW_ARC
  342. select FW_ARC32
  343. select ARCH_MAY_HAVE_PC_FDC
  344. select CEVT_R4K
  345. select CSRC_R4K
  346. select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
  347. select GENERIC_ISA_DMA
  348. select HAVE_PCSPKR_PLATFORM
  349. select IRQ_MIPS_CPU
  350. select I8253
  351. select I8259
  352. select ISA
  353. select SYS_HAS_CPU_R4X00
  354. select SYS_SUPPORTS_32BIT_KERNEL
  355. select SYS_SUPPORTS_64BIT_KERNEL
  356. select SYS_SUPPORTS_100HZ
  357. help
  358. This a family of machines based on the MIPS R4030 chipset which was
  359. used by several vendors to build RISC/os and Windows NT workstations.
  360. Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
  361. Olivetti M700-10 workstations.
  362. config MACH_INGENIC
  363. bool "Ingenic SoC based machines"
  364. select SYS_SUPPORTS_32BIT_KERNEL
  365. select SYS_SUPPORTS_LITTLE_ENDIAN
  366. select SYS_SUPPORTS_ZBOOT_UART16550
  367. select DMA_NONCOHERENT
  368. select IRQ_MIPS_CPU
  369. select PINCTRL
  370. select GPIOLIB
  371. select COMMON_CLK
  372. select GENERIC_IRQ_CHIP
  373. select BUILTIN_DTB
  374. select USE_OF
  375. select LIBFDT
  376. config LANTIQ
  377. bool "Lantiq based platforms"
  378. select DMA_NONCOHERENT
  379. select IRQ_MIPS_CPU
  380. select CEVT_R4K
  381. select CSRC_R4K
  382. select SYS_HAS_CPU_MIPS32_R1
  383. select SYS_HAS_CPU_MIPS32_R2
  384. select SYS_SUPPORTS_BIG_ENDIAN
  385. select SYS_SUPPORTS_32BIT_KERNEL
  386. select SYS_SUPPORTS_MIPS16
  387. select SYS_SUPPORTS_MULTITHREADING
  388. select SYS_SUPPORTS_VPE_LOADER
  389. select SYS_HAS_EARLY_PRINTK
  390. select GPIOLIB
  391. select SWAP_IO_SPACE
  392. select BOOT_RAW
  393. select CLKDEV_LOOKUP
  394. select USE_OF
  395. select PINCTRL
  396. select PINCTRL_LANTIQ
  397. select ARCH_HAS_RESET_CONTROLLER
  398. select RESET_CONTROLLER
  399. config LASAT
  400. bool "LASAT Networks platforms"
  401. select CEVT_R4K
  402. select CRC32
  403. select CSRC_R4K
  404. select DMA_NONCOHERENT
  405. select SYS_HAS_EARLY_PRINTK
  406. select HW_HAS_PCI
  407. select IRQ_MIPS_CPU
  408. select PCI_GT64XXX_PCI0
  409. select MIPS_NILE4
  410. select R5000_CPU_SCACHE
  411. select SYS_HAS_CPU_R5000
  412. select SYS_SUPPORTS_32BIT_KERNEL
  413. select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
  414. select SYS_SUPPORTS_LITTLE_ENDIAN
  415. config MACH_LOONGSON32
  416. bool "Loongson-1 family of machines"
  417. select SYS_SUPPORTS_ZBOOT
  418. help
  419. This enables support for the Loongson-1 family of machines.
  420. Loongson-1 is a family of 32-bit MIPS-compatible SoCs developed by
  421. the Institute of Computing Technology (ICT), Chinese Academy of
  422. Sciences (CAS).
  423. config MACH_LOONGSON64
  424. bool "Loongson-2/3 family of machines"
  425. select SYS_SUPPORTS_ZBOOT
  426. help
  427. This enables the support of Loongson-2/3 family of machines.
  428. Loongson-2 is a family of single-core CPUs and Loongson-3 is a
  429. family of multi-core CPUs. They are both 64-bit general-purpose
  430. MIPS-compatible CPUs. Loongson-2/3 are developed by the Institute
  431. of Computing Technology (ICT), Chinese Academy of Sciences (CAS)
  432. in the People's Republic of China. The chief architect is Professor
  433. Weiwu Hu.
  434. config MACH_PISTACHIO
  435. bool "IMG Pistachio SoC based boards"
  436. select BOOT_ELF32
  437. select BOOT_RAW
  438. select CEVT_R4K
  439. select CLKSRC_MIPS_GIC
  440. select COMMON_CLK
  441. select CSRC_R4K
  442. select DMA_NONCOHERENT
  443. select GPIOLIB
  444. select IRQ_MIPS_CPU
  445. select LIBFDT
  446. select MFD_SYSCON
  447. select MIPS_CPU_SCACHE
  448. select MIPS_GIC
  449. select PINCTRL
  450. select REGULATOR
  451. select SYS_HAS_CPU_MIPS32_R2
  452. select SYS_SUPPORTS_32BIT_KERNEL
  453. select SYS_SUPPORTS_LITTLE_ENDIAN
  454. select SYS_SUPPORTS_MIPS_CPS
  455. select SYS_SUPPORTS_MULTITHREADING
  456. select SYS_SUPPORTS_RELOCATABLE
  457. select SYS_SUPPORTS_ZBOOT
  458. select SYS_HAS_EARLY_PRINTK
  459. select USE_GENERIC_EARLY_PRINTK_8250
  460. select USE_OF
  461. help
  462. This enables support for the IMG Pistachio SoC platform.
  463. config MIPS_MALTA
  464. bool "MIPS Malta board"
  465. select ARCH_MAY_HAVE_PC_FDC
  466. select ARCH_MIGHT_HAVE_PC_PARPORT
  467. select ARCH_MIGHT_HAVE_PC_SERIO
  468. select BOOT_ELF32
  469. select BOOT_RAW
  470. select BUILTIN_DTB
  471. select CEVT_R4K
  472. select CSRC_R4K
  473. select CLKSRC_MIPS_GIC
  474. select COMMON_CLK
  475. select DMA_MAYBE_COHERENT
  476. select GENERIC_ISA_DMA
  477. select HAVE_PCSPKR_PLATFORM
  478. select IRQ_MIPS_CPU
  479. select MIPS_GIC
  480. select HW_HAS_PCI
  481. select I8253
  482. select I8259
  483. select MIPS_BONITO64
  484. select MIPS_CPU_SCACHE
  485. select MIPS_L1_CACHE_SHIFT_6
  486. select PCI_GT64XXX_PCI0
  487. select MIPS_MSC
  488. select SMP_UP if SMP
  489. select SWAP_IO_SPACE
  490. select SYS_HAS_CPU_MIPS32_R1
  491. select SYS_HAS_CPU_MIPS32_R2
  492. select SYS_HAS_CPU_MIPS32_R3_5
  493. select SYS_HAS_CPU_MIPS32_R5
  494. select SYS_HAS_CPU_MIPS32_R6
  495. select SYS_HAS_CPU_MIPS64_R1
  496. select SYS_HAS_CPU_MIPS64_R2
  497. select SYS_HAS_CPU_MIPS64_R6
  498. select SYS_HAS_CPU_NEVADA
  499. select SYS_HAS_CPU_RM7000
  500. select SYS_SUPPORTS_32BIT_KERNEL
  501. select SYS_SUPPORTS_64BIT_KERNEL
  502. select SYS_SUPPORTS_BIG_ENDIAN
  503. select SYS_SUPPORTS_HIGHMEM
  504. select SYS_SUPPORTS_LITTLE_ENDIAN
  505. select SYS_SUPPORTS_MICROMIPS
  506. select SYS_SUPPORTS_MIPS_CMP
  507. select SYS_SUPPORTS_MIPS_CPS
  508. select SYS_SUPPORTS_MIPS16
  509. select SYS_SUPPORTS_MULTITHREADING
  510. select SYS_SUPPORTS_SMARTMIPS
  511. select SYS_SUPPORTS_VPE_LOADER
  512. select SYS_SUPPORTS_ZBOOT
  513. select SYS_SUPPORTS_RELOCATABLE
  514. select USE_OF
  515. select LIBFDT
  516. select ZONE_DMA32 if 64BIT
  517. select BUILTIN_DTB
  518. select LIBFDT
  519. help
  520. This enables support for the MIPS Technologies Malta evaluation
  521. board.
  522. config MACH_PIC32
  523. bool "Microchip PIC32 Family"
  524. help
  525. This enables support for the Microchip PIC32 family of platforms.
  526. Microchip PIC32 is a family of general-purpose 32 bit MIPS core
  527. microcontrollers.
  528. config NEC_MARKEINS
  529. bool "NEC EMMA2RH Mark-eins board"
  530. select SOC_EMMA2RH
  531. select HW_HAS_PCI
  532. help
  533. This enables support for the NEC Electronics Mark-eins boards.
  534. config MACH_VR41XX
  535. bool "NEC VR4100 series based machines"
  536. select CEVT_R4K
  537. select CSRC_R4K
  538. select SYS_HAS_CPU_VR41XX
  539. select SYS_SUPPORTS_MIPS16
  540. select GPIOLIB
  541. config NXP_STB220
  542. bool "NXP STB220 board"
  543. select SOC_PNX833X
  544. help
  545. Support for NXP Semiconductors STB220 Development Board.
  546. config NXP_STB225
  547. bool "NXP 225 board"
  548. select SOC_PNX833X
  549. select SOC_PNX8335
  550. help
  551. Support for NXP Semiconductors STB225 Development Board.
  552. config PMC_MSP
  553. bool "PMC-Sierra MSP chipsets"
  554. select CEVT_R4K
  555. select CSRC_R4K
  556. select DMA_NONCOHERENT
  557. select SWAP_IO_SPACE
  558. select NO_EXCEPT_FILL
  559. select BOOT_RAW
  560. select SYS_HAS_CPU_MIPS32_R1
  561. select SYS_HAS_CPU_MIPS32_R2
  562. select SYS_SUPPORTS_32BIT_KERNEL
  563. select SYS_SUPPORTS_BIG_ENDIAN
  564. select SYS_SUPPORTS_MIPS16
  565. select IRQ_MIPS_CPU
  566. select SERIAL_8250
  567. select SERIAL_8250_CONSOLE
  568. select USB_EHCI_BIG_ENDIAN_MMIO
  569. select USB_EHCI_BIG_ENDIAN_DESC
  570. help
  571. This adds support for the PMC-Sierra family of Multi-Service
  572. Processor System-On-A-Chips. These parts include a number
  573. of integrated peripherals, interfaces and DSPs in addition to
  574. a variety of MIPS cores.
  575. config RALINK
  576. bool "Ralink based machines"
  577. select CEVT_R4K
  578. select CSRC_R4K
  579. select BOOT_RAW
  580. select DMA_NONCOHERENT
  581. select IRQ_MIPS_CPU
  582. select USE_OF
  583. select SYS_HAS_CPU_MIPS32_R1
  584. select SYS_HAS_CPU_MIPS32_R2
  585. select SYS_SUPPORTS_32BIT_KERNEL
  586. select SYS_SUPPORTS_LITTLE_ENDIAN
  587. select SYS_SUPPORTS_MIPS16
  588. select SYS_HAS_EARLY_PRINTK
  589. select CLKDEV_LOOKUP
  590. select ARCH_HAS_RESET_CONTROLLER
  591. select RESET_CONTROLLER
  592. config SGI_IP22
  593. bool "SGI IP22 (Indy/Indigo2)"
  594. select FW_ARC
  595. select FW_ARC32
  596. select ARCH_MIGHT_HAVE_PC_SERIO
  597. select BOOT_ELF32
  598. select CEVT_R4K
  599. select CSRC_R4K
  600. select DEFAULT_SGI_PARTITION
  601. select DMA_NONCOHERENT
  602. select HW_HAS_EISA
  603. select I8253
  604. select I8259
  605. select IP22_CPU_SCACHE
  606. select IRQ_MIPS_CPU
  607. select GENERIC_ISA_DMA_SUPPORT_BROKEN
  608. select SGI_HAS_I8042
  609. select SGI_HAS_INDYDOG
  610. select SGI_HAS_HAL2
  611. select SGI_HAS_SEEQ
  612. select SGI_HAS_WD93
  613. select SGI_HAS_ZILOG
  614. select SWAP_IO_SPACE
  615. select SYS_HAS_CPU_R4X00
  616. select SYS_HAS_CPU_R5000
  617. #
  618. # Disable EARLY_PRINTK for now since it leads to overwritten prom
  619. # memory during early boot on some machines.
  620. #
  621. # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
  622. # for a more details discussion
  623. #
  624. # select SYS_HAS_EARLY_PRINTK
  625. select SYS_SUPPORTS_32BIT_KERNEL
  626. select SYS_SUPPORTS_64BIT_KERNEL
  627. select SYS_SUPPORTS_BIG_ENDIAN
  628. select MIPS_L1_CACHE_SHIFT_7
  629. help
  630. This are the SGI Indy, Challenge S and Indigo2, as well as certain
  631. OEM variants like the Tandem CMN B006S. To compile a Linux kernel
  632. that runs on these, say Y here.
  633. config SGI_IP27
  634. bool "SGI IP27 (Origin200/2000)"
  635. select ARCH_HAS_PHYS_TO_DMA
  636. select FW_ARC
  637. select FW_ARC64
  638. select BOOT_ELF64
  639. select DEFAULT_SGI_PARTITION
  640. select SYS_HAS_EARLY_PRINTK
  641. select HW_HAS_PCI
  642. select NR_CPUS_DEFAULT_64
  643. select SYS_HAS_CPU_R10000
  644. select SYS_SUPPORTS_64BIT_KERNEL
  645. select SYS_SUPPORTS_BIG_ENDIAN
  646. select SYS_SUPPORTS_NUMA
  647. select SYS_SUPPORTS_SMP
  648. select MIPS_L1_CACHE_SHIFT_7
  649. help
  650. This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
  651. workstations. To compile a Linux kernel that runs on these, say Y
  652. here.
  653. config SGI_IP28
  654. bool "SGI IP28 (Indigo2 R10k)"
  655. select FW_ARC
  656. select FW_ARC64
  657. select ARCH_MIGHT_HAVE_PC_SERIO
  658. select BOOT_ELF64
  659. select CEVT_R4K
  660. select CSRC_R4K
  661. select DEFAULT_SGI_PARTITION
  662. select DMA_NONCOHERENT
  663. select GENERIC_ISA_DMA_SUPPORT_BROKEN
  664. select IRQ_MIPS_CPU
  665. select HW_HAS_EISA
  666. select I8253
  667. select I8259
  668. select SGI_HAS_I8042
  669. select SGI_HAS_INDYDOG
  670. select SGI_HAS_HAL2
  671. select SGI_HAS_SEEQ
  672. select SGI_HAS_WD93
  673. select SGI_HAS_ZILOG
  674. select SWAP_IO_SPACE
  675. select SYS_HAS_CPU_R10000
  676. #
  677. # Disable EARLY_PRINTK for now since it leads to overwritten prom
  678. # memory during early boot on some machines.
  679. #
  680. # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
  681. # for a more details discussion
  682. #
  683. # select SYS_HAS_EARLY_PRINTK
  684. select SYS_SUPPORTS_64BIT_KERNEL
  685. select SYS_SUPPORTS_BIG_ENDIAN
  686. select MIPS_L1_CACHE_SHIFT_7
  687. help
  688. This is the SGI Indigo2 with R10000 processor. To compile a Linux
  689. kernel that runs on these, say Y here.
  690. config SGI_IP32
  691. bool "SGI IP32 (O2)"
  692. select ARCH_HAS_PHYS_TO_DMA
  693. select FW_ARC
  694. select FW_ARC32
  695. select BOOT_ELF32
  696. select CEVT_R4K
  697. select CSRC_R4K
  698. select DMA_NONCOHERENT
  699. select HW_HAS_PCI
  700. select IRQ_MIPS_CPU
  701. select R5000_CPU_SCACHE
  702. select RM7000_CPU_SCACHE
  703. select SYS_HAS_CPU_R5000
  704. select SYS_HAS_CPU_R10000 if BROKEN
  705. select SYS_HAS_CPU_RM7000
  706. select SYS_HAS_CPU_NEVADA
  707. select SYS_SUPPORTS_64BIT_KERNEL
  708. select SYS_SUPPORTS_BIG_ENDIAN
  709. help
  710. If you want this kernel to run on SGI O2 workstation, say Y here.
  711. config SIBYTE_CRHINE
  712. bool "Sibyte BCM91120C-CRhine"
  713. select BOOT_ELF32
  714. select SIBYTE_BCM1120
  715. select SWAP_IO_SPACE
  716. select SYS_HAS_CPU_SB1
  717. select SYS_SUPPORTS_BIG_ENDIAN
  718. select SYS_SUPPORTS_LITTLE_ENDIAN
  719. config SIBYTE_CARMEL
  720. bool "Sibyte BCM91120x-Carmel"
  721. select BOOT_ELF32
  722. select SIBYTE_BCM1120
  723. select SWAP_IO_SPACE
  724. select SYS_HAS_CPU_SB1
  725. select SYS_SUPPORTS_BIG_ENDIAN
  726. select SYS_SUPPORTS_LITTLE_ENDIAN
  727. config SIBYTE_CRHONE
  728. bool "Sibyte BCM91125C-CRhone"
  729. select BOOT_ELF32
  730. select SIBYTE_BCM1125
  731. select SWAP_IO_SPACE
  732. select SYS_HAS_CPU_SB1
  733. select SYS_SUPPORTS_BIG_ENDIAN
  734. select SYS_SUPPORTS_HIGHMEM
  735. select SYS_SUPPORTS_LITTLE_ENDIAN
  736. config SIBYTE_RHONE
  737. bool "Sibyte BCM91125E-Rhone"
  738. select BOOT_ELF32
  739. select SIBYTE_BCM1125H
  740. select SWAP_IO_SPACE
  741. select SYS_HAS_CPU_SB1
  742. select SYS_SUPPORTS_BIG_ENDIAN
  743. select SYS_SUPPORTS_LITTLE_ENDIAN
  744. config SIBYTE_SWARM
  745. bool "Sibyte BCM91250A-SWARM"
  746. select BOOT_ELF32
  747. select HAVE_PATA_PLATFORM
  748. select SIBYTE_SB1250
  749. select SWAP_IO_SPACE
  750. select SYS_HAS_CPU_SB1
  751. select SYS_SUPPORTS_BIG_ENDIAN
  752. select SYS_SUPPORTS_HIGHMEM
  753. select SYS_SUPPORTS_LITTLE_ENDIAN
  754. select ZONE_DMA32 if 64BIT
  755. select SWIOTLB if ARCH_DMA_ADDR_T_64BIT && PCI
  756. config SIBYTE_LITTLESUR
  757. bool "Sibyte BCM91250C2-LittleSur"
  758. select BOOT_ELF32
  759. select HAVE_PATA_PLATFORM
  760. select SIBYTE_SB1250
  761. select SWAP_IO_SPACE
  762. select SYS_HAS_CPU_SB1
  763. select SYS_SUPPORTS_BIG_ENDIAN
  764. select SYS_SUPPORTS_HIGHMEM
  765. select SYS_SUPPORTS_LITTLE_ENDIAN
  766. config SIBYTE_SENTOSA
  767. bool "Sibyte BCM91250E-Sentosa"
  768. select BOOT_ELF32
  769. select SIBYTE_SB1250
  770. select SWAP_IO_SPACE
  771. select SYS_HAS_CPU_SB1
  772. select SYS_SUPPORTS_BIG_ENDIAN
  773. select SYS_SUPPORTS_LITTLE_ENDIAN
  774. select SWIOTLB if ARCH_DMA_ADDR_T_64BIT && PCI
  775. config SIBYTE_BIGSUR
  776. bool "Sibyte BCM91480B-BigSur"
  777. select BOOT_ELF32
  778. select NR_CPUS_DEFAULT_4
  779. select SIBYTE_BCM1x80
  780. select SWAP_IO_SPACE
  781. select SYS_HAS_CPU_SB1
  782. select SYS_SUPPORTS_BIG_ENDIAN
  783. select SYS_SUPPORTS_HIGHMEM
  784. select SYS_SUPPORTS_LITTLE_ENDIAN
  785. select ZONE_DMA32 if 64BIT
  786. select SWIOTLB if ARCH_DMA_ADDR_T_64BIT && PCI
  787. config SNI_RM
  788. bool "SNI RM200/300/400"
  789. select FW_ARC if CPU_LITTLE_ENDIAN
  790. select FW_ARC32 if CPU_LITTLE_ENDIAN
  791. select FW_SNIPROM if CPU_BIG_ENDIAN
  792. select ARCH_MAY_HAVE_PC_FDC
  793. select ARCH_MIGHT_HAVE_PC_PARPORT
  794. select ARCH_MIGHT_HAVE_PC_SERIO
  795. select BOOT_ELF32
  796. select CEVT_R4K
  797. select CSRC_R4K
  798. select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
  799. select DMA_NONCOHERENT
  800. select GENERIC_ISA_DMA
  801. select HAVE_PCSPKR_PLATFORM
  802. select HW_HAS_EISA
  803. select HW_HAS_PCI
  804. select IRQ_MIPS_CPU
  805. select I8253
  806. select I8259
  807. select ISA
  808. select SWAP_IO_SPACE if CPU_BIG_ENDIAN
  809. select SYS_HAS_CPU_R4X00
  810. select SYS_HAS_CPU_R5000
  811. select SYS_HAS_CPU_R10000
  812. select R5000_CPU_SCACHE
  813. select SYS_HAS_EARLY_PRINTK
  814. select SYS_SUPPORTS_32BIT_KERNEL
  815. select SYS_SUPPORTS_64BIT_KERNEL
  816. select SYS_SUPPORTS_BIG_ENDIAN
  817. select SYS_SUPPORTS_HIGHMEM
  818. select SYS_SUPPORTS_LITTLE_ENDIAN
  819. help
  820. The SNI RM200/300/400 are MIPS-based machines manufactured by
  821. Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
  822. Technology and now in turn merged with Fujitsu. Say Y here to
  823. support this machine type.
  824. config MACH_TX39XX
  825. bool "Toshiba TX39 series based machines"
  826. config MACH_TX49XX
  827. bool "Toshiba TX49 series based machines"
  828. config MIKROTIK_RB532
  829. bool "Mikrotik RB532 boards"
  830. select CEVT_R4K
  831. select CSRC_R4K
  832. select DMA_NONCOHERENT
  833. select HW_HAS_PCI
  834. select IRQ_MIPS_CPU
  835. select SYS_HAS_CPU_MIPS32_R1
  836. select SYS_SUPPORTS_32BIT_KERNEL
  837. select SYS_SUPPORTS_LITTLE_ENDIAN
  838. select SWAP_IO_SPACE
  839. select BOOT_RAW
  840. select GPIOLIB
  841. select MIPS_L1_CACHE_SHIFT_4
  842. help
  843. Support the Mikrotik(tm) RouterBoard 532 series,
  844. based on the IDT RC32434 SoC.
  845. config CAVIUM_OCTEON_SOC
  846. bool "Cavium Networks Octeon SoC based boards"
  847. select CEVT_R4K
  848. select ARCH_HAS_PHYS_TO_DMA
  849. select HAS_RAPIDIO
  850. select PHYS_ADDR_T_64BIT
  851. select SYS_SUPPORTS_64BIT_KERNEL
  852. select SYS_SUPPORTS_BIG_ENDIAN
  853. select EDAC_SUPPORT
  854. select EDAC_ATOMIC_SCRUB
  855. select SYS_SUPPORTS_LITTLE_ENDIAN
  856. select SYS_SUPPORTS_HOTPLUG_CPU if CPU_BIG_ENDIAN
  857. select SYS_HAS_EARLY_PRINTK
  858. select SYS_HAS_CPU_CAVIUM_OCTEON
  859. select HW_HAS_PCI
  860. select ZONE_DMA32
  861. select HOLES_IN_ZONE
  862. select GPIOLIB
  863. select LIBFDT
  864. select USE_OF
  865. select ARCH_SPARSEMEM_ENABLE
  866. select SYS_SUPPORTS_SMP
  867. select NR_CPUS_DEFAULT_64
  868. select MIPS_NR_CPU_NR_MAP_1024
  869. select BUILTIN_DTB
  870. select MTD_COMPLEX_MAPPINGS
  871. select SWIOTLB
  872. select SYS_SUPPORTS_RELOCATABLE
  873. help
  874. This option supports all of the Octeon reference boards from Cavium
  875. Networks. It builds a kernel that dynamically determines the Octeon
  876. CPU type and supports all known board reference implementations.
  877. Some of the supported boards are:
  878. EBT3000
  879. EBH3000
  880. EBH3100
  881. Thunder
  882. Kodama
  883. Hikari
  884. Say Y here for most Octeon reference boards.
  885. config NLM_XLR_BOARD
  886. bool "Netlogic XLR/XLS based systems"
  887. select BOOT_ELF32
  888. select NLM_COMMON
  889. select SYS_HAS_CPU_XLR
  890. select SYS_SUPPORTS_SMP
  891. select HW_HAS_PCI
  892. select SWAP_IO_SPACE
  893. select SYS_SUPPORTS_32BIT_KERNEL
  894. select SYS_SUPPORTS_64BIT_KERNEL
  895. select PHYS_ADDR_T_64BIT
  896. select SYS_SUPPORTS_BIG_ENDIAN
  897. select SYS_SUPPORTS_HIGHMEM
  898. select NR_CPUS_DEFAULT_32
  899. select CEVT_R4K
  900. select CSRC_R4K
  901. select IRQ_MIPS_CPU
  902. select ZONE_DMA32 if 64BIT
  903. select SYNC_R4K
  904. select SYS_HAS_EARLY_PRINTK
  905. select SYS_SUPPORTS_ZBOOT
  906. select SYS_SUPPORTS_ZBOOT_UART16550
  907. help
  908. Support for systems based on Netlogic XLR and XLS processors.
  909. Say Y here if you have a XLR or XLS based board.
  910. config NLM_XLP_BOARD
  911. bool "Netlogic XLP based systems"
  912. select BOOT_ELF32
  913. select NLM_COMMON
  914. select SYS_HAS_CPU_XLP
  915. select SYS_SUPPORTS_SMP
  916. select HW_HAS_PCI
  917. select SYS_SUPPORTS_32BIT_KERNEL
  918. select SYS_SUPPORTS_64BIT_KERNEL
  919. select PHYS_ADDR_T_64BIT
  920. select GPIOLIB
  921. select SYS_SUPPORTS_BIG_ENDIAN
  922. select SYS_SUPPORTS_LITTLE_ENDIAN
  923. select SYS_SUPPORTS_HIGHMEM
  924. select NR_CPUS_DEFAULT_32
  925. select CEVT_R4K
  926. select CSRC_R4K
  927. select IRQ_MIPS_CPU
  928. select ZONE_DMA32 if 64BIT
  929. select SYNC_R4K
  930. select SYS_HAS_EARLY_PRINTK
  931. select USE_OF
  932. select SYS_SUPPORTS_ZBOOT
  933. select SYS_SUPPORTS_ZBOOT_UART16550
  934. help
  935. This board is based on Netlogic XLP Processor.
  936. Say Y here if you have a XLP based board.
  937. config MIPS_PARAVIRT
  938. bool "Para-Virtualized guest system"
  939. select CEVT_R4K
  940. select CSRC_R4K
  941. select SYS_SUPPORTS_64BIT_KERNEL
  942. select SYS_SUPPORTS_32BIT_KERNEL
  943. select SYS_SUPPORTS_BIG_ENDIAN
  944. select SYS_SUPPORTS_SMP
  945. select NR_CPUS_DEFAULT_4
  946. select SYS_HAS_EARLY_PRINTK
  947. select SYS_HAS_CPU_MIPS32_R2
  948. select SYS_HAS_CPU_MIPS64_R2
  949. select SYS_HAS_CPU_CAVIUM_OCTEON
  950. select HW_HAS_PCI
  951. select SWAP_IO_SPACE
  952. help
  953. This option supports guest running under ????
  954. endchoice
  955. source "arch/mips/alchemy/Kconfig"
  956. source "arch/mips/ath25/Kconfig"
  957. source "arch/mips/ath79/Kconfig"
  958. source "arch/mips/bcm47xx/Kconfig"
  959. source "arch/mips/bcm63xx/Kconfig"
  960. source "arch/mips/bmips/Kconfig"
  961. source "arch/mips/generic/Kconfig"
  962. source "arch/mips/jazz/Kconfig"
  963. source "arch/mips/jz4740/Kconfig"
  964. source "arch/mips/lantiq/Kconfig"
  965. source "arch/mips/lasat/Kconfig"
  966. source "arch/mips/pic32/Kconfig"
  967. source "arch/mips/pistachio/Kconfig"
  968. source "arch/mips/pmcs-msp71xx/Kconfig"
  969. source "arch/mips/ralink/Kconfig"
  970. source "arch/mips/sgi-ip27/Kconfig"
  971. source "arch/mips/sibyte/Kconfig"
  972. source "arch/mips/txx9/Kconfig"
  973. source "arch/mips/vr41xx/Kconfig"
  974. source "arch/mips/cavium-octeon/Kconfig"
  975. source "arch/mips/loongson32/Kconfig"
  976. source "arch/mips/loongson64/Kconfig"
  977. source "arch/mips/netlogic/Kconfig"
  978. source "arch/mips/paravirt/Kconfig"
  979. endmenu
  980. config RWSEM_GENERIC_SPINLOCK
  981. bool
  982. default y
  983. config RWSEM_XCHGADD_ALGORITHM
  984. bool
  985. config GENERIC_HWEIGHT
  986. bool
  987. default y
  988. config GENERIC_CALIBRATE_DELAY
  989. bool
  990. default y
  991. config SCHED_OMIT_FRAME_POINTER
  992. bool
  993. default y
  994. #
  995. # Select some configuration options automatically based on user selections.
  996. #
  997. config FW_ARC
  998. bool
  999. config ARCH_MAY_HAVE_PC_FDC
  1000. bool
  1001. config BOOT_RAW
  1002. bool
  1003. config CEVT_BCM1480
  1004. bool
  1005. config CEVT_DS1287
  1006. bool
  1007. config CEVT_GT641XX
  1008. bool
  1009. config CEVT_R4K
  1010. bool
  1011. config CEVT_SB1250
  1012. bool
  1013. config CEVT_TXX9
  1014. bool
  1015. config CSRC_BCM1480
  1016. bool
  1017. config CSRC_IOASIC
  1018. bool
  1019. config CSRC_R4K
  1020. bool
  1021. config CSRC_SB1250
  1022. bool
  1023. config MIPS_CLOCK_VSYSCALL
  1024. def_bool CSRC_R4K || CLKSRC_MIPS_GIC
  1025. config GPIO_TXX9
  1026. select GPIOLIB
  1027. bool
  1028. config FW_CFE
  1029. bool
  1030. config ARCH_SUPPORTS_UPROBES
  1031. bool
  1032. config DMA_MAYBE_COHERENT
  1033. select DMA_NONCOHERENT
  1034. bool
  1035. config DMA_PERDEV_COHERENT
  1036. bool
  1037. select DMA_MAYBE_COHERENT
  1038. config DMA_NONCOHERENT
  1039. bool
  1040. select ARCH_HAS_SYNC_DMA_FOR_DEVICE
  1041. select ARCH_HAS_SYNC_DMA_FOR_CPU
  1042. select NEED_DMA_MAP_STATE
  1043. select DMA_NONCOHERENT_MMAP
  1044. select DMA_NONCOHERENT_CACHE_SYNC
  1045. select DMA_NONCOHERENT_OPS
  1046. config SYS_HAS_EARLY_PRINTK
  1047. bool
  1048. config SYS_SUPPORTS_HOTPLUG_CPU
  1049. bool
  1050. config MIPS_BONITO64
  1051. bool
  1052. config MIPS_MSC
  1053. bool
  1054. config MIPS_NILE4
  1055. bool
  1056. config SYNC_R4K
  1057. bool
  1058. config MIPS_MACHINE
  1059. def_bool n
  1060. config NO_IOPORT_MAP
  1061. def_bool n
  1062. config GENERIC_CSUM
  1063. bool
  1064. config GENERIC_ISA_DMA
  1065. bool
  1066. select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
  1067. select ISA_DMA_API
  1068. config GENERIC_ISA_DMA_SUPPORT_BROKEN
  1069. bool
  1070. select GENERIC_ISA_DMA
  1071. config ISA_DMA_API
  1072. bool
  1073. config HOLES_IN_ZONE
  1074. bool
  1075. config SYS_SUPPORTS_RELOCATABLE
  1076. bool
  1077. help
  1078. Selected if the platform supports relocating the kernel.
  1079. The platform must provide plat_get_fdt() if it selects CONFIG_USE_OF
  1080. to allow access to command line and entropy sources.
  1081. config MIPS_CBPF_JIT
  1082. def_bool y
  1083. depends on BPF_JIT && HAVE_CBPF_JIT
  1084. config MIPS_EBPF_JIT
  1085. def_bool y
  1086. depends on BPF_JIT && HAVE_EBPF_JIT
  1087. #
  1088. # Endianness selection. Sufficiently obscure so many users don't know what to
  1089. # answer,so we try hard to limit the available choices. Also the use of a
  1090. # choice statement should be more obvious to the user.
  1091. #
  1092. choice
  1093. prompt "Endianness selection"
  1094. help
  1095. Some MIPS machines can be configured for either little or big endian
  1096. byte order. These modes require different kernels and a different
  1097. Linux distribution. In general there is one preferred byteorder for a
  1098. particular system but some systems are just as commonly used in the
  1099. one or the other endianness.
  1100. config CPU_BIG_ENDIAN
  1101. bool "Big endian"
  1102. depends on SYS_SUPPORTS_BIG_ENDIAN
  1103. config CPU_LITTLE_ENDIAN
  1104. bool "Little endian"
  1105. depends on SYS_SUPPORTS_LITTLE_ENDIAN
  1106. endchoice
  1107. config EXPORT_UASM
  1108. bool
  1109. config SYS_SUPPORTS_APM_EMULATION
  1110. bool
  1111. config SYS_SUPPORTS_BIG_ENDIAN
  1112. bool
  1113. config SYS_SUPPORTS_LITTLE_ENDIAN
  1114. bool
  1115. config SYS_SUPPORTS_HUGETLBFS
  1116. bool
  1117. depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
  1118. default y
  1119. config MIPS_HUGE_TLB_SUPPORT
  1120. def_bool HUGETLB_PAGE || TRANSPARENT_HUGEPAGE
  1121. config IRQ_CPU_RM7K
  1122. bool
  1123. config IRQ_MSP_SLP
  1124. bool
  1125. config IRQ_MSP_CIC
  1126. bool
  1127. config IRQ_TXX9
  1128. bool
  1129. config IRQ_GT641XX
  1130. bool
  1131. config PCI_GT64XXX_PCI0
  1132. bool
  1133. config NO_EXCEPT_FILL
  1134. bool
  1135. config SOC_EMMA2RH
  1136. bool
  1137. select CEVT_R4K
  1138. select CSRC_R4K
  1139. select DMA_NONCOHERENT
  1140. select IRQ_MIPS_CPU
  1141. select SWAP_IO_SPACE
  1142. select SYS_HAS_CPU_R5500
  1143. select SYS_SUPPORTS_32BIT_KERNEL
  1144. select SYS_SUPPORTS_64BIT_KERNEL
  1145. select SYS_SUPPORTS_BIG_ENDIAN
  1146. config SOC_PNX833X
  1147. bool
  1148. select CEVT_R4K
  1149. select CSRC_R4K
  1150. select IRQ_MIPS_CPU
  1151. select DMA_NONCOHERENT
  1152. select SYS_HAS_CPU_MIPS32_R2
  1153. select SYS_SUPPORTS_32BIT_KERNEL
  1154. select SYS_SUPPORTS_LITTLE_ENDIAN
  1155. select SYS_SUPPORTS_BIG_ENDIAN
  1156. select SYS_SUPPORTS_MIPS16
  1157. select CPU_MIPSR2_IRQ_VI
  1158. config SOC_PNX8335
  1159. bool
  1160. select SOC_PNX833X
  1161. config MIPS_SPRAM
  1162. bool
  1163. config SWAP_IO_SPACE
  1164. bool
  1165. config SGI_HAS_INDYDOG
  1166. bool
  1167. config SGI_HAS_HAL2
  1168. bool
  1169. config SGI_HAS_SEEQ
  1170. bool
  1171. config SGI_HAS_WD93
  1172. bool
  1173. config SGI_HAS_ZILOG
  1174. bool
  1175. config SGI_HAS_I8042
  1176. bool
  1177. config DEFAULT_SGI_PARTITION
  1178. bool
  1179. config FW_ARC32
  1180. bool
  1181. config FW_SNIPROM
  1182. bool
  1183. config BOOT_ELF32
  1184. bool
  1185. config MIPS_L1_CACHE_SHIFT_4
  1186. bool
  1187. config MIPS_L1_CACHE_SHIFT_5
  1188. bool
  1189. config MIPS_L1_CACHE_SHIFT_6
  1190. bool
  1191. config MIPS_L1_CACHE_SHIFT_7
  1192. bool
  1193. config MIPS_L1_CACHE_SHIFT
  1194. int
  1195. default "7" if MIPS_L1_CACHE_SHIFT_7
  1196. default "6" if MIPS_L1_CACHE_SHIFT_6
  1197. default "5" if MIPS_L1_CACHE_SHIFT_5
  1198. default "4" if MIPS_L1_CACHE_SHIFT_4
  1199. default "5"
  1200. config HAVE_STD_PC_SERIAL_PORT
  1201. bool
  1202. config ARC_CONSOLE
  1203. bool "ARC console support"
  1204. depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
  1205. config ARC_MEMORY
  1206. bool
  1207. depends on MACH_JAZZ || SNI_RM || SGI_IP32
  1208. default y
  1209. config ARC_PROMLIB
  1210. bool
  1211. depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
  1212. default y
  1213. config FW_ARC64
  1214. bool
  1215. config BOOT_ELF64
  1216. bool
  1217. menu "CPU selection"
  1218. choice
  1219. prompt "CPU type"
  1220. default CPU_R4X00
  1221. config CPU_LOONGSON3
  1222. bool "Loongson 3 CPU"
  1223. depends on SYS_HAS_CPU_LOONGSON3
  1224. select ARCH_HAS_PHYS_TO_DMA
  1225. select CPU_SUPPORTS_64BIT_KERNEL
  1226. select CPU_SUPPORTS_HIGHMEM
  1227. select CPU_SUPPORTS_HUGEPAGES
  1228. select WEAK_ORDERING
  1229. select WEAK_REORDERING_BEYOND_LLSC
  1230. select MIPS_PGD_C0_CONTEXT
  1231. select MIPS_L1_CACHE_SHIFT_6
  1232. select GPIOLIB
  1233. select SWIOTLB
  1234. help
  1235. The Loongson 3 processor implements the MIPS64R2 instruction
  1236. set with many extensions.
  1237. config LOONGSON3_ENHANCEMENT
  1238. bool "New Loongson 3 CPU Enhancements"
  1239. default n
  1240. select CPU_MIPSR2
  1241. select CPU_HAS_PREFETCH
  1242. depends on CPU_LOONGSON3
  1243. help
  1244. New Loongson 3 CPU (since Loongson-3A R2, as opposed to Loongson-3A
  1245. R1, Loongson-3B R1 and Loongson-3B R2) has many enhancements, such as
  1246. FTLB, L1-VCache, EI/DI/Wait/Prefetch instruction, DSP/DSPv2 ASE, User
  1247. Local register, Read-Inhibit/Execute-Inhibit, SFB (Store Fill Buffer),
  1248. Fast TLB refill support, etc.
  1249. This option enable those enhancements which are not probed at run
  1250. time. If you want a generic kernel to run on all Loongson 3 machines,
  1251. please say 'N' here. If you want a high-performance kernel to run on
  1252. new Loongson 3 machines only, please say 'Y' here.
  1253. config CPU_LOONGSON2E
  1254. bool "Loongson 2E"
  1255. depends on SYS_HAS_CPU_LOONGSON2E
  1256. select CPU_LOONGSON2
  1257. help
  1258. The Loongson 2E processor implements the MIPS III instruction set
  1259. with many extensions.
  1260. It has an internal FPGA northbridge, which is compatible to
  1261. bonito64.
  1262. config CPU_LOONGSON2F
  1263. bool "Loongson 2F"
  1264. depends on SYS_HAS_CPU_LOONGSON2F
  1265. select CPU_LOONGSON2
  1266. select GPIOLIB
  1267. help
  1268. The Loongson 2F processor implements the MIPS III instruction set
  1269. with many extensions.
  1270. Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
  1271. have a similar programming interface with FPGA northbridge used in
  1272. Loongson2E.
  1273. config CPU_LOONGSON1B
  1274. bool "Loongson 1B"
  1275. depends on SYS_HAS_CPU_LOONGSON1B
  1276. select CPU_LOONGSON1
  1277. select LEDS_GPIO_REGISTER
  1278. help
  1279. The Loongson 1B is a 32-bit SoC, which implements the MIPS32
  1280. Release 1 instruction set and part of the MIPS32 Release 2
  1281. instruction set.
  1282. config CPU_LOONGSON1C
  1283. bool "Loongson 1C"
  1284. depends on SYS_HAS_CPU_LOONGSON1C
  1285. select CPU_LOONGSON1
  1286. select LEDS_GPIO_REGISTER
  1287. help
  1288. The Loongson 1C is a 32-bit SoC, which implements the MIPS32
  1289. Release 1 instruction set and part of the MIPS32 Release 2
  1290. instruction set.
  1291. config CPU_MIPS32_R1
  1292. bool "MIPS32 Release 1"
  1293. depends on SYS_HAS_CPU_MIPS32_R1
  1294. select CPU_HAS_PREFETCH
  1295. select CPU_SUPPORTS_32BIT_KERNEL
  1296. select CPU_SUPPORTS_HIGHMEM
  1297. help
  1298. Choose this option to build a kernel for release 1 or later of the
  1299. MIPS32 architecture. Most modern embedded systems with a 32-bit
  1300. MIPS processor are based on a MIPS32 processor. If you know the
  1301. specific type of processor in your system, choose those that one
  1302. otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
  1303. Release 2 of the MIPS32 architecture is available since several
  1304. years so chances are you even have a MIPS32 Release 2 processor
  1305. in which case you should choose CPU_MIPS32_R2 instead for better
  1306. performance.
  1307. config CPU_MIPS32_R2
  1308. bool "MIPS32 Release 2"
  1309. depends on SYS_HAS_CPU_MIPS32_R2
  1310. select CPU_HAS_PREFETCH
  1311. select CPU_SUPPORTS_32BIT_KERNEL
  1312. select CPU_SUPPORTS_HIGHMEM
  1313. select CPU_SUPPORTS_MSA
  1314. select HAVE_KVM
  1315. help
  1316. Choose this option to build a kernel for release 2 or later of the
  1317. MIPS32 architecture. Most modern embedded systems with a 32-bit
  1318. MIPS processor are based on a MIPS32 processor. If you know the
  1319. specific type of processor in your system, choose those that one
  1320. otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
  1321. config CPU_MIPS32_R6
  1322. bool "MIPS32 Release 6"
  1323. depends on SYS_HAS_CPU_MIPS32_R6
  1324. select CPU_HAS_PREFETCH
  1325. select CPU_SUPPORTS_32BIT_KERNEL
  1326. select CPU_SUPPORTS_HIGHMEM
  1327. select CPU_SUPPORTS_MSA
  1328. select GENERIC_CSUM
  1329. select HAVE_KVM
  1330. select MIPS_O32_FP64_SUPPORT
  1331. help
  1332. Choose this option to build a kernel for release 6 or later of the
  1333. MIPS32 architecture. New MIPS processors, starting with the Warrior
  1334. family, are based on a MIPS32r6 processor. If you own an older
  1335. processor, you probably need to select MIPS32r1 or MIPS32r2 instead.
  1336. config CPU_MIPS64_R1
  1337. bool "MIPS64 Release 1"
  1338. depends on SYS_HAS_CPU_MIPS64_R1
  1339. select CPU_HAS_PREFETCH
  1340. select CPU_SUPPORTS_32BIT_KERNEL
  1341. select CPU_SUPPORTS_64BIT_KERNEL
  1342. select CPU_SUPPORTS_HIGHMEM
  1343. select CPU_SUPPORTS_HUGEPAGES
  1344. help
  1345. Choose this option to build a kernel for release 1 or later of the
  1346. MIPS64 architecture. Many modern embedded systems with a 64-bit
  1347. MIPS processor are based on a MIPS64 processor. If you know the
  1348. specific type of processor in your system, choose those that one
  1349. otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
  1350. Release 2 of the MIPS64 architecture is available since several
  1351. years so chances are you even have a MIPS64 Release 2 processor
  1352. in which case you should choose CPU_MIPS64_R2 instead for better
  1353. performance.
  1354. config CPU_MIPS64_R2
  1355. bool "MIPS64 Release 2"
  1356. depends on SYS_HAS_CPU_MIPS64_R2
  1357. select CPU_HAS_PREFETCH
  1358. select CPU_SUPPORTS_32BIT_KERNEL
  1359. select CPU_SUPPORTS_64BIT_KERNEL
  1360. select CPU_SUPPORTS_HIGHMEM
  1361. select CPU_SUPPORTS_HUGEPAGES
  1362. select CPU_SUPPORTS_MSA
  1363. select HAVE_KVM
  1364. help
  1365. Choose this option to build a kernel for release 2 or later of the
  1366. MIPS64 architecture. Many modern embedded systems with a 64-bit
  1367. MIPS processor are based on a MIPS64 processor. If you know the
  1368. specific type of processor in your system, choose those that one
  1369. otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
  1370. config CPU_MIPS64_R6
  1371. bool "MIPS64 Release 6"
  1372. depends on SYS_HAS_CPU_MIPS64_R6
  1373. select CPU_HAS_PREFETCH
  1374. select CPU_SUPPORTS_32BIT_KERNEL
  1375. select CPU_SUPPORTS_64BIT_KERNEL
  1376. select CPU_SUPPORTS_HIGHMEM
  1377. select CPU_SUPPORTS_MSA
  1378. select GENERIC_CSUM
  1379. select MIPS_O32_FP64_SUPPORT if 32BIT || MIPS32_O32
  1380. select HAVE_KVM
  1381. help
  1382. Choose this option to build a kernel for release 6 or later of the
  1383. MIPS64 architecture. New MIPS processors, starting with the Warrior
  1384. family, are based on a MIPS64r6 processor. If you own an older
  1385. processor, you probably need to select MIPS64r1 or MIPS64r2 instead.
  1386. config CPU_R3000
  1387. bool "R3000"
  1388. depends on SYS_HAS_CPU_R3000
  1389. select CPU_HAS_WB
  1390. select CPU_SUPPORTS_32BIT_KERNEL
  1391. select CPU_SUPPORTS_HIGHMEM
  1392. help
  1393. Please make sure to pick the right CPU type. Linux/MIPS is not
  1394. designed to be generic, i.e. Kernels compiled for R3000 CPUs will
  1395. *not* work on R4000 machines and vice versa. However, since most
  1396. of the supported machines have an R4000 (or similar) CPU, R4x00
  1397. might be a safe bet. If the resulting kernel does not work,
  1398. try to recompile with R3000.
  1399. config CPU_TX39XX
  1400. bool "R39XX"
  1401. depends on SYS_HAS_CPU_TX39XX
  1402. select CPU_SUPPORTS_32BIT_KERNEL
  1403. config CPU_VR41XX
  1404. bool "R41xx"
  1405. depends on SYS_HAS_CPU_VR41XX
  1406. select CPU_SUPPORTS_32BIT_KERNEL
  1407. select CPU_SUPPORTS_64BIT_KERNEL
  1408. help
  1409. The options selects support for the NEC VR4100 series of processors.
  1410. Only choose this option if you have one of these processors as a
  1411. kernel built with this option will not run on any other type of
  1412. processor or vice versa.
  1413. config CPU_R4300
  1414. bool "R4300"
  1415. depends on SYS_HAS_CPU_R4300
  1416. select CPU_SUPPORTS_32BIT_KERNEL
  1417. select CPU_SUPPORTS_64BIT_KERNEL
  1418. help
  1419. MIPS Technologies R4300-series processors.
  1420. config CPU_R4X00
  1421. bool "R4x00"
  1422. depends on SYS_HAS_CPU_R4X00
  1423. select CPU_SUPPORTS_32BIT_KERNEL
  1424. select CPU_SUPPORTS_64BIT_KERNEL
  1425. select CPU_SUPPORTS_HUGEPAGES
  1426. help
  1427. MIPS Technologies R4000-series processors other than 4300, including
  1428. the R4000, R4400, R4600, and 4700.
  1429. config CPU_TX49XX
  1430. bool "R49XX"
  1431. depends on SYS_HAS_CPU_TX49XX
  1432. select CPU_HAS_PREFETCH
  1433. select CPU_SUPPORTS_32BIT_KERNEL
  1434. select CPU_SUPPORTS_64BIT_KERNEL
  1435. select CPU_SUPPORTS_HUGEPAGES
  1436. config CPU_R5000
  1437. bool "R5000"
  1438. depends on SYS_HAS_CPU_R5000
  1439. select CPU_SUPPORTS_32BIT_KERNEL
  1440. select CPU_SUPPORTS_64BIT_KERNEL
  1441. select CPU_SUPPORTS_HUGEPAGES
  1442. help
  1443. MIPS Technologies R5000-series processors other than the Nevada.
  1444. config CPU_R5432
  1445. bool "R5432"
  1446. depends on SYS_HAS_CPU_R5432
  1447. select CPU_SUPPORTS_32BIT_KERNEL
  1448. select CPU_SUPPORTS_64BIT_KERNEL
  1449. select CPU_SUPPORTS_HUGEPAGES
  1450. config CPU_R5500
  1451. bool "R5500"
  1452. depends on SYS_HAS_CPU_R5500
  1453. select CPU_SUPPORTS_32BIT_KERNEL
  1454. select CPU_SUPPORTS_64BIT_KERNEL
  1455. select CPU_SUPPORTS_HUGEPAGES
  1456. help
  1457. NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
  1458. instruction set.
  1459. config CPU_NEVADA
  1460. bool "RM52xx"
  1461. depends on SYS_HAS_CPU_NEVADA
  1462. select CPU_SUPPORTS_32BIT_KERNEL
  1463. select CPU_SUPPORTS_64BIT_KERNEL
  1464. select CPU_SUPPORTS_HUGEPAGES
  1465. help
  1466. QED / PMC-Sierra RM52xx-series ("Nevada") processors.
  1467. config CPU_R8000
  1468. bool "R8000"
  1469. depends on SYS_HAS_CPU_R8000
  1470. select CPU_HAS_PREFETCH
  1471. select CPU_SUPPORTS_64BIT_KERNEL
  1472. help
  1473. MIPS Technologies R8000 processors. Note these processors are
  1474. uncommon and the support for them is incomplete.
  1475. config CPU_R10000
  1476. bool "R10000"
  1477. depends on SYS_HAS_CPU_R10000
  1478. select CPU_HAS_PREFETCH
  1479. select CPU_SUPPORTS_32BIT_KERNEL
  1480. select CPU_SUPPORTS_64BIT_KERNEL
  1481. select CPU_SUPPORTS_HIGHMEM
  1482. select CPU_SUPPORTS_HUGEPAGES
  1483. help
  1484. MIPS Technologies R10000-series processors.
  1485. config CPU_RM7000
  1486. bool "RM7000"
  1487. depends on SYS_HAS_CPU_RM7000
  1488. select CPU_HAS_PREFETCH
  1489. select CPU_SUPPORTS_32BIT_KERNEL
  1490. select CPU_SUPPORTS_64BIT_KERNEL
  1491. select CPU_SUPPORTS_HIGHMEM
  1492. select CPU_SUPPORTS_HUGEPAGES
  1493. config CPU_SB1
  1494. bool "SB1"
  1495. depends on SYS_HAS_CPU_SB1
  1496. select CPU_SUPPORTS_32BIT_KERNEL
  1497. select CPU_SUPPORTS_64BIT_KERNEL
  1498. select CPU_SUPPORTS_HIGHMEM
  1499. select CPU_SUPPORTS_HUGEPAGES
  1500. select WEAK_ORDERING
  1501. config CPU_CAVIUM_OCTEON
  1502. bool "Cavium Octeon processor"
  1503. depends on SYS_HAS_CPU_CAVIUM_OCTEON
  1504. select CPU_HAS_PREFETCH
  1505. select CPU_SUPPORTS_64BIT_KERNEL
  1506. select WEAK_ORDERING
  1507. select CPU_SUPPORTS_HIGHMEM
  1508. select CPU_SUPPORTS_HUGEPAGES
  1509. select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
  1510. select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
  1511. select MIPS_L1_CACHE_SHIFT_7
  1512. select HAVE_KVM
  1513. help
  1514. The Cavium Octeon processor is a highly integrated chip containing
  1515. many ethernet hardware widgets for networking tasks. The processor
  1516. can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
  1517. Full details can be found at http://www.caviumnetworks.com.
  1518. config CPU_BMIPS
  1519. bool "Broadcom BMIPS"
  1520. depends on SYS_HAS_CPU_BMIPS
  1521. select CPU_MIPS32
  1522. select CPU_BMIPS32_3300 if SYS_HAS_CPU_BMIPS32_3300
  1523. select CPU_BMIPS4350 if SYS_HAS_CPU_BMIPS4350
  1524. select CPU_BMIPS4380 if SYS_HAS_CPU_BMIPS4380
  1525. select CPU_BMIPS5000 if SYS_HAS_CPU_BMIPS5000
  1526. select CPU_SUPPORTS_32BIT_KERNEL
  1527. select DMA_NONCOHERENT
  1528. select IRQ_MIPS_CPU
  1529. select SWAP_IO_SPACE
  1530. select WEAK_ORDERING
  1531. select CPU_SUPPORTS_HIGHMEM
  1532. select CPU_HAS_PREFETCH
  1533. select CPU_SUPPORTS_CPUFREQ
  1534. select MIPS_EXTERNAL_TIMER
  1535. help
  1536. Support for BMIPS32/3300/4350/4380 and BMIPS5000 processors.
  1537. config CPU_XLR
  1538. bool "Netlogic XLR SoC"
  1539. depends on SYS_HAS_CPU_XLR
  1540. select CPU_SUPPORTS_32BIT_KERNEL
  1541. select CPU_SUPPORTS_64BIT_KERNEL
  1542. select CPU_SUPPORTS_HIGHMEM
  1543. select CPU_SUPPORTS_HUGEPAGES
  1544. select WEAK_ORDERING
  1545. select WEAK_REORDERING_BEYOND_LLSC
  1546. help
  1547. Netlogic Microsystems XLR/XLS processors.
  1548. config CPU_XLP
  1549. bool "Netlogic XLP SoC"
  1550. depends on SYS_HAS_CPU_XLP
  1551. select CPU_SUPPORTS_32BIT_KERNEL
  1552. select CPU_SUPPORTS_64BIT_KERNEL
  1553. select CPU_SUPPORTS_HIGHMEM
  1554. select WEAK_ORDERING
  1555. select WEAK_REORDERING_BEYOND_LLSC
  1556. select CPU_HAS_PREFETCH
  1557. select CPU_MIPSR2
  1558. select CPU_SUPPORTS_HUGEPAGES
  1559. select MIPS_ASID_BITS_VARIABLE
  1560. help
  1561. Netlogic Microsystems XLP processors.
  1562. endchoice
  1563. config CPU_MIPS32_3_5_FEATURES
  1564. bool "MIPS32 Release 3.5 Features"
  1565. depends on SYS_HAS_CPU_MIPS32_R3_5
  1566. depends on CPU_MIPS32_R2 || CPU_MIPS32_R6
  1567. help
  1568. Choose this option to build a kernel for release 2 or later of the
  1569. MIPS32 architecture including features from the 3.5 release such as
  1570. support for Enhanced Virtual Addressing (EVA).
  1571. config CPU_MIPS32_3_5_EVA
  1572. bool "Enhanced Virtual Addressing (EVA)"
  1573. depends on CPU_MIPS32_3_5_FEATURES
  1574. select EVA
  1575. default y
  1576. help
  1577. Choose this option if you want to enable the Enhanced Virtual
  1578. Addressing (EVA) on your MIPS32 core (such as proAptiv).
  1579. One of its primary benefits is an increase in the maximum size
  1580. of lowmem (up to 3GB). If unsure, say 'N' here.
  1581. config CPU_MIPS32_R5_FEATURES
  1582. bool "MIPS32 Release 5 Features"
  1583. depends on SYS_HAS_CPU_MIPS32_R5
  1584. depends on CPU_MIPS32_R2
  1585. help
  1586. Choose this option to build a kernel for release 2 or later of the
  1587. MIPS32 architecture including features from release 5 such as
  1588. support for Extended Physical Addressing (XPA).
  1589. config CPU_MIPS32_R5_XPA
  1590. bool "Extended Physical Addressing (XPA)"
  1591. depends on CPU_MIPS32_R5_FEATURES
  1592. depends on !EVA
  1593. depends on !PAGE_SIZE_4KB
  1594. depends on SYS_SUPPORTS_HIGHMEM
  1595. select XPA
  1596. select HIGHMEM
  1597. select PHYS_ADDR_T_64BIT
  1598. default n
  1599. help
  1600. Choose this option if you want to enable the Extended Physical
  1601. Addressing (XPA) on your MIPS32 core (such as P5600 series). The
  1602. benefit is to increase physical addressing equal to or greater
  1603. than 40 bits. Note that this has the side effect of turning on
  1604. 64-bit addressing which in turn makes the PTEs 64-bit in size.
  1605. If unsure, say 'N' here.
  1606. if CPU_LOONGSON2F
  1607. config CPU_NOP_WORKAROUNDS
  1608. bool
  1609. config CPU_JUMP_WORKAROUNDS
  1610. bool
  1611. config CPU_LOONGSON2F_WORKAROUNDS
  1612. bool "Loongson 2F Workarounds"
  1613. default y
  1614. select CPU_NOP_WORKAROUNDS
  1615. select CPU_JUMP_WORKAROUNDS
  1616. help
  1617. Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which
  1618. require workarounds. Without workarounds the system may hang
  1619. unexpectedly. For more information please refer to the gas
  1620. -mfix-loongson2f-nop and -mfix-loongson2f-jump options.
  1621. Loongson 2F03 and later have fixed these issues and no workarounds
  1622. are needed. The workarounds have no significant side effect on them
  1623. but may decrease the performance of the system so this option should
  1624. be disabled unless the kernel is intended to be run on 2F01 or 2F02
  1625. systems.
  1626. If unsure, please say Y.
  1627. endif # CPU_LOONGSON2F
  1628. config SYS_SUPPORTS_ZBOOT
  1629. bool
  1630. select HAVE_KERNEL_GZIP
  1631. select HAVE_KERNEL_BZIP2
  1632. select HAVE_KERNEL_LZ4
  1633. select HAVE_KERNEL_LZMA
  1634. select HAVE_KERNEL_LZO
  1635. select HAVE_KERNEL_XZ
  1636. config SYS_SUPPORTS_ZBOOT_UART16550
  1637. bool
  1638. select SYS_SUPPORTS_ZBOOT
  1639. config SYS_SUPPORTS_ZBOOT_UART_PROM
  1640. bool
  1641. select SYS_SUPPORTS_ZBOOT
  1642. config CPU_LOONGSON2
  1643. bool
  1644. select CPU_SUPPORTS_32BIT_KERNEL
  1645. select CPU_SUPPORTS_64BIT_KERNEL
  1646. select CPU_SUPPORTS_HIGHMEM
  1647. select CPU_SUPPORTS_HUGEPAGES
  1648. select ARCH_HAS_PHYS_TO_DMA
  1649. config CPU_LOONGSON1
  1650. bool
  1651. select CPU_MIPS32
  1652. select CPU_MIPSR1
  1653. select CPU_HAS_PREFETCH
  1654. select CPU_SUPPORTS_32BIT_KERNEL
  1655. select CPU_SUPPORTS_HIGHMEM
  1656. select CPU_SUPPORTS_CPUFREQ
  1657. config CPU_BMIPS32_3300
  1658. select SMP_UP if SMP
  1659. bool
  1660. config CPU_BMIPS4350
  1661. bool
  1662. select SYS_SUPPORTS_SMP
  1663. select SYS_SUPPORTS_HOTPLUG_CPU
  1664. config CPU_BMIPS4380
  1665. bool
  1666. select MIPS_L1_CACHE_SHIFT_6
  1667. select SYS_SUPPORTS_SMP
  1668. select SYS_SUPPORTS_HOTPLUG_CPU
  1669. select CPU_HAS_RIXI
  1670. config CPU_BMIPS5000
  1671. bool
  1672. select MIPS_CPU_SCACHE
  1673. select MIPS_L1_CACHE_SHIFT_7
  1674. select SYS_SUPPORTS_SMP
  1675. select SYS_SUPPORTS_HOTPLUG_CPU
  1676. select CPU_HAS_RIXI
  1677. config SYS_HAS_CPU_LOONGSON3
  1678. bool
  1679. select CPU_SUPPORTS_CPUFREQ
  1680. select CPU_HAS_RIXI
  1681. config SYS_HAS_CPU_LOONGSON2E
  1682. bool
  1683. config SYS_HAS_CPU_LOONGSON2F
  1684. bool
  1685. select CPU_SUPPORTS_CPUFREQ
  1686. select CPU_SUPPORTS_ADDRWINCFG if 64BIT
  1687. select CPU_SUPPORTS_UNCACHED_ACCELERATED
  1688. config SYS_HAS_CPU_LOONGSON1B
  1689. bool
  1690. config SYS_HAS_CPU_LOONGSON1C
  1691. bool
  1692. config SYS_HAS_CPU_MIPS32_R1
  1693. bool
  1694. config SYS_HAS_CPU_MIPS32_R2
  1695. bool
  1696. config SYS_HAS_CPU_MIPS32_R3_5
  1697. bool
  1698. config SYS_HAS_CPU_MIPS32_R5
  1699. bool
  1700. config SYS_HAS_CPU_MIPS32_R6
  1701. bool
  1702. config SYS_HAS_CPU_MIPS64_R1
  1703. bool
  1704. config SYS_HAS_CPU_MIPS64_R2
  1705. bool
  1706. config SYS_HAS_CPU_MIPS64_R6
  1707. bool
  1708. config SYS_HAS_CPU_R3000
  1709. bool
  1710. config SYS_HAS_CPU_TX39XX
  1711. bool
  1712. config SYS_HAS_CPU_VR41XX
  1713. bool
  1714. config SYS_HAS_CPU_R4300
  1715. bool
  1716. config SYS_HAS_CPU_R4X00
  1717. bool
  1718. config SYS_HAS_CPU_TX49XX
  1719. bool
  1720. config SYS_HAS_CPU_R5000
  1721. bool
  1722. config SYS_HAS_CPU_R5432
  1723. bool
  1724. config SYS_HAS_CPU_R5500
  1725. bool
  1726. config SYS_HAS_CPU_NEVADA
  1727. bool
  1728. config SYS_HAS_CPU_R8000
  1729. bool
  1730. config SYS_HAS_CPU_R10000
  1731. bool
  1732. config SYS_HAS_CPU_RM7000
  1733. bool
  1734. config SYS_HAS_CPU_SB1
  1735. bool
  1736. config SYS_HAS_CPU_CAVIUM_OCTEON
  1737. bool
  1738. config SYS_HAS_CPU_BMIPS
  1739. bool
  1740. config SYS_HAS_CPU_BMIPS32_3300
  1741. bool
  1742. select SYS_HAS_CPU_BMIPS
  1743. config SYS_HAS_CPU_BMIPS4350
  1744. bool
  1745. select SYS_HAS_CPU_BMIPS
  1746. config SYS_HAS_CPU_BMIPS4380
  1747. bool
  1748. select SYS_HAS_CPU_BMIPS
  1749. config SYS_HAS_CPU_BMIPS5000
  1750. bool
  1751. select SYS_HAS_CPU_BMIPS
  1752. config SYS_HAS_CPU_XLR
  1753. bool
  1754. config SYS_HAS_CPU_XLP
  1755. bool
  1756. #
  1757. # CPU may reorder R->R, R->W, W->R, W->W
  1758. # Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
  1759. #
  1760. config WEAK_ORDERING
  1761. bool
  1762. #
  1763. # CPU may reorder reads and writes beyond LL/SC
  1764. # CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
  1765. #
  1766. config WEAK_REORDERING_BEYOND_LLSC
  1767. bool
  1768. endmenu
  1769. #
  1770. # These two indicate any level of the MIPS32 and MIPS64 architecture
  1771. #
  1772. config CPU_MIPS32
  1773. bool
  1774. default y if CPU_MIPS32_R1 || CPU_MIPS32_R2 || CPU_MIPS32_R6
  1775. config CPU_MIPS64
  1776. bool
  1777. default y if CPU_MIPS64_R1 || CPU_MIPS64_R2 || CPU_MIPS64_R6
  1778. #
  1779. # These two indicate the revision of the architecture, either Release 1 or Release 2
  1780. #
  1781. config CPU_MIPSR1
  1782. bool
  1783. default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
  1784. config CPU_MIPSR2
  1785. bool
  1786. default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
  1787. select CPU_HAS_RIXI
  1788. select MIPS_SPRAM
  1789. config CPU_MIPSR6
  1790. bool
  1791. default y if CPU_MIPS32_R6 || CPU_MIPS64_R6
  1792. select CPU_HAS_RIXI
  1793. select HAVE_ARCH_BITREVERSE
  1794. select MIPS_ASID_BITS_VARIABLE
  1795. select MIPS_CRC_SUPPORT
  1796. select MIPS_SPRAM
  1797. config EVA
  1798. bool
  1799. config XPA
  1800. bool
  1801. config SYS_SUPPORTS_32BIT_KERNEL
  1802. bool
  1803. config SYS_SUPPORTS_64BIT_KERNEL
  1804. bool
  1805. config CPU_SUPPORTS_32BIT_KERNEL
  1806. bool
  1807. config CPU_SUPPORTS_64BIT_KERNEL
  1808. bool
  1809. config CPU_SUPPORTS_CPUFREQ
  1810. bool
  1811. config CPU_SUPPORTS_ADDRWINCFG
  1812. bool
  1813. config CPU_SUPPORTS_HUGEPAGES
  1814. bool
  1815. config CPU_SUPPORTS_UNCACHED_ACCELERATED
  1816. bool
  1817. config MIPS_PGD_C0_CONTEXT
  1818. bool
  1819. default y if 64BIT && (CPU_MIPSR2 || CPU_MIPSR6) && !CPU_XLP
  1820. #
  1821. # Set to y for ptrace access to watch registers.
  1822. #
  1823. config HARDWARE_WATCHPOINTS
  1824. bool
  1825. default y if CPU_MIPSR1 || CPU_MIPSR2 || CPU_MIPSR6
  1826. menu "Kernel type"
  1827. choice
  1828. prompt "Kernel code model"
  1829. help
  1830. You should only select this option if you have a workload that
  1831. actually benefits from 64-bit processing or if your machine has
  1832. large memory. You will only be presented a single option in this
  1833. menu if your system does not support both 32-bit and 64-bit kernels.
  1834. config 32BIT
  1835. bool "32-bit kernel"
  1836. depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
  1837. select TRAD_SIGNALS
  1838. help
  1839. Select this option if you want to build a 32-bit kernel.
  1840. config 64BIT
  1841. bool "64-bit kernel"
  1842. depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
  1843. help
  1844. Select this option if you want to build a 64-bit kernel.
  1845. endchoice
  1846. config KVM_GUEST
  1847. bool "KVM Guest Kernel"
  1848. depends on BROKEN_ON_SMP
  1849. help
  1850. Select this option if building a guest kernel for KVM (Trap & Emulate)
  1851. mode.
  1852. config KVM_GUEST_TIMER_FREQ
  1853. int "Count/Compare Timer Frequency (MHz)"
  1854. depends on KVM_GUEST
  1855. default 100
  1856. help
  1857. Set this to non-zero if building a guest kernel for KVM to skip RTC
  1858. emulation when determining guest CPU Frequency. Instead, the guest's
  1859. timer frequency is specified directly.
  1860. config MIPS_VA_BITS_48
  1861. bool "48 bits virtual memory"
  1862. depends on 64BIT
  1863. help
  1864. Support a maximum at least 48 bits of application virtual
  1865. memory. Default is 40 bits or less, depending on the CPU.
  1866. For page sizes 16k and above, this option results in a small
  1867. memory overhead for page tables. For 4k page size, a fourth
  1868. level of page tables is added which imposes both a memory
  1869. overhead as well as slower TLB fault handling.
  1870. If unsure, say N.
  1871. choice
  1872. prompt "Kernel page size"
  1873. default PAGE_SIZE_4KB
  1874. config PAGE_SIZE_4KB
  1875. bool "4kB"
  1876. depends on !CPU_LOONGSON2 && !CPU_LOONGSON3
  1877. help
  1878. This option select the standard 4kB Linux page size. On some
  1879. R3000-family processors this is the only available page size. Using
  1880. 4kB page size will minimize memory consumption and is therefore
  1881. recommended for low memory systems.
  1882. config PAGE_SIZE_8KB
  1883. bool "8kB"
  1884. depends on CPU_R8000 || CPU_CAVIUM_OCTEON
  1885. depends on !MIPS_VA_BITS_48
  1886. help
  1887. Using 8kB page size will result in higher performance kernel at
  1888. the price of higher memory consumption. This option is available
  1889. only on R8000 and cnMIPS processors. Note that you will need a
  1890. suitable Linux distribution to support this.
  1891. config PAGE_SIZE_16KB
  1892. bool "16kB"
  1893. depends on !CPU_R3000 && !CPU_TX39XX
  1894. help
  1895. Using 16kB page size will result in higher performance kernel at
  1896. the price of higher memory consumption. This option is available on
  1897. all non-R3000 family processors. Note that you will need a suitable
  1898. Linux distribution to support this.
  1899. config PAGE_SIZE_32KB
  1900. bool "32kB"
  1901. depends on CPU_CAVIUM_OCTEON
  1902. depends on !MIPS_VA_BITS_48
  1903. help
  1904. Using 32kB page size will result in higher performance kernel at
  1905. the price of higher memory consumption. This option is available
  1906. only on cnMIPS cores. Note that you will need a suitable Linux
  1907. distribution to support this.
  1908. config PAGE_SIZE_64KB
  1909. bool "64kB"
  1910. depends on !CPU_R3000 && !CPU_TX39XX
  1911. help
  1912. Using 64kB page size will result in higher performance kernel at
  1913. the price of higher memory consumption. This option is available on
  1914. all non-R3000 family processor. Not that at the time of this
  1915. writing this option is still high experimental.
  1916. endchoice
  1917. config FORCE_MAX_ZONEORDER
  1918. int "Maximum zone order"
  1919. range 14 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB
  1920. default "14" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB
  1921. range 13 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB
  1922. default "13" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB
  1923. range 12 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB
  1924. default "12" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB
  1925. range 11 64
  1926. default "11"
  1927. help
  1928. The kernel memory allocator divides physically contiguous memory
  1929. blocks into "zones", where each zone is a power of two number of
  1930. pages. This option selects the largest power of two that the kernel
  1931. keeps in the memory allocator. If you need to allocate very large
  1932. blocks of physically contiguous memory, then you may need to
  1933. increase this value.
  1934. This config option is actually maximum order plus one. For example,
  1935. a value of 11 means that the largest free memory block is 2^10 pages.
  1936. The page size is not necessarily 4KB. Keep this in mind
  1937. when choosing a value for this option.
  1938. config BOARD_SCACHE
  1939. bool
  1940. config IP22_CPU_SCACHE
  1941. bool
  1942. select BOARD_SCACHE
  1943. #
  1944. # Support for a MIPS32 / MIPS64 style S-caches
  1945. #
  1946. config MIPS_CPU_SCACHE
  1947. bool
  1948. select BOARD_SCACHE
  1949. config R5000_CPU_SCACHE
  1950. bool
  1951. select BOARD_SCACHE
  1952. config RM7000_CPU_SCACHE
  1953. bool
  1954. select BOARD_SCACHE
  1955. config SIBYTE_DMA_PAGEOPS
  1956. bool "Use DMA to clear/copy pages"
  1957. depends on CPU_SB1
  1958. help
  1959. Instead of using the CPU to zero and copy pages, use a Data Mover
  1960. channel. These DMA channels are otherwise unused by the standard
  1961. SiByte Linux port. Seems to give a small performance benefit.
  1962. config CPU_HAS_PREFETCH
  1963. bool
  1964. config CPU_GENERIC_DUMP_TLB
  1965. bool
  1966. default y if !(CPU_R3000 || CPU_R8000 || CPU_TX39XX)
  1967. config CPU_R4K_FPU
  1968. bool
  1969. default y if !(CPU_R3000 || CPU_TX39XX)
  1970. config CPU_R4K_CACHE_TLB
  1971. bool
  1972. default y if !(CPU_R3000 || CPU_R8000 || CPU_SB1 || CPU_TX39XX || CPU_CAVIUM_OCTEON)
  1973. config MIPS_MT_SMP
  1974. bool "MIPS MT SMP support (1 TC on each available VPE)"
  1975. default y
  1976. depends on SYS_SUPPORTS_MULTITHREADING && !CPU_MIPSR6 && !CPU_MICROMIPS
  1977. select CPU_MIPSR2_IRQ_VI
  1978. select CPU_MIPSR2_IRQ_EI
  1979. select SYNC_R4K
  1980. select MIPS_MT
  1981. select SMP
  1982. select SMP_UP
  1983. select SYS_SUPPORTS_SMP
  1984. select SYS_SUPPORTS_SCHED_SMT
  1985. select MIPS_PERF_SHARED_TC_COUNTERS
  1986. help
  1987. This is a kernel model which is known as SMVP. This is supported
  1988. on cores with the MT ASE and uses the available VPEs to implement
  1989. virtual processors which supports SMP. This is equivalent to the
  1990. Intel Hyperthreading feature. For further information go to
  1991. <http://www.imgtec.com/mips/mips-multithreading.asp>.
  1992. config MIPS_MT
  1993. bool
  1994. config SCHED_SMT
  1995. bool "SMT (multithreading) scheduler support"
  1996. depends on SYS_SUPPORTS_SCHED_SMT
  1997. default n
  1998. help
  1999. SMT scheduler support improves the CPU scheduler's decision making
  2000. when dealing with MIPS MT enabled cores at a cost of slightly
  2001. increased overhead in some places. If unsure say N here.
  2002. config SYS_SUPPORTS_SCHED_SMT
  2003. bool
  2004. config SYS_SUPPORTS_MULTITHREADING
  2005. bool
  2006. config MIPS_MT_FPAFF
  2007. bool "Dynamic FPU affinity for FP-intensive threads"
  2008. default y
  2009. depends on MIPS_MT_SMP
  2010. config MIPSR2_TO_R6_EMULATOR
  2011. bool "MIPS R2-to-R6 emulator"
  2012. depends on CPU_MIPSR6
  2013. default y
  2014. help
  2015. Choose this option if you want to run non-R6 MIPS userland code.
  2016. Even if you say 'Y' here, the emulator will still be disabled by
  2017. default. You can enable it using the 'mipsr2emu' kernel option.
  2018. The only reason this is a build-time option is to save ~14K from the
  2019. final kernel image.
  2020. config SYS_SUPPORTS_VPE_LOADER
  2021. bool
  2022. depends on SYS_SUPPORTS_MULTITHREADING
  2023. help
  2024. Indicates that the platform supports the VPE loader, and provides
  2025. physical_memsize.
  2026. config MIPS_VPE_LOADER
  2027. bool "VPE loader support."
  2028. depends on SYS_SUPPORTS_VPE_LOADER && MODULES
  2029. select CPU_MIPSR2_IRQ_VI
  2030. select CPU_MIPSR2_IRQ_EI
  2031. select MIPS_MT
  2032. help
  2033. Includes a loader for loading an elf relocatable object
  2034. onto another VPE and running it.
  2035. config MIPS_VPE_LOADER_CMP
  2036. bool
  2037. default "y"
  2038. depends on MIPS_VPE_LOADER && MIPS_CMP
  2039. config MIPS_VPE_LOADER_MT
  2040. bool
  2041. default "y"
  2042. depends on MIPS_VPE_LOADER && !MIPS_CMP
  2043. config MIPS_VPE_LOADER_TOM
  2044. bool "Load VPE program into memory hidden from linux"
  2045. depends on MIPS_VPE_LOADER
  2046. default y
  2047. help
  2048. The loader can use memory that is present but has been hidden from
  2049. Linux using the kernel command line option "mem=xxMB". It's up to
  2050. you to ensure the amount you put in the option and the space your
  2051. program requires is less or equal to the amount physically present.
  2052. config MIPS_VPE_APSP_API
  2053. bool "Enable support for AP/SP API (RTLX)"
  2054. depends on MIPS_VPE_LOADER
  2055. config MIPS_VPE_APSP_API_CMP
  2056. bool
  2057. default "y"
  2058. depends on MIPS_VPE_APSP_API && MIPS_CMP
  2059. config MIPS_VPE_APSP_API_MT
  2060. bool
  2061. default "y"
  2062. depends on MIPS_VPE_APSP_API && !MIPS_CMP
  2063. config MIPS_CMP
  2064. bool "MIPS CMP framework support (DEPRECATED)"
  2065. depends on SYS_SUPPORTS_MIPS_CMP && !CPU_MIPSR6
  2066. select SMP
  2067. select SYNC_R4K
  2068. select SYS_SUPPORTS_SMP
  2069. select WEAK_ORDERING
  2070. default n
  2071. help
  2072. Select this if you are using a bootloader which implements the "CMP
  2073. framework" protocol (ie. YAMON) and want your kernel to make use of
  2074. its ability to start secondary CPUs.
  2075. Unless you have a specific need, you should use CONFIG_MIPS_CPS
  2076. instead of this.
  2077. config MIPS_CPS
  2078. bool "MIPS Coherent Processing System support"
  2079. depends on SYS_SUPPORTS_MIPS_CPS
  2080. select MIPS_CM
  2081. select MIPS_CPS_PM if HOTPLUG_CPU
  2082. select SMP
  2083. select SYNC_R4K if (CEVT_R4K || CSRC_R4K)
  2084. select SYS_SUPPORTS_HOTPLUG_CPU
  2085. select SYS_SUPPORTS_SCHED_SMT if CPU_MIPSR6
  2086. select SYS_SUPPORTS_SMP
  2087. select WEAK_ORDERING
  2088. help
  2089. Select this if you wish to run an SMP kernel across multiple cores
  2090. within a MIPS Coherent Processing System. When this option is
  2091. enabled the kernel will probe for other cores and boot them with
  2092. no external assistance. It is safe to enable this when hardware
  2093. support is unavailable.
  2094. config MIPS_CPS_PM
  2095. depends on MIPS_CPS
  2096. bool
  2097. config MIPS_CM
  2098. bool
  2099. select MIPS_CPC
  2100. config MIPS_CPC
  2101. bool
  2102. config SB1_PASS_2_WORKAROUNDS
  2103. bool
  2104. depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
  2105. default y
  2106. config SB1_PASS_2_1_WORKAROUNDS
  2107. bool
  2108. depends on CPU_SB1 && CPU_SB1_PASS_2
  2109. default y
  2110. choice
  2111. prompt "SmartMIPS or microMIPS ASE support"
  2112. config CPU_NEEDS_NO_SMARTMIPS_OR_MICROMIPS
  2113. bool "None"
  2114. help
  2115. Select this if you want neither microMIPS nor SmartMIPS support
  2116. config CPU_HAS_SMARTMIPS
  2117. depends on SYS_SUPPORTS_SMARTMIPS
  2118. bool "SmartMIPS"
  2119. help
  2120. SmartMIPS is a extension of the MIPS32 architecture aimed at
  2121. increased security at both hardware and software level for
  2122. smartcards. Enabling this option will allow proper use of the
  2123. SmartMIPS instructions by Linux applications. However a kernel with
  2124. this option will not work on a MIPS core without SmartMIPS core. If
  2125. you don't know you probably don't have SmartMIPS and should say N
  2126. here.
  2127. config CPU_MICROMIPS
  2128. depends on 32BIT && SYS_SUPPORTS_MICROMIPS && !CPU_MIPSR6
  2129. bool "microMIPS"
  2130. help
  2131. When this option is enabled the kernel will be built using the
  2132. microMIPS ISA
  2133. endchoice
  2134. config CPU_HAS_MSA
  2135. bool "Support for the MIPS SIMD Architecture"
  2136. depends on CPU_SUPPORTS_MSA
  2137. depends on 64BIT || MIPS_O32_FP64_SUPPORT
  2138. help
  2139. MIPS SIMD Architecture (MSA) introduces 128 bit wide vector registers
  2140. and a set of SIMD instructions to operate on them. When this option
  2141. is enabled the kernel will support allocating & switching MSA
  2142. vector register contexts. If you know that your kernel will only be
  2143. running on CPUs which do not support MSA or that your userland will
  2144. not be making use of it then you may wish to say N here to reduce
  2145. the size & complexity of your kernel.
  2146. If unsure, say Y.
  2147. config CPU_HAS_WB
  2148. bool
  2149. config XKS01
  2150. bool
  2151. config CPU_HAS_RIXI
  2152. bool
  2153. #
  2154. # Vectored interrupt mode is an R2 feature
  2155. #
  2156. config CPU_MIPSR2_IRQ_VI
  2157. bool
  2158. #
  2159. # Extended interrupt mode is an R2 feature
  2160. #
  2161. config CPU_MIPSR2_IRQ_EI
  2162. bool
  2163. config CPU_HAS_SYNC
  2164. bool
  2165. depends on !CPU_R3000
  2166. default y
  2167. #
  2168. # CPU non-features
  2169. #
  2170. config CPU_DADDI_WORKAROUNDS
  2171. bool
  2172. config CPU_R4000_WORKAROUNDS
  2173. bool
  2174. select CPU_R4400_WORKAROUNDS
  2175. config CPU_R4400_WORKAROUNDS
  2176. bool
  2177. config MIPS_ASID_SHIFT
  2178. int
  2179. default 6 if CPU_R3000 || CPU_TX39XX
  2180. default 4 if CPU_R8000
  2181. default 0
  2182. config MIPS_ASID_BITS
  2183. int
  2184. default 0 if MIPS_ASID_BITS_VARIABLE
  2185. default 6 if CPU_R3000 || CPU_TX39XX
  2186. default 8
  2187. config MIPS_ASID_BITS_VARIABLE
  2188. bool
  2189. config MIPS_CRC_SUPPORT
  2190. bool
  2191. #
  2192. # - Highmem only makes sense for the 32-bit kernel.
  2193. # - The current highmem code will only work properly on physically indexed
  2194. # caches such as R3000, SB1, R7000 or those that look like they're virtually
  2195. # indexed such as R4000/R4400 SC and MC versions or R10000. So for the
  2196. # moment we protect the user and offer the highmem option only on machines
  2197. # where it's known to be safe. This will not offer highmem on a few systems
  2198. # such as MIPS32 and MIPS64 CPUs which may have virtual and physically
  2199. # indexed CPUs but we're playing safe.
  2200. # - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
  2201. # know they might have memory configurations that could make use of highmem
  2202. # support.
  2203. #
  2204. config HIGHMEM
  2205. bool "High Memory Support"
  2206. depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM && !CPU_MIPS32_3_5_EVA
  2207. config CPU_SUPPORTS_HIGHMEM
  2208. bool
  2209. config SYS_SUPPORTS_HIGHMEM
  2210. bool
  2211. config SYS_SUPPORTS_SMARTMIPS
  2212. bool
  2213. config SYS_SUPPORTS_MICROMIPS
  2214. bool
  2215. config SYS_SUPPORTS_MIPS16
  2216. bool
  2217. help
  2218. This option must be set if a kernel might be executed on a MIPS16-
  2219. enabled CPU even if MIPS16 is not actually being used. In other
  2220. words, it makes the kernel MIPS16-tolerant.
  2221. config CPU_SUPPORTS_MSA
  2222. bool
  2223. config ARCH_FLATMEM_ENABLE
  2224. def_bool y
  2225. depends on !NUMA && !CPU_LOONGSON2
  2226. config ARCH_DISCONTIGMEM_ENABLE
  2227. bool
  2228. default y if SGI_IP27
  2229. help
  2230. Say Y to support efficient handling of discontiguous physical memory,
  2231. for architectures which are either NUMA (Non-Uniform Memory Access)
  2232. or have huge holes in the physical address space for other reasons.
  2233. See <file:Documentation/vm/numa.rst> for more.
  2234. config ARCH_SPARSEMEM_ENABLE
  2235. bool
  2236. select SPARSEMEM_STATIC
  2237. config NUMA
  2238. bool "NUMA Support"
  2239. depends on SYS_SUPPORTS_NUMA
  2240. help
  2241. Say Y to compile the kernel to support NUMA (Non-Uniform Memory
  2242. Access). This option improves performance on systems with more
  2243. than two nodes; on two node systems it is generally better to
  2244. leave it disabled; on single node systems disable this option
  2245. disabled.
  2246. config SYS_SUPPORTS_NUMA
  2247. bool
  2248. config RELOCATABLE
  2249. bool "Relocatable kernel"
  2250. depends on SYS_SUPPORTS_RELOCATABLE && (CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_MIPS32_R6 || CPU_MIPS64_R6 || CAVIUM_OCTEON_SOC)
  2251. help
  2252. This builds a kernel image that retains relocation information
  2253. so it can be loaded someplace besides the default 1MB.
  2254. The relocations make the kernel binary about 15% larger,
  2255. but are discarded at runtime
  2256. config RELOCATION_TABLE_SIZE
  2257. hex "Relocation table size"
  2258. depends on RELOCATABLE
  2259. range 0x0 0x01000000
  2260. default "0x00100000"
  2261. ---help---
  2262. A table of relocation data will be appended to the kernel binary
  2263. and parsed at boot to fix up the relocated kernel.
  2264. This option allows the amount of space reserved for the table to be
  2265. adjusted, although the default of 1Mb should be ok in most cases.
  2266. The build will fail and a valid size suggested if this is too small.
  2267. If unsure, leave at the default value.
  2268. config RANDOMIZE_BASE
  2269. bool "Randomize the address of the kernel image"
  2270. depends on RELOCATABLE
  2271. ---help---
  2272. Randomizes the physical and virtual address at which the
  2273. kernel image is loaded, as a security feature that
  2274. deters exploit attempts relying on knowledge of the location
  2275. of kernel internals.
  2276. Entropy is generated using any coprocessor 0 registers available.
  2277. The kernel will be offset by up to RANDOMIZE_BASE_MAX_OFFSET.
  2278. If unsure, say N.
  2279. config RANDOMIZE_BASE_MAX_OFFSET
  2280. hex "Maximum kASLR offset" if EXPERT
  2281. depends on RANDOMIZE_BASE
  2282. range 0x0 0x40000000 if EVA || 64BIT
  2283. range 0x0 0x08000000
  2284. default "0x01000000"
  2285. ---help---
  2286. When kASLR is active, this provides the maximum offset that will
  2287. be applied to the kernel image. It should be set according to the
  2288. amount of physical RAM available in the target system minus
  2289. PHYSICAL_START and must be a power of 2.
  2290. This is limited by the size of KSEG0, 256Mb on 32-bit or 1Gb with
  2291. EVA or 64-bit. The default is 16Mb.
  2292. config NODES_SHIFT
  2293. int
  2294. default "6"
  2295. depends on NEED_MULTIPLE_NODES
  2296. config HW_PERF_EVENTS
  2297. bool "Enable hardware performance counter support for perf events"
  2298. depends on PERF_EVENTS && !OPROFILE && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON || CPU_XLP || CPU_LOONGSON3)
  2299. default y
  2300. help
  2301. Enable hardware performance counter support for perf events. If
  2302. disabled, perf events will use software events only.
  2303. config SMP
  2304. bool "Multi-Processing support"
  2305. depends on SYS_SUPPORTS_SMP
  2306. help
  2307. This enables support for systems with more than one CPU. If you have
  2308. a system with only one CPU, say N. If you have a system with more
  2309. than one CPU, say Y.
  2310. If you say N here, the kernel will run on uni- and multiprocessor
  2311. machines, but will use only one CPU of a multiprocessor machine. If
  2312. you say Y here, the kernel will run on many, but not all,
  2313. uniprocessor machines. On a uniprocessor machine, the kernel
  2314. will run faster if you say N here.
  2315. People using multiprocessor machines who say Y here should also say
  2316. Y to "Enhanced Real Time Clock Support", below.
  2317. See also the SMP-HOWTO available at
  2318. <http://www.tldp.org/docs.html#howto>.
  2319. If you don't know what to do here, say N.
  2320. config HOTPLUG_CPU
  2321. bool "Support for hot-pluggable CPUs"
  2322. depends on SMP && SYS_SUPPORTS_HOTPLUG_CPU
  2323. help
  2324. Say Y here to allow turning CPUs off and on. CPUs can be
  2325. controlled through /sys/devices/system/cpu.
  2326. (Note: power management support will enable this option
  2327. automatically on SMP systems. )
  2328. Say N if you want to disable CPU hotplug.
  2329. config SMP_UP
  2330. bool
  2331. config SYS_SUPPORTS_MIPS_CMP
  2332. bool
  2333. config SYS_SUPPORTS_MIPS_CPS
  2334. bool
  2335. config SYS_SUPPORTS_SMP
  2336. bool
  2337. config NR_CPUS_DEFAULT_4
  2338. bool
  2339. config NR_CPUS_DEFAULT_8
  2340. bool
  2341. config NR_CPUS_DEFAULT_16
  2342. bool
  2343. config NR_CPUS_DEFAULT_32
  2344. bool
  2345. config NR_CPUS_DEFAULT_64
  2346. bool
  2347. config NR_CPUS
  2348. int "Maximum number of CPUs (2-256)"
  2349. range 2 256
  2350. depends on SMP
  2351. default "4" if NR_CPUS_DEFAULT_4
  2352. default "8" if NR_CPUS_DEFAULT_8
  2353. default "16" if NR_CPUS_DEFAULT_16
  2354. default "32" if NR_CPUS_DEFAULT_32
  2355. default "64" if NR_CPUS_DEFAULT_64
  2356. help
  2357. This allows you to specify the maximum number of CPUs which this
  2358. kernel will support. The maximum supported value is 32 for 32-bit
  2359. kernel and 64 for 64-bit kernels; the minimum value which makes
  2360. sense is 1 for Qemu (useful only for kernel debugging purposes)
  2361. and 2 for all others.
  2362. This is purely to save memory - each supported CPU adds
  2363. approximately eight kilobytes to the kernel image. For best
  2364. performance should round up your number of processors to the next
  2365. power of two.
  2366. config MIPS_PERF_SHARED_TC_COUNTERS
  2367. bool
  2368. config MIPS_NR_CPU_NR_MAP_1024
  2369. bool
  2370. config MIPS_NR_CPU_NR_MAP
  2371. int
  2372. depends on SMP
  2373. default 1024 if MIPS_NR_CPU_NR_MAP_1024
  2374. default NR_CPUS if !MIPS_NR_CPU_NR_MAP_1024
  2375. #
  2376. # Timer Interrupt Frequency Configuration
  2377. #
  2378. choice
  2379. prompt "Timer frequency"
  2380. default HZ_250
  2381. help
  2382. Allows the configuration of the timer frequency.
  2383. config HZ_24
  2384. bool "24 HZ" if SYS_SUPPORTS_24HZ || SYS_SUPPORTS_ARBIT_HZ
  2385. config HZ_48
  2386. bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
  2387. config HZ_100
  2388. bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
  2389. config HZ_128
  2390. bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
  2391. config HZ_250
  2392. bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
  2393. config HZ_256
  2394. bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
  2395. config HZ_1000
  2396. bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
  2397. config HZ_1024
  2398. bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
  2399. endchoice
  2400. config SYS_SUPPORTS_24HZ
  2401. bool
  2402. config SYS_SUPPORTS_48HZ
  2403. bool
  2404. config SYS_SUPPORTS_100HZ
  2405. bool
  2406. config SYS_SUPPORTS_128HZ
  2407. bool
  2408. config SYS_SUPPORTS_250HZ
  2409. bool
  2410. config SYS_SUPPORTS_256HZ
  2411. bool
  2412. config SYS_SUPPORTS_1000HZ
  2413. bool
  2414. config SYS_SUPPORTS_1024HZ
  2415. bool
  2416. config SYS_SUPPORTS_ARBIT_HZ
  2417. bool
  2418. default y if !SYS_SUPPORTS_24HZ && \
  2419. !SYS_SUPPORTS_48HZ && \
  2420. !SYS_SUPPORTS_100HZ && \
  2421. !SYS_SUPPORTS_128HZ && \
  2422. !SYS_SUPPORTS_250HZ && \
  2423. !SYS_SUPPORTS_256HZ && \
  2424. !SYS_SUPPORTS_1000HZ && \
  2425. !SYS_SUPPORTS_1024HZ
  2426. config HZ
  2427. int
  2428. default 24 if HZ_24
  2429. default 48 if HZ_48
  2430. default 100 if HZ_100
  2431. default 128 if HZ_128
  2432. default 250 if HZ_250
  2433. default 256 if HZ_256
  2434. default 1000 if HZ_1000
  2435. default 1024 if HZ_1024
  2436. config SCHED_HRTICK
  2437. def_bool HIGH_RES_TIMERS
  2438. config KEXEC
  2439. bool "Kexec system call"
  2440. select KEXEC_CORE
  2441. help
  2442. kexec is a system call that implements the ability to shutdown your
  2443. current kernel, and to start another kernel. It is like a reboot
  2444. but it is independent of the system firmware. And like a reboot
  2445. you can start any kernel with it, not just Linux.
  2446. The name comes from the similarity to the exec system call.
  2447. It is an ongoing process to be certain the hardware in a machine
  2448. is properly shutdown, so do not be surprised if this code does not
  2449. initially work for you. As of this writing the exact hardware
  2450. interface is strongly in flux, so no good recommendation can be
  2451. made.
  2452. config CRASH_DUMP
  2453. bool "Kernel crash dumps"
  2454. help
  2455. Generate crash dump after being started by kexec.
  2456. This should be normally only set in special crash dump kernels
  2457. which are loaded in the main kernel with kexec-tools into
  2458. a specially reserved region and then later executed after
  2459. a crash by kdump/kexec. The crash dump kernel must be compiled
  2460. to a memory address not used by the main kernel or firmware using
  2461. PHYSICAL_START.
  2462. config PHYSICAL_START
  2463. hex "Physical address where the kernel is loaded"
  2464. default "0xffffffff84000000"
  2465. depends on CRASH_DUMP
  2466. help
  2467. This gives the CKSEG0 or KSEG0 address where the kernel is loaded.
  2468. If you plan to use kernel for capturing the crash dump change
  2469. this value to start of the reserved region (the "X" value as
  2470. specified in the "crashkernel=YM@XM" command line boot parameter
  2471. passed to the panic-ed kernel).
  2472. config SECCOMP
  2473. bool "Enable seccomp to safely compute untrusted bytecode"
  2474. depends on PROC_FS
  2475. default y
  2476. help
  2477. This kernel feature is useful for number crunching applications
  2478. that may need to compute untrusted bytecode during their
  2479. execution. By using pipes or other transports made available to
  2480. the process as file descriptors supporting the read/write
  2481. syscalls, it's possible to isolate those applications in
  2482. their own address space using seccomp. Once seccomp is
  2483. enabled via /proc/<pid>/seccomp, it cannot be disabled
  2484. and the task is only allowed to execute a few safe syscalls
  2485. defined by each seccomp mode.
  2486. If unsure, say Y. Only embedded should say N here.
  2487. config MIPS_O32_FP64_SUPPORT
  2488. bool "Support for O32 binaries using 64-bit FP"
  2489. depends on 32BIT || MIPS32_O32
  2490. help
  2491. When this is enabled, the kernel will support use of 64-bit floating
  2492. point registers with binaries using the O32 ABI along with the
  2493. EF_MIPS_FP64 ELF header flag (typically built with -mfp64). On
  2494. 32-bit MIPS systems this support is at the cost of increasing the
  2495. size and complexity of the compiled FPU emulator. Thus if you are
  2496. running a MIPS32 system and know that none of your userland binaries
  2497. will require 64-bit floating point, you may wish to reduce the size
  2498. of your kernel & potentially improve FP emulation performance by
  2499. saying N here.
  2500. Although binutils currently supports use of this flag the details
  2501. concerning its effect upon the O32 ABI in userland are still being
  2502. worked on. In order to avoid userland becoming dependant upon current
  2503. behaviour before the details have been finalised, this option should
  2504. be considered experimental and only enabled by those working upon
  2505. said details.
  2506. If unsure, say N.
  2507. config USE_OF
  2508. bool
  2509. select OF
  2510. select OF_EARLY_FLATTREE
  2511. select IRQ_DOMAIN
  2512. config BUILTIN_DTB
  2513. bool
  2514. choice
  2515. prompt "Kernel appended dtb support" if USE_OF
  2516. default MIPS_NO_APPENDED_DTB
  2517. config MIPS_NO_APPENDED_DTB
  2518. bool "None"
  2519. help
  2520. Do not enable appended dtb support.
  2521. config MIPS_ELF_APPENDED_DTB
  2522. bool "vmlinux"
  2523. help
  2524. With this option, the boot code will look for a device tree binary
  2525. DTB) included in the vmlinux ELF section .appended_dtb. By default
  2526. it is empty and the DTB can be appended using binutils command
  2527. objcopy:
  2528. objcopy --update-section .appended_dtb=<filename>.dtb vmlinux
  2529. This is meant as a backward compatiblity convenience for those
  2530. systems with a bootloader that can't be upgraded to accommodate
  2531. the documented boot protocol using a device tree.
  2532. config MIPS_RAW_APPENDED_DTB
  2533. bool "vmlinux.bin or vmlinuz.bin"
  2534. help
  2535. With this option, the boot code will look for a device tree binary
  2536. DTB) appended to raw vmlinux.bin or vmlinuz.bin.
  2537. (e.g. cat vmlinux.bin <filename>.dtb > vmlinux_w_dtb).
  2538. This is meant as a backward compatibility convenience for those
  2539. systems with a bootloader that can't be upgraded to accommodate
  2540. the documented boot protocol using a device tree.
  2541. Beware that there is very little in terms of protection against
  2542. this option being confused by leftover garbage in memory that might
  2543. look like a DTB header after a reboot if no actual DTB is appended
  2544. to vmlinux.bin. Do not leave this option active in a production kernel
  2545. if you don't intend to always append a DTB.
  2546. endchoice
  2547. choice
  2548. prompt "Kernel command line type" if !CMDLINE_OVERRIDE
  2549. default MIPS_CMDLINE_FROM_DTB if USE_OF && !ATH79 && !MACH_INGENIC && \
  2550. !MIPS_MALTA && \
  2551. !CAVIUM_OCTEON_SOC
  2552. default MIPS_CMDLINE_FROM_BOOTLOADER
  2553. config MIPS_CMDLINE_FROM_DTB
  2554. depends on USE_OF
  2555. bool "Dtb kernel arguments if available"
  2556. config MIPS_CMDLINE_DTB_EXTEND
  2557. depends on USE_OF
  2558. bool "Extend dtb kernel arguments with bootloader arguments"
  2559. config MIPS_CMDLINE_FROM_BOOTLOADER
  2560. bool "Bootloader kernel arguments if available"
  2561. config MIPS_CMDLINE_BUILTIN_EXTEND
  2562. depends on CMDLINE_BOOL
  2563. bool "Extend builtin kernel arguments with bootloader arguments"
  2564. endchoice
  2565. endmenu
  2566. config LOCKDEP_SUPPORT
  2567. bool
  2568. default y
  2569. config STACKTRACE_SUPPORT
  2570. bool
  2571. default y
  2572. config HAVE_LATENCYTOP_SUPPORT
  2573. bool
  2574. default y
  2575. config PGTABLE_LEVELS
  2576. int
  2577. default 4 if PAGE_SIZE_4KB && MIPS_VA_BITS_48
  2578. default 3 if 64BIT && !PAGE_SIZE_64KB
  2579. default 2
  2580. config MIPS_AUTO_PFN_OFFSET
  2581. bool
  2582. menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
  2583. config HW_HAS_EISA
  2584. bool
  2585. config HW_HAS_PCI
  2586. bool
  2587. config PCI
  2588. bool "Support for PCI controller"
  2589. depends on HW_HAS_PCI
  2590. select PCI_DOMAINS
  2591. help
  2592. Find out whether you have a PCI motherboard. PCI is the name of a
  2593. bus system, i.e. the way the CPU talks to the other stuff inside
  2594. your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
  2595. say Y, otherwise N.
  2596. config HT_PCI
  2597. bool "Support for HT-linked PCI"
  2598. default y
  2599. depends on CPU_LOONGSON3
  2600. select PCI
  2601. select PCI_DOMAINS
  2602. help
  2603. Loongson family machines use Hyper-Transport bus for inter-core
  2604. connection and device connection. The PCI bus is a subordinate
  2605. linked at HT. Choose Y for Loongson-3 based machines.
  2606. config PCI_DOMAINS
  2607. bool
  2608. config PCI_DOMAINS_GENERIC
  2609. bool
  2610. config PCI_DRIVERS_GENERIC
  2611. select PCI_DOMAINS_GENERIC if PCI_DOMAINS
  2612. bool
  2613. config PCI_DRIVERS_LEGACY
  2614. def_bool !PCI_DRIVERS_GENERIC
  2615. select NO_GENERIC_PCI_IOPORT_MAP
  2616. source "drivers/pci/Kconfig"
  2617. #
  2618. # ISA support is now enabled via select. Too many systems still have the one
  2619. # or other ISA chip on the board that users don't know about so don't expect
  2620. # users to choose the right thing ...
  2621. #
  2622. config ISA
  2623. bool
  2624. config EISA
  2625. bool "EISA support"
  2626. depends on HW_HAS_EISA
  2627. select ISA
  2628. select GENERIC_ISA_DMA
  2629. ---help---
  2630. The Extended Industry Standard Architecture (EISA) bus was
  2631. developed as an open alternative to the IBM MicroChannel bus.
  2632. The EISA bus provided some of the features of the IBM MicroChannel
  2633. bus while maintaining backward compatibility with cards made for
  2634. the older ISA bus. The EISA bus saw limited use between 1988 and
  2635. 1995 when it was made obsolete by the PCI bus.
  2636. Say Y here if you are building a kernel for an EISA-based machine.
  2637. Otherwise, say N.
  2638. source "drivers/eisa/Kconfig"
  2639. config TC
  2640. bool "TURBOchannel support"
  2641. depends on MACH_DECSTATION
  2642. help
  2643. TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
  2644. processors. TURBOchannel programming specifications are available
  2645. at:
  2646. <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/>
  2647. and:
  2648. <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/>
  2649. Linux driver support status is documented at:
  2650. <http://www.linux-mips.org/wiki/DECstation>
  2651. config MMU
  2652. bool
  2653. default y
  2654. config ARCH_MMAP_RND_BITS_MIN
  2655. default 12 if 64BIT
  2656. default 8
  2657. config ARCH_MMAP_RND_BITS_MAX
  2658. default 18 if 64BIT
  2659. default 15
  2660. config ARCH_MMAP_RND_COMPAT_BITS_MIN
  2661. default 8
  2662. config ARCH_MMAP_RND_COMPAT_BITS_MAX
  2663. default 15
  2664. config I8253
  2665. bool
  2666. select CLKSRC_I8253
  2667. select CLKEVT_I8253
  2668. select MIPS_EXTERNAL_TIMER
  2669. config ZONE_DMA
  2670. bool
  2671. config ZONE_DMA32
  2672. bool
  2673. source "drivers/pcmcia/Kconfig"
  2674. config HAS_RAPIDIO
  2675. bool
  2676. default n
  2677. config RAPIDIO
  2678. tristate "RapidIO support"
  2679. depends on HAS_RAPIDIO || PCI
  2680. help
  2681. If you say Y here, the kernel will include drivers and
  2682. infrastructure code to support RapidIO interconnect devices.
  2683. source "drivers/rapidio/Kconfig"
  2684. endmenu
  2685. config TRAD_SIGNALS
  2686. bool
  2687. config MIPS32_COMPAT
  2688. bool
  2689. config COMPAT
  2690. bool
  2691. config SYSVIPC_COMPAT
  2692. bool
  2693. config MIPS32_O32
  2694. bool "Kernel support for o32 binaries"
  2695. depends on 64BIT
  2696. select ARCH_WANT_OLD_COMPAT_IPC
  2697. select COMPAT
  2698. select MIPS32_COMPAT
  2699. select SYSVIPC_COMPAT if SYSVIPC
  2700. help
  2701. Select this option if you want to run o32 binaries. These are pure
  2702. 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
  2703. existing binaries are in this format.
  2704. If unsure, say Y.
  2705. config MIPS32_N32
  2706. bool "Kernel support for n32 binaries"
  2707. depends on 64BIT
  2708. select ARCH_WANT_COMPAT_IPC_PARSE_VERSION
  2709. select COMPAT
  2710. select MIPS32_COMPAT
  2711. select SYSVIPC_COMPAT if SYSVIPC
  2712. help
  2713. Select this option if you want to run n32 binaries. These are
  2714. 64-bit binaries using 32-bit quantities for addressing and certain
  2715. data that would normally be 64-bit. They are used in special
  2716. cases.
  2717. If unsure, say N.
  2718. config BINFMT_ELF32
  2719. bool
  2720. default y if MIPS32_O32 || MIPS32_N32
  2721. select ELFCORE
  2722. menu "Power management options"
  2723. config ARCH_HIBERNATION_POSSIBLE
  2724. def_bool y
  2725. depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
  2726. config ARCH_SUSPEND_POSSIBLE
  2727. def_bool y
  2728. depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
  2729. source "kernel/power/Kconfig"
  2730. endmenu
  2731. config MIPS_EXTERNAL_TIMER
  2732. bool
  2733. menu "CPU Power Management"
  2734. if CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER
  2735. source "drivers/cpufreq/Kconfig"
  2736. endif
  2737. source "drivers/cpuidle/Kconfig"
  2738. endmenu
  2739. source "drivers/firmware/Kconfig"
  2740. source "arch/mips/kvm/Kconfig"