Kconfig 66 KB

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