Kconfig 4.5 KB

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