Kconfig 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. config ARM64
  2. def_bool y
  3. select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
  4. select ARCH_WANT_COMPAT_IPC_PARSE_VERSION
  5. select ARM_AMBA
  6. select CLONE_BACKWARDS
  7. select COMMON_CLK
  8. select GENERIC_CLOCKEVENTS
  9. select GENERIC_COMPAT_RT_SIGPENDING
  10. select GENERIC_COMPAT_RT_SIGPROCMASK
  11. select GENERIC_HARDIRQS_NO_DEPRECATED
  12. select GENERIC_IOMAP
  13. select GENERIC_IRQ_PROBE
  14. select GENERIC_IRQ_SHOW
  15. select GENERIC_SIGALTSTACK
  16. select GENERIC_SMP_IDLE_THREAD
  17. select GENERIC_TIME_VSYSCALL
  18. select HARDIRQS_SW_RESEND
  19. select HAVE_ARCH_TRACEHOOK
  20. select HAVE_DEBUG_BUGVERBOSE
  21. select HAVE_DEBUG_KMEMLEAK
  22. select HAVE_DMA_API_DEBUG
  23. select HAVE_DMA_ATTRS
  24. select HAVE_GENERIC_DMA_COHERENT
  25. select HAVE_GENERIC_HARDIRQS
  26. select HAVE_HW_BREAKPOINT if PERF_EVENTS
  27. select HAVE_IRQ_WORK
  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 RTC_LIB
  37. select SPARSE_IRQ
  38. select SYSCTL_EXCEPTION_TRACE
  39. help
  40. ARM 64-bit (AArch64) Linux support.
  41. config 64BIT
  42. def_bool y
  43. config ARCH_PHYS_ADDR_T_64BIT
  44. def_bool y
  45. config MMU
  46. def_bool y
  47. config NO_IOPORT
  48. def_bool y
  49. config STACKTRACE_SUPPORT
  50. def_bool y
  51. config LOCKDEP_SUPPORT
  52. def_bool y
  53. config TRACE_IRQFLAGS_SUPPORT
  54. def_bool y
  55. config GENERIC_LOCKBREAK
  56. def_bool y
  57. depends on SMP && PREEMPT
  58. config RWSEM_GENERIC_SPINLOCK
  59. def_bool y
  60. config GENERIC_HWEIGHT
  61. def_bool y
  62. config GENERIC_CSUM
  63. def_bool y
  64. config GENERIC_CALIBRATE_DELAY
  65. def_bool y
  66. config ZONE_DMA32
  67. def_bool y
  68. config ARCH_DMA_ADDR_T_64BIT
  69. def_bool y
  70. config NEED_DMA_MAP_STATE
  71. def_bool y
  72. config NEED_SG_DMA_LENGTH
  73. def_bool y
  74. config SWIOTLB
  75. def_bool y
  76. config IOMMU_HELPER
  77. def_bool SWIOTLB
  78. config GENERIC_GPIO
  79. def_bool y
  80. source "init/Kconfig"
  81. source "kernel/Kconfig.freezer"
  82. menu "System Type"
  83. endmenu
  84. menu "Bus support"
  85. config ARM_AMBA
  86. bool
  87. endmenu
  88. menu "Kernel Features"
  89. source "kernel/time/Kconfig"
  90. config ARM64_64K_PAGES
  91. bool "Enable 64KB pages support"
  92. help
  93. This feature enables 64KB pages support (4KB by default)
  94. allowing only two levels of page tables and faster TLB
  95. look-up. AArch32 emulation is not available when this feature
  96. is enabled.
  97. config SMP
  98. bool "Symmetric Multi-Processing"
  99. select USE_GENERIC_SMP_HELPERS
  100. help
  101. This enables support for systems with more than one CPU. If
  102. you say N here, the kernel will run on single and
  103. multiprocessor machines, but will use only one CPU of a
  104. multiprocessor machine. If you say Y here, the kernel will run
  105. on many, but not all, single processor machines. On a single
  106. processor machine, the kernel will run faster if you say N
  107. here.
  108. If you don't know what to do here, say N.
  109. config NR_CPUS
  110. int "Maximum number of CPUs (2-32)"
  111. range 2 32
  112. depends on SMP
  113. default "4"
  114. source kernel/Kconfig.preempt
  115. config HZ
  116. int
  117. default 100
  118. config ARCH_HAS_HOLES_MEMORYMODEL
  119. def_bool y if SPARSEMEM
  120. config ARCH_SPARSEMEM_ENABLE
  121. def_bool y
  122. select SPARSEMEM_VMEMMAP_ENABLE
  123. config ARCH_SPARSEMEM_DEFAULT
  124. def_bool ARCH_SPARSEMEM_ENABLE
  125. config ARCH_SELECT_MEMORY_MODEL
  126. def_bool ARCH_SPARSEMEM_ENABLE
  127. config HAVE_ARCH_PFN_VALID
  128. def_bool ARCH_HAS_HOLES_MEMORYMODEL || !SPARSEMEM
  129. config HW_PERF_EVENTS
  130. bool "Enable hardware performance counter support for perf events"
  131. depends on PERF_EVENTS
  132. default y
  133. help
  134. Enable hardware performance counter support for perf events. If
  135. disabled, perf events will use software events only.
  136. source "mm/Kconfig"
  137. endmenu
  138. menu "Boot options"
  139. config CMDLINE
  140. string "Default kernel command string"
  141. default ""
  142. help
  143. Provide a set of default command-line options at build time by
  144. entering them here. As a minimum, you should specify the the
  145. root device (e.g. root=/dev/nfs).
  146. config CMDLINE_FORCE
  147. bool "Always use the default kernel command string"
  148. help
  149. Always use the default kernel command string, even if the boot
  150. loader passes other arguments to the kernel.
  151. This is useful if you cannot or don't want to change the
  152. command-line options your boot loader passes to the kernel.
  153. endmenu
  154. menu "Userspace binary formats"
  155. source "fs/Kconfig.binfmt"
  156. config COMPAT
  157. bool "Kernel support for 32-bit EL0"
  158. depends on !ARM64_64K_PAGES
  159. select COMPAT_BINFMT_ELF
  160. select HAVE_UID16
  161. help
  162. This option enables support for a 32-bit EL0 running under a 64-bit
  163. kernel at EL1. AArch32-specific components such as system calls,
  164. the user helper functions, VFP support and the ptrace interface are
  165. handled appropriately by the kernel.
  166. If you want to execute 32-bit userspace applications, say Y.
  167. config SYSVIPC_COMPAT
  168. def_bool y
  169. depends on COMPAT && SYSVIPC
  170. endmenu
  171. source "net/Kconfig"
  172. source "drivers/Kconfig"
  173. source "fs/Kconfig"
  174. source "arch/arm64/Kconfig.debug"
  175. source "security/Kconfig"
  176. source "crypto/Kconfig"
  177. source "lib/Kconfig"