Kconfig 4.7 KB

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