Kconfig 4.6 KB

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