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