Kconfig (c05a62c92516d7679c819f8a5177cf84c8668954) | Kconfig (d1703dc7bc8ec7adb91f5ceaf1556ff1ed212858) |
---|---|
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 --- 770 unchanged lines hidden (view full) --- 779 range 0 4 780 default 1 if 32BIT && !KASAN 781 default 3 if 64BIT && KASAN 782 default 2 783 help 784 Specify the Pages of thread stack size (from 4KB to 64KB), which also 785 affects irq stack size, which is equal to thread stack size. 786 | 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 --- 770 unchanged lines hidden (view full) --- 779 range 0 4 780 default 1 if 32BIT && !KASAN 781 default 3 if 64BIT && KASAN 782 default 2 783 help 784 Specify the Pages of thread stack size (from 4KB to 64KB), which also 785 affects irq stack size, which is equal to thread stack size. 786 |
787config RISCV_MISALIGNED 788 bool 789 help 790 Embed support for detecting and emulating misaligned 791 scalar or vector loads and stores. 792 |
|
787config RISCV_SCALAR_MISALIGNED 788 bool | 793config RISCV_SCALAR_MISALIGNED 794 bool |
795 select RISCV_MISALIGNED |
|
789 select SYSCTL_ARCH_UNALIGN_ALLOW 790 help 791 Embed support for emulating misaligned loads and stores. 792 | 796 select SYSCTL_ARCH_UNALIGN_ALLOW 797 help 798 Embed support for emulating misaligned loads and stores. 799 |
800config RISCV_VECTOR_MISALIGNED 801 bool 802 select RISCV_MISALIGNED 803 depends on RISCV_ISA_V 804 help 805 Enable detecting support for vector misaligned loads and stores. 806 |
|
793choice 794 prompt "Unaligned Accesses Support" 795 default RISCV_PROBE_UNALIGNED_ACCESS 796 help 797 This determines the level of support for unaligned accesses. This 798 information is used by the kernel to perform optimizations. It is also 799 exposed to user space via the hwprobe syscall. The hardware will be 800 probed at boot by default. --- 35 unchanged lines hidden (view full) --- 836 Assume that the system supports fast unaligned memory accesses. When 837 enabled, this option improves the performance of the kernel on such 838 systems. However, the kernel and userspace programs will run much more 839 slowly, or will not be able to run at all, on systems that do not 840 support efficient unaligned memory accesses. 841 842endchoice 843 | 807choice 808 prompt "Unaligned Accesses Support" 809 default RISCV_PROBE_UNALIGNED_ACCESS 810 help 811 This determines the level of support for unaligned accesses. This 812 information is used by the kernel to perform optimizations. It is also 813 exposed to user space via the hwprobe syscall. The hardware will be 814 probed at boot by default. --- 35 unchanged lines hidden (view full) --- 850 Assume that the system supports fast unaligned memory accesses. When 851 enabled, this option improves the performance of the kernel on such 852 systems. However, the kernel and userspace programs will run much more 853 slowly, or will not be able to run at all, on systems that do not 854 support efficient unaligned memory accesses. 855 856endchoice 857 |
858choice 859 prompt "Vector unaligned Accesses Support" 860 depends on RISCV_ISA_V 861 default RISCV_PROBE_VECTOR_UNALIGNED_ACCESS 862 help 863 This determines the level of support for vector unaligned accesses. This 864 information is used by the kernel to perform optimizations. It is also 865 exposed to user space via the hwprobe syscall. The hardware will be 866 probed at boot by default. 867 868config RISCV_PROBE_VECTOR_UNALIGNED_ACCESS 869 bool "Probe speed of vector unaligned accesses" 870 select RISCV_VECTOR_MISALIGNED 871 depends on RISCV_ISA_V 872 help 873 During boot, the kernel will run a series of tests to determine the 874 speed of vector unaligned accesses if they are supported. This probing 875 will dynamically determine the speed of vector unaligned accesses on 876 the underlying system if they are supported. 877 878endchoice 879 |
|
844source "arch/riscv/Kconfig.vendor" 845 846endmenu # "Platform type" 847 848menu "Kernel features" 849 850source "kernel/Kconfig.hz" 851 --- 332 unchanged lines hidden --- | 880source "arch/riscv/Kconfig.vendor" 881 882endmenu # "Platform type" 883 884menu "Kernel features" 885 886source "kernel/Kconfig.hz" 887 --- 332 unchanged lines hidden --- |