Kconfig (779fda86bdeb86bad6daa4f0ecf37788dfc26f6c) Kconfig (1631ba1259d6d7f49b6028f2a1a0fa02be1c522a)
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

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

108 select HAVE_STACKPROTECTOR
109 select HAVE_SYSCALL_TRACEPOINTS
110 select HAVE_RSEQ
111 select IRQ_DOMAIN
112 select IRQ_FORCED_THREADING
113 select MODULES_USE_ELF_RELA if MODULES
114 select MODULE_SECTIONS if MODULES
115 select OF
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

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

108 select HAVE_STACKPROTECTOR
109 select HAVE_SYSCALL_TRACEPOINTS
110 select HAVE_RSEQ
111 select IRQ_DOMAIN
112 select IRQ_FORCED_THREADING
113 select MODULES_USE_ELF_RELA if MODULES
114 select MODULE_SECTIONS if MODULES
115 select OF
116 select OF_DMA_DEFAULT_COHERENT
116 select OF_EARLY_FLATTREE
117 select OF_IRQ
118 select PCI_DOMAINS_GENERIC if PCI
119 select PCI_MSI if PCI
120 select RISCV_INTC
121 select RISCV_TIMER if RISCV_SBI
122 select SPARSE_IRQ
123 select SYSCTL_EXCEPTION_TRACE

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

213config PGTABLE_LEVELS
214 int
215 default 5 if 64BIT
216 default 2
217
218config LOCKDEP_SUPPORT
219 def_bool y
220
117 select OF_EARLY_FLATTREE
118 select OF_IRQ
119 select PCI_DOMAINS_GENERIC if PCI
120 select PCI_MSI if PCI
121 select RISCV_INTC
122 select RISCV_TIMER if RISCV_SBI
123 select SPARSE_IRQ
124 select SYSCTL_EXCEPTION_TRACE

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

214config PGTABLE_LEVELS
215 int
216 default 5 if 64BIT
217 default 2
218
219config LOCKDEP_SUPPORT
220 def_bool y
221
222config RISCV_DMA_NONCOHERENT
223 bool
224 select ARCH_HAS_DMA_PREP_COHERENT
225 select ARCH_HAS_SYNC_DMA_FOR_DEVICE
226 select ARCH_HAS_SYNC_DMA_FOR_CPU
227 select ARCH_HAS_SETUP_DMA_OPS
228 select DMA_DIRECT_REMAP
229
221source "arch/riscv/Kconfig.socs"
222source "arch/riscv/Kconfig.erratas"
223
224menu "Platform type"
225
226choice
227 prompt "Base ISA"
228 default ARCH_RV64I

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

371 The memory type for a page contains a combination of attributes
372 that indicate the cacheability, idempotency, and ordering
373 properties for access to that page.
374
375 The SVPBMT extension is only available on 64Bit cpus.
376
377 If you don't know what to do here, say Y.
378
230source "arch/riscv/Kconfig.socs"
231source "arch/riscv/Kconfig.erratas"
232
233menu "Platform type"
234
235choice
236 prompt "Base ISA"
237 default ARCH_RV64I

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

380 The memory type for a page contains a combination of attributes
381 that indicate the cacheability, idempotency, and ordering
382 properties for access to that page.
383
384 The SVPBMT extension is only available on 64Bit cpus.
385
386 If you don't know what to do here, say Y.
387
388config CC_HAS_ZICBOM
389 bool
390 default y if 64BIT && $(cc-option,-mabi=lp64 -march=rv64ima_zicbom)
391 default y if 32BIT && $(cc-option,-mabi=ilp32 -march=rv32ima_zicbom)
392
393config RISCV_ISA_ZICBOM
394 bool "Zicbom extension support for non-coherent DMA operation"
395 depends on CC_HAS_ZICBOM
396 depends on !XIP_KERNEL
397 select RISCV_DMA_NONCOHERENT
398 select RISCV_ALTERNATIVE
399 default y
400 help
401 Adds support to dynamically detect the presence of the ZICBOM
402 extension (Cache Block Management Operations) and enable its
403 usage.
404
405 The Zicbom extension can be used to handle for example
406 non-coherent DMA support on devices that need it.
407
408 If you don't know what to do here, say Y.
409
379config FPU
380 bool "FPU support"
381 default y
382 help
383 Say N here if you want to disable all floating-point related procedure
384 in the kernel.
385
386 If you don't know what to do here, say Y.

--- 238 unchanged lines hidden ---
410config FPU
411 bool "FPU support"
412 default y
413 help
414 Say N here if you want to disable all floating-point related procedure
415 in the kernel.
416
417 If you don't know what to do here, say Y.

--- 238 unchanged lines hidden ---