Kconfig 80 KB

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