Kconfig 5.8 KB

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