Kconfig 4.4 KB

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