Kconfig 80 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203
  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. select ZONE_DMA32 if 64BIT
  767. config SIBYTE_SENTOSA
  768. bool "Sibyte BCM91250E-Sentosa"
  769. select BOOT_ELF32
  770. select SIBYTE_SB1250
  771. select SWAP_IO_SPACE
  772. select SYS_HAS_CPU_SB1
  773. select SYS_SUPPORTS_BIG_ENDIAN
  774. select SYS_SUPPORTS_LITTLE_ENDIAN
  775. select SWIOTLB if ARCH_DMA_ADDR_T_64BIT && PCI
  776. config SIBYTE_BIGSUR
  777. bool "Sibyte BCM91480B-BigSur"
  778. select BOOT_ELF32
  779. select NR_CPUS_DEFAULT_4
  780. select SIBYTE_BCM1x80
  781. select SWAP_IO_SPACE
  782. select SYS_HAS_CPU_SB1
  783. select SYS_SUPPORTS_BIG_ENDIAN
  784. select SYS_SUPPORTS_HIGHMEM
  785. select SYS_SUPPORTS_LITTLE_ENDIAN
  786. select ZONE_DMA32 if 64BIT
  787. select SWIOTLB if ARCH_DMA_ADDR_T_64BIT && PCI
  788. config SNI_RM
  789. bool "SNI RM200/300/400"
  790. select FW_ARC if CPU_LITTLE_ENDIAN
  791. select FW_ARC32 if CPU_LITTLE_ENDIAN
  792. select FW_SNIPROM if CPU_BIG_ENDIAN
  793. select ARCH_MAY_HAVE_PC_FDC
  794. select ARCH_MIGHT_HAVE_PC_PARPORT
  795. select ARCH_MIGHT_HAVE_PC_SERIO
  796. select BOOT_ELF32
  797. select CEVT_R4K
  798. select CSRC_R4K
  799. select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
  800. select DMA_NONCOHERENT
  801. select GENERIC_ISA_DMA
  802. select HAVE_PCSPKR_PLATFORM
  803. select HW_HAS_EISA
  804. select HW_HAS_PCI
  805. select IRQ_MIPS_CPU
  806. select I8253
  807. select I8259
  808. select ISA
  809. select MIPS_L1_CACHE_SHIFT_6
  810. select SWAP_IO_SPACE if CPU_BIG_ENDIAN
  811. select SYS_HAS_CPU_R4X00
  812. select SYS_HAS_CPU_R5000
  813. select SYS_HAS_CPU_R10000
  814. select R5000_CPU_SCACHE
  815. select SYS_HAS_EARLY_PRINTK
  816. select SYS_SUPPORTS_32BIT_KERNEL
  817. select SYS_SUPPORTS_64BIT_KERNEL
  818. select SYS_SUPPORTS_BIG_ENDIAN
  819. select SYS_SUPPORTS_HIGHMEM
  820. select SYS_SUPPORTS_LITTLE_ENDIAN
  821. help
  822. The SNI RM200/300/400 are MIPS-based machines manufactured by
  823. Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
  824. Technology and now in turn merged with Fujitsu. Say Y here to
  825. support this machine type.
  826. config MACH_TX39XX
  827. bool "Toshiba TX39 series based machines"
  828. config MACH_TX49XX
  829. bool "Toshiba TX49 series based machines"
  830. config MIKROTIK_RB532
  831. bool "Mikrotik RB532 boards"
  832. select CEVT_R4K
  833. select CSRC_R4K
  834. select DMA_NONCOHERENT
  835. select HW_HAS_PCI
  836. select IRQ_MIPS_CPU
  837. select SYS_HAS_CPU_MIPS32_R1
  838. select SYS_SUPPORTS_32BIT_KERNEL
  839. select SYS_SUPPORTS_LITTLE_ENDIAN
  840. select SWAP_IO_SPACE
  841. select BOOT_RAW
  842. select GPIOLIB
  843. select MIPS_L1_CACHE_SHIFT_4
  844. help
  845. Support the Mikrotik(tm) RouterBoard 532 series,
  846. based on the IDT RC32434 SoC.
  847. config CAVIUM_OCTEON_SOC
  848. bool "Cavium Networks Octeon SoC based boards"
  849. select CEVT_R4K
  850. select ARCH_HAS_PHYS_TO_DMA
  851. select HAS_RAPIDIO
  852. select PHYS_ADDR_T_64BIT
  853. select SYS_SUPPORTS_64BIT_KERNEL
  854. select SYS_SUPPORTS_BIG_ENDIAN
  855. select EDAC_SUPPORT
  856. select EDAC_ATOMIC_SCRUB
  857. select SYS_SUPPORTS_LITTLE_ENDIAN
  858. select SYS_SUPPORTS_HOTPLUG_CPU if CPU_BIG_ENDIAN
  859. select SYS_HAS_EARLY_PRINTK
  860. select SYS_HAS_CPU_CAVIUM_OCTEON
  861. select HW_HAS_PCI
  862. select ZONE_DMA32
  863. select HOLES_IN_ZONE
  864. select GPIOLIB
  865. select LIBFDT
  866. select USE_OF
  867. select ARCH_SPARSEMEM_ENABLE
  868. select SYS_SUPPORTS_SMP
  869. select NR_CPUS_DEFAULT_64
  870. select MIPS_NR_CPU_NR_MAP_1024
  871. select BUILTIN_DTB
  872. select MTD_COMPLEX_MAPPINGS
  873. select SWIOTLB
  874. select SYS_SUPPORTS_RELOCATABLE
  875. help
  876. This option supports all of the Octeon reference boards from Cavium
  877. Networks. It builds a kernel that dynamically determines the Octeon
  878. CPU type and supports all known board reference implementations.
  879. Some of the supported boards are:
  880. EBT3000
  881. EBH3000
  882. EBH3100
  883. Thunder
  884. Kodama
  885. Hikari
  886. Say Y here for most Octeon reference boards.
  887. config NLM_XLR_BOARD
  888. bool "Netlogic XLR/XLS based systems"
  889. select BOOT_ELF32
  890. select NLM_COMMON
  891. select SYS_HAS_CPU_XLR
  892. select SYS_SUPPORTS_SMP
  893. select HW_HAS_PCI
  894. select SWAP_IO_SPACE
  895. select SYS_SUPPORTS_32BIT_KERNEL
  896. select SYS_SUPPORTS_64BIT_KERNEL
  897. select PHYS_ADDR_T_64BIT
  898. select SYS_SUPPORTS_BIG_ENDIAN
  899. select SYS_SUPPORTS_HIGHMEM
  900. select NR_CPUS_DEFAULT_32
  901. select CEVT_R4K
  902. select CSRC_R4K
  903. select IRQ_MIPS_CPU
  904. select ZONE_DMA32 if 64BIT
  905. select SYNC_R4K
  906. select SYS_HAS_EARLY_PRINTK
  907. select SYS_SUPPORTS_ZBOOT
  908. select SYS_SUPPORTS_ZBOOT_UART16550
  909. help
  910. Support for systems based on Netlogic XLR and XLS processors.
  911. Say Y here if you have a XLR or XLS based board.
  912. config NLM_XLP_BOARD
  913. bool "Netlogic XLP based systems"
  914. select BOOT_ELF32
  915. select NLM_COMMON
  916. select SYS_HAS_CPU_XLP
  917. select SYS_SUPPORTS_SMP
  918. select HW_HAS_PCI
  919. select SYS_SUPPORTS_32BIT_KERNEL
  920. select SYS_SUPPORTS_64BIT_KERNEL
  921. select PHYS_ADDR_T_64BIT
  922. select GPIOLIB
  923. select SYS_SUPPORTS_BIG_ENDIAN
  924. select SYS_SUPPORTS_LITTLE_ENDIAN
  925. select SYS_SUPPORTS_HIGHMEM
  926. select NR_CPUS_DEFAULT_32
  927. select CEVT_R4K
  928. select CSRC_R4K
  929. select IRQ_MIPS_CPU
  930. select ZONE_DMA32 if 64BIT
  931. select SYNC_R4K
  932. select SYS_HAS_EARLY_PRINTK
  933. select USE_OF
  934. select SYS_SUPPORTS_ZBOOT
  935. select SYS_SUPPORTS_ZBOOT_UART16550
  936. help
  937. This board is based on Netlogic XLP Processor.
  938. Say Y here if you have a XLP based board.
  939. config MIPS_PARAVIRT
  940. bool "Para-Virtualized guest system"
  941. select CEVT_R4K
  942. select CSRC_R4K
  943. select SYS_SUPPORTS_64BIT_KERNEL
  944. select SYS_SUPPORTS_32BIT_KERNEL
  945. select SYS_SUPPORTS_BIG_ENDIAN
  946. select SYS_SUPPORTS_SMP
  947. select NR_CPUS_DEFAULT_4
  948. select SYS_HAS_EARLY_PRINTK
  949. select SYS_HAS_CPU_MIPS32_R2
  950. select SYS_HAS_CPU_MIPS64_R2
  951. select SYS_HAS_CPU_CAVIUM_OCTEON
  952. select HW_HAS_PCI
  953. select SWAP_IO_SPACE
  954. help
  955. This option supports guest running under ????
  956. endchoice
  957. source "arch/mips/alchemy/Kconfig"
  958. source "arch/mips/ath25/Kconfig"
  959. source "arch/mips/ath79/Kconfig"
  960. source "arch/mips/bcm47xx/Kconfig"
  961. source "arch/mips/bcm63xx/Kconfig"
  962. source "arch/mips/bmips/Kconfig"
  963. source "arch/mips/generic/Kconfig"
  964. source "arch/mips/jazz/Kconfig"
  965. source "arch/mips/jz4740/Kconfig"
  966. source "arch/mips/lantiq/Kconfig"
  967. source "arch/mips/lasat/Kconfig"
  968. source "arch/mips/pic32/Kconfig"
  969. source "arch/mips/pistachio/Kconfig"
  970. source "arch/mips/pmcs-msp71xx/Kconfig"
  971. source "arch/mips/ralink/Kconfig"
  972. source "arch/mips/sgi-ip27/Kconfig"
  973. source "arch/mips/sibyte/Kconfig"
  974. source "arch/mips/txx9/Kconfig"
  975. source "arch/mips/vr41xx/Kconfig"
  976. source "arch/mips/cavium-octeon/Kconfig"
  977. source "arch/mips/loongson32/Kconfig"
  978. source "arch/mips/loongson64/Kconfig"
  979. source "arch/mips/netlogic/Kconfig"
  980. source "arch/mips/paravirt/Kconfig"
  981. endmenu
  982. config RWSEM_GENERIC_SPINLOCK
  983. bool
  984. default y
  985. config RWSEM_XCHGADD_ALGORITHM
  986. bool
  987. config GENERIC_HWEIGHT
  988. bool
  989. default y
  990. config GENERIC_CALIBRATE_DELAY
  991. bool
  992. default y
  993. config SCHED_OMIT_FRAME_POINTER
  994. bool
  995. default y
  996. #
  997. # Select some configuration options automatically based on user selections.
  998. #
  999. config FW_ARC
  1000. bool
  1001. config ARCH_MAY_HAVE_PC_FDC
  1002. bool
  1003. config BOOT_RAW
  1004. bool
  1005. config CEVT_BCM1480
  1006. bool
  1007. config CEVT_DS1287
  1008. bool
  1009. config CEVT_GT641XX
  1010. bool
  1011. config CEVT_R4K
  1012. bool
  1013. config CEVT_SB1250
  1014. bool
  1015. config CEVT_TXX9
  1016. bool
  1017. config CSRC_BCM1480
  1018. bool
  1019. config CSRC_IOASIC
  1020. bool
  1021. config CSRC_R4K
  1022. bool
  1023. config CSRC_SB1250
  1024. bool
  1025. config MIPS_CLOCK_VSYSCALL
  1026. def_bool CSRC_R4K || CLKSRC_MIPS_GIC
  1027. config GPIO_TXX9
  1028. select GPIOLIB
  1029. bool
  1030. config FW_CFE
  1031. bool
  1032. config ARCH_SUPPORTS_UPROBES
  1033. bool
  1034. config DMA_MAYBE_COHERENT
  1035. select DMA_NONCOHERENT
  1036. bool
  1037. config DMA_PERDEV_COHERENT
  1038. bool
  1039. select DMA_MAYBE_COHERENT
  1040. config DMA_NONCOHERENT
  1041. bool
  1042. select ARCH_HAS_SYNC_DMA_FOR_DEVICE
  1043. select ARCH_HAS_SYNC_DMA_FOR_CPU
  1044. select NEED_DMA_MAP_STATE
  1045. select DMA_NONCOHERENT_MMAP
  1046. select DMA_NONCOHERENT_CACHE_SYNC
  1047. select DMA_NONCOHERENT_OPS
  1048. config SYS_HAS_EARLY_PRINTK
  1049. bool
  1050. config SYS_SUPPORTS_HOTPLUG_CPU
  1051. bool
  1052. config MIPS_BONITO64
  1053. bool
  1054. config MIPS_MSC
  1055. bool
  1056. config MIPS_NILE4
  1057. bool
  1058. config SYNC_R4K
  1059. bool
  1060. config MIPS_MACHINE
  1061. def_bool n
  1062. config NO_IOPORT_MAP
  1063. def_bool n
  1064. config GENERIC_CSUM
  1065. bool
  1066. config GENERIC_ISA_DMA
  1067. bool
  1068. select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
  1069. select ISA_DMA_API
  1070. config GENERIC_ISA_DMA_SUPPORT_BROKEN
  1071. bool
  1072. select GENERIC_ISA_DMA
  1073. config ISA_DMA_API
  1074. bool
  1075. config HOLES_IN_ZONE
  1076. bool
  1077. config SYS_SUPPORTS_RELOCATABLE
  1078. bool
  1079. help
  1080. Selected if the platform supports relocating the kernel.
  1081. The platform must provide plat_get_fdt() if it selects CONFIG_USE_OF
  1082. to allow access to command line and entropy sources.
  1083. config MIPS_CBPF_JIT
  1084. def_bool y
  1085. depends on BPF_JIT && HAVE_CBPF_JIT
  1086. config MIPS_EBPF_JIT
  1087. def_bool y
  1088. depends on BPF_JIT && HAVE_EBPF_JIT
  1089. #
  1090. # Endianness selection. Sufficiently obscure so many users don't know what to
  1091. # answer,so we try hard to limit the available choices. Also the use of a
  1092. # choice statement should be more obvious to the user.
  1093. #
  1094. choice
  1095. prompt "Endianness selection"
  1096. help
  1097. Some MIPS machines can be configured for either little or big endian
  1098. byte order. These modes require different kernels and a different
  1099. Linux distribution. In general there is one preferred byteorder for a
  1100. particular system but some systems are just as commonly used in the
  1101. one or the other endianness.
  1102. config CPU_BIG_ENDIAN
  1103. bool "Big endian"
  1104. depends on SYS_SUPPORTS_BIG_ENDIAN
  1105. config CPU_LITTLE_ENDIAN
  1106. bool "Little endian"
  1107. depends on SYS_SUPPORTS_LITTLE_ENDIAN
  1108. endchoice
  1109. config EXPORT_UASM
  1110. bool
  1111. config SYS_SUPPORTS_APM_EMULATION
  1112. bool
  1113. config SYS_SUPPORTS_BIG_ENDIAN
  1114. bool
  1115. config SYS_SUPPORTS_LITTLE_ENDIAN
  1116. bool
  1117. config SYS_SUPPORTS_HUGETLBFS
  1118. bool
  1119. depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
  1120. default y
  1121. config MIPS_HUGE_TLB_SUPPORT
  1122. def_bool HUGETLB_PAGE || TRANSPARENT_HUGEPAGE
  1123. config IRQ_CPU_RM7K
  1124. bool
  1125. config IRQ_MSP_SLP
  1126. bool
  1127. config IRQ_MSP_CIC
  1128. bool
  1129. config IRQ_TXX9
  1130. bool
  1131. config IRQ_GT641XX
  1132. bool
  1133. config PCI_GT64XXX_PCI0
  1134. bool
  1135. config NO_EXCEPT_FILL
  1136. bool
  1137. config SOC_EMMA2RH
  1138. bool
  1139. select CEVT_R4K
  1140. select CSRC_R4K
  1141. select DMA_NONCOHERENT
  1142. select IRQ_MIPS_CPU
  1143. select SWAP_IO_SPACE
  1144. select SYS_HAS_CPU_R5500
  1145. select SYS_SUPPORTS_32BIT_KERNEL
  1146. select SYS_SUPPORTS_64BIT_KERNEL
  1147. select SYS_SUPPORTS_BIG_ENDIAN
  1148. config SOC_PNX833X
  1149. bool
  1150. select CEVT_R4K
  1151. select CSRC_R4K
  1152. select IRQ_MIPS_CPU
  1153. select DMA_NONCOHERENT
  1154. select SYS_HAS_CPU_MIPS32_R2
  1155. select SYS_SUPPORTS_32BIT_KERNEL
  1156. select SYS_SUPPORTS_LITTLE_ENDIAN
  1157. select SYS_SUPPORTS_BIG_ENDIAN
  1158. select SYS_SUPPORTS_MIPS16
  1159. select CPU_MIPSR2_IRQ_VI
  1160. config SOC_PNX8335
  1161. bool
  1162. select SOC_PNX833X
  1163. config MIPS_SPRAM
  1164. bool
  1165. config SWAP_IO_SPACE
  1166. bool
  1167. config SGI_HAS_INDYDOG
  1168. bool
  1169. config SGI_HAS_HAL2
  1170. bool
  1171. config SGI_HAS_SEEQ
  1172. bool
  1173. config SGI_HAS_WD93
  1174. bool
  1175. config SGI_HAS_ZILOG
  1176. bool
  1177. config SGI_HAS_I8042
  1178. bool
  1179. config DEFAULT_SGI_PARTITION
  1180. bool
  1181. config FW_ARC32
  1182. bool
  1183. config FW_SNIPROM
  1184. bool
  1185. config BOOT_ELF32
  1186. bool
  1187. config MIPS_L1_CACHE_SHIFT_4
  1188. bool
  1189. config MIPS_L1_CACHE_SHIFT_5
  1190. bool
  1191. config MIPS_L1_CACHE_SHIFT_6
  1192. bool
  1193. config MIPS_L1_CACHE_SHIFT_7
  1194. bool
  1195. config MIPS_L1_CACHE_SHIFT
  1196. int
  1197. default "7" if MIPS_L1_CACHE_SHIFT_7
  1198. default "6" if MIPS_L1_CACHE_SHIFT_6
  1199. default "5" if MIPS_L1_CACHE_SHIFT_5
  1200. default "4" if MIPS_L1_CACHE_SHIFT_4
  1201. default "5"
  1202. config HAVE_STD_PC_SERIAL_PORT
  1203. bool
  1204. config ARC_CONSOLE
  1205. bool "ARC console support"
  1206. depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
  1207. config ARC_MEMORY
  1208. bool
  1209. depends on MACH_JAZZ || SNI_RM || SGI_IP32
  1210. default y
  1211. config ARC_PROMLIB
  1212. bool
  1213. depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
  1214. default y
  1215. config FW_ARC64
  1216. bool
  1217. config BOOT_ELF64
  1218. bool
  1219. menu "CPU selection"
  1220. choice
  1221. prompt "CPU type"
  1222. default CPU_R4X00
  1223. config CPU_LOONGSON3
  1224. bool "Loongson 3 CPU"
  1225. depends on SYS_HAS_CPU_LOONGSON3
  1226. select ARCH_HAS_PHYS_TO_DMA
  1227. select CPU_SUPPORTS_64BIT_KERNEL
  1228. select CPU_SUPPORTS_HIGHMEM
  1229. select CPU_SUPPORTS_HUGEPAGES
  1230. select WEAK_ORDERING
  1231. select WEAK_REORDERING_BEYOND_LLSC
  1232. select MIPS_PGD_C0_CONTEXT
  1233. select MIPS_L1_CACHE_SHIFT_6
  1234. select GPIOLIB
  1235. select SWIOTLB
  1236. help
  1237. The Loongson 3 processor implements the MIPS64R2 instruction
  1238. set with many extensions.
  1239. config LOONGSON3_ENHANCEMENT
  1240. bool "New Loongson 3 CPU Enhancements"
  1241. default n
  1242. select CPU_MIPSR2
  1243. select CPU_HAS_PREFETCH
  1244. depends on CPU_LOONGSON3
  1245. help
  1246. New Loongson 3 CPU (since Loongson-3A R2, as opposed to Loongson-3A
  1247. R1, Loongson-3B R1 and Loongson-3B R2) has many enhancements, such as
  1248. FTLB, L1-VCache, EI/DI/Wait/Prefetch instruction, DSP/DSPv2 ASE, User
  1249. Local register, Read-Inhibit/Execute-Inhibit, SFB (Store Fill Buffer),
  1250. Fast TLB refill support, etc.
  1251. This option enable those enhancements which are not probed at run
  1252. time. If you want a generic kernel to run on all Loongson 3 machines,
  1253. please say 'N' here. If you want a high-performance kernel to run on
  1254. new Loongson 3 machines only, please say 'Y' here.
  1255. config CPU_LOONGSON2E
  1256. bool "Loongson 2E"
  1257. depends on SYS_HAS_CPU_LOONGSON2E
  1258. select CPU_LOONGSON2
  1259. help
  1260. The Loongson 2E processor implements the MIPS III instruction set
  1261. with many extensions.
  1262. It has an internal FPGA northbridge, which is compatible to
  1263. bonito64.
  1264. config CPU_LOONGSON2F
  1265. bool "Loongson 2F"
  1266. depends on SYS_HAS_CPU_LOONGSON2F
  1267. select CPU_LOONGSON2
  1268. select GPIOLIB
  1269. help
  1270. The Loongson 2F processor implements the MIPS III instruction set
  1271. with many extensions.
  1272. Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
  1273. have a similar programming interface with FPGA northbridge used in
  1274. Loongson2E.
  1275. config CPU_LOONGSON1B
  1276. bool "Loongson 1B"
  1277. depends on SYS_HAS_CPU_LOONGSON1B
  1278. select CPU_LOONGSON1
  1279. select LEDS_GPIO_REGISTER
  1280. help
  1281. The Loongson 1B is a 32-bit SoC, which implements the MIPS32
  1282. Release 1 instruction set and part of the MIPS32 Release 2
  1283. instruction set.
  1284. config CPU_LOONGSON1C
  1285. bool "Loongson 1C"
  1286. depends on SYS_HAS_CPU_LOONGSON1C
  1287. select CPU_LOONGSON1
  1288. select LEDS_GPIO_REGISTER
  1289. help
  1290. The Loongson 1C is a 32-bit SoC, which implements the MIPS32
  1291. Release 1 instruction set and part of the MIPS32 Release 2
  1292. instruction set.
  1293. config CPU_MIPS32_R1
  1294. bool "MIPS32 Release 1"
  1295. depends on SYS_HAS_CPU_MIPS32_R1
  1296. select CPU_HAS_PREFETCH
  1297. select CPU_SUPPORTS_32BIT_KERNEL
  1298. select CPU_SUPPORTS_HIGHMEM
  1299. help
  1300. Choose this option to build a kernel for release 1 or later of the
  1301. MIPS32 architecture. Most modern embedded systems with a 32-bit
  1302. MIPS processor are based on a MIPS32 processor. If you know the
  1303. specific type of processor in your system, choose those that one
  1304. otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
  1305. Release 2 of the MIPS32 architecture is available since several
  1306. years so chances are you even have a MIPS32 Release 2 processor
  1307. in which case you should choose CPU_MIPS32_R2 instead for better
  1308. performance.
  1309. config CPU_MIPS32_R2
  1310. bool "MIPS32 Release 2"
  1311. depends on SYS_HAS_CPU_MIPS32_R2
  1312. select CPU_HAS_PREFETCH
  1313. select CPU_SUPPORTS_32BIT_KERNEL
  1314. select CPU_SUPPORTS_HIGHMEM
  1315. select CPU_SUPPORTS_MSA
  1316. select HAVE_KVM
  1317. help
  1318. Choose this option to build a kernel for release 2 or later of the
  1319. MIPS32 architecture. Most modern embedded systems with a 32-bit
  1320. MIPS processor are based on a MIPS32 processor. If you know the
  1321. specific type of processor in your system, choose those that one
  1322. otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
  1323. config CPU_MIPS32_R6
  1324. bool "MIPS32 Release 6"
  1325. depends on SYS_HAS_CPU_MIPS32_R6
  1326. select CPU_HAS_PREFETCH
  1327. select CPU_SUPPORTS_32BIT_KERNEL
  1328. select CPU_SUPPORTS_HIGHMEM
  1329. select CPU_SUPPORTS_MSA
  1330. select GENERIC_CSUM
  1331. select HAVE_KVM
  1332. select MIPS_O32_FP64_SUPPORT
  1333. help
  1334. Choose this option to build a kernel for release 6 or later of the
  1335. MIPS32 architecture. New MIPS processors, starting with the Warrior
  1336. family, are based on a MIPS32r6 processor. If you own an older
  1337. processor, you probably need to select MIPS32r1 or MIPS32r2 instead.
  1338. config CPU_MIPS64_R1
  1339. bool "MIPS64 Release 1"
  1340. depends on SYS_HAS_CPU_MIPS64_R1
  1341. select CPU_HAS_PREFETCH
  1342. select CPU_SUPPORTS_32BIT_KERNEL
  1343. select CPU_SUPPORTS_64BIT_KERNEL
  1344. select CPU_SUPPORTS_HIGHMEM
  1345. select CPU_SUPPORTS_HUGEPAGES
  1346. help
  1347. Choose this option to build a kernel for release 1 or later of the
  1348. MIPS64 architecture. Many modern embedded systems with a 64-bit
  1349. MIPS processor are based on a MIPS64 processor. If you know the
  1350. specific type of processor in your system, choose those that one
  1351. otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
  1352. Release 2 of the MIPS64 architecture is available since several
  1353. years so chances are you even have a MIPS64 Release 2 processor
  1354. in which case you should choose CPU_MIPS64_R2 instead for better
  1355. performance.
  1356. config CPU_MIPS64_R2
  1357. bool "MIPS64 Release 2"
  1358. depends on SYS_HAS_CPU_MIPS64_R2
  1359. select CPU_HAS_PREFETCH
  1360. select CPU_SUPPORTS_32BIT_KERNEL
  1361. select CPU_SUPPORTS_64BIT_KERNEL
  1362. select CPU_SUPPORTS_HIGHMEM
  1363. select CPU_SUPPORTS_HUGEPAGES
  1364. select CPU_SUPPORTS_MSA
  1365. select HAVE_KVM
  1366. help
  1367. Choose this option to build a kernel for release 2 or later of the
  1368. MIPS64 architecture. Many modern embedded systems with a 64-bit
  1369. MIPS processor are based on a MIPS64 processor. If you know the
  1370. specific type of processor in your system, choose those that one
  1371. otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
  1372. config CPU_MIPS64_R6
  1373. bool "MIPS64 Release 6"
  1374. depends on SYS_HAS_CPU_MIPS64_R6
  1375. select CPU_HAS_PREFETCH
  1376. select CPU_SUPPORTS_32BIT_KERNEL
  1377. select CPU_SUPPORTS_64BIT_KERNEL
  1378. select CPU_SUPPORTS_HIGHMEM
  1379. select CPU_SUPPORTS_MSA
  1380. select GENERIC_CSUM
  1381. select MIPS_O32_FP64_SUPPORT if 32BIT || MIPS32_O32
  1382. select HAVE_KVM
  1383. help
  1384. Choose this option to build a kernel for release 6 or later of the
  1385. MIPS64 architecture. New MIPS processors, starting with the Warrior
  1386. family, are based on a MIPS64r6 processor. If you own an older
  1387. processor, you probably need to select MIPS64r1 or MIPS64r2 instead.
  1388. config CPU_R3000
  1389. bool "R3000"
  1390. depends on SYS_HAS_CPU_R3000
  1391. select CPU_HAS_WB
  1392. select CPU_SUPPORTS_32BIT_KERNEL
  1393. select CPU_SUPPORTS_HIGHMEM
  1394. help
  1395. Please make sure to pick the right CPU type. Linux/MIPS is not
  1396. designed to be generic, i.e. Kernels compiled for R3000 CPUs will
  1397. *not* work on R4000 machines and vice versa. However, since most
  1398. of the supported machines have an R4000 (or similar) CPU, R4x00
  1399. might be a safe bet. If the resulting kernel does not work,
  1400. try to recompile with R3000.
  1401. config CPU_TX39XX
  1402. bool "R39XX"
  1403. depends on SYS_HAS_CPU_TX39XX
  1404. select CPU_SUPPORTS_32BIT_KERNEL
  1405. config CPU_VR41XX
  1406. bool "R41xx"
  1407. depends on SYS_HAS_CPU_VR41XX
  1408. select CPU_SUPPORTS_32BIT_KERNEL
  1409. select CPU_SUPPORTS_64BIT_KERNEL
  1410. help
  1411. The options selects support for the NEC VR4100 series of processors.
  1412. Only choose this option if you have one of these processors as a
  1413. kernel built with this option will not run on any other type of
  1414. processor or vice versa.
  1415. config CPU_R4300
  1416. bool "R4300"
  1417. depends on SYS_HAS_CPU_R4300
  1418. select CPU_SUPPORTS_32BIT_KERNEL
  1419. select CPU_SUPPORTS_64BIT_KERNEL
  1420. help
  1421. MIPS Technologies R4300-series processors.
  1422. config CPU_R4X00
  1423. bool "R4x00"
  1424. depends on SYS_HAS_CPU_R4X00
  1425. select CPU_SUPPORTS_32BIT_KERNEL
  1426. select CPU_SUPPORTS_64BIT_KERNEL
  1427. select CPU_SUPPORTS_HUGEPAGES
  1428. help
  1429. MIPS Technologies R4000-series processors other than 4300, including
  1430. the R4000, R4400, R4600, and 4700.
  1431. config CPU_TX49XX
  1432. bool "R49XX"
  1433. depends on SYS_HAS_CPU_TX49XX
  1434. select CPU_HAS_PREFETCH
  1435. select CPU_SUPPORTS_32BIT_KERNEL
  1436. select CPU_SUPPORTS_64BIT_KERNEL
  1437. select CPU_SUPPORTS_HUGEPAGES
  1438. config CPU_R5000
  1439. bool "R5000"
  1440. depends on SYS_HAS_CPU_R5000
  1441. select CPU_SUPPORTS_32BIT_KERNEL
  1442. select CPU_SUPPORTS_64BIT_KERNEL
  1443. select CPU_SUPPORTS_HUGEPAGES
  1444. help
  1445. MIPS Technologies R5000-series processors other than the Nevada.
  1446. config CPU_R5432
  1447. bool "R5432"
  1448. depends on SYS_HAS_CPU_R5432
  1449. select CPU_SUPPORTS_32BIT_KERNEL
  1450. select CPU_SUPPORTS_64BIT_KERNEL
  1451. select CPU_SUPPORTS_HUGEPAGES
  1452. config CPU_R5500
  1453. bool "R5500"
  1454. depends on SYS_HAS_CPU_R5500
  1455. select CPU_SUPPORTS_32BIT_KERNEL
  1456. select CPU_SUPPORTS_64BIT_KERNEL
  1457. select CPU_SUPPORTS_HUGEPAGES
  1458. help
  1459. NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
  1460. instruction set.
  1461. config CPU_NEVADA
  1462. bool "RM52xx"
  1463. depends on SYS_HAS_CPU_NEVADA
  1464. select CPU_SUPPORTS_32BIT_KERNEL
  1465. select CPU_SUPPORTS_64BIT_KERNEL
  1466. select CPU_SUPPORTS_HUGEPAGES
  1467. help
  1468. QED / PMC-Sierra RM52xx-series ("Nevada") processors.
  1469. config CPU_R8000
  1470. bool "R8000"
  1471. depends on SYS_HAS_CPU_R8000
  1472. select CPU_HAS_PREFETCH
  1473. select CPU_SUPPORTS_64BIT_KERNEL
  1474. help
  1475. MIPS Technologies R8000 processors. Note these processors are
  1476. uncommon and the support for them is incomplete.
  1477. config CPU_R10000
  1478. bool "R10000"
  1479. depends on SYS_HAS_CPU_R10000
  1480. select CPU_HAS_PREFETCH
  1481. select CPU_SUPPORTS_32BIT_KERNEL
  1482. select CPU_SUPPORTS_64BIT_KERNEL
  1483. select CPU_SUPPORTS_HIGHMEM
  1484. select CPU_SUPPORTS_HUGEPAGES
  1485. help
  1486. MIPS Technologies R10000-series processors.
  1487. config CPU_RM7000
  1488. bool "RM7000"
  1489. depends on SYS_HAS_CPU_RM7000
  1490. select CPU_HAS_PREFETCH
  1491. select CPU_SUPPORTS_32BIT_KERNEL
  1492. select CPU_SUPPORTS_64BIT_KERNEL
  1493. select CPU_SUPPORTS_HIGHMEM
  1494. select CPU_SUPPORTS_HUGEPAGES
  1495. config CPU_SB1
  1496. bool "SB1"
  1497. depends on SYS_HAS_CPU_SB1
  1498. select CPU_SUPPORTS_32BIT_KERNEL
  1499. select CPU_SUPPORTS_64BIT_KERNEL
  1500. select CPU_SUPPORTS_HIGHMEM
  1501. select CPU_SUPPORTS_HUGEPAGES
  1502. select WEAK_ORDERING
  1503. config CPU_CAVIUM_OCTEON
  1504. bool "Cavium Octeon processor"
  1505. depends on SYS_HAS_CPU_CAVIUM_OCTEON
  1506. select CPU_HAS_PREFETCH
  1507. select CPU_SUPPORTS_64BIT_KERNEL
  1508. select WEAK_ORDERING
  1509. select CPU_SUPPORTS_HIGHMEM
  1510. select CPU_SUPPORTS_HUGEPAGES
  1511. select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
  1512. select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
  1513. select MIPS_L1_CACHE_SHIFT_7
  1514. select HAVE_KVM
  1515. help
  1516. The Cavium Octeon processor is a highly integrated chip containing
  1517. many ethernet hardware widgets for networking tasks. The processor
  1518. can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
  1519. Full details can be found at http://www.caviumnetworks.com.
  1520. config CPU_BMIPS
  1521. bool "Broadcom BMIPS"
  1522. depends on SYS_HAS_CPU_BMIPS
  1523. select CPU_MIPS32
  1524. select CPU_BMIPS32_3300 if SYS_HAS_CPU_BMIPS32_3300
  1525. select CPU_BMIPS4350 if SYS_HAS_CPU_BMIPS4350
  1526. select CPU_BMIPS4380 if SYS_HAS_CPU_BMIPS4380
  1527. select CPU_BMIPS5000 if SYS_HAS_CPU_BMIPS5000
  1528. select CPU_SUPPORTS_32BIT_KERNEL
  1529. select DMA_NONCOHERENT
  1530. select IRQ_MIPS_CPU
  1531. select SWAP_IO_SPACE
  1532. select WEAK_ORDERING
  1533. select CPU_SUPPORTS_HIGHMEM
  1534. select CPU_HAS_PREFETCH
  1535. select CPU_SUPPORTS_CPUFREQ
  1536. select MIPS_EXTERNAL_TIMER
  1537. help
  1538. Support for BMIPS32/3300/4350/4380 and BMIPS5000 processors.
  1539. config CPU_XLR
  1540. bool "Netlogic XLR SoC"
  1541. depends on SYS_HAS_CPU_XLR
  1542. select CPU_SUPPORTS_32BIT_KERNEL
  1543. select CPU_SUPPORTS_64BIT_KERNEL
  1544. select CPU_SUPPORTS_HIGHMEM
  1545. select CPU_SUPPORTS_HUGEPAGES
  1546. select WEAK_ORDERING
  1547. select WEAK_REORDERING_BEYOND_LLSC
  1548. help
  1549. Netlogic Microsystems XLR/XLS processors.
  1550. config CPU_XLP
  1551. bool "Netlogic XLP SoC"
  1552. depends on SYS_HAS_CPU_XLP
  1553. select CPU_SUPPORTS_32BIT_KERNEL
  1554. select CPU_SUPPORTS_64BIT_KERNEL
  1555. select CPU_SUPPORTS_HIGHMEM
  1556. select WEAK_ORDERING
  1557. select WEAK_REORDERING_BEYOND_LLSC
  1558. select CPU_HAS_PREFETCH
  1559. select CPU_MIPSR2
  1560. select CPU_SUPPORTS_HUGEPAGES
  1561. select MIPS_ASID_BITS_VARIABLE
  1562. help
  1563. Netlogic Microsystems XLP processors.
  1564. endchoice
  1565. config CPU_MIPS32_3_5_FEATURES
  1566. bool "MIPS32 Release 3.5 Features"
  1567. depends on SYS_HAS_CPU_MIPS32_R3_5
  1568. depends on CPU_MIPS32_R2 || CPU_MIPS32_R6
  1569. help
  1570. Choose this option to build a kernel for release 2 or later of the
  1571. MIPS32 architecture including features from the 3.5 release such as
  1572. support for Enhanced Virtual Addressing (EVA).
  1573. config CPU_MIPS32_3_5_EVA
  1574. bool "Enhanced Virtual Addressing (EVA)"
  1575. depends on CPU_MIPS32_3_5_FEATURES
  1576. select EVA
  1577. default y
  1578. help
  1579. Choose this option if you want to enable the Enhanced Virtual
  1580. Addressing (EVA) on your MIPS32 core (such as proAptiv).
  1581. One of its primary benefits is an increase in the maximum size
  1582. of lowmem (up to 3GB). If unsure, say 'N' here.
  1583. config CPU_MIPS32_R5_FEATURES
  1584. bool "MIPS32 Release 5 Features"
  1585. depends on SYS_HAS_CPU_MIPS32_R5
  1586. depends on CPU_MIPS32_R2
  1587. help
  1588. Choose this option to build a kernel for release 2 or later of the
  1589. MIPS32 architecture including features from release 5 such as
  1590. support for Extended Physical Addressing (XPA).
  1591. config CPU_MIPS32_R5_XPA
  1592. bool "Extended Physical Addressing (XPA)"
  1593. depends on CPU_MIPS32_R5_FEATURES
  1594. depends on !EVA
  1595. depends on !PAGE_SIZE_4KB
  1596. depends on SYS_SUPPORTS_HIGHMEM
  1597. select XPA
  1598. select HIGHMEM
  1599. select PHYS_ADDR_T_64BIT
  1600. default n
  1601. help
  1602. Choose this option if you want to enable the Extended Physical
  1603. Addressing (XPA) on your MIPS32 core (such as P5600 series). The
  1604. benefit is to increase physical addressing equal to or greater
  1605. than 40 bits. Note that this has the side effect of turning on
  1606. 64-bit addressing which in turn makes the PTEs 64-bit in size.
  1607. If unsure, say 'N' here.
  1608. if CPU_LOONGSON2F
  1609. config CPU_NOP_WORKAROUNDS
  1610. bool
  1611. config CPU_JUMP_WORKAROUNDS
  1612. bool
  1613. config CPU_LOONGSON2F_WORKAROUNDS
  1614. bool "Loongson 2F Workarounds"
  1615. default y
  1616. select CPU_NOP_WORKAROUNDS
  1617. select CPU_JUMP_WORKAROUNDS
  1618. help
  1619. Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which
  1620. require workarounds. Without workarounds the system may hang
  1621. unexpectedly. For more information please refer to the gas
  1622. -mfix-loongson2f-nop and -mfix-loongson2f-jump options.
  1623. Loongson 2F03 and later have fixed these issues and no workarounds
  1624. are needed. The workarounds have no significant side effect on them
  1625. but may decrease the performance of the system so this option should
  1626. be disabled unless the kernel is intended to be run on 2F01 or 2F02
  1627. systems.
  1628. If unsure, please say Y.
  1629. endif # CPU_LOONGSON2F
  1630. config SYS_SUPPORTS_ZBOOT
  1631. bool
  1632. select HAVE_KERNEL_GZIP
  1633. select HAVE_KERNEL_BZIP2
  1634. select HAVE_KERNEL_LZ4
  1635. select HAVE_KERNEL_LZMA
  1636. select HAVE_KERNEL_LZO
  1637. select HAVE_KERNEL_XZ
  1638. config SYS_SUPPORTS_ZBOOT_UART16550
  1639. bool
  1640. select SYS_SUPPORTS_ZBOOT
  1641. config SYS_SUPPORTS_ZBOOT_UART_PROM
  1642. bool
  1643. select SYS_SUPPORTS_ZBOOT
  1644. config CPU_LOONGSON2
  1645. bool
  1646. select CPU_SUPPORTS_32BIT_KERNEL
  1647. select CPU_SUPPORTS_64BIT_KERNEL
  1648. select CPU_SUPPORTS_HIGHMEM
  1649. select CPU_SUPPORTS_HUGEPAGES
  1650. select ARCH_HAS_PHYS_TO_DMA
  1651. config CPU_LOONGSON1
  1652. bool
  1653. select CPU_MIPS32
  1654. select CPU_MIPSR1
  1655. select CPU_HAS_PREFETCH
  1656. select CPU_SUPPORTS_32BIT_KERNEL
  1657. select CPU_SUPPORTS_HIGHMEM
  1658. select CPU_SUPPORTS_CPUFREQ
  1659. config CPU_BMIPS32_3300
  1660. select SMP_UP if SMP
  1661. bool
  1662. config CPU_BMIPS4350
  1663. bool
  1664. select SYS_SUPPORTS_SMP
  1665. select SYS_SUPPORTS_HOTPLUG_CPU
  1666. config CPU_BMIPS4380
  1667. bool
  1668. select MIPS_L1_CACHE_SHIFT_6
  1669. select SYS_SUPPORTS_SMP
  1670. select SYS_SUPPORTS_HOTPLUG_CPU
  1671. select CPU_HAS_RIXI
  1672. config CPU_BMIPS5000
  1673. bool
  1674. select MIPS_CPU_SCACHE
  1675. select MIPS_L1_CACHE_SHIFT_7
  1676. select SYS_SUPPORTS_SMP
  1677. select SYS_SUPPORTS_HOTPLUG_CPU
  1678. select CPU_HAS_RIXI
  1679. config SYS_HAS_CPU_LOONGSON3
  1680. bool
  1681. select CPU_SUPPORTS_CPUFREQ
  1682. select CPU_HAS_RIXI
  1683. config SYS_HAS_CPU_LOONGSON2E
  1684. bool
  1685. config SYS_HAS_CPU_LOONGSON2F
  1686. bool
  1687. select CPU_SUPPORTS_CPUFREQ
  1688. select CPU_SUPPORTS_ADDRWINCFG if 64BIT
  1689. select CPU_SUPPORTS_UNCACHED_ACCELERATED
  1690. config SYS_HAS_CPU_LOONGSON1B
  1691. bool
  1692. config SYS_HAS_CPU_LOONGSON1C
  1693. bool
  1694. config SYS_HAS_CPU_MIPS32_R1
  1695. bool
  1696. config SYS_HAS_CPU_MIPS32_R2
  1697. bool
  1698. config SYS_HAS_CPU_MIPS32_R3_5
  1699. bool
  1700. config SYS_HAS_CPU_MIPS32_R5
  1701. bool
  1702. config SYS_HAS_CPU_MIPS32_R6
  1703. bool
  1704. config SYS_HAS_CPU_MIPS64_R1
  1705. bool
  1706. config SYS_HAS_CPU_MIPS64_R2
  1707. bool
  1708. config SYS_HAS_CPU_MIPS64_R6
  1709. bool
  1710. config SYS_HAS_CPU_R3000
  1711. bool
  1712. config SYS_HAS_CPU_TX39XX
  1713. bool
  1714. config SYS_HAS_CPU_VR41XX
  1715. bool
  1716. config SYS_HAS_CPU_R4300
  1717. bool
  1718. config SYS_HAS_CPU_R4X00
  1719. bool
  1720. config SYS_HAS_CPU_TX49XX
  1721. bool
  1722. config SYS_HAS_CPU_R5000
  1723. bool
  1724. config SYS_HAS_CPU_R5432
  1725. bool
  1726. config SYS_HAS_CPU_R5500
  1727. bool
  1728. config SYS_HAS_CPU_NEVADA
  1729. bool
  1730. config SYS_HAS_CPU_R8000
  1731. bool
  1732. config SYS_HAS_CPU_R10000
  1733. bool
  1734. config SYS_HAS_CPU_RM7000
  1735. bool
  1736. config SYS_HAS_CPU_SB1
  1737. bool
  1738. config SYS_HAS_CPU_CAVIUM_OCTEON
  1739. bool
  1740. config SYS_HAS_CPU_BMIPS
  1741. bool
  1742. config SYS_HAS_CPU_BMIPS32_3300
  1743. bool
  1744. select SYS_HAS_CPU_BMIPS
  1745. config SYS_HAS_CPU_BMIPS4350
  1746. bool
  1747. select SYS_HAS_CPU_BMIPS
  1748. config SYS_HAS_CPU_BMIPS4380
  1749. bool
  1750. select SYS_HAS_CPU_BMIPS
  1751. config SYS_HAS_CPU_BMIPS5000
  1752. bool
  1753. select SYS_HAS_CPU_BMIPS
  1754. config SYS_HAS_CPU_XLR
  1755. bool
  1756. config SYS_HAS_CPU_XLP
  1757. bool
  1758. #
  1759. # CPU may reorder R->R, R->W, W->R, W->W
  1760. # Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
  1761. #
  1762. config WEAK_ORDERING
  1763. bool
  1764. #
  1765. # CPU may reorder reads and writes beyond LL/SC
  1766. # CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
  1767. #
  1768. config WEAK_REORDERING_BEYOND_LLSC
  1769. bool
  1770. endmenu
  1771. #
  1772. # These two indicate any level of the MIPS32 and MIPS64 architecture
  1773. #
  1774. config CPU_MIPS32
  1775. bool
  1776. default y if CPU_MIPS32_R1 || CPU_MIPS32_R2 || CPU_MIPS32_R6
  1777. config CPU_MIPS64
  1778. bool
  1779. default y if CPU_MIPS64_R1 || CPU_MIPS64_R2 || CPU_MIPS64_R6
  1780. #
  1781. # These two indicate the revision of the architecture, either Release 1 or Release 2
  1782. #
  1783. config CPU_MIPSR1
  1784. bool
  1785. default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
  1786. config CPU_MIPSR2
  1787. bool
  1788. default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
  1789. select CPU_HAS_RIXI
  1790. select MIPS_SPRAM
  1791. config CPU_MIPSR6
  1792. bool
  1793. default y if CPU_MIPS32_R6 || CPU_MIPS64_R6
  1794. select CPU_HAS_RIXI
  1795. select HAVE_ARCH_BITREVERSE
  1796. select MIPS_ASID_BITS_VARIABLE
  1797. select MIPS_CRC_SUPPORT
  1798. select MIPS_SPRAM
  1799. config EVA
  1800. bool
  1801. config XPA
  1802. bool
  1803. config SYS_SUPPORTS_32BIT_KERNEL
  1804. bool
  1805. config SYS_SUPPORTS_64BIT_KERNEL
  1806. bool
  1807. config CPU_SUPPORTS_32BIT_KERNEL
  1808. bool
  1809. config CPU_SUPPORTS_64BIT_KERNEL
  1810. bool
  1811. config CPU_SUPPORTS_CPUFREQ
  1812. bool
  1813. config CPU_SUPPORTS_ADDRWINCFG
  1814. bool
  1815. config CPU_SUPPORTS_HUGEPAGES
  1816. bool
  1817. config CPU_SUPPORTS_UNCACHED_ACCELERATED
  1818. bool
  1819. config MIPS_PGD_C0_CONTEXT
  1820. bool
  1821. default y if 64BIT && (CPU_MIPSR2 || CPU_MIPSR6) && !CPU_XLP
  1822. #
  1823. # Set to y for ptrace access to watch registers.
  1824. #
  1825. config HARDWARE_WATCHPOINTS
  1826. bool
  1827. default y if CPU_MIPSR1 || CPU_MIPSR2 || CPU_MIPSR6
  1828. menu "Kernel type"
  1829. choice
  1830. prompt "Kernel code model"
  1831. help
  1832. You should only select this option if you have a workload that
  1833. actually benefits from 64-bit processing or if your machine has
  1834. large memory. You will only be presented a single option in this
  1835. menu if your system does not support both 32-bit and 64-bit kernels.
  1836. config 32BIT
  1837. bool "32-bit kernel"
  1838. depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
  1839. select TRAD_SIGNALS
  1840. help
  1841. Select this option if you want to build a 32-bit kernel.
  1842. config 64BIT
  1843. bool "64-bit kernel"
  1844. depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
  1845. help
  1846. Select this option if you want to build a 64-bit kernel.
  1847. endchoice
  1848. config KVM_GUEST
  1849. bool "KVM Guest Kernel"
  1850. depends on BROKEN_ON_SMP
  1851. help
  1852. Select this option if building a guest kernel for KVM (Trap & Emulate)
  1853. mode.
  1854. config KVM_GUEST_TIMER_FREQ
  1855. int "Count/Compare Timer Frequency (MHz)"
  1856. depends on KVM_GUEST
  1857. default 100
  1858. help
  1859. Set this to non-zero if building a guest kernel for KVM to skip RTC
  1860. emulation when determining guest CPU Frequency. Instead, the guest's
  1861. timer frequency is specified directly.
  1862. config MIPS_VA_BITS_48
  1863. bool "48 bits virtual memory"
  1864. depends on 64BIT
  1865. help
  1866. Support a maximum at least 48 bits of application virtual
  1867. memory. Default is 40 bits or less, depending on the CPU.
  1868. For page sizes 16k and above, this option results in a small
  1869. memory overhead for page tables. For 4k page size, a fourth
  1870. level of page tables is added which imposes both a memory
  1871. overhead as well as slower TLB fault handling.
  1872. If unsure, say N.
  1873. choice
  1874. prompt "Kernel page size"
  1875. default PAGE_SIZE_4KB
  1876. config PAGE_SIZE_4KB
  1877. bool "4kB"
  1878. depends on !CPU_LOONGSON2 && !CPU_LOONGSON3
  1879. help
  1880. This option select the standard 4kB Linux page size. On some
  1881. R3000-family processors this is the only available page size. Using
  1882. 4kB page size will minimize memory consumption and is therefore
  1883. recommended for low memory systems.
  1884. config PAGE_SIZE_8KB
  1885. bool "8kB"
  1886. depends on CPU_R8000 || CPU_CAVIUM_OCTEON
  1887. depends on !MIPS_VA_BITS_48
  1888. help
  1889. Using 8kB page size will result in higher performance kernel at
  1890. the price of higher memory consumption. This option is available
  1891. only on R8000 and cnMIPS processors. Note that you will need a
  1892. suitable Linux distribution to support this.
  1893. config PAGE_SIZE_16KB
  1894. bool "16kB"
  1895. depends on !CPU_R3000 && !CPU_TX39XX
  1896. help
  1897. Using 16kB page size will result in higher performance kernel at
  1898. the price of higher memory consumption. This option is available on
  1899. all non-R3000 family processors. Note that you will need a suitable
  1900. Linux distribution to support this.
  1901. config PAGE_SIZE_32KB
  1902. bool "32kB"
  1903. depends on CPU_CAVIUM_OCTEON
  1904. depends on !MIPS_VA_BITS_48
  1905. help
  1906. Using 32kB page size will result in higher performance kernel at
  1907. the price of higher memory consumption. This option is available
  1908. only on cnMIPS cores. Note that you will need a suitable Linux
  1909. distribution to support this.
  1910. config PAGE_SIZE_64KB
  1911. bool "64kB"
  1912. depends on !CPU_R3000 && !CPU_TX39XX
  1913. help
  1914. Using 64kB page size will result in higher performance kernel at
  1915. the price of higher memory consumption. This option is available on
  1916. all non-R3000 family processor. Not that at the time of this
  1917. writing this option is still high experimental.
  1918. endchoice
  1919. config FORCE_MAX_ZONEORDER
  1920. int "Maximum zone order"
  1921. range 14 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB
  1922. default "14" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB
  1923. range 13 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB
  1924. default "13" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB
  1925. range 12 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB
  1926. default "12" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB
  1927. range 11 64
  1928. default "11"
  1929. help
  1930. The kernel memory allocator divides physically contiguous memory
  1931. blocks into "zones", where each zone is a power of two number of
  1932. pages. This option selects the largest power of two that the kernel
  1933. keeps in the memory allocator. If you need to allocate very large
  1934. blocks of physically contiguous memory, then you may need to
  1935. increase this value.
  1936. This config option is actually maximum order plus one. For example,
  1937. a value of 11 means that the largest free memory block is 2^10 pages.
  1938. The page size is not necessarily 4KB. Keep this in mind
  1939. when choosing a value for this option.
  1940. config BOARD_SCACHE
  1941. bool
  1942. config IP22_CPU_SCACHE
  1943. bool
  1944. select BOARD_SCACHE
  1945. #
  1946. # Support for a MIPS32 / MIPS64 style S-caches
  1947. #
  1948. config MIPS_CPU_SCACHE
  1949. bool
  1950. select BOARD_SCACHE
  1951. config R5000_CPU_SCACHE
  1952. bool
  1953. select BOARD_SCACHE
  1954. config RM7000_CPU_SCACHE
  1955. bool
  1956. select BOARD_SCACHE
  1957. config SIBYTE_DMA_PAGEOPS
  1958. bool "Use DMA to clear/copy pages"
  1959. depends on CPU_SB1
  1960. help
  1961. Instead of using the CPU to zero and copy pages, use a Data Mover
  1962. channel. These DMA channels are otherwise unused by the standard
  1963. SiByte Linux port. Seems to give a small performance benefit.
  1964. config CPU_HAS_PREFETCH
  1965. bool
  1966. config CPU_GENERIC_DUMP_TLB
  1967. bool
  1968. default y if !(CPU_R3000 || CPU_R8000 || CPU_TX39XX)
  1969. config CPU_R4K_FPU
  1970. bool
  1971. default y if !(CPU_R3000 || CPU_TX39XX)
  1972. config CPU_R4K_CACHE_TLB
  1973. bool
  1974. default y if !(CPU_R3000 || CPU_R8000 || CPU_SB1 || CPU_TX39XX || CPU_CAVIUM_OCTEON)
  1975. config MIPS_MT_SMP
  1976. bool "MIPS MT SMP support (1 TC on each available VPE)"
  1977. default y
  1978. depends on SYS_SUPPORTS_MULTITHREADING && !CPU_MIPSR6 && !CPU_MICROMIPS
  1979. select CPU_MIPSR2_IRQ_VI
  1980. select CPU_MIPSR2_IRQ_EI
  1981. select SYNC_R4K
  1982. select MIPS_MT
  1983. select SMP
  1984. select SMP_UP
  1985. select SYS_SUPPORTS_SMP
  1986. select SYS_SUPPORTS_SCHED_SMT
  1987. select MIPS_PERF_SHARED_TC_COUNTERS
  1988. help
  1989. This is a kernel model which is known as SMVP. This is supported
  1990. on cores with the MT ASE and uses the available VPEs to implement
  1991. virtual processors which supports SMP. This is equivalent to the
  1992. Intel Hyperthreading feature. For further information go to
  1993. <http://www.imgtec.com/mips/mips-multithreading.asp>.
  1994. config MIPS_MT
  1995. bool
  1996. config SCHED_SMT
  1997. bool "SMT (multithreading) scheduler support"
  1998. depends on SYS_SUPPORTS_SCHED_SMT
  1999. default n
  2000. help
  2001. SMT scheduler support improves the CPU scheduler's decision making
  2002. when dealing with MIPS MT enabled cores at a cost of slightly
  2003. increased overhead in some places. If unsure say N here.
  2004. config SYS_SUPPORTS_SCHED_SMT
  2005. bool
  2006. config SYS_SUPPORTS_MULTITHREADING
  2007. bool
  2008. config MIPS_MT_FPAFF
  2009. bool "Dynamic FPU affinity for FP-intensive threads"
  2010. default y
  2011. depends on MIPS_MT_SMP
  2012. config MIPSR2_TO_R6_EMULATOR
  2013. bool "MIPS R2-to-R6 emulator"
  2014. depends on CPU_MIPSR6
  2015. default y
  2016. help
  2017. Choose this option if you want to run non-R6 MIPS userland code.
  2018. Even if you say 'Y' here, the emulator will still be disabled by
  2019. default. You can enable it using the 'mipsr2emu' kernel option.
  2020. The only reason this is a build-time option is to save ~14K from the
  2021. final kernel image.
  2022. config SYS_SUPPORTS_VPE_LOADER
  2023. bool
  2024. depends on SYS_SUPPORTS_MULTITHREADING
  2025. help
  2026. Indicates that the platform supports the VPE loader, and provides
  2027. physical_memsize.
  2028. config MIPS_VPE_LOADER
  2029. bool "VPE loader support."
  2030. depends on SYS_SUPPORTS_VPE_LOADER && MODULES
  2031. select CPU_MIPSR2_IRQ_VI
  2032. select CPU_MIPSR2_IRQ_EI
  2033. select MIPS_MT
  2034. help
  2035. Includes a loader for loading an elf relocatable object
  2036. onto another VPE and running it.
  2037. config MIPS_VPE_LOADER_CMP
  2038. bool
  2039. default "y"
  2040. depends on MIPS_VPE_LOADER && MIPS_CMP
  2041. config MIPS_VPE_LOADER_MT
  2042. bool
  2043. default "y"
  2044. depends on MIPS_VPE_LOADER && !MIPS_CMP
  2045. config MIPS_VPE_LOADER_TOM
  2046. bool "Load VPE program into memory hidden from linux"
  2047. depends on MIPS_VPE_LOADER
  2048. default y
  2049. help
  2050. The loader can use memory that is present but has been hidden from
  2051. Linux using the kernel command line option "mem=xxMB". It's up to
  2052. you to ensure the amount you put in the option and the space your
  2053. program requires is less or equal to the amount physically present.
  2054. config MIPS_VPE_APSP_API
  2055. bool "Enable support for AP/SP API (RTLX)"
  2056. depends on MIPS_VPE_LOADER
  2057. config MIPS_VPE_APSP_API_CMP
  2058. bool
  2059. default "y"
  2060. depends on MIPS_VPE_APSP_API && MIPS_CMP
  2061. config MIPS_VPE_APSP_API_MT
  2062. bool
  2063. default "y"
  2064. depends on MIPS_VPE_APSP_API && !MIPS_CMP
  2065. config MIPS_CMP
  2066. bool "MIPS CMP framework support (DEPRECATED)"
  2067. depends on SYS_SUPPORTS_MIPS_CMP && !CPU_MIPSR6
  2068. select SMP
  2069. select SYNC_R4K
  2070. select SYS_SUPPORTS_SMP
  2071. select WEAK_ORDERING
  2072. default n
  2073. help
  2074. Select this if you are using a bootloader which implements the "CMP
  2075. framework" protocol (ie. YAMON) and want your kernel to make use of
  2076. its ability to start secondary CPUs.
  2077. Unless you have a specific need, you should use CONFIG_MIPS_CPS
  2078. instead of this.
  2079. config MIPS_CPS
  2080. bool "MIPS Coherent Processing System support"
  2081. depends on SYS_SUPPORTS_MIPS_CPS
  2082. select MIPS_CM
  2083. select MIPS_CPS_PM if HOTPLUG_CPU
  2084. select SMP
  2085. select SYNC_R4K if (CEVT_R4K || CSRC_R4K)
  2086. select SYS_SUPPORTS_HOTPLUG_CPU
  2087. select SYS_SUPPORTS_SCHED_SMT if CPU_MIPSR6
  2088. select SYS_SUPPORTS_SMP
  2089. select WEAK_ORDERING
  2090. help
  2091. Select this if you wish to run an SMP kernel across multiple cores
  2092. within a MIPS Coherent Processing System. When this option is
  2093. enabled the kernel will probe for other cores and boot them with
  2094. no external assistance. It is safe to enable this when hardware
  2095. support is unavailable.
  2096. config MIPS_CPS_PM
  2097. depends on MIPS_CPS
  2098. bool
  2099. config MIPS_CM
  2100. bool
  2101. select MIPS_CPC
  2102. config MIPS_CPC
  2103. bool
  2104. config SB1_PASS_2_WORKAROUNDS
  2105. bool
  2106. depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
  2107. default y
  2108. config SB1_PASS_2_1_WORKAROUNDS
  2109. bool
  2110. depends on CPU_SB1 && CPU_SB1_PASS_2
  2111. default y
  2112. choice
  2113. prompt "SmartMIPS or microMIPS ASE support"
  2114. config CPU_NEEDS_NO_SMARTMIPS_OR_MICROMIPS
  2115. bool "None"
  2116. help
  2117. Select this if you want neither microMIPS nor SmartMIPS support
  2118. config CPU_HAS_SMARTMIPS
  2119. depends on SYS_SUPPORTS_SMARTMIPS
  2120. bool "SmartMIPS"
  2121. help
  2122. SmartMIPS is a extension of the MIPS32 architecture aimed at
  2123. increased security at both hardware and software level for
  2124. smartcards. Enabling this option will allow proper use of the
  2125. SmartMIPS instructions by Linux applications. However a kernel with
  2126. this option will not work on a MIPS core without SmartMIPS core. If
  2127. you don't know you probably don't have SmartMIPS and should say N
  2128. here.
  2129. config CPU_MICROMIPS
  2130. depends on 32BIT && SYS_SUPPORTS_MICROMIPS && !CPU_MIPSR6
  2131. bool "microMIPS"
  2132. help
  2133. When this option is enabled the kernel will be built using the
  2134. microMIPS ISA
  2135. endchoice
  2136. config CPU_HAS_MSA
  2137. bool "Support for the MIPS SIMD Architecture"
  2138. depends on CPU_SUPPORTS_MSA
  2139. depends on 64BIT || MIPS_O32_FP64_SUPPORT
  2140. help
  2141. MIPS SIMD Architecture (MSA) introduces 128 bit wide vector registers
  2142. and a set of SIMD instructions to operate on them. When this option
  2143. is enabled the kernel will support allocating & switching MSA
  2144. vector register contexts. If you know that your kernel will only be
  2145. running on CPUs which do not support MSA or that your userland will
  2146. not be making use of it then you may wish to say N here to reduce
  2147. the size & complexity of your kernel.
  2148. If unsure, say Y.
  2149. config CPU_HAS_WB
  2150. bool
  2151. config XKS01
  2152. bool
  2153. config CPU_HAS_RIXI
  2154. bool
  2155. #
  2156. # Vectored interrupt mode is an R2 feature
  2157. #
  2158. config CPU_MIPSR2_IRQ_VI
  2159. bool
  2160. #
  2161. # Extended interrupt mode is an R2 feature
  2162. #
  2163. config CPU_MIPSR2_IRQ_EI
  2164. bool
  2165. config CPU_HAS_SYNC
  2166. bool
  2167. depends on !CPU_R3000
  2168. default y
  2169. #
  2170. # CPU non-features
  2171. #
  2172. config CPU_DADDI_WORKAROUNDS
  2173. bool
  2174. config CPU_R4000_WORKAROUNDS
  2175. bool
  2176. select CPU_R4400_WORKAROUNDS
  2177. config CPU_R4400_WORKAROUNDS
  2178. bool
  2179. config MIPS_ASID_SHIFT
  2180. int
  2181. default 6 if CPU_R3000 || CPU_TX39XX
  2182. default 4 if CPU_R8000
  2183. default 0
  2184. config MIPS_ASID_BITS
  2185. int
  2186. default 0 if MIPS_ASID_BITS_VARIABLE
  2187. default 6 if CPU_R3000 || CPU_TX39XX
  2188. default 8
  2189. config MIPS_ASID_BITS_VARIABLE
  2190. bool
  2191. config MIPS_CRC_SUPPORT
  2192. bool
  2193. #
  2194. # - Highmem only makes sense for the 32-bit kernel.
  2195. # - The current highmem code will only work properly on physically indexed
  2196. # caches such as R3000, SB1, R7000 or those that look like they're virtually
  2197. # indexed such as R4000/R4400 SC and MC versions or R10000. So for the
  2198. # moment we protect the user and offer the highmem option only on machines
  2199. # where it's known to be safe. This will not offer highmem on a few systems
  2200. # such as MIPS32 and MIPS64 CPUs which may have virtual and physically
  2201. # indexed CPUs but we're playing safe.
  2202. # - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
  2203. # know they might have memory configurations that could make use of highmem
  2204. # support.
  2205. #
  2206. config HIGHMEM
  2207. bool "High Memory Support"
  2208. depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM && !CPU_MIPS32_3_5_EVA
  2209. config CPU_SUPPORTS_HIGHMEM
  2210. bool
  2211. config SYS_SUPPORTS_HIGHMEM
  2212. bool
  2213. config SYS_SUPPORTS_SMARTMIPS
  2214. bool
  2215. config SYS_SUPPORTS_MICROMIPS
  2216. bool
  2217. config SYS_SUPPORTS_MIPS16
  2218. bool
  2219. help
  2220. This option must be set if a kernel might be executed on a MIPS16-
  2221. enabled CPU even if MIPS16 is not actually being used. In other
  2222. words, it makes the kernel MIPS16-tolerant.
  2223. config CPU_SUPPORTS_MSA
  2224. bool
  2225. config ARCH_FLATMEM_ENABLE
  2226. def_bool y
  2227. depends on !NUMA && !CPU_LOONGSON2
  2228. config ARCH_DISCONTIGMEM_ENABLE
  2229. bool
  2230. default y if SGI_IP27
  2231. help
  2232. Say Y to support efficient handling of discontiguous physical memory,
  2233. for architectures which are either NUMA (Non-Uniform Memory Access)
  2234. or have huge holes in the physical address space for other reasons.
  2235. See <file:Documentation/vm/numa.rst> for more.
  2236. config ARCH_SPARSEMEM_ENABLE
  2237. bool
  2238. select SPARSEMEM_STATIC
  2239. config NUMA
  2240. bool "NUMA Support"
  2241. depends on SYS_SUPPORTS_NUMA
  2242. help
  2243. Say Y to compile the kernel to support NUMA (Non-Uniform Memory
  2244. Access). This option improves performance on systems with more
  2245. than two nodes; on two node systems it is generally better to
  2246. leave it disabled; on single node systems disable this option
  2247. disabled.
  2248. config SYS_SUPPORTS_NUMA
  2249. bool
  2250. config RELOCATABLE
  2251. bool "Relocatable kernel"
  2252. depends on SYS_SUPPORTS_RELOCATABLE && (CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_MIPS32_R6 || CPU_MIPS64_R6 || CAVIUM_OCTEON_SOC)
  2253. help
  2254. This builds a kernel image that retains relocation information
  2255. so it can be loaded someplace besides the default 1MB.
  2256. The relocations make the kernel binary about 15% larger,
  2257. but are discarded at runtime
  2258. config RELOCATION_TABLE_SIZE
  2259. hex "Relocation table size"
  2260. depends on RELOCATABLE
  2261. range 0x0 0x01000000
  2262. default "0x00100000"
  2263. ---help---
  2264. A table of relocation data will be appended to the kernel binary
  2265. and parsed at boot to fix up the relocated kernel.
  2266. This option allows the amount of space reserved for the table to be
  2267. adjusted, although the default of 1Mb should be ok in most cases.
  2268. The build will fail and a valid size suggested if this is too small.
  2269. If unsure, leave at the default value.
  2270. config RANDOMIZE_BASE
  2271. bool "Randomize the address of the kernel image"
  2272. depends on RELOCATABLE
  2273. ---help---
  2274. Randomizes the physical and virtual address at which the
  2275. kernel image is loaded, as a security feature that
  2276. deters exploit attempts relying on knowledge of the location
  2277. of kernel internals.
  2278. Entropy is generated using any coprocessor 0 registers available.
  2279. The kernel will be offset by up to RANDOMIZE_BASE_MAX_OFFSET.
  2280. If unsure, say N.
  2281. config RANDOMIZE_BASE_MAX_OFFSET
  2282. hex "Maximum kASLR offset" if EXPERT
  2283. depends on RANDOMIZE_BASE
  2284. range 0x0 0x40000000 if EVA || 64BIT
  2285. range 0x0 0x08000000
  2286. default "0x01000000"
  2287. ---help---
  2288. When kASLR is active, this provides the maximum offset that will
  2289. be applied to the kernel image. It should be set according to the
  2290. amount of physical RAM available in the target system minus
  2291. PHYSICAL_START and must be a power of 2.
  2292. This is limited by the size of KSEG0, 256Mb on 32-bit or 1Gb with
  2293. EVA or 64-bit. The default is 16Mb.
  2294. config NODES_SHIFT
  2295. int
  2296. default "6"
  2297. depends on NEED_MULTIPLE_NODES
  2298. config HW_PERF_EVENTS
  2299. bool "Enable hardware performance counter support for perf events"
  2300. depends on PERF_EVENTS && !OPROFILE && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON || CPU_XLP || CPU_LOONGSON3)
  2301. default y
  2302. help
  2303. Enable hardware performance counter support for perf events. If
  2304. disabled, perf events will use software events only.
  2305. config SMP
  2306. bool "Multi-Processing support"
  2307. depends on SYS_SUPPORTS_SMP
  2308. help
  2309. This enables support for systems with more than one CPU. If you have
  2310. a system with only one CPU, say N. If you have a system with more
  2311. than one CPU, say Y.
  2312. If you say N here, the kernel will run on uni- and multiprocessor
  2313. machines, but will use only one CPU of a multiprocessor machine. If
  2314. you say Y here, the kernel will run on many, but not all,
  2315. uniprocessor machines. On a uniprocessor machine, the kernel
  2316. will run faster if you say N here.
  2317. People using multiprocessor machines who say Y here should also say
  2318. Y to "Enhanced Real Time Clock Support", below.
  2319. See also the SMP-HOWTO available at
  2320. <http://www.tldp.org/docs.html#howto>.
  2321. If you don't know what to do here, say N.
  2322. config HOTPLUG_CPU
  2323. bool "Support for hot-pluggable CPUs"
  2324. depends on SMP && SYS_SUPPORTS_HOTPLUG_CPU
  2325. help
  2326. Say Y here to allow turning CPUs off and on. CPUs can be
  2327. controlled through /sys/devices/system/cpu.
  2328. (Note: power management support will enable this option
  2329. automatically on SMP systems. )
  2330. Say N if you want to disable CPU hotplug.
  2331. config SMP_UP
  2332. bool
  2333. config SYS_SUPPORTS_MIPS_CMP
  2334. bool
  2335. config SYS_SUPPORTS_MIPS_CPS
  2336. bool
  2337. config SYS_SUPPORTS_SMP
  2338. bool
  2339. config NR_CPUS_DEFAULT_4
  2340. bool
  2341. config NR_CPUS_DEFAULT_8
  2342. bool
  2343. config NR_CPUS_DEFAULT_16
  2344. bool
  2345. config NR_CPUS_DEFAULT_32
  2346. bool
  2347. config NR_CPUS_DEFAULT_64
  2348. bool
  2349. config NR_CPUS
  2350. int "Maximum number of CPUs (2-256)"
  2351. range 2 256
  2352. depends on SMP
  2353. default "4" if NR_CPUS_DEFAULT_4
  2354. default "8" if NR_CPUS_DEFAULT_8
  2355. default "16" if NR_CPUS_DEFAULT_16
  2356. default "32" if NR_CPUS_DEFAULT_32
  2357. default "64" if NR_CPUS_DEFAULT_64
  2358. help
  2359. This allows you to specify the maximum number of CPUs which this
  2360. kernel will support. The maximum supported value is 32 for 32-bit
  2361. kernel and 64 for 64-bit kernels; the minimum value which makes
  2362. sense is 1 for Qemu (useful only for kernel debugging purposes)
  2363. and 2 for all others.
  2364. This is purely to save memory - each supported CPU adds
  2365. approximately eight kilobytes to the kernel image. For best
  2366. performance should round up your number of processors to the next
  2367. power of two.
  2368. config MIPS_PERF_SHARED_TC_COUNTERS
  2369. bool
  2370. config MIPS_NR_CPU_NR_MAP_1024
  2371. bool
  2372. config MIPS_NR_CPU_NR_MAP
  2373. int
  2374. depends on SMP
  2375. default 1024 if MIPS_NR_CPU_NR_MAP_1024
  2376. default NR_CPUS if !MIPS_NR_CPU_NR_MAP_1024
  2377. #
  2378. # Timer Interrupt Frequency Configuration
  2379. #
  2380. choice
  2381. prompt "Timer frequency"
  2382. default HZ_250
  2383. help
  2384. Allows the configuration of the timer frequency.
  2385. config HZ_24
  2386. bool "24 HZ" if SYS_SUPPORTS_24HZ || SYS_SUPPORTS_ARBIT_HZ
  2387. config HZ_48
  2388. bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
  2389. config HZ_100
  2390. bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
  2391. config HZ_128
  2392. bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
  2393. config HZ_250
  2394. bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
  2395. config HZ_256
  2396. bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
  2397. config HZ_1000
  2398. bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
  2399. config HZ_1024
  2400. bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
  2401. endchoice
  2402. config SYS_SUPPORTS_24HZ
  2403. bool
  2404. config SYS_SUPPORTS_48HZ
  2405. bool
  2406. config SYS_SUPPORTS_100HZ
  2407. bool
  2408. config SYS_SUPPORTS_128HZ
  2409. bool
  2410. config SYS_SUPPORTS_250HZ
  2411. bool
  2412. config SYS_SUPPORTS_256HZ
  2413. bool
  2414. config SYS_SUPPORTS_1000HZ
  2415. bool
  2416. config SYS_SUPPORTS_1024HZ
  2417. bool
  2418. config SYS_SUPPORTS_ARBIT_HZ
  2419. bool
  2420. default y if !SYS_SUPPORTS_24HZ && \
  2421. !SYS_SUPPORTS_48HZ && \
  2422. !SYS_SUPPORTS_100HZ && \
  2423. !SYS_SUPPORTS_128HZ && \
  2424. !SYS_SUPPORTS_250HZ && \
  2425. !SYS_SUPPORTS_256HZ && \
  2426. !SYS_SUPPORTS_1000HZ && \
  2427. !SYS_SUPPORTS_1024HZ
  2428. config HZ
  2429. int
  2430. default 24 if HZ_24
  2431. default 48 if HZ_48
  2432. default 100 if HZ_100
  2433. default 128 if HZ_128
  2434. default 250 if HZ_250
  2435. default 256 if HZ_256
  2436. default 1000 if HZ_1000
  2437. default 1024 if HZ_1024
  2438. config SCHED_HRTICK
  2439. def_bool HIGH_RES_TIMERS
  2440. config KEXEC
  2441. bool "Kexec system call"
  2442. select KEXEC_CORE
  2443. help
  2444. kexec is a system call that implements the ability to shutdown your
  2445. current kernel, and to start another kernel. It is like a reboot
  2446. but it is independent of the system firmware. And like a reboot
  2447. you can start any kernel with it, not just Linux.
  2448. The name comes from the similarity to the exec system call.
  2449. It is an ongoing process to be certain the hardware in a machine
  2450. is properly shutdown, so do not be surprised if this code does not
  2451. initially work for you. As of this writing the exact hardware
  2452. interface is strongly in flux, so no good recommendation can be
  2453. made.
  2454. config CRASH_DUMP
  2455. bool "Kernel crash dumps"
  2456. help
  2457. Generate crash dump after being started by kexec.
  2458. This should be normally only set in special crash dump kernels
  2459. which are loaded in the main kernel with kexec-tools into
  2460. a specially reserved region and then later executed after
  2461. a crash by kdump/kexec. The crash dump kernel must be compiled
  2462. to a memory address not used by the main kernel or firmware using
  2463. PHYSICAL_START.
  2464. config PHYSICAL_START
  2465. hex "Physical address where the kernel is loaded"
  2466. default "0xffffffff84000000"
  2467. depends on CRASH_DUMP
  2468. help
  2469. This gives the CKSEG0 or KSEG0 address where the kernel is loaded.
  2470. If you plan to use kernel for capturing the crash dump change
  2471. this value to start of the reserved region (the "X" value as
  2472. specified in the "crashkernel=YM@XM" command line boot parameter
  2473. passed to the panic-ed kernel).
  2474. config SECCOMP
  2475. bool "Enable seccomp to safely compute untrusted bytecode"
  2476. depends on PROC_FS
  2477. default y
  2478. help
  2479. This kernel feature is useful for number crunching applications
  2480. that may need to compute untrusted bytecode during their
  2481. execution. By using pipes or other transports made available to
  2482. the process as file descriptors supporting the read/write
  2483. syscalls, it's possible to isolate those applications in
  2484. their own address space using seccomp. Once seccomp is
  2485. enabled via /proc/<pid>/seccomp, it cannot be disabled
  2486. and the task is only allowed to execute a few safe syscalls
  2487. defined by each seccomp mode.
  2488. If unsure, say Y. Only embedded should say N here.
  2489. config MIPS_O32_FP64_SUPPORT
  2490. bool "Support for O32 binaries using 64-bit FP"
  2491. depends on 32BIT || MIPS32_O32
  2492. help
  2493. When this is enabled, the kernel will support use of 64-bit floating
  2494. point registers with binaries using the O32 ABI along with the
  2495. EF_MIPS_FP64 ELF header flag (typically built with -mfp64). On
  2496. 32-bit MIPS systems this support is at the cost of increasing the
  2497. size and complexity of the compiled FPU emulator. Thus if you are
  2498. running a MIPS32 system and know that none of your userland binaries
  2499. will require 64-bit floating point, you may wish to reduce the size
  2500. of your kernel & potentially improve FP emulation performance by
  2501. saying N here.
  2502. Although binutils currently supports use of this flag the details
  2503. concerning its effect upon the O32 ABI in userland are still being
  2504. worked on. In order to avoid userland becoming dependant upon current
  2505. behaviour before the details have been finalised, this option should
  2506. be considered experimental and only enabled by those working upon
  2507. said details.
  2508. If unsure, say N.
  2509. config USE_OF
  2510. bool
  2511. select OF
  2512. select OF_EARLY_FLATTREE
  2513. select IRQ_DOMAIN
  2514. config BUILTIN_DTB
  2515. bool
  2516. choice
  2517. prompt "Kernel appended dtb support" if USE_OF
  2518. default MIPS_NO_APPENDED_DTB
  2519. config MIPS_NO_APPENDED_DTB
  2520. bool "None"
  2521. help
  2522. Do not enable appended dtb support.
  2523. config MIPS_ELF_APPENDED_DTB
  2524. bool "vmlinux"
  2525. help
  2526. With this option, the boot code will look for a device tree binary
  2527. DTB) included in the vmlinux ELF section .appended_dtb. By default
  2528. it is empty and the DTB can be appended using binutils command
  2529. objcopy:
  2530. objcopy --update-section .appended_dtb=<filename>.dtb vmlinux
  2531. This is meant as a backward compatiblity convenience for those
  2532. systems with a bootloader that can't be upgraded to accommodate
  2533. the documented boot protocol using a device tree.
  2534. config MIPS_RAW_APPENDED_DTB
  2535. bool "vmlinux.bin or vmlinuz.bin"
  2536. help
  2537. With this option, the boot code will look for a device tree binary
  2538. DTB) appended to raw vmlinux.bin or vmlinuz.bin.
  2539. (e.g. cat vmlinux.bin <filename>.dtb > vmlinux_w_dtb).
  2540. This is meant as a backward compatibility convenience for those
  2541. systems with a bootloader that can't be upgraded to accommodate
  2542. the documented boot protocol using a device tree.
  2543. Beware that there is very little in terms of protection against
  2544. this option being confused by leftover garbage in memory that might
  2545. look like a DTB header after a reboot if no actual DTB is appended
  2546. to vmlinux.bin. Do not leave this option active in a production kernel
  2547. if you don't intend to always append a DTB.
  2548. endchoice
  2549. choice
  2550. prompt "Kernel command line type" if !CMDLINE_OVERRIDE
  2551. default MIPS_CMDLINE_FROM_DTB if USE_OF && !ATH79 && !MACH_INGENIC && \
  2552. !MIPS_MALTA && \
  2553. !CAVIUM_OCTEON_SOC
  2554. default MIPS_CMDLINE_FROM_BOOTLOADER
  2555. config MIPS_CMDLINE_FROM_DTB
  2556. depends on USE_OF
  2557. bool "Dtb kernel arguments if available"
  2558. config MIPS_CMDLINE_DTB_EXTEND
  2559. depends on USE_OF
  2560. bool "Extend dtb kernel arguments with bootloader arguments"
  2561. config MIPS_CMDLINE_FROM_BOOTLOADER
  2562. bool "Bootloader kernel arguments if available"
  2563. config MIPS_CMDLINE_BUILTIN_EXTEND
  2564. depends on CMDLINE_BOOL
  2565. bool "Extend builtin kernel arguments with bootloader arguments"
  2566. endchoice
  2567. endmenu
  2568. config LOCKDEP_SUPPORT
  2569. bool
  2570. default y
  2571. config STACKTRACE_SUPPORT
  2572. bool
  2573. default y
  2574. config HAVE_LATENCYTOP_SUPPORT
  2575. bool
  2576. default y
  2577. config PGTABLE_LEVELS
  2578. int
  2579. default 4 if PAGE_SIZE_4KB && MIPS_VA_BITS_48
  2580. default 3 if 64BIT && !PAGE_SIZE_64KB
  2581. default 2
  2582. config MIPS_AUTO_PFN_OFFSET
  2583. bool
  2584. menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
  2585. config HW_HAS_EISA
  2586. bool
  2587. config HW_HAS_PCI
  2588. bool
  2589. config PCI
  2590. bool "Support for PCI controller"
  2591. depends on HW_HAS_PCI
  2592. select PCI_DOMAINS
  2593. help
  2594. Find out whether you have a PCI motherboard. PCI is the name of a
  2595. bus system, i.e. the way the CPU talks to the other stuff inside
  2596. your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
  2597. say Y, otherwise N.
  2598. config HT_PCI
  2599. bool "Support for HT-linked PCI"
  2600. default y
  2601. depends on CPU_LOONGSON3
  2602. select PCI
  2603. select PCI_DOMAINS
  2604. help
  2605. Loongson family machines use Hyper-Transport bus for inter-core
  2606. connection and device connection. The PCI bus is a subordinate
  2607. linked at HT. Choose Y for Loongson-3 based machines.
  2608. config PCI_DOMAINS
  2609. bool
  2610. config PCI_DOMAINS_GENERIC
  2611. bool
  2612. config PCI_DRIVERS_GENERIC
  2613. select PCI_DOMAINS_GENERIC if PCI_DOMAINS
  2614. bool
  2615. config PCI_DRIVERS_LEGACY
  2616. def_bool !PCI_DRIVERS_GENERIC
  2617. select NO_GENERIC_PCI_IOPORT_MAP
  2618. source "drivers/pci/Kconfig"
  2619. #
  2620. # ISA support is now enabled via select. Too many systems still have the one
  2621. # or other ISA chip on the board that users don't know about so don't expect
  2622. # users to choose the right thing ...
  2623. #
  2624. config ISA
  2625. bool
  2626. config EISA
  2627. bool "EISA support"
  2628. depends on HW_HAS_EISA
  2629. select ISA
  2630. select GENERIC_ISA_DMA
  2631. ---help---
  2632. The Extended Industry Standard Architecture (EISA) bus was
  2633. developed as an open alternative to the IBM MicroChannel bus.
  2634. The EISA bus provided some of the features of the IBM MicroChannel
  2635. bus while maintaining backward compatibility with cards made for
  2636. the older ISA bus. The EISA bus saw limited use between 1988 and
  2637. 1995 when it was made obsolete by the PCI bus.
  2638. Say Y here if you are building a kernel for an EISA-based machine.
  2639. Otherwise, say N.
  2640. source "drivers/eisa/Kconfig"
  2641. config TC
  2642. bool "TURBOchannel support"
  2643. depends on MACH_DECSTATION
  2644. help
  2645. TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
  2646. processors. TURBOchannel programming specifications are available
  2647. at:
  2648. <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/>
  2649. and:
  2650. <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/>
  2651. Linux driver support status is documented at:
  2652. <http://www.linux-mips.org/wiki/DECstation>
  2653. config MMU
  2654. bool
  2655. default y
  2656. config ARCH_MMAP_RND_BITS_MIN
  2657. default 12 if 64BIT
  2658. default 8
  2659. config ARCH_MMAP_RND_BITS_MAX
  2660. default 18 if 64BIT
  2661. default 15
  2662. config ARCH_MMAP_RND_COMPAT_BITS_MIN
  2663. default 8
  2664. config ARCH_MMAP_RND_COMPAT_BITS_MAX
  2665. default 15
  2666. config I8253
  2667. bool
  2668. select CLKSRC_I8253
  2669. select CLKEVT_I8253
  2670. select MIPS_EXTERNAL_TIMER
  2671. config ZONE_DMA
  2672. bool
  2673. config ZONE_DMA32
  2674. bool
  2675. source "drivers/pcmcia/Kconfig"
  2676. config HAS_RAPIDIO
  2677. bool
  2678. default n
  2679. config RAPIDIO
  2680. tristate "RapidIO support"
  2681. depends on HAS_RAPIDIO || PCI
  2682. help
  2683. If you say Y here, the kernel will include drivers and
  2684. infrastructure code to support RapidIO interconnect devices.
  2685. source "drivers/rapidio/Kconfig"
  2686. endmenu
  2687. config TRAD_SIGNALS
  2688. bool
  2689. config MIPS32_COMPAT
  2690. bool
  2691. config COMPAT
  2692. bool
  2693. config SYSVIPC_COMPAT
  2694. bool
  2695. config MIPS32_O32
  2696. bool "Kernel support for o32 binaries"
  2697. depends on 64BIT
  2698. select ARCH_WANT_OLD_COMPAT_IPC
  2699. select COMPAT
  2700. select MIPS32_COMPAT
  2701. select SYSVIPC_COMPAT if SYSVIPC
  2702. help
  2703. Select this option if you want to run o32 binaries. These are pure
  2704. 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
  2705. existing binaries are in this format.
  2706. If unsure, say Y.
  2707. config MIPS32_N32
  2708. bool "Kernel support for n32 binaries"
  2709. depends on 64BIT
  2710. select ARCH_WANT_COMPAT_IPC_PARSE_VERSION
  2711. select COMPAT
  2712. select MIPS32_COMPAT
  2713. select SYSVIPC_COMPAT if SYSVIPC
  2714. help
  2715. Select this option if you want to run n32 binaries. These are
  2716. 64-bit binaries using 32-bit quantities for addressing and certain
  2717. data that would normally be 64-bit. They are used in special
  2718. cases.
  2719. If unsure, say N.
  2720. config BINFMT_ELF32
  2721. bool
  2722. default y if MIPS32_O32 || MIPS32_N32
  2723. select ELFCORE
  2724. menu "Power management options"
  2725. config ARCH_HIBERNATION_POSSIBLE
  2726. def_bool y
  2727. depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
  2728. config ARCH_SUSPEND_POSSIBLE
  2729. def_bool y
  2730. depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
  2731. source "kernel/power/Kconfig"
  2732. endmenu
  2733. config MIPS_EXTERNAL_TIMER
  2734. bool
  2735. menu "CPU Power Management"
  2736. if CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER
  2737. source "drivers/cpufreq/Kconfig"
  2738. endif
  2739. source "drivers/cpuidle/Kconfig"
  2740. endmenu
  2741. source "drivers/firmware/Kconfig"
  2742. source "arch/mips/kvm/Kconfig"