Kconfig 79 KB

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