Kconfig 63 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192
  1. config ARM
  2. bool
  3. default y
  4. select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
  5. select ARCH_HAS_ELF_RANDOMIZE
  6. select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
  7. select ARCH_HAVE_CUSTOM_GPIO_H
  8. select ARCH_HAS_GCOV_PROFILE_ALL
  9. select ARCH_MIGHT_HAVE_PC_PARPORT
  10. select ARCH_SUPPORTS_ATOMIC_RMW
  11. select ARCH_USE_BUILTIN_BSWAP
  12. select ARCH_USE_CMPXCHG_LOCKREF
  13. select ARCH_WANT_IPC_PARSE_VERSION
  14. select BUILDTIME_EXTABLE_SORT if MMU
  15. select CLONE_BACKWARDS
  16. select CPU_PM if (SUSPEND || CPU_IDLE)
  17. select DCACHE_WORD_ACCESS if HAVE_EFFICIENT_UNALIGNED_ACCESS
  18. select EDAC_SUPPORT
  19. select EDAC_ATOMIC_SCRUB
  20. select GENERIC_ALLOCATOR
  21. select GENERIC_ATOMIC64 if (CPU_V7M || CPU_V6 || !CPU_32v6K || !AEABI)
  22. select GENERIC_CLOCKEVENTS_BROADCAST if SMP
  23. select GENERIC_IDLE_POLL_SETUP
  24. select GENERIC_IRQ_PROBE
  25. select GENERIC_IRQ_SHOW
  26. select GENERIC_IRQ_SHOW_LEVEL
  27. select GENERIC_PCI_IOMAP
  28. select GENERIC_SCHED_CLOCK
  29. select GENERIC_SMP_IDLE_THREAD
  30. select GENERIC_STRNCPY_FROM_USER
  31. select GENERIC_STRNLEN_USER
  32. select HANDLE_DOMAIN_IRQ
  33. select HARDIRQS_SW_RESEND
  34. select HAVE_ARCH_AUDITSYSCALL if (AEABI && !OABI_COMPAT)
  35. select HAVE_ARCH_BITREVERSE if (CPU_32v7M || CPU_32v7) && !CPU_32v6
  36. select HAVE_ARCH_JUMP_LABEL if !XIP_KERNEL && !CPU_ENDIAN_BE32
  37. select HAVE_ARCH_KGDB if !CPU_ENDIAN_BE32
  38. select HAVE_ARCH_SECCOMP_FILTER if (AEABI && !OABI_COMPAT)
  39. select HAVE_ARCH_TRACEHOOK
  40. select HAVE_BPF_JIT
  41. select HAVE_CC_STACKPROTECTOR
  42. select HAVE_CONTEXT_TRACKING
  43. select HAVE_C_RECORDMCOUNT
  44. select HAVE_DEBUG_KMEMLEAK
  45. select HAVE_DMA_API_DEBUG
  46. select HAVE_DMA_ATTRS
  47. select HAVE_DMA_CONTIGUOUS if MMU
  48. select HAVE_DYNAMIC_FTRACE if (!XIP_KERNEL) && !CPU_ENDIAN_BE32
  49. select HAVE_EFFICIENT_UNALIGNED_ACCESS if (CPU_V6 || CPU_V6K || CPU_V7) && MMU
  50. select HAVE_FTRACE_MCOUNT_RECORD if (!XIP_KERNEL)
  51. select HAVE_FUNCTION_GRAPH_TRACER if (!THUMB2_KERNEL)
  52. select HAVE_FUNCTION_TRACER if (!XIP_KERNEL)
  53. select HAVE_GENERIC_DMA_COHERENT
  54. select HAVE_HW_BREAKPOINT if (PERF_EVENTS && (CPU_V6 || CPU_V6K || CPU_V7))
  55. select HAVE_IDE if PCI || ISA || PCMCIA
  56. select HAVE_IRQ_TIME_ACCOUNTING
  57. select HAVE_KERNEL_GZIP
  58. select HAVE_KERNEL_LZ4
  59. select HAVE_KERNEL_LZMA
  60. select HAVE_KERNEL_LZO
  61. select HAVE_KERNEL_XZ
  62. select HAVE_KPROBES if !XIP_KERNEL && !CPU_ENDIAN_BE32 && !CPU_V7M
  63. select HAVE_KRETPROBES if (HAVE_KPROBES)
  64. select HAVE_MEMBLOCK
  65. select HAVE_MOD_ARCH_SPECIFIC
  66. select HAVE_OPROFILE if (HAVE_PERF_EVENTS)
  67. select HAVE_OPTPROBES if !THUMB2_KERNEL
  68. select HAVE_PERF_EVENTS
  69. select HAVE_PERF_REGS
  70. select HAVE_PERF_USER_STACK_DUMP
  71. select HAVE_RCU_TABLE_FREE if (SMP && ARM_LPAE)
  72. select HAVE_REGS_AND_STACK_ACCESS_API
  73. select HAVE_SYSCALL_TRACEPOINTS
  74. select HAVE_UID16
  75. select HAVE_VIRT_CPU_ACCOUNTING_GEN
  76. select IRQ_FORCED_THREADING
  77. select MODULES_USE_ELF_REL
  78. select NO_BOOTMEM
  79. select OLD_SIGACTION
  80. select OLD_SIGSUSPEND3
  81. select PERF_USE_VMALLOC
  82. select RTC_LIB
  83. select SYS_SUPPORTS_APM_EMULATION
  84. # Above selects are sorted alphabetically; please add new ones
  85. # according to that. Thanks.
  86. help
  87. The ARM series is a line of low-power-consumption RISC chip designs
  88. licensed by ARM Ltd and targeted at embedded applications and
  89. handhelds such as the Compaq IPAQ. ARM-based PCs are no longer
  90. manufactured, but legacy ARM-based PC hardware remains popular in
  91. Europe. There is an ARM Linux project with a web page at
  92. <http://www.arm.linux.org.uk/>.
  93. config ARM_HAS_SG_CHAIN
  94. select ARCH_HAS_SG_CHAIN
  95. bool
  96. config NEED_SG_DMA_LENGTH
  97. bool
  98. config ARM_DMA_USE_IOMMU
  99. bool
  100. select ARM_HAS_SG_CHAIN
  101. select NEED_SG_DMA_LENGTH
  102. if ARM_DMA_USE_IOMMU
  103. config ARM_DMA_IOMMU_ALIGNMENT
  104. int "Maximum PAGE_SIZE order of alignment for DMA IOMMU buffers"
  105. range 4 9
  106. default 8
  107. help
  108. DMA mapping framework by default aligns all buffers to the smallest
  109. PAGE_SIZE order which is greater than or equal to the requested buffer
  110. size. This works well for buffers up to a few hundreds kilobytes, but
  111. for larger buffers it just a waste of address space. Drivers which has
  112. relatively small addressing window (like 64Mib) might run out of
  113. virtual space with just a few allocations.
  114. With this parameter you can specify the maximum PAGE_SIZE order for
  115. DMA IOMMU buffers. Larger buffers will be aligned only to this
  116. specified order. The order is expressed as a power of two multiplied
  117. by the PAGE_SIZE.
  118. endif
  119. config MIGHT_HAVE_PCI
  120. bool
  121. config SYS_SUPPORTS_APM_EMULATION
  122. bool
  123. config HAVE_TCM
  124. bool
  125. select GENERIC_ALLOCATOR
  126. config HAVE_PROC_CPU
  127. bool
  128. config NO_IOPORT_MAP
  129. bool
  130. config EISA
  131. bool
  132. ---help---
  133. The Extended Industry Standard Architecture (EISA) bus was
  134. developed as an open alternative to the IBM MicroChannel bus.
  135. The EISA bus provided some of the features of the IBM MicroChannel
  136. bus while maintaining backward compatibility with cards made for
  137. the older ISA bus. The EISA bus saw limited use between 1988 and
  138. 1995 when it was made obsolete by the PCI bus.
  139. Say Y here if you are building a kernel for an EISA-based machine.
  140. Otherwise, say N.
  141. config SBUS
  142. bool
  143. config STACKTRACE_SUPPORT
  144. bool
  145. default y
  146. config HAVE_LATENCYTOP_SUPPORT
  147. bool
  148. depends on !SMP
  149. default y
  150. config LOCKDEP_SUPPORT
  151. bool
  152. default y
  153. config TRACE_IRQFLAGS_SUPPORT
  154. bool
  155. default !CPU_V7M
  156. config RWSEM_XCHGADD_ALGORITHM
  157. bool
  158. default y
  159. config ARCH_HAS_ILOG2_U32
  160. bool
  161. config ARCH_HAS_ILOG2_U64
  162. bool
  163. config ARCH_HAS_BANDGAP
  164. bool
  165. config FIX_EARLYCON_MEM
  166. def_bool y if MMU
  167. config GENERIC_HWEIGHT
  168. bool
  169. default y
  170. config GENERIC_CALIBRATE_DELAY
  171. bool
  172. default y
  173. config ARCH_MAY_HAVE_PC_FDC
  174. bool
  175. config ZONE_DMA
  176. bool
  177. config NEED_DMA_MAP_STATE
  178. def_bool y
  179. config ARCH_SUPPORTS_UPROBES
  180. def_bool y
  181. config ARCH_HAS_DMA_SET_COHERENT_MASK
  182. bool
  183. config GENERIC_ISA_DMA
  184. bool
  185. config FIQ
  186. bool
  187. config NEED_RET_TO_USER
  188. bool
  189. config ARCH_MTD_XIP
  190. bool
  191. config VECTORS_BASE
  192. hex
  193. default 0xffff0000 if MMU || CPU_HIGH_VECTOR
  194. default DRAM_BASE if REMAP_VECTORS_TO_RAM
  195. default 0x00000000
  196. help
  197. The base address of exception vectors. This must be two pages
  198. in size.
  199. config ARM_PATCH_PHYS_VIRT
  200. bool "Patch physical to virtual translations at runtime" if EMBEDDED
  201. default y
  202. depends on !XIP_KERNEL && MMU
  203. depends on !ARCH_REALVIEW || !SPARSEMEM
  204. help
  205. Patch phys-to-virt and virt-to-phys translation functions at
  206. boot and module load time according to the position of the
  207. kernel in system memory.
  208. This can only be used with non-XIP MMU kernels where the base
  209. of physical memory is at a 16MB boundary.
  210. Only disable this option if you know that you do not require
  211. this feature (eg, building a kernel for a single machine) and
  212. you need to shrink the kernel to the minimal size.
  213. config NEED_MACH_IO_H
  214. bool
  215. help
  216. Select this when mach/io.h is required to provide special
  217. definitions for this platform. The need for mach/io.h should
  218. be avoided when possible.
  219. config NEED_MACH_MEMORY_H
  220. bool
  221. help
  222. Select this when mach/memory.h is required to provide special
  223. definitions for this platform. The need for mach/memory.h should
  224. be avoided when possible.
  225. config PHYS_OFFSET
  226. hex "Physical address of main memory" if MMU
  227. depends on !ARM_PATCH_PHYS_VIRT
  228. default DRAM_BASE if !MMU
  229. default 0x00000000 if ARCH_EBSA110 || \
  230. ARCH_FOOTBRIDGE || \
  231. ARCH_INTEGRATOR || \
  232. ARCH_IOP13XX || \
  233. ARCH_KS8695 || \
  234. (ARCH_REALVIEW && !REALVIEW_HIGH_PHYS_OFFSET)
  235. default 0x10000000 if ARCH_OMAP1 || ARCH_RPC
  236. default 0x20000000 if ARCH_S5PV210
  237. default 0x70000000 if REALVIEW_HIGH_PHYS_OFFSET
  238. default 0xc0000000 if ARCH_SA1100
  239. help
  240. Please provide the physical address corresponding to the
  241. location of main memory in your system.
  242. config GENERIC_BUG
  243. def_bool y
  244. depends on BUG
  245. config PGTABLE_LEVELS
  246. int
  247. default 3 if ARM_LPAE
  248. default 2
  249. source "init/Kconfig"
  250. source "kernel/Kconfig.freezer"
  251. menu "System Type"
  252. config MMU
  253. bool "MMU-based Paged Memory Management Support"
  254. default y
  255. help
  256. Select if you want MMU-based virtualised addressing space
  257. support by paged memory management. If unsure, say 'Y'.
  258. #
  259. # The "ARM system type" choice list is ordered alphabetically by option
  260. # text. Please add new entries in the option alphabetic order.
  261. #
  262. choice
  263. prompt "ARM system type"
  264. default ARCH_VERSATILE if !MMU
  265. default ARCH_MULTIPLATFORM if MMU
  266. config ARCH_MULTIPLATFORM
  267. bool "Allow multiple platforms to be selected"
  268. depends on MMU
  269. select ARCH_WANT_OPTIONAL_GPIOLIB
  270. select ARM_HAS_SG_CHAIN
  271. select ARM_PATCH_PHYS_VIRT
  272. select AUTO_ZRELADDR
  273. select CLKSRC_OF
  274. select COMMON_CLK
  275. select GENERIC_CLOCKEVENTS
  276. select MIGHT_HAVE_PCI
  277. select MULTI_IRQ_HANDLER
  278. select SPARSE_IRQ
  279. select USE_OF
  280. config ARM_SINGLE_ARMV7M
  281. bool "ARMv7-M based platforms (Cortex-M0/M3/M4)"
  282. depends on !MMU
  283. select ARCH_WANT_OPTIONAL_GPIOLIB
  284. select ARM_NVIC
  285. select AUTO_ZRELADDR
  286. select CLKSRC_OF
  287. select COMMON_CLK
  288. select CPU_V7M
  289. select GENERIC_CLOCKEVENTS
  290. select NO_IOPORT_MAP
  291. select SPARSE_IRQ
  292. select USE_OF
  293. config ARCH_REALVIEW
  294. bool "ARM Ltd. RealView family"
  295. select ARCH_WANT_OPTIONAL_GPIOLIB
  296. select ARM_AMBA
  297. select ARM_TIMER_SP804
  298. select COMMON_CLK
  299. select COMMON_CLK_VERSATILE
  300. select GENERIC_CLOCKEVENTS
  301. select GPIO_PL061 if GPIOLIB
  302. select ICST
  303. select NEED_MACH_MEMORY_H
  304. select PLAT_VERSATILE
  305. select PLAT_VERSATILE_SCHED_CLOCK
  306. help
  307. This enables support for ARM Ltd RealView boards.
  308. config ARCH_VERSATILE
  309. bool "ARM Ltd. Versatile family"
  310. select ARCH_WANT_OPTIONAL_GPIOLIB
  311. select ARM_AMBA
  312. select ARM_TIMER_SP804
  313. select ARM_VIC
  314. select CLKDEV_LOOKUP
  315. select GENERIC_CLOCKEVENTS
  316. select HAVE_MACH_CLKDEV
  317. select ICST
  318. select PLAT_VERSATILE
  319. select PLAT_VERSATILE_CLOCK
  320. select PLAT_VERSATILE_SCHED_CLOCK
  321. select VERSATILE_FPGA_IRQ
  322. help
  323. This enables support for ARM Ltd Versatile board.
  324. config ARCH_CLPS711X
  325. bool "Cirrus Logic CLPS711x/EP721x/EP731x-based"
  326. select ARCH_REQUIRE_GPIOLIB
  327. select AUTO_ZRELADDR
  328. select CLKSRC_MMIO
  329. select COMMON_CLK
  330. select CPU_ARM720T
  331. select GENERIC_CLOCKEVENTS
  332. select MFD_SYSCON
  333. select SOC_BUS
  334. help
  335. Support for Cirrus Logic 711x/721x/731x based boards.
  336. config ARCH_GEMINI
  337. bool "Cortina Systems Gemini"
  338. select ARCH_REQUIRE_GPIOLIB
  339. select CLKSRC_MMIO
  340. select CPU_FA526
  341. select GENERIC_CLOCKEVENTS
  342. help
  343. Support for the Cortina Systems Gemini family SoCs
  344. config ARCH_EBSA110
  345. bool "EBSA-110"
  346. select ARCH_USES_GETTIMEOFFSET
  347. select CPU_SA110
  348. select ISA
  349. select NEED_MACH_IO_H
  350. select NEED_MACH_MEMORY_H
  351. select NO_IOPORT_MAP
  352. help
  353. This is an evaluation board for the StrongARM processor available
  354. from Digital. It has limited hardware on-board, including an
  355. Ethernet interface, two PCMCIA sockets, two serial ports and a
  356. parallel port.
  357. config ARCH_EP93XX
  358. bool "EP93xx-based"
  359. select ARCH_HAS_HOLES_MEMORYMODEL
  360. select ARCH_REQUIRE_GPIOLIB
  361. select ARM_AMBA
  362. select ARM_PATCH_PHYS_VIRT
  363. select ARM_VIC
  364. select AUTO_ZRELADDR
  365. select CLKDEV_LOOKUP
  366. select CLKSRC_MMIO
  367. select CPU_ARM920T
  368. select GENERIC_CLOCKEVENTS
  369. help
  370. This enables support for the Cirrus EP93xx series of CPUs.
  371. config ARCH_FOOTBRIDGE
  372. bool "FootBridge"
  373. select CPU_SA110
  374. select FOOTBRIDGE
  375. select GENERIC_CLOCKEVENTS
  376. select HAVE_IDE
  377. select NEED_MACH_IO_H if !MMU
  378. select NEED_MACH_MEMORY_H
  379. help
  380. Support for systems based on the DC21285 companion chip
  381. ("FootBridge"), such as the Simtec CATS and the Rebel NetWinder.
  382. config ARCH_NETX
  383. bool "Hilscher NetX based"
  384. select ARM_VIC
  385. select CLKSRC_MMIO
  386. select CPU_ARM926T
  387. select GENERIC_CLOCKEVENTS
  388. help
  389. This enables support for systems based on the Hilscher NetX Soc
  390. config ARCH_IOP13XX
  391. bool "IOP13xx-based"
  392. depends on MMU
  393. select CPU_XSC3
  394. select NEED_MACH_MEMORY_H
  395. select NEED_RET_TO_USER
  396. select PCI
  397. select PLAT_IOP
  398. select VMSPLIT_1G
  399. select SPARSE_IRQ
  400. help
  401. Support for Intel's IOP13XX (XScale) family of processors.
  402. config ARCH_IOP32X
  403. bool "IOP32x-based"
  404. depends on MMU
  405. select ARCH_REQUIRE_GPIOLIB
  406. select CPU_XSCALE
  407. select GPIO_IOP
  408. select NEED_RET_TO_USER
  409. select PCI
  410. select PLAT_IOP
  411. help
  412. Support for Intel's 80219 and IOP32X (XScale) family of
  413. processors.
  414. config ARCH_IOP33X
  415. bool "IOP33x-based"
  416. depends on MMU
  417. select ARCH_REQUIRE_GPIOLIB
  418. select CPU_XSCALE
  419. select GPIO_IOP
  420. select NEED_RET_TO_USER
  421. select PCI
  422. select PLAT_IOP
  423. help
  424. Support for Intel's IOP33X (XScale) family of processors.
  425. config ARCH_IXP4XX
  426. bool "IXP4xx-based"
  427. depends on MMU
  428. select ARCH_HAS_DMA_SET_COHERENT_MASK
  429. select ARCH_REQUIRE_GPIOLIB
  430. select ARCH_SUPPORTS_BIG_ENDIAN
  431. select CLKSRC_MMIO
  432. select CPU_XSCALE
  433. select DMABOUNCE if PCI
  434. select GENERIC_CLOCKEVENTS
  435. select MIGHT_HAVE_PCI
  436. select NEED_MACH_IO_H
  437. select USB_EHCI_BIG_ENDIAN_DESC
  438. select USB_EHCI_BIG_ENDIAN_MMIO
  439. help
  440. Support for Intel's IXP4XX (XScale) family of processors.
  441. config ARCH_DOVE
  442. bool "Marvell Dove"
  443. select ARCH_REQUIRE_GPIOLIB
  444. select CPU_PJ4
  445. select GENERIC_CLOCKEVENTS
  446. select MIGHT_HAVE_PCI
  447. select MVEBU_MBUS
  448. select PINCTRL
  449. select PINCTRL_DOVE
  450. select PLAT_ORION_LEGACY
  451. help
  452. Support for the Marvell Dove SoC 88AP510
  453. config ARCH_MV78XX0
  454. bool "Marvell MV78xx0"
  455. select ARCH_REQUIRE_GPIOLIB
  456. select CPU_FEROCEON
  457. select GENERIC_CLOCKEVENTS
  458. select MVEBU_MBUS
  459. select PCI
  460. select PLAT_ORION_LEGACY
  461. help
  462. Support for the following Marvell MV78xx0 series SoCs:
  463. MV781x0, MV782x0.
  464. config ARCH_ORION5X
  465. bool "Marvell Orion"
  466. depends on MMU
  467. select ARCH_REQUIRE_GPIOLIB
  468. select CPU_FEROCEON
  469. select GENERIC_CLOCKEVENTS
  470. select MVEBU_MBUS
  471. select PCI
  472. select PLAT_ORION_LEGACY
  473. select MULTI_IRQ_HANDLER
  474. help
  475. Support for the following Marvell Orion 5x series SoCs:
  476. Orion-1 (5181), Orion-VoIP (5181L), Orion-NAS (5182),
  477. Orion-2 (5281), Orion-1-90 (6183).
  478. config ARCH_MMP
  479. bool "Marvell PXA168/910/MMP2"
  480. depends on MMU
  481. select ARCH_REQUIRE_GPIOLIB
  482. select CLKDEV_LOOKUP
  483. select GENERIC_ALLOCATOR
  484. select GENERIC_CLOCKEVENTS
  485. select GPIO_PXA
  486. select IRQ_DOMAIN
  487. select MULTI_IRQ_HANDLER
  488. select PINCTRL
  489. select PLAT_PXA
  490. select SPARSE_IRQ
  491. help
  492. Support for Marvell's PXA168/PXA910(MMP) and MMP2 processor line.
  493. config ARCH_KS8695
  494. bool "Micrel/Kendin KS8695"
  495. select ARCH_REQUIRE_GPIOLIB
  496. select CLKSRC_MMIO
  497. select CPU_ARM922T
  498. select GENERIC_CLOCKEVENTS
  499. select NEED_MACH_MEMORY_H
  500. help
  501. Support for Micrel/Kendin KS8695 "Centaur" (ARM922T) based
  502. System-on-Chip devices.
  503. config ARCH_W90X900
  504. bool "Nuvoton W90X900 CPU"
  505. select ARCH_REQUIRE_GPIOLIB
  506. select CLKDEV_LOOKUP
  507. select CLKSRC_MMIO
  508. select CPU_ARM926T
  509. select GENERIC_CLOCKEVENTS
  510. help
  511. Support for Nuvoton (Winbond logic dept.) ARM9 processor,
  512. At present, the w90x900 has been renamed nuc900, regarding
  513. the ARM series product line, you can login the following
  514. link address to know more.
  515. <http://www.nuvoton.com/hq/enu/ProductAndSales/ProductLines/
  516. ConsumerElectronicsIC/ARMMicrocontroller/ARMMicrocontroller>
  517. config ARCH_LPC32XX
  518. bool "NXP LPC32XX"
  519. select ARCH_REQUIRE_GPIOLIB
  520. select ARM_AMBA
  521. select CLKDEV_LOOKUP
  522. select CLKSRC_MMIO
  523. select CPU_ARM926T
  524. select GENERIC_CLOCKEVENTS
  525. select HAVE_IDE
  526. select USE_OF
  527. help
  528. Support for the NXP LPC32XX family of processors
  529. config ARCH_PXA
  530. bool "PXA2xx/PXA3xx-based"
  531. depends on MMU
  532. select ARCH_MTD_XIP
  533. select ARCH_REQUIRE_GPIOLIB
  534. select ARM_CPU_SUSPEND if PM
  535. select AUTO_ZRELADDR
  536. select COMMON_CLK
  537. select CLKDEV_LOOKUP
  538. select CLKSRC_MMIO
  539. select CLKSRC_OF
  540. select GENERIC_CLOCKEVENTS
  541. select GPIO_PXA
  542. select HAVE_IDE
  543. select IRQ_DOMAIN
  544. select MULTI_IRQ_HANDLER
  545. select PLAT_PXA
  546. select SPARSE_IRQ
  547. help
  548. Support for Intel/Marvell's PXA2xx/PXA3xx processor line.
  549. config ARCH_SHMOBILE_LEGACY
  550. bool "Renesas ARM SoCs (non-multiplatform)"
  551. select ARCH_SHMOBILE
  552. select ARM_PATCH_PHYS_VIRT if MMU
  553. select CLKDEV_LOOKUP
  554. select CPU_V7
  555. select GENERIC_CLOCKEVENTS
  556. select HAVE_ARM_SCU if SMP
  557. select HAVE_ARM_TWD if SMP
  558. select HAVE_SMP
  559. select MIGHT_HAVE_CACHE_L2X0
  560. select MULTI_IRQ_HANDLER
  561. select NO_IOPORT_MAP
  562. select PINCTRL
  563. select PM_GENERIC_DOMAINS if PM
  564. select SH_CLK_CPG
  565. select SPARSE_IRQ
  566. help
  567. Support for Renesas ARM SoC platforms using a non-multiplatform
  568. kernel. This includes the SH-Mobile, R-Mobile, EMMA-Mobile, R-Car
  569. and RZ families.
  570. config ARCH_RPC
  571. bool "RiscPC"
  572. depends on MMU
  573. select ARCH_ACORN
  574. select ARCH_MAY_HAVE_PC_FDC
  575. select ARCH_SPARSEMEM_ENABLE
  576. select ARCH_USES_GETTIMEOFFSET
  577. select CPU_SA110
  578. select FIQ
  579. select HAVE_IDE
  580. select HAVE_PATA_PLATFORM
  581. select ISA_DMA_API
  582. select NEED_MACH_IO_H
  583. select NEED_MACH_MEMORY_H
  584. select NO_IOPORT_MAP
  585. select VIRT_TO_BUS
  586. help
  587. On the Acorn Risc-PC, Linux can support the internal IDE disk and
  588. CD-ROM interface, serial and parallel port, and the floppy drive.
  589. config ARCH_SA1100
  590. bool "SA1100-based"
  591. select ARCH_MTD_XIP
  592. select ARCH_REQUIRE_GPIOLIB
  593. select ARCH_SPARSEMEM_ENABLE
  594. select CLKDEV_LOOKUP
  595. select CLKSRC_MMIO
  596. select CPU_FREQ
  597. select CPU_SA1100
  598. select GENERIC_CLOCKEVENTS
  599. select HAVE_IDE
  600. select IRQ_DOMAIN
  601. select ISA
  602. select MULTI_IRQ_HANDLER
  603. select NEED_MACH_MEMORY_H
  604. select SPARSE_IRQ
  605. help
  606. Support for StrongARM 11x0 based boards.
  607. config ARCH_S3C24XX
  608. bool "Samsung S3C24XX SoCs"
  609. select ARCH_REQUIRE_GPIOLIB
  610. select ATAGS
  611. select CLKDEV_LOOKUP
  612. select CLKSRC_SAMSUNG_PWM
  613. select GENERIC_CLOCKEVENTS
  614. select GPIO_SAMSUNG
  615. select HAVE_S3C2410_I2C if I2C
  616. select HAVE_S3C2410_WATCHDOG if WATCHDOG
  617. select HAVE_S3C_RTC if RTC_CLASS
  618. select MULTI_IRQ_HANDLER
  619. select NEED_MACH_IO_H
  620. select SAMSUNG_ATAGS
  621. help
  622. Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443
  623. and S3C2450 SoCs based systems, such as the Simtec Electronics BAST
  624. (<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or the
  625. Samsung SMDK2410 development board (and derivatives).
  626. config ARCH_S3C64XX
  627. bool "Samsung S3C64XX"
  628. select ARCH_REQUIRE_GPIOLIB
  629. select ARM_AMBA
  630. select ARM_VIC
  631. select ATAGS
  632. select CLKDEV_LOOKUP
  633. select CLKSRC_SAMSUNG_PWM
  634. select COMMON_CLK_SAMSUNG
  635. select CPU_V6K
  636. select GENERIC_CLOCKEVENTS
  637. select GPIO_SAMSUNG
  638. select HAVE_S3C2410_I2C if I2C
  639. select HAVE_S3C2410_WATCHDOG if WATCHDOG
  640. select HAVE_TCM
  641. select NO_IOPORT_MAP
  642. select PLAT_SAMSUNG
  643. select PM_GENERIC_DOMAINS if PM
  644. select S3C_DEV_NAND
  645. select S3C_GPIO_TRACK
  646. select SAMSUNG_ATAGS
  647. select SAMSUNG_WAKEMASK
  648. select SAMSUNG_WDT_RESET
  649. help
  650. Samsung S3C64XX series based systems
  651. config ARCH_DAVINCI
  652. bool "TI DaVinci"
  653. select ARCH_HAS_HOLES_MEMORYMODEL
  654. select ARCH_REQUIRE_GPIOLIB
  655. select CLKDEV_LOOKUP
  656. select GENERIC_ALLOCATOR
  657. select GENERIC_CLOCKEVENTS
  658. select GENERIC_IRQ_CHIP
  659. select HAVE_IDE
  660. select TI_PRIV_EDMA
  661. select USE_OF
  662. select ZONE_DMA
  663. help
  664. Support for TI's DaVinci platform.
  665. config ARCH_OMAP1
  666. bool "TI OMAP1"
  667. depends on MMU
  668. select ARCH_HAS_HOLES_MEMORYMODEL
  669. select ARCH_OMAP
  670. select ARCH_REQUIRE_GPIOLIB
  671. select CLKDEV_LOOKUP
  672. select CLKSRC_MMIO
  673. select GENERIC_CLOCKEVENTS
  674. select GENERIC_IRQ_CHIP
  675. select HAVE_IDE
  676. select IRQ_DOMAIN
  677. select MULTI_IRQ_HANDLER
  678. select NEED_MACH_IO_H if PCCARD
  679. select NEED_MACH_MEMORY_H
  680. select SPARSE_IRQ
  681. help
  682. Support for older TI OMAP1 (omap7xx, omap15xx or omap16xx)
  683. endchoice
  684. menu "Multiple platform selection"
  685. depends on ARCH_MULTIPLATFORM
  686. comment "CPU Core family selection"
  687. config ARCH_MULTI_V4
  688. bool "ARMv4 based platforms (FA526)"
  689. depends on !ARCH_MULTI_V6_V7
  690. select ARCH_MULTI_V4_V5
  691. select CPU_FA526
  692. config ARCH_MULTI_V4T
  693. bool "ARMv4T based platforms (ARM720T, ARM920T, ...)"
  694. depends on !ARCH_MULTI_V6_V7
  695. select ARCH_MULTI_V4_V5
  696. select CPU_ARM920T if !(CPU_ARM7TDMI || CPU_ARM720T || \
  697. CPU_ARM740T || CPU_ARM9TDMI || CPU_ARM922T || \
  698. CPU_ARM925T || CPU_ARM940T)
  699. config ARCH_MULTI_V5
  700. bool "ARMv5 based platforms (ARM926T, XSCALE, PJ1, ...)"
  701. depends on !ARCH_MULTI_V6_V7
  702. select ARCH_MULTI_V4_V5
  703. select CPU_ARM926T if !(CPU_ARM946E || CPU_ARM1020 || \
  704. CPU_ARM1020E || CPU_ARM1022 || CPU_ARM1026 || \
  705. CPU_XSCALE || CPU_XSC3 || CPU_MOHAWK || CPU_FEROCEON)
  706. config ARCH_MULTI_V4_V5
  707. bool
  708. config ARCH_MULTI_V6
  709. bool "ARMv6 based platforms (ARM11)"
  710. select ARCH_MULTI_V6_V7
  711. select CPU_V6K
  712. config ARCH_MULTI_V7
  713. bool "ARMv7 based platforms (Cortex-A, PJ4, Scorpion, Krait)"
  714. default y
  715. select ARCH_MULTI_V6_V7
  716. select CPU_V7
  717. select HAVE_SMP
  718. config ARCH_MULTI_V6_V7
  719. bool
  720. select MIGHT_HAVE_CACHE_L2X0
  721. config ARCH_MULTI_CPU_AUTO
  722. def_bool !(ARCH_MULTI_V4 || ARCH_MULTI_V4T || ARCH_MULTI_V6_V7)
  723. select ARCH_MULTI_V5
  724. endmenu
  725. config ARCH_VIRT
  726. bool "Dummy Virtual Machine" if ARCH_MULTI_V7
  727. select ARM_AMBA
  728. select ARM_GIC
  729. select ARM_PSCI
  730. select HAVE_ARM_ARCH_TIMER
  731. #
  732. # This is sorted alphabetically by mach-* pathname. However, plat-*
  733. # Kconfigs may be included either alphabetically (according to the
  734. # plat- suffix) or along side the corresponding mach-* source.
  735. #
  736. source "arch/arm/mach-mvebu/Kconfig"
  737. source "arch/arm/mach-alpine/Kconfig"
  738. source "arch/arm/mach-asm9260/Kconfig"
  739. source "arch/arm/mach-at91/Kconfig"
  740. source "arch/arm/mach-axxia/Kconfig"
  741. source "arch/arm/mach-bcm/Kconfig"
  742. source "arch/arm/mach-berlin/Kconfig"
  743. source "arch/arm/mach-clps711x/Kconfig"
  744. source "arch/arm/mach-cns3xxx/Kconfig"
  745. source "arch/arm/mach-davinci/Kconfig"
  746. source "arch/arm/mach-digicolor/Kconfig"
  747. source "arch/arm/mach-dove/Kconfig"
  748. source "arch/arm/mach-ep93xx/Kconfig"
  749. source "arch/arm/mach-footbridge/Kconfig"
  750. source "arch/arm/mach-gemini/Kconfig"
  751. source "arch/arm/mach-highbank/Kconfig"
  752. source "arch/arm/mach-hisi/Kconfig"
  753. source "arch/arm/mach-integrator/Kconfig"
  754. source "arch/arm/mach-iop32x/Kconfig"
  755. source "arch/arm/mach-iop33x/Kconfig"
  756. source "arch/arm/mach-iop13xx/Kconfig"
  757. source "arch/arm/mach-ixp4xx/Kconfig"
  758. source "arch/arm/mach-keystone/Kconfig"
  759. source "arch/arm/mach-ks8695/Kconfig"
  760. source "arch/arm/mach-meson/Kconfig"
  761. source "arch/arm/mach-moxart/Kconfig"
  762. source "arch/arm/mach-mv78xx0/Kconfig"
  763. source "arch/arm/mach-imx/Kconfig"
  764. source "arch/arm/mach-mediatek/Kconfig"
  765. source "arch/arm/mach-mxs/Kconfig"
  766. source "arch/arm/mach-netx/Kconfig"
  767. source "arch/arm/mach-nomadik/Kconfig"
  768. source "arch/arm/mach-nspire/Kconfig"
  769. source "arch/arm/plat-omap/Kconfig"
  770. source "arch/arm/mach-omap1/Kconfig"
  771. source "arch/arm/mach-omap2/Kconfig"
  772. source "arch/arm/mach-orion5x/Kconfig"
  773. source "arch/arm/mach-picoxcell/Kconfig"
  774. source "arch/arm/mach-pxa/Kconfig"
  775. source "arch/arm/plat-pxa/Kconfig"
  776. source "arch/arm/mach-mmp/Kconfig"
  777. source "arch/arm/mach-qcom/Kconfig"
  778. source "arch/arm/mach-realview/Kconfig"
  779. source "arch/arm/mach-rockchip/Kconfig"
  780. source "arch/arm/mach-sa1100/Kconfig"
  781. source "arch/arm/mach-socfpga/Kconfig"
  782. source "arch/arm/mach-spear/Kconfig"
  783. source "arch/arm/mach-sti/Kconfig"
  784. source "arch/arm/mach-s3c24xx/Kconfig"
  785. source "arch/arm/mach-s3c64xx/Kconfig"
  786. source "arch/arm/mach-s5pv210/Kconfig"
  787. source "arch/arm/mach-exynos/Kconfig"
  788. source "arch/arm/plat-samsung/Kconfig"
  789. source "arch/arm/mach-shmobile/Kconfig"
  790. source "arch/arm/mach-sunxi/Kconfig"
  791. source "arch/arm/mach-prima2/Kconfig"
  792. source "arch/arm/mach-tegra/Kconfig"
  793. source "arch/arm/mach-u300/Kconfig"
  794. source "arch/arm/mach-uniphier/Kconfig"
  795. source "arch/arm/mach-ux500/Kconfig"
  796. source "arch/arm/mach-versatile/Kconfig"
  797. source "arch/arm/mach-vexpress/Kconfig"
  798. source "arch/arm/plat-versatile/Kconfig"
  799. source "arch/arm/mach-vt8500/Kconfig"
  800. source "arch/arm/mach-w90x900/Kconfig"
  801. source "arch/arm/mach-zx/Kconfig"
  802. source "arch/arm/mach-zynq/Kconfig"
  803. # ARMv7-M architecture
  804. config ARCH_EFM32
  805. bool "Energy Micro efm32"
  806. depends on ARM_SINGLE_ARMV7M
  807. select ARCH_REQUIRE_GPIOLIB
  808. help
  809. Support for Energy Micro's (now Silicon Labs) efm32 Giant Gecko
  810. processors.
  811. config ARCH_LPC18XX
  812. bool "NXP LPC18xx/LPC43xx"
  813. depends on ARM_SINGLE_ARMV7M
  814. select ARCH_HAS_RESET_CONTROLLER
  815. select ARM_AMBA
  816. select CLKSRC_LPC32XX
  817. select PINCTRL
  818. help
  819. Support for NXP's LPC18xx Cortex-M3 and LPC43xx Cortex-M4
  820. high performance microcontrollers.
  821. config ARCH_STM32
  822. bool "STMicrolectronics STM32"
  823. depends on ARM_SINGLE_ARMV7M
  824. select ARCH_HAS_RESET_CONTROLLER
  825. select ARMV7M_SYSTICK
  826. select CLKSRC_STM32
  827. select RESET_CONTROLLER
  828. help
  829. Support for STMicroelectronics STM32 processors.
  830. # Definitions to make life easier
  831. config ARCH_ACORN
  832. bool
  833. config PLAT_IOP
  834. bool
  835. select GENERIC_CLOCKEVENTS
  836. config PLAT_ORION
  837. bool
  838. select CLKSRC_MMIO
  839. select COMMON_CLK
  840. select GENERIC_IRQ_CHIP
  841. select IRQ_DOMAIN
  842. config PLAT_ORION_LEGACY
  843. bool
  844. select PLAT_ORION
  845. config PLAT_PXA
  846. bool
  847. config PLAT_VERSATILE
  848. bool
  849. source "arch/arm/firmware/Kconfig"
  850. source arch/arm/mm/Kconfig
  851. config IWMMXT
  852. bool "Enable iWMMXt support"
  853. depends on CPU_XSCALE || CPU_XSC3 || CPU_MOHAWK || CPU_PJ4 || CPU_PJ4B
  854. default y if PXA27x || PXA3xx || ARCH_MMP || CPU_PJ4 || CPU_PJ4B
  855. help
  856. Enable support for iWMMXt context switching at run time if
  857. running on a CPU that supports it.
  858. config MULTI_IRQ_HANDLER
  859. bool
  860. help
  861. Allow each machine to specify it's own IRQ handler at run time.
  862. if !MMU
  863. source "arch/arm/Kconfig-nommu"
  864. endif
  865. config PJ4B_ERRATA_4742
  866. bool "PJ4B Errata 4742: IDLE Wake Up Commands can Cause the CPU Core to Cease Operation"
  867. depends on CPU_PJ4B && MACH_ARMADA_370
  868. default y
  869. help
  870. When coming out of either a Wait for Interrupt (WFI) or a Wait for
  871. Event (WFE) IDLE states, a specific timing sensitivity exists between
  872. the retiring WFI/WFE instructions and the newly issued subsequent
  873. instructions. This sensitivity can result in a CPU hang scenario.
  874. Workaround:
  875. The software must insert either a Data Synchronization Barrier (DSB)
  876. or Data Memory Barrier (DMB) command immediately after the WFI/WFE
  877. instruction
  878. config ARM_ERRATA_326103
  879. bool "ARM errata: FSR write bit incorrect on a SWP to read-only memory"
  880. depends on CPU_V6
  881. help
  882. Executing a SWP instruction to read-only memory does not set bit 11
  883. of the FSR on the ARM 1136 prior to r1p0. This causes the kernel to
  884. treat the access as a read, preventing a COW from occurring and
  885. causing the faulting task to livelock.
  886. config ARM_ERRATA_411920
  887. bool "ARM errata: Invalidation of the Instruction Cache operation can fail"
  888. depends on CPU_V6 || CPU_V6K
  889. help
  890. Invalidation of the Instruction Cache operation can
  891. fail. This erratum is present in 1136 (before r1p4), 1156 and 1176.
  892. It does not affect the MPCore. This option enables the ARM Ltd.
  893. recommended workaround.
  894. config ARM_ERRATA_430973
  895. bool "ARM errata: Stale prediction on replaced interworking branch"
  896. depends on CPU_V7
  897. help
  898. This option enables the workaround for the 430973 Cortex-A8
  899. r1p* erratum. If a code sequence containing an ARM/Thumb
  900. interworking branch is replaced with another code sequence at the
  901. same virtual address, whether due to self-modifying code or virtual
  902. to physical address re-mapping, Cortex-A8 does not recover from the
  903. stale interworking branch prediction. This results in Cortex-A8
  904. executing the new code sequence in the incorrect ARM or Thumb state.
  905. The workaround enables the BTB/BTAC operations by setting ACTLR.IBE
  906. and also flushes the branch target cache at every context switch.
  907. Note that setting specific bits in the ACTLR register may not be
  908. available in non-secure mode.
  909. config ARM_ERRATA_458693
  910. bool "ARM errata: Processor deadlock when a false hazard is created"
  911. depends on CPU_V7
  912. depends on !ARCH_MULTIPLATFORM
  913. help
  914. This option enables the workaround for the 458693 Cortex-A8 (r2p0)
  915. erratum. For very specific sequences of memory operations, it is
  916. possible for a hazard condition intended for a cache line to instead
  917. be incorrectly associated with a different cache line. This false
  918. hazard might then cause a processor deadlock. The workaround enables
  919. the L1 caching of the NEON accesses and disables the PLD instruction
  920. in the ACTLR register. Note that setting specific bits in the ACTLR
  921. register may not be available in non-secure mode.
  922. config ARM_ERRATA_460075
  923. bool "ARM errata: Data written to the L2 cache can be overwritten with stale data"
  924. depends on CPU_V7
  925. depends on !ARCH_MULTIPLATFORM
  926. help
  927. This option enables the workaround for the 460075 Cortex-A8 (r2p0)
  928. erratum. Any asynchronous access to the L2 cache may encounter a
  929. situation in which recent store transactions to the L2 cache are lost
  930. and overwritten with stale memory contents from external memory. The
  931. workaround disables the write-allocate mode for the L2 cache via the
  932. ACTLR register. Note that setting specific bits in the ACTLR register
  933. may not be available in non-secure mode.
  934. config ARM_ERRATA_742230
  935. bool "ARM errata: DMB operation may be faulty"
  936. depends on CPU_V7 && SMP
  937. depends on !ARCH_MULTIPLATFORM
  938. help
  939. This option enables the workaround for the 742230 Cortex-A9
  940. (r1p0..r2p2) erratum. Under rare circumstances, a DMB instruction
  941. between two write operations may not ensure the correct visibility
  942. ordering of the two writes. This workaround sets a specific bit in
  943. the diagnostic register of the Cortex-A9 which causes the DMB
  944. instruction to behave as a DSB, ensuring the correct behaviour of
  945. the two writes.
  946. config ARM_ERRATA_742231
  947. bool "ARM errata: Incorrect hazard handling in the SCU may lead to data corruption"
  948. depends on CPU_V7 && SMP
  949. depends on !ARCH_MULTIPLATFORM
  950. help
  951. This option enables the workaround for the 742231 Cortex-A9
  952. (r2p0..r2p2) erratum. Under certain conditions, specific to the
  953. Cortex-A9 MPCore micro-architecture, two CPUs working in SMP mode,
  954. accessing some data located in the same cache line, may get corrupted
  955. data due to bad handling of the address hazard when the line gets
  956. replaced from one of the CPUs at the same time as another CPU is
  957. accessing it. This workaround sets specific bits in the diagnostic
  958. register of the Cortex-A9 which reduces the linefill issuing
  959. capabilities of the processor.
  960. config ARM_ERRATA_643719
  961. bool "ARM errata: LoUIS bit field in CLIDR register is incorrect"
  962. depends on CPU_V7 && SMP
  963. default y
  964. help
  965. This option enables the workaround for the 643719 Cortex-A9 (prior to
  966. r1p0) erratum. On affected cores the LoUIS bit field of the CLIDR
  967. register returns zero when it should return one. The workaround
  968. corrects this value, ensuring cache maintenance operations which use
  969. it behave as intended and avoiding data corruption.
  970. config ARM_ERRATA_720789
  971. bool "ARM errata: TLBIASIDIS and TLBIMVAIS operations can broadcast a faulty ASID"
  972. depends on CPU_V7
  973. help
  974. This option enables the workaround for the 720789 Cortex-A9 (prior to
  975. r2p0) erratum. A faulty ASID can be sent to the other CPUs for the
  976. broadcasted CP15 TLB maintenance operations TLBIASIDIS and TLBIMVAIS.
  977. As a consequence of this erratum, some TLB entries which should be
  978. invalidated are not, resulting in an incoherency in the system page
  979. tables. The workaround changes the TLB flushing routines to invalidate
  980. entries regardless of the ASID.
  981. config ARM_ERRATA_743622
  982. bool "ARM errata: Faulty hazard checking in the Store Buffer may lead to data corruption"
  983. depends on CPU_V7
  984. depends on !ARCH_MULTIPLATFORM
  985. help
  986. This option enables the workaround for the 743622 Cortex-A9
  987. (r2p*) erratum. Under very rare conditions, a faulty
  988. optimisation in the Cortex-A9 Store Buffer may lead to data
  989. corruption. This workaround sets a specific bit in the diagnostic
  990. register of the Cortex-A9 which disables the Store Buffer
  991. optimisation, preventing the defect from occurring. This has no
  992. visible impact on the overall performance or power consumption of the
  993. processor.
  994. config ARM_ERRATA_751472
  995. bool "ARM errata: Interrupted ICIALLUIS may prevent completion of broadcasted operation"
  996. depends on CPU_V7
  997. depends on !ARCH_MULTIPLATFORM
  998. help
  999. This option enables the workaround for the 751472 Cortex-A9 (prior
  1000. to r3p0) erratum. An interrupted ICIALLUIS operation may prevent the
  1001. completion of a following broadcasted operation if the second
  1002. operation is received by a CPU before the ICIALLUIS has completed,
  1003. potentially leading to corrupted entries in the cache or TLB.
  1004. config ARM_ERRATA_754322
  1005. bool "ARM errata: possible faulty MMU translations following an ASID switch"
  1006. depends on CPU_V7
  1007. help
  1008. This option enables the workaround for the 754322 Cortex-A9 (r2p*,
  1009. r3p*) erratum. A speculative memory access may cause a page table walk
  1010. which starts prior to an ASID switch but completes afterwards. This
  1011. can populate the micro-TLB with a stale entry which may be hit with
  1012. the new ASID. This workaround places two dsb instructions in the mm
  1013. switching code so that no page table walks can cross the ASID switch.
  1014. config ARM_ERRATA_754327
  1015. bool "ARM errata: no automatic Store Buffer drain"
  1016. depends on CPU_V7 && SMP
  1017. help
  1018. This option enables the workaround for the 754327 Cortex-A9 (prior to
  1019. r2p0) erratum. The Store Buffer does not have any automatic draining
  1020. mechanism and therefore a livelock may occur if an external agent
  1021. continuously polls a memory location waiting to observe an update.
  1022. This workaround defines cpu_relax() as smp_mb(), preventing correctly
  1023. written polling loops from denying visibility of updates to memory.
  1024. config ARM_ERRATA_364296
  1025. bool "ARM errata: Possible cache data corruption with hit-under-miss enabled"
  1026. depends on CPU_V6
  1027. help
  1028. This options enables the workaround for the 364296 ARM1136
  1029. r0p2 erratum (possible cache data corruption with
  1030. hit-under-miss enabled). It sets the undocumented bit 31 in
  1031. the auxiliary control register and the FI bit in the control
  1032. register, thus disabling hit-under-miss without putting the
  1033. processor into full low interrupt latency mode. ARM11MPCore
  1034. is not affected.
  1035. config ARM_ERRATA_764369
  1036. bool "ARM errata: Data cache line maintenance operation by MVA may not succeed"
  1037. depends on CPU_V7 && SMP
  1038. help
  1039. This option enables the workaround for erratum 764369
  1040. affecting Cortex-A9 MPCore with two or more processors (all
  1041. current revisions). Under certain timing circumstances, a data
  1042. cache line maintenance operation by MVA targeting an Inner
  1043. Shareable memory region may fail to proceed up to either the
  1044. Point of Coherency or to the Point of Unification of the
  1045. system. This workaround adds a DSB instruction before the
  1046. relevant cache maintenance functions and sets a specific bit
  1047. in the diagnostic control register of the SCU.
  1048. config ARM_ERRATA_775420
  1049. bool "ARM errata: A data cache maintenance operation which aborts, might lead to deadlock"
  1050. depends on CPU_V7
  1051. help
  1052. This option enables the workaround for the 775420 Cortex-A9 (r2p2,
  1053. r2p6,r2p8,r2p10,r3p0) erratum. In case a date cache maintenance
  1054. operation aborts with MMU exception, it might cause the processor
  1055. to deadlock. This workaround puts DSB before executing ISB if
  1056. an abort may occur on cache maintenance.
  1057. config ARM_ERRATA_798181
  1058. bool "ARM errata: TLBI/DSB failure on Cortex-A15"
  1059. depends on CPU_V7 && SMP
  1060. help
  1061. On Cortex-A15 (r0p0..r3p2) the TLBI*IS/DSB operations are not
  1062. adequately shooting down all use of the old entries. This
  1063. option enables the Linux kernel workaround for this erratum
  1064. which sends an IPI to the CPUs that are running the same ASID
  1065. as the one being invalidated.
  1066. config ARM_ERRATA_773022
  1067. bool "ARM errata: incorrect instructions may be executed from loop buffer"
  1068. depends on CPU_V7
  1069. help
  1070. This option enables the workaround for the 773022 Cortex-A15
  1071. (up to r0p4) erratum. In certain rare sequences of code, the
  1072. loop buffer may deliver incorrect instructions. This
  1073. workaround disables the loop buffer to avoid the erratum.
  1074. endmenu
  1075. source "arch/arm/common/Kconfig"
  1076. menu "Bus support"
  1077. config ISA
  1078. bool
  1079. help
  1080. Find out whether you have ISA slots on your motherboard. ISA is the
  1081. name of a bus system, i.e. the way the CPU talks to the other stuff
  1082. inside your box. Other bus systems are PCI, EISA, MicroChannel
  1083. (MCA) or VESA. ISA is an older system, now being displaced by PCI;
  1084. newer boards don't support it. If you have ISA, say Y, otherwise N.
  1085. # Select ISA DMA controller support
  1086. config ISA_DMA
  1087. bool
  1088. select ISA_DMA_API
  1089. # Select ISA DMA interface
  1090. config ISA_DMA_API
  1091. bool
  1092. config PCI
  1093. bool "PCI support" if MIGHT_HAVE_PCI
  1094. help
  1095. Find out whether you have a PCI motherboard. PCI is the name of a
  1096. bus system, i.e. the way the CPU talks to the other stuff inside
  1097. your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
  1098. VESA. If you have PCI, say Y, otherwise N.
  1099. config PCI_DOMAINS
  1100. bool
  1101. depends on PCI
  1102. config PCI_DOMAINS_GENERIC
  1103. def_bool PCI_DOMAINS
  1104. config PCI_NANOENGINE
  1105. bool "BSE nanoEngine PCI support"
  1106. depends on SA1100_NANOENGINE
  1107. help
  1108. Enable PCI on the BSE nanoEngine board.
  1109. config PCI_SYSCALL
  1110. def_bool PCI
  1111. config PCI_HOST_ITE8152
  1112. bool
  1113. depends on PCI && MACH_ARMCORE
  1114. default y
  1115. select DMABOUNCE
  1116. source "drivers/pci/Kconfig"
  1117. source "drivers/pci/pcie/Kconfig"
  1118. source "drivers/pcmcia/Kconfig"
  1119. endmenu
  1120. menu "Kernel Features"
  1121. config HAVE_SMP
  1122. bool
  1123. help
  1124. This option should be selected by machines which have an SMP-
  1125. capable CPU.
  1126. The only effect of this option is to make the SMP-related
  1127. options available to the user for configuration.
  1128. config SMP
  1129. bool "Symmetric Multi-Processing"
  1130. depends on CPU_V6K || CPU_V7
  1131. depends on GENERIC_CLOCKEVENTS
  1132. depends on HAVE_SMP
  1133. depends on MMU || ARM_MPU
  1134. select IRQ_WORK
  1135. help
  1136. This enables support for systems with more than one CPU. If you have
  1137. a system with only one CPU, say N. If you have a system with more
  1138. than one CPU, say Y.
  1139. If you say N here, the kernel will run on uni- and multiprocessor
  1140. machines, but will use only one CPU of a multiprocessor machine. If
  1141. you say Y here, the kernel will run on many, but not all,
  1142. uniprocessor machines. On a uniprocessor machine, the kernel
  1143. will run faster if you say N here.
  1144. See also <file:Documentation/x86/i386/IO-APIC.txt>,
  1145. <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
  1146. <http://tldp.org/HOWTO/SMP-HOWTO.html>.
  1147. If you don't know what to do here, say N.
  1148. config SMP_ON_UP
  1149. bool "Allow booting SMP kernel on uniprocessor systems"
  1150. depends on SMP && !XIP_KERNEL && MMU
  1151. default y
  1152. help
  1153. SMP kernels contain instructions which fail on non-SMP processors.
  1154. Enabling this option allows the kernel to modify itself to make
  1155. these instructions safe. Disabling it allows about 1K of space
  1156. savings.
  1157. If you don't know what to do here, say Y.
  1158. config ARM_CPU_TOPOLOGY
  1159. bool "Support cpu topology definition"
  1160. depends on SMP && CPU_V7
  1161. default y
  1162. help
  1163. Support ARM cpu topology definition. The MPIDR register defines
  1164. affinity between processors which is then used to describe the cpu
  1165. topology of an ARM System.
  1166. config SCHED_MC
  1167. bool "Multi-core scheduler support"
  1168. depends on ARM_CPU_TOPOLOGY
  1169. help
  1170. Multi-core scheduler support improves the CPU scheduler's decision
  1171. making when dealing with multi-core CPU chips at a cost of slightly
  1172. increased overhead in some places. If unsure say N here.
  1173. config SCHED_SMT
  1174. bool "SMT scheduler support"
  1175. depends on ARM_CPU_TOPOLOGY
  1176. help
  1177. Improves the CPU scheduler's decision making when dealing with
  1178. MultiThreading at a cost of slightly increased overhead in some
  1179. places. If unsure say N here.
  1180. config HAVE_ARM_SCU
  1181. bool
  1182. help
  1183. This option enables support for the ARM system coherency unit
  1184. config HAVE_ARM_ARCH_TIMER
  1185. bool "Architected timer support"
  1186. depends on CPU_V7
  1187. select ARM_ARCH_TIMER
  1188. select GENERIC_CLOCKEVENTS
  1189. help
  1190. This option enables support for the ARM architected timer
  1191. config HAVE_ARM_TWD
  1192. bool
  1193. depends on SMP
  1194. select CLKSRC_OF if OF
  1195. help
  1196. This options enables support for the ARM timer and watchdog unit
  1197. config MCPM
  1198. bool "Multi-Cluster Power Management"
  1199. depends on CPU_V7 && SMP
  1200. help
  1201. This option provides the common power management infrastructure
  1202. for (multi-)cluster based systems, such as big.LITTLE based
  1203. systems.
  1204. config MCPM_QUAD_CLUSTER
  1205. bool
  1206. depends on MCPM
  1207. help
  1208. To avoid wasting resources unnecessarily, MCPM only supports up
  1209. to 2 clusters by default.
  1210. Platforms with 3 or 4 clusters that use MCPM must select this
  1211. option to allow the additional clusters to be managed.
  1212. config BIG_LITTLE
  1213. bool "big.LITTLE support (Experimental)"
  1214. depends on CPU_V7 && SMP
  1215. select MCPM
  1216. help
  1217. This option enables support selections for the big.LITTLE
  1218. system architecture.
  1219. config BL_SWITCHER
  1220. bool "big.LITTLE switcher support"
  1221. depends on BIG_LITTLE && MCPM && HOTPLUG_CPU
  1222. select ARM_CPU_SUSPEND
  1223. select CPU_PM
  1224. help
  1225. The big.LITTLE "switcher" provides the core functionality to
  1226. transparently handle transition between a cluster of A15's
  1227. and a cluster of A7's in a big.LITTLE system.
  1228. config BL_SWITCHER_DUMMY_IF
  1229. tristate "Simple big.LITTLE switcher user interface"
  1230. depends on BL_SWITCHER && DEBUG_KERNEL
  1231. help
  1232. This is a simple and dummy char dev interface to control
  1233. the big.LITTLE switcher core code. It is meant for
  1234. debugging purposes only.
  1235. choice
  1236. prompt "Memory split"
  1237. depends on MMU
  1238. default VMSPLIT_3G
  1239. help
  1240. Select the desired split between kernel and user memory.
  1241. If you are not absolutely sure what you are doing, leave this
  1242. option alone!
  1243. config VMSPLIT_3G
  1244. bool "3G/1G user/kernel split"
  1245. config VMSPLIT_2G
  1246. bool "2G/2G user/kernel split"
  1247. config VMSPLIT_1G
  1248. bool "1G/3G user/kernel split"
  1249. endchoice
  1250. config PAGE_OFFSET
  1251. hex
  1252. default PHYS_OFFSET if !MMU
  1253. default 0x40000000 if VMSPLIT_1G
  1254. default 0x80000000 if VMSPLIT_2G
  1255. default 0xC0000000
  1256. config NR_CPUS
  1257. int "Maximum number of CPUs (2-32)"
  1258. range 2 32
  1259. depends on SMP
  1260. default "4"
  1261. config HOTPLUG_CPU
  1262. bool "Support for hot-pluggable CPUs"
  1263. depends on SMP
  1264. help
  1265. Say Y here to experiment with turning CPUs off and on. CPUs
  1266. can be controlled through /sys/devices/system/cpu.
  1267. config ARM_PSCI
  1268. bool "Support for the ARM Power State Coordination Interface (PSCI)"
  1269. depends on CPU_V7
  1270. select ARM_PSCI_FW
  1271. help
  1272. Say Y here if you want Linux to communicate with system firmware
  1273. implementing the PSCI specification for CPU-centric power
  1274. management operations described in ARM document number ARM DEN
  1275. 0022A ("Power State Coordination Interface System Software on
  1276. ARM processors").
  1277. # The GPIO number here must be sorted by descending number. In case of
  1278. # a multiplatform kernel, we just want the highest value required by the
  1279. # selected platforms.
  1280. config ARCH_NR_GPIO
  1281. int
  1282. default 1024 if ARCH_BRCMSTB || ARCH_SHMOBILE || ARCH_TEGRA || \
  1283. ARCH_ZYNQ
  1284. default 512 if ARCH_EXYNOS || ARCH_KEYSTONE || SOC_OMAP5 || \
  1285. SOC_DRA7XX || ARCH_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210
  1286. default 416 if ARCH_SUNXI
  1287. default 392 if ARCH_U8500
  1288. default 352 if ARCH_VT8500
  1289. default 288 if ARCH_ROCKCHIP
  1290. default 264 if MACH_H4700
  1291. default 0
  1292. help
  1293. Maximum number of GPIOs in the system.
  1294. If unsure, leave the default value.
  1295. source kernel/Kconfig.preempt
  1296. config HZ_FIXED
  1297. int
  1298. default 200 if ARCH_EBSA110 || ARCH_S3C24XX || \
  1299. ARCH_S5PV210 || ARCH_EXYNOS4
  1300. default 128 if SOC_AT91RM9200
  1301. default SHMOBILE_TIMER_HZ if ARCH_SHMOBILE_LEGACY
  1302. default 0
  1303. choice
  1304. depends on HZ_FIXED = 0
  1305. prompt "Timer frequency"
  1306. config HZ_100
  1307. bool "100 Hz"
  1308. config HZ_200
  1309. bool "200 Hz"
  1310. config HZ_250
  1311. bool "250 Hz"
  1312. config HZ_300
  1313. bool "300 Hz"
  1314. config HZ_500
  1315. bool "500 Hz"
  1316. config HZ_1000
  1317. bool "1000 Hz"
  1318. endchoice
  1319. config HZ
  1320. int
  1321. default HZ_FIXED if HZ_FIXED != 0
  1322. default 100 if HZ_100
  1323. default 200 if HZ_200
  1324. default 250 if HZ_250
  1325. default 300 if HZ_300
  1326. default 500 if HZ_500
  1327. default 1000
  1328. config SCHED_HRTICK
  1329. def_bool HIGH_RES_TIMERS
  1330. config THUMB2_KERNEL
  1331. bool "Compile the kernel in Thumb-2 mode" if !CPU_THUMBONLY
  1332. depends on (CPU_V7 || CPU_V7M) && !CPU_V6 && !CPU_V6K
  1333. default y if CPU_THUMBONLY
  1334. select AEABI
  1335. select ARM_ASM_UNIFIED
  1336. select ARM_UNWIND
  1337. help
  1338. By enabling this option, the kernel will be compiled in
  1339. Thumb-2 mode. A compiler/assembler that understand the unified
  1340. ARM-Thumb syntax is needed.
  1341. If unsure, say N.
  1342. config THUMB2_AVOID_R_ARM_THM_JUMP11
  1343. bool "Work around buggy Thumb-2 short branch relocations in gas"
  1344. depends on THUMB2_KERNEL && MODULES
  1345. default y
  1346. help
  1347. Various binutils versions can resolve Thumb-2 branches to
  1348. locally-defined, preemptible global symbols as short-range "b.n"
  1349. branch instructions.
  1350. This is a problem, because there's no guarantee the final
  1351. destination of the symbol, or any candidate locations for a
  1352. trampoline, are within range of the branch. For this reason, the
  1353. kernel does not support fixing up the R_ARM_THM_JUMP11 (102)
  1354. relocation in modules at all, and it makes little sense to add
  1355. support.
  1356. The symptom is that the kernel fails with an "unsupported
  1357. relocation" error when loading some modules.
  1358. Until fixed tools are available, passing
  1359. -fno-optimize-sibling-calls to gcc should prevent gcc generating
  1360. code which hits this problem, at the cost of a bit of extra runtime
  1361. stack usage in some cases.
  1362. The problem is described in more detail at:
  1363. https://bugs.launchpad.net/binutils-linaro/+bug/725126
  1364. Only Thumb-2 kernels are affected.
  1365. Unless you are sure your tools don't have this problem, say Y.
  1366. config ARM_ASM_UNIFIED
  1367. bool
  1368. config AEABI
  1369. bool "Use the ARM EABI to compile the kernel"
  1370. help
  1371. This option allows for the kernel to be compiled using the latest
  1372. ARM ABI (aka EABI). This is only useful if you are using a user
  1373. space environment that is also compiled with EABI.
  1374. Since there are major incompatibilities between the legacy ABI and
  1375. EABI, especially with regard to structure member alignment, this
  1376. option also changes the kernel syscall calling convention to
  1377. disambiguate both ABIs and allow for backward compatibility support
  1378. (selected with CONFIG_OABI_COMPAT).
  1379. To use this you need GCC version 4.0.0 or later.
  1380. config OABI_COMPAT
  1381. bool "Allow old ABI binaries to run with this kernel (EXPERIMENTAL)"
  1382. depends on AEABI && !THUMB2_KERNEL
  1383. help
  1384. This option preserves the old syscall interface along with the
  1385. new (ARM EABI) one. It also provides a compatibility layer to
  1386. intercept syscalls that have structure arguments which layout
  1387. in memory differs between the legacy ABI and the new ARM EABI
  1388. (only for non "thumb" binaries). This option adds a tiny
  1389. overhead to all syscalls and produces a slightly larger kernel.
  1390. The seccomp filter system will not be available when this is
  1391. selected, since there is no way yet to sensibly distinguish
  1392. between calling conventions during filtering.
  1393. If you know you'll be using only pure EABI user space then you
  1394. can say N here. If this option is not selected and you attempt
  1395. to execute a legacy ABI binary then the result will be
  1396. UNPREDICTABLE (in fact it can be predicted that it won't work
  1397. at all). If in doubt say N.
  1398. config ARCH_HAS_HOLES_MEMORYMODEL
  1399. bool
  1400. config ARCH_SPARSEMEM_ENABLE
  1401. bool
  1402. config ARCH_SPARSEMEM_DEFAULT
  1403. def_bool ARCH_SPARSEMEM_ENABLE
  1404. config ARCH_SELECT_MEMORY_MODEL
  1405. def_bool ARCH_SPARSEMEM_ENABLE
  1406. config HAVE_ARCH_PFN_VALID
  1407. def_bool ARCH_HAS_HOLES_MEMORYMODEL || !SPARSEMEM
  1408. config HAVE_GENERIC_RCU_GUP
  1409. def_bool y
  1410. depends on ARM_LPAE
  1411. config HIGHMEM
  1412. bool "High Memory Support"
  1413. depends on MMU
  1414. help
  1415. The address space of ARM processors is only 4 Gigabytes large
  1416. and it has to accommodate user address space, kernel address
  1417. space as well as some memory mapped IO. That means that, if you
  1418. have a large amount of physical memory and/or IO, not all of the
  1419. memory can be "permanently mapped" by the kernel. The physical
  1420. memory that is not permanently mapped is called "high memory".
  1421. Depending on the selected kernel/user memory split, minimum
  1422. vmalloc space and actual amount of RAM, you may not need this
  1423. option which should result in a slightly faster kernel.
  1424. If unsure, say n.
  1425. config HIGHPTE
  1426. bool "Allocate 2nd-level pagetables from highmem"
  1427. depends on HIGHMEM
  1428. help
  1429. The VM uses one page of physical memory for each page table.
  1430. For systems with a lot of processes, this can use a lot of
  1431. precious low memory, eventually leading to low memory being
  1432. consumed by page tables. Setting this option will allow
  1433. user-space 2nd level page tables to reside in high memory.
  1434. config CPU_SW_DOMAIN_PAN
  1435. bool "Enable use of CPU domains to implement privileged no-access"
  1436. depends on MMU && !ARM_LPAE
  1437. default y
  1438. help
  1439. Increase kernel security by ensuring that normal kernel accesses
  1440. are unable to access userspace addresses. This can help prevent
  1441. use-after-free bugs becoming an exploitable privilege escalation
  1442. by ensuring that magic values (such as LIST_POISON) will always
  1443. fault when dereferenced.
  1444. CPUs with low-vector mappings use a best-efforts implementation.
  1445. Their lower 1MB needs to remain accessible for the vectors, but
  1446. the remainder of userspace will become appropriately inaccessible.
  1447. config HW_PERF_EVENTS
  1448. def_bool y
  1449. depends on ARM_PMU
  1450. config SYS_SUPPORTS_HUGETLBFS
  1451. def_bool y
  1452. depends on ARM_LPAE
  1453. config HAVE_ARCH_TRANSPARENT_HUGEPAGE
  1454. def_bool y
  1455. depends on ARM_LPAE
  1456. config ARCH_WANT_GENERAL_HUGETLB
  1457. def_bool y
  1458. config ARM_MODULE_PLTS
  1459. bool "Use PLTs to allow module memory to spill over into vmalloc area"
  1460. depends on MODULES
  1461. help
  1462. Allocate PLTs when loading modules so that jumps and calls whose
  1463. targets are too far away for their relative offsets to be encoded
  1464. in the instructions themselves can be bounced via veneers in the
  1465. module's PLT. This allows modules to be allocated in the generic
  1466. vmalloc area after the dedicated module memory area has been
  1467. exhausted. The modules will use slightly more memory, but after
  1468. rounding up to page size, the actual memory footprint is usually
  1469. the same.
  1470. Say y if you are getting out of memory errors while loading modules
  1471. source "mm/Kconfig"
  1472. config FORCE_MAX_ZONEORDER
  1473. int "Maximum zone order" if ARCH_SHMOBILE_LEGACY
  1474. range 11 64 if ARCH_SHMOBILE_LEGACY
  1475. default "12" if SOC_AM33XX
  1476. default "9" if SA1111 || ARCH_EFM32
  1477. default "11"
  1478. help
  1479. The kernel memory allocator divides physically contiguous memory
  1480. blocks into "zones", where each zone is a power of two number of
  1481. pages. This option selects the largest power of two that the kernel
  1482. keeps in the memory allocator. If you need to allocate very large
  1483. blocks of physically contiguous memory, then you may need to
  1484. increase this value.
  1485. This config option is actually maximum order plus one. For example,
  1486. a value of 11 means that the largest free memory block is 2^10 pages.
  1487. config ALIGNMENT_TRAP
  1488. bool
  1489. depends on CPU_CP15_MMU
  1490. default y if !ARCH_EBSA110
  1491. select HAVE_PROC_CPU if PROC_FS
  1492. help
  1493. ARM processors cannot fetch/store information which is not
  1494. naturally aligned on the bus, i.e., a 4 byte fetch must start at an
  1495. address divisible by 4. On 32-bit ARM processors, these non-aligned
  1496. fetch/store instructions will be emulated in software if you say
  1497. here, which has a severe performance impact. This is necessary for
  1498. correct operation of some network protocols. With an IP-only
  1499. configuration it is safe to say N, otherwise say Y.
  1500. config UACCESS_WITH_MEMCPY
  1501. bool "Use kernel mem{cpy,set}() for {copy_to,clear}_user()"
  1502. depends on MMU
  1503. default y if CPU_FEROCEON
  1504. help
  1505. Implement faster copy_to_user and clear_user methods for CPU
  1506. cores where a 8-word STM instruction give significantly higher
  1507. memory write throughput than a sequence of individual 32bit stores.
  1508. A possible side effect is a slight increase in scheduling latency
  1509. between threads sharing the same address space if they invoke
  1510. such copy operations with large buffers.
  1511. However, if the CPU data cache is using a write-allocate mode,
  1512. this option is unlikely to provide any performance gain.
  1513. config SECCOMP
  1514. bool
  1515. prompt "Enable seccomp to safely compute untrusted bytecode"
  1516. ---help---
  1517. This kernel feature is useful for number crunching applications
  1518. that may need to compute untrusted bytecode during their
  1519. execution. By using pipes or other transports made available to
  1520. the process as file descriptors supporting the read/write
  1521. syscalls, it's possible to isolate those applications in
  1522. their own address space using seccomp. Once seccomp is
  1523. enabled via prctl(PR_SET_SECCOMP), it cannot be disabled
  1524. and the task is only allowed to execute a few safe syscalls
  1525. defined by each seccomp mode.
  1526. config SWIOTLB
  1527. def_bool y
  1528. config IOMMU_HELPER
  1529. def_bool SWIOTLB
  1530. config XEN_DOM0
  1531. def_bool y
  1532. depends on XEN
  1533. config XEN
  1534. bool "Xen guest support on ARM"
  1535. depends on ARM && AEABI && OF
  1536. depends on CPU_V7 && !CPU_V6
  1537. depends on !GENERIC_ATOMIC64
  1538. depends on MMU
  1539. select ARCH_DMA_ADDR_T_64BIT
  1540. select ARM_PSCI
  1541. select SWIOTLB_XEN
  1542. help
  1543. Say Y if you want to run Linux in a Virtual Machine on Xen on ARM.
  1544. endmenu
  1545. menu "Boot options"
  1546. config USE_OF
  1547. bool "Flattened Device Tree support"
  1548. select IRQ_DOMAIN
  1549. select OF
  1550. select OF_EARLY_FLATTREE
  1551. select OF_RESERVED_MEM
  1552. help
  1553. Include support for flattened device tree machine descriptions.
  1554. config ATAGS
  1555. bool "Support for the traditional ATAGS boot data passing" if USE_OF
  1556. default y
  1557. help
  1558. This is the traditional way of passing data to the kernel at boot
  1559. time. If you are solely relying on the flattened device tree (or
  1560. the ARM_ATAG_DTB_COMPAT option) then you may unselect this option
  1561. to remove ATAGS support from your kernel binary. If unsure,
  1562. leave this to y.
  1563. config DEPRECATED_PARAM_STRUCT
  1564. bool "Provide old way to pass kernel parameters"
  1565. depends on ATAGS
  1566. help
  1567. This was deprecated in 2001 and announced to live on for 5 years.
  1568. Some old boot loaders still use this way.
  1569. # Compressed boot loader in ROM. Yes, we really want to ask about
  1570. # TEXT and BSS so we preserve their values in the config files.
  1571. config ZBOOT_ROM_TEXT
  1572. hex "Compressed ROM boot loader base address"
  1573. default "0"
  1574. help
  1575. The physical address at which the ROM-able zImage is to be
  1576. placed in the target. Platforms which normally make use of
  1577. ROM-able zImage formats normally set this to a suitable
  1578. value in their defconfig file.
  1579. If ZBOOT_ROM is not enabled, this has no effect.
  1580. config ZBOOT_ROM_BSS
  1581. hex "Compressed ROM boot loader BSS address"
  1582. default "0"
  1583. help
  1584. The base address of an area of read/write memory in the target
  1585. for the ROM-able zImage which must be available while the
  1586. decompressor is running. It must be large enough to hold the
  1587. entire decompressed kernel plus an additional 128 KiB.
  1588. Platforms which normally make use of ROM-able zImage formats
  1589. normally set this to a suitable value in their defconfig file.
  1590. If ZBOOT_ROM is not enabled, this has no effect.
  1591. config ZBOOT_ROM
  1592. bool "Compressed boot loader in ROM/flash"
  1593. depends on ZBOOT_ROM_TEXT != ZBOOT_ROM_BSS
  1594. depends on !ARM_APPENDED_DTB && !XIP_KERNEL && !AUTO_ZRELADDR
  1595. help
  1596. Say Y here if you intend to execute your compressed kernel image
  1597. (zImage) directly from ROM or flash. If unsure, say N.
  1598. config ARM_APPENDED_DTB
  1599. bool "Use appended device tree blob to zImage (EXPERIMENTAL)"
  1600. depends on OF
  1601. help
  1602. With this option, the boot code will look for a device tree binary
  1603. (DTB) appended to zImage
  1604. (e.g. cat zImage <filename>.dtb > zImage_w_dtb).
  1605. This is meant as a backward compatibility convenience for those
  1606. systems with a bootloader that can't be upgraded to accommodate
  1607. the documented boot protocol using a device tree.
  1608. Beware that there is very little in terms of protection against
  1609. this option being confused by leftover garbage in memory that might
  1610. look like a DTB header after a reboot if no actual DTB is appended
  1611. to zImage. Do not leave this option active in a production kernel
  1612. if you don't intend to always append a DTB. Proper passing of the
  1613. location into r2 of a bootloader provided DTB is always preferable
  1614. to this option.
  1615. config ARM_ATAG_DTB_COMPAT
  1616. bool "Supplement the appended DTB with traditional ATAG information"
  1617. depends on ARM_APPENDED_DTB
  1618. help
  1619. Some old bootloaders can't be updated to a DTB capable one, yet
  1620. they provide ATAGs with memory configuration, the ramdisk address,
  1621. the kernel cmdline string, etc. Such information is dynamically
  1622. provided by the bootloader and can't always be stored in a static
  1623. DTB. To allow a device tree enabled kernel to be used with such
  1624. bootloaders, this option allows zImage to extract the information
  1625. from the ATAG list and store it at run time into the appended DTB.
  1626. choice
  1627. prompt "Kernel command line type" if ARM_ATAG_DTB_COMPAT
  1628. default ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER
  1629. config ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER
  1630. bool "Use bootloader kernel arguments if available"
  1631. help
  1632. Uses the command-line options passed by the boot loader instead of
  1633. the device tree bootargs property. If the boot loader doesn't provide
  1634. any, the device tree bootargs property will be used.
  1635. config ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEND
  1636. bool "Extend with bootloader kernel arguments"
  1637. help
  1638. The command-line arguments provided by the boot loader will be
  1639. appended to the the device tree bootargs property.
  1640. endchoice
  1641. config CMDLINE
  1642. string "Default kernel command string"
  1643. default ""
  1644. help
  1645. On some architectures (EBSA110 and CATS), there is currently no way
  1646. for the boot loader to pass arguments to the kernel. For these
  1647. architectures, you should supply some command-line options at build
  1648. time by entering them here. As a minimum, you should specify the
  1649. memory size and the root device (e.g., mem=64M root=/dev/nfs).
  1650. choice
  1651. prompt "Kernel command line type" if CMDLINE != ""
  1652. default CMDLINE_FROM_BOOTLOADER
  1653. depends on ATAGS
  1654. config CMDLINE_FROM_BOOTLOADER
  1655. bool "Use bootloader kernel arguments if available"
  1656. help
  1657. Uses the command-line options passed by the boot loader. If
  1658. the boot loader doesn't provide any, the default kernel command
  1659. string provided in CMDLINE will be used.
  1660. config CMDLINE_EXTEND
  1661. bool "Extend bootloader kernel arguments"
  1662. help
  1663. The command-line arguments provided by the boot loader will be
  1664. appended to the default kernel command string.
  1665. config CMDLINE_FORCE
  1666. bool "Always use the default kernel command string"
  1667. help
  1668. Always use the default kernel command string, even if the boot
  1669. loader passes other arguments to the kernel.
  1670. This is useful if you cannot or don't want to change the
  1671. command-line options your boot loader passes to the kernel.
  1672. endchoice
  1673. config XIP_KERNEL
  1674. bool "Kernel Execute-In-Place from ROM"
  1675. depends on !ARM_LPAE && !ARCH_MULTIPLATFORM
  1676. help
  1677. Execute-In-Place allows the kernel to run from non-volatile storage
  1678. directly addressable by the CPU, such as NOR flash. This saves RAM
  1679. space since the text section of the kernel is not loaded from flash
  1680. to RAM. Read-write sections, such as the data section and stack,
  1681. are still copied to RAM. The XIP kernel is not compressed since
  1682. it has to run directly from flash, so it will take more space to
  1683. store it. The flash address used to link the kernel object files,
  1684. and for storing it, is configuration dependent. Therefore, if you
  1685. say Y here, you must know the proper physical address where to
  1686. store the kernel image depending on your own flash memory usage.
  1687. Also note that the make target becomes "make xipImage" rather than
  1688. "make zImage" or "make Image". The final kernel binary to put in
  1689. ROM memory will be arch/arm/boot/xipImage.
  1690. If unsure, say N.
  1691. config XIP_PHYS_ADDR
  1692. hex "XIP Kernel Physical Location"
  1693. depends on XIP_KERNEL
  1694. default "0x00080000"
  1695. help
  1696. This is the physical address in your flash memory the kernel will
  1697. be linked for and stored to. This address is dependent on your
  1698. own flash usage.
  1699. config KEXEC
  1700. bool "Kexec system call (EXPERIMENTAL)"
  1701. depends on (!SMP || PM_SLEEP_SMP)
  1702. depends on !CPU_V7M
  1703. select KEXEC_CORE
  1704. help
  1705. kexec is a system call that implements the ability to shutdown your
  1706. current kernel, and to start another kernel. It is like a reboot
  1707. but it is independent of the system firmware. And like a reboot
  1708. you can start any kernel with it, not just Linux.
  1709. It is an ongoing process to be certain the hardware in a machine
  1710. is properly shutdown, so do not be surprised if this code does not
  1711. initially work for you.
  1712. config ATAGS_PROC
  1713. bool "Export atags in procfs"
  1714. depends on ATAGS && KEXEC
  1715. default y
  1716. help
  1717. Should the atags used to boot the kernel be exported in an "atags"
  1718. file in procfs. Useful with kexec.
  1719. config CRASH_DUMP
  1720. bool "Build kdump crash kernel (EXPERIMENTAL)"
  1721. help
  1722. Generate crash dump after being started by kexec. This should
  1723. be normally only set in special crash dump kernels which are
  1724. loaded in the main kernel with kexec-tools into a specially
  1725. reserved region and then later executed after a crash by
  1726. kdump/kexec. The crash dump kernel must be compiled to a
  1727. memory address not used by the main kernel
  1728. For more details see Documentation/kdump/kdump.txt
  1729. config AUTO_ZRELADDR
  1730. bool "Auto calculation of the decompressed kernel image address"
  1731. help
  1732. ZRELADDR is the physical address where the decompressed kernel
  1733. image will be placed. If AUTO_ZRELADDR is selected, the address
  1734. will be determined at run-time by masking the current IP with
  1735. 0xf8000000. This assumes the zImage being placed in the first 128MB
  1736. from start of memory.
  1737. endmenu
  1738. menu "CPU Power Management"
  1739. source "drivers/cpufreq/Kconfig"
  1740. source "drivers/cpuidle/Kconfig"
  1741. endmenu
  1742. menu "Floating point emulation"
  1743. comment "At least one emulation must be selected"
  1744. config FPE_NWFPE
  1745. bool "NWFPE math emulation"
  1746. depends on (!AEABI || OABI_COMPAT) && !THUMB2_KERNEL
  1747. ---help---
  1748. Say Y to include the NWFPE floating point emulator in the kernel.
  1749. This is necessary to run most binaries. Linux does not currently
  1750. support floating point hardware so you need to say Y here even if
  1751. your machine has an FPA or floating point co-processor podule.
  1752. You may say N here if you are going to load the Acorn FPEmulator
  1753. early in the bootup.
  1754. config FPE_NWFPE_XP
  1755. bool "Support extended precision"
  1756. depends on FPE_NWFPE
  1757. help
  1758. Say Y to include 80-bit support in the kernel floating-point
  1759. emulator. Otherwise, only 32 and 64-bit support is compiled in.
  1760. Note that gcc does not generate 80-bit operations by default,
  1761. so in most cases this option only enlarges the size of the
  1762. floating point emulator without any good reason.
  1763. You almost surely want to say N here.
  1764. config FPE_FASTFPE
  1765. bool "FastFPE math emulation (EXPERIMENTAL)"
  1766. depends on (!AEABI || OABI_COMPAT) && !CPU_32v3
  1767. ---help---
  1768. Say Y here to include the FAST floating point emulator in the kernel.
  1769. This is an experimental much faster emulator which now also has full
  1770. precision for the mantissa. It does not support any exceptions.
  1771. It is very simple, and approximately 3-6 times faster than NWFPE.
  1772. It should be sufficient for most programs. It may be not suitable
  1773. for scientific calculations, but you have to check this for yourself.
  1774. If you do not feel you need a faster FP emulation you should better
  1775. choose NWFPE.
  1776. config VFP
  1777. bool "VFP-format floating point maths"
  1778. depends on CPU_V6 || CPU_V6K || CPU_ARM926T || CPU_V7 || CPU_FEROCEON
  1779. help
  1780. Say Y to include VFP support code in the kernel. This is needed
  1781. if your hardware includes a VFP unit.
  1782. Please see <file:Documentation/arm/VFP/release-notes.txt> for
  1783. release notes and additional status information.
  1784. Say N if your target does not have VFP hardware.
  1785. config VFPv3
  1786. bool
  1787. depends on VFP
  1788. default y if CPU_V7
  1789. config NEON
  1790. bool "Advanced SIMD (NEON) Extension support"
  1791. depends on VFPv3 && CPU_V7
  1792. help
  1793. Say Y to include support code for NEON, the ARMv7 Advanced SIMD
  1794. Extension.
  1795. config KERNEL_MODE_NEON
  1796. bool "Support for NEON in kernel mode"
  1797. depends on NEON && AEABI
  1798. help
  1799. Say Y to include support for NEON in kernel mode.
  1800. endmenu
  1801. menu "Userspace binary formats"
  1802. source "fs/Kconfig.binfmt"
  1803. endmenu
  1804. menu "Power management options"
  1805. source "kernel/power/Kconfig"
  1806. config ARCH_SUSPEND_POSSIBLE
  1807. depends on CPU_ARM920T || CPU_ARM926T || CPU_FEROCEON || CPU_SA1100 || \
  1808. CPU_V6 || CPU_V6K || CPU_V7 || CPU_V7M || CPU_XSC3 || CPU_XSCALE || CPU_MOHAWK
  1809. def_bool y
  1810. config ARM_CPU_SUSPEND
  1811. def_bool PM_SLEEP
  1812. config ARCH_HIBERNATION_POSSIBLE
  1813. bool
  1814. depends on MMU
  1815. default y if ARCH_SUSPEND_POSSIBLE
  1816. endmenu
  1817. source "net/Kconfig"
  1818. source "drivers/Kconfig"
  1819. source "drivers/firmware/Kconfig"
  1820. source "fs/Kconfig"
  1821. source "arch/arm/Kconfig.debug"
  1822. source "security/Kconfig"
  1823. source "crypto/Kconfig"
  1824. if CRYPTO
  1825. source "arch/arm/crypto/Kconfig"
  1826. endif
  1827. source "lib/Kconfig"
  1828. source "arch/arm/kvm/Kconfig"