Kconfig 4.6 KB

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