Kconfig (0301201b7181a927b59421097a01ee98683aa67c) Kconfig (6f4eea90465ad0cd5f3d041b9b2c728426f2b8d4)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# For a description of the syntax of this configuration file,
4# see Documentation/kbuild/kconfig-language.rst.
5#
6
7config 64BIT
8 bool

--- 6 unchanged lines hidden (view full) ---

15 select ARCH_CLOCKSOURCE_INIT
16 select ARCH_SUPPORTS_ATOMIC_RMW
17 select ARCH_SUPPORTS_DEBUG_PAGEALLOC if MMU
18 select ARCH_STACKWALK
19 select ARCH_HAS_BINFMT_FLAT
20 select ARCH_HAS_DEBUG_VM_PGTABLE
21 select ARCH_HAS_DEBUG_VIRTUAL if MMU
22 select ARCH_HAS_DEBUG_WX
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# For a description of the syntax of this configuration file,
4# see Documentation/kbuild/kconfig-language.rst.
5#
6
7config 64BIT
8 bool

--- 6 unchanged lines hidden (view full) ---

15 select ARCH_CLOCKSOURCE_INIT
16 select ARCH_SUPPORTS_ATOMIC_RMW
17 select ARCH_SUPPORTS_DEBUG_PAGEALLOC if MMU
18 select ARCH_STACKWALK
19 select ARCH_HAS_BINFMT_FLAT
20 select ARCH_HAS_DEBUG_VM_PGTABLE
21 select ARCH_HAS_DEBUG_VIRTUAL if MMU
22 select ARCH_HAS_DEBUG_WX
23 select ARCH_HAS_FORTIFY_SOURCE
23 select ARCH_HAS_GCOV_PROFILE_ALL
24 select ARCH_HAS_GIGANTIC_PAGE
25 select ARCH_HAS_KCOV
26 select ARCH_HAS_MMIOWB
27 select ARCH_HAS_PTE_SPECIAL
28 select ARCH_HAS_SET_DIRECT_MAP
29 select ARCH_HAS_SET_MEMORY
30 select ARCH_HAS_STRICT_KERNEL_RWX if MMU
24 select ARCH_HAS_GCOV_PROFILE_ALL
25 select ARCH_HAS_GIGANTIC_PAGE
26 select ARCH_HAS_KCOV
27 select ARCH_HAS_MMIOWB
28 select ARCH_HAS_PTE_SPECIAL
29 select ARCH_HAS_SET_DIRECT_MAP
30 select ARCH_HAS_SET_MEMORY
31 select ARCH_HAS_STRICT_KERNEL_RWX if MMU
32 select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
31 select ARCH_OPTIONAL_KERNEL_RWX if ARCH_HAS_STRICT_KERNEL_RWX
32 select ARCH_OPTIONAL_KERNEL_RWX_DEFAULT
33 select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT if MMU
34 select ARCH_WANT_FRAME_POINTERS
35 select ARCH_WANT_HUGE_PMD_SHARE if 64BIT
36 select CLONE_BACKWARDS
37 select CLINT_TIMER if !MMU
38 select COMMON_CLK
39 select EDAC_SUPPORT
40 select GENERIC_ARCH_TOPOLOGY if SMP
41 select GENERIC_ATOMIC64 if !64BIT
33 select ARCH_OPTIONAL_KERNEL_RWX if ARCH_HAS_STRICT_KERNEL_RWX
34 select ARCH_OPTIONAL_KERNEL_RWX_DEFAULT
35 select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT if MMU
36 select ARCH_WANT_FRAME_POINTERS
37 select ARCH_WANT_HUGE_PMD_SHARE if 64BIT
38 select CLONE_BACKWARDS
39 select CLINT_TIMER if !MMU
40 select COMMON_CLK
41 select EDAC_SUPPORT
42 select GENERIC_ARCH_TOPOLOGY if SMP
43 select GENERIC_ATOMIC64 if !64BIT
44 select GENERIC_CLOCKEVENTS_BROADCAST if SMP
42 select GENERIC_EARLY_IOREMAP
43 select GENERIC_GETTIMEOFDAY if HAVE_GENERIC_VDSO
44 select GENERIC_IOREMAP
45 select GENERIC_IRQ_MULTI_HANDLER
46 select GENERIC_IRQ_SHOW
47 select GENERIC_LIB_DEVMEM_IS_ALLOWED
48 select GENERIC_PCI_IOMAP
49 select GENERIC_PTDUMP if MMU

--- 38 unchanged lines hidden (view full) ---

88 select MODULE_SECTIONS if MODULES
89 select OF
90 select OF_EARLY_FLATTREE
91 select OF_IRQ
92 select PCI_DOMAINS_GENERIC if PCI
93 select PCI_MSI if PCI
94 select RISCV_INTC
95 select RISCV_TIMER if RISCV_SBI
45 select GENERIC_EARLY_IOREMAP
46 select GENERIC_GETTIMEOFDAY if HAVE_GENERIC_VDSO
47 select GENERIC_IOREMAP
48 select GENERIC_IRQ_MULTI_HANDLER
49 select GENERIC_IRQ_SHOW
50 select GENERIC_LIB_DEVMEM_IS_ALLOWED
51 select GENERIC_PCI_IOMAP
52 select GENERIC_PTDUMP if MMU

