Kconfig 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. config ARM64
  2. def_bool y
  3. select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
  4. select ARCH_USE_CMPXCHG_LOCKREF
  5. select ARCH_WANT_OPTIONAL_GPIOLIB
  6. select ARCH_WANT_COMPAT_IPC_PARSE_VERSION
  7. select ARCH_WANT_FRAME_POINTERS
  8. select ARM_AMBA
  9. select ARM_ARCH_TIMER
  10. select ARM_GIC
  11. select BUILDTIME_EXTABLE_SORT
  12. select CLONE_BACKWARDS
  13. select COMMON_CLK
  14. select GENERIC_CLOCKEVENTS
  15. select GENERIC_IOMAP
  16. select GENERIC_IRQ_PROBE
  17. select GENERIC_IRQ_SHOW
  18. select GENERIC_SMP_IDLE_THREAD
  19. select GENERIC_TIME_VSYSCALL
  20. select HARDIRQS_SW_RESEND
  21. select HAVE_ARCH_TRACEHOOK
  22. select HAVE_DEBUG_BUGVERBOSE
  23. select HAVE_DEBUG_KMEMLEAK
  24. select HAVE_DMA_API_DEBUG
  25. select HAVE_DMA_ATTRS
  26. select HAVE_GENERIC_DMA_COHERENT
  27. select HAVE_HW_BREAKPOINT if PERF_EVENTS
  28. select HAVE_MEMBLOCK
  29. select HAVE_PERF_EVENTS
  30. select IRQ_DOMAIN
  31. select MODULES_USE_ELF_RELA
  32. select NO_BOOTMEM
  33. select OF
  34. select OF_EARLY_FLATTREE
  35. select PERF_USE_VMALLOC
  36. select POWER_RESET
  37. select POWER_SUPPLY
  38. select RTC_LIB
  39. select SPARSE_IRQ
  40. select SYSCTL_EXCEPTION_TRACE
  41. help
  42. ARM 64-bit (AArch64) Linux support.
  43. config 64BIT
  44. def_bool y
  45. config ARCH_PHYS_ADDR_T_64BIT
  46. def_bool y
  47. config MMU
  48. def_bool y
  49. config NO_IOPORT
  50. def_bool y
  51. config STACKTRACE_SUPPORT
  52. def_bool y
  53. config LOCKDEP_SUPPORT
  54. def_bool y
  55. config TRACE_IRQFLAGS_SUPPORT
  56. def_bool y
  57. config RWSEM_GENERIC_SPINLOCK
  58. def_bool y
  59. config GENERIC_HWEIGHT
  60. def_bool y
  61. config GENERIC_CSUM
  62. def_bool y
  63. config GENERIC_CALIBRATE_DELAY
  64. def_bool y
  65. config ZONE_DMA32
  66. def_bool y
  67. config ARCH_DMA_ADDR_T_64BIT
  68. def_bool y
  69. config NEED_DMA_MAP_STATE
  70. def_bool y
  71. config NEED_SG_DMA_LENGTH
  72. def_bool y
  73. config SWIOTLB
  74. def_bool y
  75. config IOMMU_HELPER
  76. def_bool SWIOTLB
  77. config KERNEL_MODE_NEON
  78. def_bool y
  79. source "init/Kconfig"
  80. source "kernel/Kconfig.freezer"
  81. menu "Platform selection"
  82. config ARCH_VEXPRESS
  83. bool "ARMv8 software model (Versatile Express)"
  84. select ARCH_REQUIRE_GPIOLIB
  85. select COMMON_CLK_VERSATILE
  86. select POWER_RESET_VEXPRESS
  87. select VEXPRESS_CONFIG
  88. help
  89. This enables support for the ARMv8 software model (Versatile
  90. Express).
  91. config ARCH_XGENE
  92. bool "AppliedMicro X-Gene SOC Family"
  93. help
  94. This enables support for AppliedMicro X-Gene SOC Family
  95. endmenu
  96. menu "Bus support"
  97. config ARM_AMBA
  98. bool
  99. endmenu
  100. menu "Kernel Features"
  101. config ARM64_64K_PAGES
  102. bool "Enable 64KB pages support"
  103. help
  104. This feature enables 64KB pages support (4KB by default)
  105. allowing only two levels of page tables and faster TLB
  106. look-up. AArch32 emulation is not available when this feature
  107. is enabled.
  108. config CPU_BIG_ENDIAN
  109. bool "Build big-endian kernel"
  110. help
  111. Say Y if you plan on running a kernel in big-endian mode.
  112. config SMP
  113. bool "Symmetric Multi-Processing"
  114. select USE_GENERIC_SMP_HELPERS
  115. help
  116. This enables support for systems with more than one CPU. If
  117. you say N here, the kernel will run on single and
  118. multiprocessor machines, but will use only one CPU of a
  119. multiprocessor machine. If you say Y here, the kernel will run
  120. on many, but not all, single processor machines. On a single
  121. processor machine, the kernel will run faster if you say N
  122. here.
  123. If you don't know what to do here, say N.
  124. config NR_CPUS
  125. int "Maximum number of CPUs (2-32)"
  126. range 2 32
  127. depends on SMP
  128. # These have to remain sorted largest to smallest
  129. default "8" if ARCH_XGENE
  130. default "4"
  131. config HOTPLUG_CPU
  132. bool "Support for hot-pluggable CPUs"
  133. depends on SMP
  134. help
  135. Say Y here to experiment with turning CPUs off and on. CPUs
  136. can be controlled through /sys/devices/system/cpu.
  137. source kernel/Kconfig.preempt
  138. config HZ
  139. int
  140. default 100
  141. config ARCH_HAS_HOLES_MEMORYMODEL
  142. def_bool y if SPARSEMEM
  143. config ARCH_SPARSEMEM_ENABLE
  144. def_bool y
  145. select SPARSEMEM_VMEMMAP_ENABLE
  146. config ARCH_SPARSEMEM_DEFAULT
  147. def_bool ARCH_SPARSEMEM_ENABLE
  148. config ARCH_SELECT_MEMORY_MODEL
  149. def_bool ARCH_SPARSEMEM_ENABLE
  150. config HAVE_ARCH_PFN_VALID
  151. def_bool ARCH_HAS_HOLES_MEMORYMODEL || !SPARSEMEM
  152. config HW_PERF_EVENTS
  153. bool "Enable hardware performance counter support for perf events"
  154. depends on PERF_EVENTS
  155. default y
  156. help
  157. Enable hardware performance counter support for perf events. If
  158. disabled, perf events will use software events only.
  159. config SYS_SUPPORTS_HUGETLBFS
  160. def_bool y
  161. config ARCH_WANT_GENERAL_HUGETLB
  162. def_bool y
  163. config ARCH_WANT_HUGE_PMD_SHARE
  164. def_bool y if !ARM64_64K_PAGES
  165. config HAVE_ARCH_TRANSPARENT_HUGEPAGE
  166. def_bool y
  167. source "mm/Kconfig"
  168. config XEN_DOM0
  169. def_bool y
  170. depends on XEN
  171. config XEN
  172. bool "Xen guest support on ARM64 (EXPERIMENTAL)"
  173. depends on ARM64 && OF
  174. help
  175. Say Y if you want to run Linux in a Virtual Machine on Xen on ARM64.
  176. config FORCE_MAX_ZONEORDER
  177. int
  178. default "14" if (ARM64_64K_PAGES && TRANSPARENT_HUGEPAGE)
  179. default "11"
  180. endmenu
  181. menu "Boot options"
  182. config CMDLINE
  183. string "Default kernel command string"
  184. default ""
  185. help
  186. Provide a set of default command-line options at build time by
  187. entering them here. As a minimum, you should specify the the
  188. root device (e.g. root=/dev/nfs).
  189. config CMDLINE_FORCE
  190. bool "Always use the default kernel command string"
  191. help
  192. Always use the default kernel command string, even if the boot
  193. loader passes other arguments to the kernel.
  194. This is useful if you cannot or don't want to change the
  195. command-line options your boot loader passes to the kernel.
  196. endmenu
  197. menu "Userspace binary formats"
  198. source "fs/Kconfig.binfmt"
  199. config COMPAT
  200. bool "Kernel support for 32-bit EL0"
  201. depends on !ARM64_64K_PAGES
  202. select COMPAT_BINFMT_ELF
  203. select HAVE_UID16
  204. select OLD_SIGSUSPEND3
  205. select COMPAT_OLD_SIGACTION
  206. help
  207. This option enables support for a 32-bit EL0 running under a 64-bit
  208. kernel at EL1. AArch32-specific components such as system calls,
  209. the user helper functions, VFP support and the ptrace interface are
  210. handled appropriately by the kernel.
  211. If you want to execute 32-bit userspace applications, say Y.
  212. config SYSVIPC_COMPAT
  213. def_bool y
  214. depends on COMPAT && SYSVIPC
  215. endmenu
  216. source "net/Kconfig"
  217. source "drivers/Kconfig"
  218. source "fs/Kconfig"
  219. source "arch/arm64/kvm/Kconfig"
  220. source "arch/arm64/Kconfig.debug"
  221. source "security/Kconfig"
  222. source "crypto/Kconfig"
  223. source "lib/Kconfig"