Kconfig (111e7b15cf10f6e973ccf537c70c66a5de539060) Kconfig (40d04110f87940b6a03bf0aa19cd29e84f465f20)
1# SPDX-License-Identifier: GPL-2.0
2# Select 32 or 64 bit
3config 64BIT
4 bool "64-bit kernel" if "$(ARCH)" = "x86"
5 default "$(ARCH)" != "i386"
6 ---help---
7 Say yes to build a 64-bit kernel - formerly known as x86_64
8 Say no to build a 32-bit kernel - formerly known as i386

--- 212 unchanged lines hidden (view full) ---

221 select SPARSE_IRQ
222 select SRCU
223 select SYSCTL_EXCEPTION_TRACE
224 select THREAD_INFO_IN_TASK
225 select USER_STACKTRACE_SUPPORT
226 select VIRT_TO_BUS
227 select X86_FEATURE_NAMES if PROC_FS
228 select PROC_PID_ARCH_STATUS if PROC_FS
1# SPDX-License-Identifier: GPL-2.0
2# Select 32 or 64 bit
3config 64BIT
4 bool "64-bit kernel" if "$(ARCH)" = "x86"
5 default "$(ARCH)" != "i386"
6 ---help---
7 Say yes to build a 64-bit kernel - formerly known as x86_64
8 Say no to build a 32-bit kernel - formerly known as i386

--- 212 unchanged lines hidden (view full) ---

221 select SPARSE_IRQ
222 select SRCU
223 select SYSCTL_EXCEPTION_TRACE
224 select THREAD_INFO_IN_TASK
225 select USER_STACKTRACE_SUPPORT
226 select VIRT_TO_BUS
227 select X86_FEATURE_NAMES if PROC_FS
228 select PROC_PID_ARCH_STATUS if PROC_FS
229 select HAVE_ARCH_KCSAN if X86_64
229
230config INSTRUCTION_DECODER
231 def_bool y
232 depends on KPROBES || PERF_EVENTS || UPROBES
233
234config OUTPUT_FORMAT
235 string
236 default "elf32-i386" if X86_32

--- 1012 unchanged lines hidden (view full) ---

1249 0xffffffffff600?00.
1250
1251 This option is required by many programs built before 2013, and
1252 care should be used even with newer programs if set to N.
1253
1254 Disabling this option saves about 7K of kernel size and
1255 possibly 4K of additional runtime pagetable memory.
1256
230
231config INSTRUCTION_DECODER
232 def_bool y
233 depends on KPROBES || PERF_EVENTS || UPROBES
234
235config OUTPUT_FORMAT
236 string
237 default "elf32-i386" if X86_32

--- 1012 unchanged lines hidden (view full) ---

1250 0xffffffffff600?00.
1251
1252 This option is required by many programs built before 2013, and
1253 care should be used even with newer programs if set to N.
1254
1255 Disabling this option saves about 7K of kernel size and
1256 possibly 4K of additional runtime pagetable memory.
1257
1257config X86_IOPL_IOPERM
1258 bool "IOPERM and IOPL Emulation"
1259 default y
1260 ---help---
1261 This enables the ioperm() and iopl() syscalls which are necessary
1262 for legacy applications.
1263
1264 Legacy IOPL support is an overbroad mechanism which allows user
1265 space aside of accessing all 65536 I/O ports also to disable
1266 interrupts. To gain this access the caller needs CAP_SYS_RAWIO
1267 capabilities and permission from potentially active security
1268 modules.
1269
1270 The emulation restricts the functionality of the syscall to
1271 only allowing the full range I/O port access, but prevents the
1272 ability to disable interrupts from user space which would be
1273 granted if the hardware IOPL mechanism would be used.
1274
1275config TOSHIBA
1276 tristate "Toshiba Laptop support"
1277 depends on X86_32
1278 ---help---
1279 This adds a driver to safely access the System Management Mode of
1280 the CPU on Toshiba portables with a genuine Toshiba BIOS. It does
1281 not work on models with a Phoenix BIOS. The System Management Mode
1282 is used to set the BIOS and power saving options on Toshiba portables.

--- 1665 unchanged lines hidden ---
1258config TOSHIBA
1259 tristate "Toshiba Laptop support"
1260 depends on X86_32
1261 ---help---
1262 This adds a driver to safely access the System Management Mode of
1263 the CPU on Toshiba portables with a genuine Toshiba BIOS. It does
1264 not work on models with a Phoenix BIOS. The System Management Mode
1265 is used to set the BIOS and power saving options on Toshiba portables.

--- 1665 unchanged lines hidden ---