Kconfig 62 KB

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