Lines Matching +full:default +full:- +full:on
1 # SPDX-License-Identifier: GPL-2.0-only
4 # see Documentation/kbuild/kconfig-language.rst.
177 # https://github.com/llvm/llvm-project/commit/6ab8927931851bb42b2c93a00801dc499d7d9b1e
178 depends on CLANG_VERSION >= 130000
180 depends on AS_IS_GNU || (AS_IS_LLVM && (LD_IS_LLD || LD_VERSION >= 23600))
184 depends on $(cc-option,-fpatchable-function-entry=8)
187 def_bool $(cc-option,-fsanitize=shadow-call-stack)
188 …# https://github.com/riscv-non-isa/riscv-elf-psabi-doc/commit/a484e843e6eeb51f0cb7b8819e50da6d2444…
189 depends on $(ld-option,--no-relax-gp)
193 # https://github.com/llvm/llvm-project/commit/6611d58f5bbcbec77262d392e2923e1d680f6985
194 depends on !LD_IS_LLD || LLD_VERSION >= 150000
196 # https://github.com/llvm/llvm-project/commit/bbc0f99f3bc96f1db16f649fc21dd18e5b0918f6
199 depends on RISCV_USE_LINKER_RELAXATION
200 # https://github.com/llvm/llvm-project/commit/1df5ea29b43690b6622db2cad7b745607ca4de6a
201 depends on AS_IS_LLVM && AS_VERSION < 180000
202 # https://github.com/llvm/llvm-project/commit/7ffabb61a5569444b5ac9322e22e5471cc5e4a77
203 depends on LD_IS_LLD && LLD_VERSION < 180000
206 default 18 if 64BIT
207 default 8
210 default 8
213 # VA_BITS - PAGE_SHIFT - 3
215 default 24 if 64BIT # SV39 based
216 default 17
219 default 17
224 default !MMU
226 # set if we are running in S-mode and can use SBI calls
229 depends on !RISCV_M_MODE
230 default y
233 bool "MMU-based Paged Memory Management Support"
234 default y
236 Select if you want MMU-based virtualised addressing space
241 default 0xC0000000 if 32BIT && MMU
242 default 0x80000000 if !MMU
243 default 0xff60000000000000 if 64BIT
247 depends on KASAN_GENERIC
248 default 0xdfffffff00000000 if 64BIT
249 default 0xffffffff if 32BIT
256 depends on MMU
271 depends on BUG
291 default 5 if 64BIT
292 default 2
308 This enables function pointer support for non-standard noncoherent
312 def_bool $(as-instr,.insn r 51$(comma) 0$(comma) 0$(comma) t0$(comma) t0$(comma) zero)
317 depends on $(as-instr, .option arch$(comma) +m)
325 bool "Allow configurations that result in non-portable kernels"
327 RISC-V kernel binaries are compatible between all known systems
341 default ARCH_RV64I
348 depends on NONPORTABLE
368 default CMODEL_MEDLOW if 32BIT
369 default CMODEL_MEDANY if 64BIT
382 bool "Symmetric Multi-Processing"
385 you say N here, the kernel will run on single and
388 on many, but not all, single processor machines. On a single
395 bool "Multi-core scheduler support"
396 depends on SMP
398 Multi-core scheduler support improves the CPU scheduler's decision
399 making when dealing with multi-core CPU chips at a cost of slightly
403 int "Maximum number of CPUs (2-512)"
404 depends on SMP
408 default "32" if 32BIT
409 default "64" if 64BIT
412 bool "Support for hot-pluggable CPUs"
413 depends on SMP
417 Say Y here to experiment with turning CPUs off and on. CPUs
424 default TUNE_GENERIC
434 depends on SMP && MMU
443 Enable NUMA (Non-Uniform Memory Access) support.
445 The kernel will try to allocate memory used by a CPU on the
451 default "2"
452 depends on NUMA
454 Specify the maximum number of NUMA Nodes available on the target
459 depends on !XIP_KERNEL
464 once at boot and once on each module load.
468 depends on RISCV_ALTERNATIVE
474 default y
484 depends on 64BIT && MMU
485 depends on RISCV_ALTERNATIVE
486 default y
488 Allow kernel to detect the Svnapot ISA-extension dynamically at boot
492 of contiguous virtual-to-physical translations for a naturally
493 aligned power-of-2 (NAPOT) granularity larger than the base 4KB page
502 bool "Svpbmt extension support for supervisor mode page-based memory types"
503 depends on 64BIT && MMU
504 depends on RISCV_ALTERNATIVE
505 default y
508 ISA-extension (Supervisor-mode: page-based memory types) and
515 The Svpbmt extension is only available on 64-bit cpus.
521 default y
522 depends on !64BIT || $(cc-option,-mabi=lp64 -march=rv64iv)
523 depends on !32BIT || $(cc-option,-mabi=ilp32 -march=rv32iv)
524 depends on LLD_VERSION >= 140000 || LD_VERSION >= 23800
525 depends on AS_HAS_OPTION_ARCH
529 depends on TOOLCHAIN_HAS_V
530 depends on FPU
532 default y
540 bool "Enable userspace Vector by default"
541 depends on RISCV_ISA_V
542 default y
544 Say Y here if you want to enable Vector in userspace by default.
552 depends on RISCV_ISA_V
553 default 768
559 bool "Run kernel-mode Vector with kernel preemption"
560 depends on PREEMPTION
561 depends on RISCV_ISA_V
562 default y
564 Usually, in-kernel SIMD routines are run with preemption disabled.
570 consumption due to the allocation of per-task's kernel Vector context.
574 default y
575 depends on !64BIT || $(cc-option,-mabi=lp64 -march=rv64ima_zbb)
576 depends on !32BIT || $(cc-option,-mabi=ilp32 -march=rv32ima_zbb)
577 depends on LLD_VERSION >= 150000 || LD_VERSION >= 23900
578 depends on AS_HAS_OPTION_ARCH
582 depends on TOOLCHAIN_HAS_ZBB
583 depends on MMU
584 depends on RISCV_ALTERNATIVE
585 default y
591 of bit-specific operations (count bit population, sign extending,
597 bool "Zicbom extension support for non-coherent DMA operation"
598 depends on MMU
599 depends on RISCV_ALTERNATIVE
600 default y
609 non-coherent DMA support on devices that need it.
615 depends on MMU
616 depends on RISCV_ALTERNATIVE
617 default y
628 default y
629 depends on !64BIT || $(cc-option,-mabi=lp64 -march=rv64ima_zihintpause)
630 depends on !32BIT || $(cc-option,-mabi=ilp32 -march=rv32ima_zihintpause)
631 depends on LLD_VERSION >= 150000 || LD_VERSION >= 23600
635 …# https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=aed44286efa8ae8717a77d94b51ac3614e2ca6…
637 depends on AS_IS_GNU && AS_VERSION >= 23600
639 Binutils-2.38 and GCC-12.1.0 bumped the default ISA spec to the newer
644 To make life easier, and avoid forcing toolchains that default to a
651 depends on TOOLCHAIN_NEEDS_EXPLICIT_ZICSR_ZIFENCEI
652 # https://github.com/llvm/llvm-project/commit/22e199e6afb1263c943c0c0d4498694e15bf8a16
654 depends on (CC_IS_CLANG && CLANG_VERSION < 170000) || (CC_IS_GCC && GCC_VERSION < 110300)
657 -march. This option causes an older ISA spec compatible with these older
659 as passing zicsr and zifencei to -march.
663 default y
665 Say N here if you want to disable all floating-point related procedure
672 default y
680 int "Kernel stack size (in power-of-two numbers of page size)" if VMAP_STACK && EXPERT
682 default 1 if 32BIT && !KASAN
683 default 3 if 64BIT && KASAN
684 default 2
692 default y
700 depends on NONPORTABLE
706 improves the performance of the kernel on such CPUs. However, the
708 on CPUs that do not support efficient unaligned memory accesses.
720 depends on RISCV_SBI
723 deprecated in future once legacy M-mode software are no longer in use.
727 depends on SMP
728 default y if RISCV_SBI_V01 || RISCV_M_MODE
732 gets chosen via lottery and all other keep spinning on a percpu
734 scheme. It should be only enabled for M-mode Linux or platforms relying
735 on older firmware without SBI HSM extension. All other platforms should
736 rely on ordered booting via SBI HSM extension which gets chosen
750 depends on KEXEC
758 depends on KEXEC_FILE
772 bool "Kernel support for 32-bit U-mode"
773 default 64BIT
774 depends on 64BIT && MMU
776 This option enables support for a 32-bit U-mode running under a 64-bit
777 kernel at S-mode. riscv32-specific components such as system calls,
781 If you want to execute 32-bit userspace applications, say Y.
785 depends on RISCV_SBI
793 depends on PARAVIRT
804 depends on MMU && 64BIT && !XIP_KERNEL
819 depends on MMU && 64BIT && !XIP_KERNEL
823 relying on knowledge of the location of kernel internals.
826 random u64 value in /chosen/kaslr-seed at kernel entry.
840 string "Built-in kernel command line"
843 are provided at run-time, during boot. However, there are cases
847 When that occurs, it is possible to define a built-in command
848 line here and choose how the kernel should use it later on.
851 prompt "Built-in command line usage" if CMDLINE != ""
852 default CMDLINE_FALLBACK
854 Choose how the kernel will handle the provided built-in command
860 Use the built-in command line as fallback in case we get nothing
861 during boot. This is the default behaviour.
866 The command-line arguments provided during boot will be
867 appended to the built-in command line. This is useful in
872 bool "Always use the default kernel command string"
874 Always use the built-in command line, even if we get one during
876 command line on systems where you don't have or want control
886 depends on OF && !XIP_KERNEL
887 depends on MMU
888 default y
899 by UEFI firmware (such as non-volatile variables, realtime
902 is only useful on systems that have UEFI firmware.
905 …def_bool $(cc-option,-mstack-protector-guard=tls -mstack-protector-guard-reg=tp -mstack-protector-…
909 depends on !RANDSTRUCT
910 depends on STACKPROTECTOR && CC_HAVE_STACKPROTECTOR_TLS
914 depends on NONPORTABLE
915 default n
919 depends on PHYS_RAM_BASE_FIXED
920 default "0x80000000"
923 explicitly specified to run early relocations of read-write data
927 bool "Kernel Execute-In-Place from ROM"
928 depends on MMU && SPARSEMEM && NONPORTABLE
931 depends on !COMPILE_TEST
934 Execute-In-Place allows the kernel to run from non-volatile storage
937 to RAM. Read-write sections, such as the data section and stack,
943 store the kernel image depending on your own flash memory usage.
951 a struct page on those regions will trigger a fault.
957 depends on XIP_KERNEL
958 default "0x21000000"
961 be linked for and stored to. This address is dependent on your
965 bool "Permit falling back to parsing riscv,isa for extension support by default"
966 default y
977 Please see the dt-binding, located at
979 on the replacement properties, "riscv,isa-base" and
980 "riscv,isa-extensions".
983 bool "Built-in device tree"
984 depends on OF && NONPORTABLE
985 default y if XIP_KERNEL
991 default !NONPORTABLE
1003 # Hibernation is only possible on systems where the SBI implementation has