--- 38 unchanged lines hidden (view full) ---

91 select MODULE_SECTIONS if MODULES
92 select OF
93 select OF_EARLY_FLATTREE
94 select OF_IRQ
95 select PCI_DOMAINS_GENERIC if PCI
96 select PCI_MSI if PCI
97 select RISCV_INTC
98 select RISCV_TIMER if RISCV_SBI
99 select SPARSEMEM_STATIC if 32BIT
96 select SPARSE_IRQ
97 select SYSCTL_EXCEPTION_TRACE
98 select THREAD_INFO_IN_TASK
99 select UACCESS_MEMCPY if !MMU
100
101config ARCH_MMAP_RND_BITS_MIN
102 default 18 if 64BIT
103 default 8

--- 44 unchanged lines hidden (view full) ---

148 default 0xffffffe000000000 if 64BIT && MAXPHYSMEM_128GB
149
150config ARCH_FLATMEM_ENABLE
151 def_bool !NUMA
152
153config ARCH_SPARSEMEM_ENABLE
154 def_bool y
155 depends on MMU
100 select SPARSE_IRQ
101 select SYSCTL_EXCEPTION_TRACE
102 select THREAD_INFO_IN_TASK
103 select UACCESS_MEMCPY if !MMU
104
105config ARCH_MMAP_RND_BITS_MIN
106 default 18 if 64BIT
107 default 8

--- 44 unchanged lines hidden (view full) ---

152 default 0xffffffe000000000 if 64BIT && MAXPHYSMEM_128GB
153
154config ARCH_FLATMEM_ENABLE
155 def_bool !NUMA
156
157config ARCH_SPARSEMEM_ENABLE
158 def_bool y
159 depends on MMU
156 select SPARSEMEM_STATIC if 32BIT && SPARSEMEM
157 select SPARSEMEM_VMEMMAP_ENABLE if 64BIT
160 select SPARSEMEM_VMEMMAP_ENABLE
158
159config ARCH_SELECT_MEMORY_MODEL
160 def_bool ARCH_SPARSEMEM_ENABLE
161
162config ARCH_WANT_GENERAL_HUGETLB
163 def_bool y
164
165config ARCH_SUPPORTS_UPROBES

--- 33 unchanged lines hidden (view full) ---

199 int
200 default 3 if 64BIT
201 default 2
202
203config LOCKDEP_SUPPORT
204 def_bool y
205
206source "arch/riscv/Kconfig.socs"
161
162config ARCH_SELECT_MEMORY_MODEL
163 def_bool ARCH_SPARSEMEM_ENABLE
164
165config ARCH_WANT_GENERAL_HUGETLB
166 def_bool y
167
168config ARCH_SUPPORTS_UPROBES

--- 33 unchanged lines hidden (view full) ---

202 int
203 default 3 if 64BIT
204 default 2
205
206config LOCKDEP_SUPPORT
207 def_bool y
208
209source "arch/riscv/Kconfig.socs"
210source "arch/riscv/Kconfig.erratas"
207
208menu "Platform type"
209
210choice
211 prompt "Base ISA"
212 default ARCH_RV64I
213 help
214 This selects the base ISA that this kernel will target and must match

--- 94 unchanged lines hidden (view full) ---

309config TUNE_GENERIC
310 bool "generic"
311
312endchoice
313
314# Common NUMA Features
315config NUMA
316 bool "NUMA Memory Allocation and Scheduler Support"
211
212menu "Platform type"
213
214choice
215 prompt "Base ISA"
216 default ARCH_RV64I
217 help
218 This selects the base ISA that this kernel will target and must match

--- 94 unchanged lines hidden (view full) ---

313config TUNE_GENERIC
314 bool "generic"
315
316endchoice
317
318# Common NUMA Features
319config NUMA
320 bool "NUMA Memory Allocation and Scheduler Support"
317 depends on SMP && MMU
321 depends on SMP
318 select GENERIC_ARCH_NUMA
319 select OF_NUMA
320 select ARCH_SUPPORTS_NUMA_BALANCING
321 help
322 Enable NUMA (Non-Uniform Memory Access) support.
323
324 The kernel will try to allocate memory used by a CPU on the
325 local memory of the CPU and add some more NUMA awareness to the kernel.

--- 152 unchanged lines hidden ---
322 select GENERIC_ARCH_NUMA
323 select OF_NUMA
324 select ARCH_SUPPORTS_NUMA_BALANCING
325 help
326 Enable NUMA (Non-Uniform Memory Access) support.
327
328 The kernel will try to allocate memory used by a CPU on the
329 local memory of the CPU and add some more NUMA awareness to the kernel.

--- 152 unchanged lines hidden ---