Lines Matching +full:riscv +full:- +full:sbi

1 # SPDX-License-Identifier: GPL-2.0-only
4 # see Documentation/kbuild/kconfig-language.rst.
13 config RISCV config
169 # https://github.com/llvm/llvm-project/commit/6ab8927931851bb42b2c93a00801dc499d7d9b1e
176 depends on $(cc-option,-fpatchable-function-entry=8)
186 # VA_BITS - PAGE_SHIFT - 3
199 # set if we are running in S-mode and can use SBI calls
206 bool "MMU-based Paged Memory Management Support"
209 Select if you want MMU-based virtualised addressing space
286 This enables function pointer support for non-standard noncoherent
290 def_bool $(as-instr,.insn r 51$(comma) 0$(comma) 0$(comma) t0$(comma) t0$(comma) zero)
295 depends on $(as-instr, .option arch$(comma) +m)
297 source "arch/riscv/Kconfig.socs"
298 source "arch/riscv/Kconfig.errata"
303 bool "Allow configurations that result in non-portable kernels"
305 RISC-V kernel binaries are compatible between all known systems
360 bool "Symmetric Multi-Processing"
373 bool "Multi-core scheduler support"
376 Multi-core scheduler support improves the CPU scheduler's decision
377 making when dealing with multi-core CPU chips at a cost of slightly
381 int "Maximum number of CPUs (2-512)"
390 bool "Support for hot-pluggable CPUs"
419 Enable NUMA (Non-Uniform Memory Access) support.
464 Allow kernel to detect the Svnapot ISA-extension dynamically at boot
468 of contiguous virtual-to-physical translations for a naturally
469 aligned power-of-2 (NAPOT) granularity larger than the base 4KB page
478 bool "Svpbmt extension support for supervisor mode page-based memory types"
484 ISA-extension (Supervisor-mode: page-based memory types) and
491 The Svpbmt extension is only available on 64-bit cpus.
498 depends on !64BIT || $(cc-option,-mabi=lp64 -march=rv64imv)
499 depends on !32BIT || $(cc-option,-mabi=ilp32 -march=rv32imv)
529 depends on !64BIT || $(cc-option,-mabi=lp64 -march=rv64ima_zbb)
530 depends on !32BIT || $(cc-option,-mabi=ilp32 -march=rv32ima_zbb)
545 of bit-specific operations (count bit population, sign extending,
551 bool "Zicbom extension support for non-coherent DMA operation"
563 non-coherent DMA support on devices that need it.
583 depends on !64BIT || $(cc-option,-mabi=lp64 -march=rv64ima_zihintpause)
584 depends on !32BIT || $(cc-option,-mabi=ilp32 -march=rv32ima_zihintpause)
589 …# https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=aed44286efa8ae8717a77d94b51ac3614e2ca6…
593 Binutils-2.38 and GCC-12.1.0 bumped the default ISA spec to the newer
606 # https://github.com/llvm/llvm-project/commit/22e199e6afb1263c943c0c0d4498694e15bf8a16
611 -march. This option causes an older ISA spec compatible with these older
613 as passing zicsr and zifencei to -march.
619 Say N here if you want to disable all floating-point related procedure
634 int "Kernel stack size (in power-of-two numbers of page size)" if VMAP_STACK && EXPERT
649 bool "SBI v0.1 support"
652 This config allows kernel to use SBI v0.1 APIs. This will be
653 deprecated in future once legacy M-mode software are no longer in use.
664 scheme. It should be only enabled for M-mode Linux or platforms relying
665 on older firmware without SBI HSM extension. All other platforms should
666 rely on ordered booting via SBI HSM extension which gets chosen
699 bool "Kernel support for 32-bit U-mode"
703 This option enables support for a 32-bit U-mode running under a 64-bit
704 kernel at S-mode. riscv32-specific components such as system calls,
708 If you want to execute 32-bit userspace applications, say Y.
718 Since RISCV uses the RELA relocation format, this requires a
734 random u64 value in /chosen/kaslr-seed at kernel entry.
748 string "Built-in kernel command line"
751 are provided at run-time, during boot. However, there are cases
755 When that occurs, it is possible to define a built-in command
759 prompt "Built-in command line usage" if CMDLINE != ""
762 Choose how the kernel will handle the provided built-in command
768 Use the built-in command line as fallback in case we get nothing
774 The command-line arguments provided during boot will be
775 appended to the built-in command line. This is useful in
782 Always use the built-in command line, even if we get one during
807 by UEFI firmware (such as non-volatile variables, realtime
813 …def_bool $(cc-option,-mstack-protector-guard=tls -mstack-protector-guard-reg=tp -mstack-protector-
831 explicitly specified to run early relocations of read-write data
835 bool "Kernel Execute-In-Place from ROM"
842 Execute-In-Place allows the kernel to run from non-volatile storage
845 to RAM. Read-write sections, such as the data section and stack,
855 ROM memory will be arch/riscv/boot/xipImage.
873 bool "Permit falling back to parsing riscv,isa for extension support by default"
876 Parsing the "riscv,isa" devicetree property has been deprecated and
879 "riscv,isa" property if the replacements are not found.
885 Please see the dt-binding, located at
886 Documentation/devicetree/bindings/riscv/extensions.yaml for details
887 on the replacement properties, "riscv,isa-base" and
888 "riscv,isa-extensions".
908 # Hibernation is only possible on systems where the SBI implementation has
930 source "arch/riscv/kvm/Kconfig"