Lines Matching +full:64 +full:- +full:bit
1 # SPDX-License-Identifier: GPL-2.0-only
4 # see Documentation/kbuild/kconfig-language.rst.
7 config 64BIT config
10 config 32BIT
57 select ARCH_WANT_HUGE_PMD_SHARE if 64BIT
70 select GENERIC_ATOMIC64 if !64BIT
87 select GENERIC_TIME_VSYSCALL if MMU && 64BIT
93 select HAVE_ARCH_HUGE_VMAP if MMU && 64BIT && !XIP_KERNEL
96 select HAVE_ARCH_KASAN if MMU && 64BIT
97 select HAVE_ARCH_KASAN_VMALLOC if MMU && 64BIT
98 select HAVE_ARCH_KFENCE if MMU && 64BIT
106 select HAVE_ARCH_TRANSPARENT_HUGEPAGE if 64BIT && MMU
107 select HAVE_ARCH_USERFAULTFD_MINOR if 64BIT && USERFAULTFD
108 select HAVE_ARCH_VMAP_STACK if MMU && 64BIT
123 select HAVE_GENERIC_VDSO if MMU && 64BIT
164 select ZONE_DMA32 if 64BIT
168 # https://github.com/llvm/llvm-project/commit/6ab8927931851bb42b2c93a00801dc499d7d9b1e
175 depends on $(cc-option,-fpatchable-function-entry=8)
178 default 18 if 64BIT
185 # VA_BITS - PAGE_SHIFT - 3
187 default 24 if 64BIT # SV39 based
198 # set if we are running in S-mode and can use SBI calls
205 bool "MMU-based Paged Memory Management Support"
208 Select if you want MMU-based virtualised addressing space
213 default 0xC0000000 if 32BIT && MMU
215 default 0xff60000000000000 if 64BIT
220 default 0xdfffffff00000000 if 64BIT
221 default 0xffffffff if 32BIT
229 select SPARSEMEM_STATIC if 32BIT && SPARSEMEM
230 select SPARSEMEM_VMEMMAP_ENABLE if 64BIT
244 select GENERIC_BUG_RELATIVE_POINTERS if 64BIT
263 default 5 if 64BIT
280 This enables function pointer support for non-standard noncoherent
284 def_bool $(as-instr,.insn r 51$(comma) 0$(comma) 0$(comma) t0$(comma) t0$(comma) zero)
289 depends on $(as-instr, .option arch$(comma) +m)
290 depends on !$(as-instr, .option arch$(comma) -i)
298 bool "Allow configurations that result in non-portable kernels"
300 RISC-V kernel binaries are compatible between all known systems
322 select 32BIT
330 select 64BIT
337 # is still a bit more efficient when generating code if it's setup in a manner
341 default CMODEL_MEDLOW if 32BIT
342 default CMODEL_MEDANY if 64BIT
355 bool "Symmetric Multi-Processing"
368 bool "Multi-core scheduler support"
371 Multi-core scheduler support improves the CPU scheduler's decision
372 making when dealing with multi-core CPU chips at a cost of slightly
376 int "Maximum number of CPUs (2-512)"
379 range 2 32 if RISCV_SBI_V01 && 32BIT
380 range 2 64 if RISCV_SBI_V01 && 64BIT
381 default "32" if 32BIT
382 default "64" if 64BIT
385 bool "Support for hot-pluggable CPUs"
414 Enable NUMA (Non-Uniform Memory Access) support.
455 depends on 64BIT && MMU
459 Allow kernel to detect the Svnapot ISA-extension dynamically at boot
463 of contiguous virtual-to-physical translations for a naturally
464 aligned power-of-2 (NAPOT) granularity larger than the base 4KB page
473 bool "Svpbmt extension support for supervisor mode page-based memory types"
474 depends on 64BIT && MMU
479 ISA-extension (Supervisor-mode: page-based memory types) and
486 The Svpbmt extension is only available on 64-bit cpus.
493 depends on !64BIT || $(cc-option,-mabi=lp64 -march=rv64iv)
494 depends on !32BIT || $(cc-option,-mabi=ilp32 -march=rv32iv)
524 depends on !64BIT || $(cc-option,-mabi=lp64 -march=rv64ima_zbb)
525 depends on !32BIT || $(cc-option,-mabi=ilp32 -march=rv32ima_zbb)
530 bool "Zbb extension support for bit manipulation instructions"
537 extension (basic bit manipulation) and enable its usage.
540 of bit-specific operations (count bit population, sign extending,
546 bool "Zicbom extension support for non-coherent DMA operation"
558 non-coherent DMA support on devices that need it.
578 depends on !64BIT || $(cc-option,-mabi=lp64 -march=rv64ima_zihintpause)
579 depends on !32BIT || $(cc-option,-mabi=ilp32 -march=rv32ima_zihintpause)
584 …# https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=aed44286efa8ae8717a77d94b51ac3614e2ca6…
588 Binutils-2.38 and GCC-12.1.0 bumped the default ISA spec to the newer
601 # https://github.com/llvm/llvm-project/commit/22e199e6afb1263c943c0c0d4498694e15bf8a16
606 -march. This option causes an older ISA spec compatible with these older
608 as passing zicsr and zifencei to -march.
614 Say N here if you want to disable all floating-point related procedure
629 int "Kernel stack size (in power-of-two numbers of page size)" if VMAP_STACK && EXPERT
631 default 1 if 32BIT && !KASAN
632 default 3 if 64BIT && KASAN
635 Specify the Pages of thread stack size (from 4KB to 64KB), which also
649 deprecated in future once legacy M-mode software are no longer in use.
660 scheme. It should be only enabled for M-mode Linux or platforms relying
680 def_bool 64BIT && MMU
697 bool "Kernel support for 32-bit U-mode"
698 default 64BIT
699 depends on 64BIT && MMU
701 This option enables support for a 32-bit U-mode running under a 64-bit
702 kernel at S-mode. riscv32-specific components such as system calls,
706 If you want to execute 32-bit userspace applications, say Y.
710 depends on MMU && 64BIT && !XIP_KERNEL
725 depends on MMU && 64BIT && !XIP_KERNEL
732 random u64 value in /chosen/kaslr-seed at kernel entry.
746 string "Built-in kernel command line"
749 are provided at run-time, during boot. However, there are cases
753 When that occurs, it is possible to define a built-in command
757 prompt "Built-in command line usage" if CMDLINE != ""
760 Choose how the kernel will handle the provided built-in command
766 Use the built-in command line as fallback in case we get nothing
772 The command-line arguments provided during boot will be
773 appended to the built-in command line. This is useful in
780 Always use the built-in command line, even if we get one during
795 select ARCH_SUPPORTS_ACPI if 64BIT
805 by UEFI firmware (such as non-volatile variables, realtime
811 …def_bool $(cc-option,-mstack-protector-guard=tls -mstack-protector-guard-reg=tp -mstack-protector-…
829 explicitly specified to run early relocations of read-write data
833 bool "Kernel Execute-In-Place from ROM"
840 Execute-In-Place allows the kernel to run from non-volatile storage
843 to RAM. Read-write sections, such as the data section and stack,
883 Please see the dt-binding, located at
885 on the replacement properties, "riscv,isa-base" and
886 "riscv,isa-extensions".