Kconfig (088d13246a4672bc03aec664675138e3f5bff68c) | Kconfig (e34e0131fea1b0f63c2105a1958c94af2ee90f4d) |
---|---|
1# SPDX-License-Identifier: GPL-2.0-only 2config CC_VERSION_TEXT 3 string 4 default "$(CC_VERSION_TEXT)" 5 help 6 This is used in unclear ways: 7 8 - Re-run Kconfig when the compiler is updated --- 73 unchanged lines hidden (view full) --- 82 int 83 default $(rustc-llvm-version) 84 85config CC_CAN_LINK 86 bool 87 default $(success,$(srctree)/scripts/cc-can-link.sh $(CC) $(CLANG_FLAGS) $(USERCFLAGS) $(USERLDFLAGS) $(m64-flag)) if 64BIT 88 default $(success,$(srctree)/scripts/cc-can-link.sh $(CC) $(CLANG_FLAGS) $(USERCFLAGS) $(USERLDFLAGS) $(m32-flag)) 89 | 1# SPDX-License-Identifier: GPL-2.0-only 2config CC_VERSION_TEXT 3 string 4 default "$(CC_VERSION_TEXT)" 5 help 6 This is used in unclear ways: 7 8 - Re-run Kconfig when the compiler is updated --- 73 unchanged lines hidden (view full) --- 82 int 83 default $(rustc-llvm-version) 84 85config CC_CAN_LINK 86 bool 87 default $(success,$(srctree)/scripts/cc-can-link.sh $(CC) $(CLANG_FLAGS) $(USERCFLAGS) $(USERLDFLAGS) $(m64-flag)) if 64BIT 88 default $(success,$(srctree)/scripts/cc-can-link.sh $(CC) $(CLANG_FLAGS) $(USERCFLAGS) $(USERLDFLAGS) $(m32-flag)) 89 |
90config CC_CAN_LINK_STATIC 91 bool 92 default $(success,$(srctree)/scripts/cc-can-link.sh $(CC) $(CLANG_FLAGS) $(USERCFLAGS) $(USERLDFLAGS) $(m64-flag) -static) if 64BIT 93 default $(success,$(srctree)/scripts/cc-can-link.sh $(CC) $(CLANG_FLAGS) $(USERCFLAGS) $(USERLDFLAGS) $(m32-flag) -static) 94 |
|
90# Fixed in GCC 14, 13.3, 12.4 and 11.5 91# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113921 92config GCC_ASM_GOTO_OUTPUT_BROKEN 93 bool 94 depends on CC_IS_GCC 95 default y if GCC_VERSION < 110500 96 default y if GCC_VERSION >= 120000 && GCC_VERSION < 120400 97 default y if GCC_VERSION >= 130000 && GCC_VERSION < 130300 --- 24 unchanged lines hidden (view full) --- 122 # clang needs to be at least 19.1.3 to avoid __bdos miscalculations 123 # https://github.com/llvm/llvm-project/pull/110497 124 # https://github.com/llvm/llvm-project/pull/112636 125 depends on !(CC_IS_CLANG && CLANG_VERSION < 190103) 126 127config CC_HAS_MULTIDIMENSIONAL_NONSTRING 128 def_bool $(success,echo 'char tag[][4] __attribute__((__nonstring__)) = { };' | $(CC) $(CLANG_FLAGS) -x c - -c -o /dev/null -Werror) 129 | 95# Fixed in GCC 14, 13.3, 12.4 and 11.5 96# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113921 97config GCC_ASM_GOTO_OUTPUT_BROKEN 98 bool 99 depends on CC_IS_GCC 100 default y if GCC_VERSION < 110500 101 default y if GCC_VERSION >= 120000 && GCC_VERSION < 120400 102 default y if GCC_VERSION >= 130000 && GCC_VERSION < 130300 --- 24 unchanged lines hidden (view full) --- 127 # clang needs to be at least 19.1.3 to avoid __bdos miscalculations 128 # https://github.com/llvm/llvm-project/pull/110497 129 # https://github.com/llvm/llvm-project/pull/112636 130 depends on !(CC_IS_CLANG && CLANG_VERSION < 190103) 131 132config CC_HAS_MULTIDIMENSIONAL_NONSTRING 133 def_bool $(success,echo 'char tag[][4] __attribute__((__nonstring__)) = { };' | $(CC) $(CLANG_FLAGS) -x c - -c -o /dev/null -Werror) 134 |
130config LD_CAN_USE_KEEP_IN_OVERLAY 131 # ld.lld prior to 21.0.0 did not support KEEP within an overlay description 132 # https://github.com/llvm/llvm-project/pull/130661 133 def_bool LD_IS_BFD || LLD_VERSION >= 210000 134 | |
135config RUSTC_HAS_COERCE_POINTEE 136 def_bool RUSTC_VERSION >= 108400 137 | 135config RUSTC_HAS_COERCE_POINTEE 136 def_bool RUSTC_VERSION >= 108400 137 |
138config RUSTC_HAS_UNNECESSARY_TRANSMUTES 139 def_bool RUSTC_VERSION >= 108800 140 | |
141config PAHOLE_VERSION 142 int 143 default $(shell,$(srctree)/scripts/pahole-version.sh $(PAHOLE)) 144 145config CONSTRUCTORS 146 bool 147 148config IRQ_WORK --- 558 unchanged lines hidden (view full) --- 707 used for, say Y. 708 709 Say N if unsure. 710 711endmenu # "CPU/Task time and stats accounting" 712 713config CPU_ISOLATION 714 bool "CPU isolation" | 138config PAHOLE_VERSION 139 int 140 default $(shell,$(srctree)/scripts/pahole-version.sh $(PAHOLE)) 141 142config CONSTRUCTORS 143 bool 144 145config IRQ_WORK --- 558 unchanged lines hidden (view full) --- 704 used for, say Y. 705 706 Say N if unsure. 707 708endmenu # "CPU/Task time and stats accounting" 709 710config CPU_ISOLATION 711 bool "CPU isolation" |
715 depends on SMP | 712 depends on SMP || COMPILE_TEST |
716 default y 717 help 718 Make sure that CPUs running critical tasks are not disturbed by 719 any source of "noise" such as unbound workqueues, timers, kthreads... 720 Unbound jobs get offloaded to housekeeping CPUs. This is driven by 721 the "isolcpus=" boot parameter. 722 723 Say Y if unsure. --- 356 unchanged lines hidden (view full) --- 1080 default n 1081 help 1082 This feature lets you explicitly allocate real CPU bandwidth 1083 to task groups. If enabled, it will also make it impossible to 1084 schedule realtime tasks for non-root users until you allocate 1085 realtime bandwidth for them. 1086 See Documentation/scheduler/sched-rt-group.rst for more information. 1087 | 713 default y 714 help 715 Make sure that CPUs running critical tasks are not disturbed by 716 any source of "noise" such as unbound workqueues, timers, kthreads... 717 Unbound jobs get offloaded to housekeeping CPUs. This is driven by 718 the "isolcpus=" boot parameter. 719 720 Say Y if unsure. --- 356 unchanged lines hidden (view full) --- 1077 default n 1078 help 1079 This feature lets you explicitly allocate real CPU bandwidth 1080 to task groups. If enabled, it will also make it impossible to 1081 schedule realtime tasks for non-root users until you allocate 1082 realtime bandwidth for them. 1083 See Documentation/scheduler/sched-rt-group.rst for more information. 1084 |
1085config RT_GROUP_SCHED_DEFAULT_DISABLED 1086 bool "Require boot parameter to enable group scheduling for SCHED_RR/FIFO" 1087 depends on RT_GROUP_SCHED 1088 default n 1089 help 1090 When set, the RT group scheduling is disabled by default. The option 1091 is in inverted form so that mere RT_GROUP_SCHED enables the group 1092 scheduling. 1093 1094 Say N if unsure. 1095 |
|
1088config EXT_GROUP_SCHED 1089 bool 1090 depends on SCHED_CLASS_EXT && CGROUP_SCHED 1091 select GROUP_SCHED_WEIGHT 1092 default y 1093 1094endif #CGROUP_SCHED 1095 --- 452 unchanged lines hidden (view full) --- 1548config SYSCTL_ARCH_UNALIGN_ALLOW 1549 bool 1550 help 1551 Enable support for /proc/sys/kernel/unaligned-trap 1552 Allows arches to define/use @unaligned_enabled to runtime toggle 1553 the unaligned access emulation. 1554 see arch/parisc/kernel/unaligned.c for reference 1555 | 1096config EXT_GROUP_SCHED 1097 bool 1098 depends on SCHED_CLASS_EXT && CGROUP_SCHED 1099 select GROUP_SCHED_WEIGHT 1100 default y 1101 1102endif #CGROUP_SCHED 1103 --- 452 unchanged lines hidden (view full) --- 1556config SYSCTL_ARCH_UNALIGN_ALLOW 1557 bool 1558 help 1559 Enable support for /proc/sys/kernel/unaligned-trap 1560 Allows arches to define/use @unaligned_enabled to runtime toggle 1561 the unaligned access emulation. 1562 see arch/parisc/kernel/unaligned.c for reference 1563 |
1556config SYSFS_SYSCALL 1557 bool "Sysfs syscall support" 1558 default n 1559 help 1560 sys_sysfs is an obsolete system call no longer supported in libc. 1561 Note that disabling this option is more secure but might break 1562 compatibility with some systems. 1563 1564 If unsure say N here. 1565 | |
1566config HAVE_PCSPKR_PLATFORM 1567 bool 1568 1569menuconfig EXPERT 1570 bool "Configure standard kernel features (expert users)" 1571 # Unhide debug options, to make the on-by-default options visible 1572 select DEBUG_KERNEL 1573 help --- 28 unchanged lines hidden (view full) --- 1602 default PARISC || M68K || PPC || MIPS || X86 || SPARC || MICROBLAZE || SUPERH 1603 help 1604 sys_sgetmask and sys_ssetmask are obsolete system calls 1605 no longer supported in libc but still enabled by default in some 1606 architectures. 1607 1608 If unsure, leave the default option here. 1609 | 1564config HAVE_PCSPKR_PLATFORM 1565 bool 1566 1567menuconfig EXPERT 1568 bool "Configure standard kernel features (expert users)" 1569 # Unhide debug options, to make the on-by-default options visible 1570 select DEBUG_KERNEL 1571 help --- 28 unchanged lines hidden (view full) --- 1600 default PARISC || M68K || PPC || MIPS || X86 || SPARC || MICROBLAZE || SUPERH 1601 help 1602 sys_sgetmask and sys_ssetmask are obsolete system calls 1603 no longer supported in libc but still enabled by default in some 1604 architectures. 1605 1606 If unsure, leave the default option here. 1607 |
1608config SYSFS_SYSCALL 1609 bool "Sysfs syscall support" if EXPERT 1610 default y 1611 help 1612 sys_sysfs is an obsolete system call no longer supported in libc. 1613 Note that disabling this option is more secure but might break 1614 compatibility with some systems. 1615 1616 If unsure say Y here. 1617 |
|
1610config FHANDLE 1611 bool "open by fhandle syscalls" if EXPERT 1612 select EXPORTFS 1613 default y 1614 help 1615 If you say Y here, a user level program will be able to map 1616 file names to handle and then later use the handle for 1617 different file system operations. This is useful in implementing --- 268 unchanged lines hidden (view full) --- 1886# end of the "standard kernel features (expert users)" menu 1887 1888config ARCH_HAS_MEMBARRIER_CALLBACKS 1889 bool 1890 1891config ARCH_HAS_MEMBARRIER_SYNC_CORE 1892 bool 1893 | 1618config FHANDLE 1619 bool "open by fhandle syscalls" if EXPERT 1620 select EXPORTFS 1621 default y 1622 help 1623 If you say Y here, a user level program will be able to map 1624 file names to handle and then later use the handle for 1625 different file system operations. This is useful in implementing --- 268 unchanged lines hidden (view full) --- 1894# end of the "standard kernel features (expert users)" menu 1895 1896config ARCH_HAS_MEMBARRIER_CALLBACKS 1897 bool 1898 1899config ARCH_HAS_MEMBARRIER_SYNC_CORE 1900 bool 1901 |
1894config ARCH_SUPPORTS_MSEAL_SYSTEM_MAPPINGS 1895 bool 1896 help 1897 Control MSEAL_SYSTEM_MAPPINGS access based on architecture. 1898 1899 A 64-bit kernel is required for the memory sealing feature. 1900 No specific hardware features from the CPU are needed. 1901 1902 To enable this feature, the architecture needs to update their 1903 special mappings calls to include the sealing flag and confirm 1904 that it doesn't unmap/remap system mappings during the life 1905 time of the process. The existence of this flag for an architecture 1906 implies that it does not require the remapping of the system 1907 mappings during process lifetime, so sealing these mappings is safe 1908 from a kernel perspective. 1909 1910 After the architecture enables this, a distribution can set 1911 CONFIG_MSEAL_SYSTEM_MAPPING to manage access to the feature. 1912 1913 For complete descriptions of memory sealing, please see 1914 Documentation/userspace-api/mseal.rst 1915 | |
1916config HAVE_PERF_EVENTS 1917 bool 1918 help 1919 See tools/perf/design.txt for details. 1920 1921config GUEST_PERF_EVENTS 1922 bool 1923 depends on HAVE_PERF_EVENTS --- 189 unchanged lines hidden --- | 1902config HAVE_PERF_EVENTS 1903 bool 1904 help 1905 See tools/perf/design.txt for details. 1906 1907config GUEST_PERF_EVENTS 1908 bool 1909 depends on HAVE_PERF_EVENTS --- 189 unchanged lines hidden --- |