Kconfig 61 KB

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