Kconfig 4.7 KB

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