Kconfig 62 KB

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