Kconfig 63 KB

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