aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig74
1 files changed, 59 insertions, 15 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index ebfd7ff82ade..97f0d2b6dc0c 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1021,7 +1021,7 @@ config HAVE_ARCH_ALLOC_REMAP
1021 1021
1022config ARCH_FLATMEM_ENABLE 1022config ARCH_FLATMEM_ENABLE
1023 def_bool y 1023 def_bool y
1024 depends on X86_32 && ARCH_SELECT_MEMORY_MODEL && X86_PC && !NUMA 1024 depends on X86_32 && ARCH_SELECT_MEMORY_MODEL && !NUMA
1025 1025
1026config ARCH_DISCONTIGMEM_ENABLE 1026config ARCH_DISCONTIGMEM_ENABLE
1027 def_bool y 1027 def_bool y
@@ -1037,7 +1037,7 @@ config ARCH_SPARSEMEM_DEFAULT
1037 1037
1038config ARCH_SPARSEMEM_ENABLE 1038config ARCH_SPARSEMEM_ENABLE
1039 def_bool y 1039 def_bool y
1040 depends on X86_64 || NUMA || (EXPERIMENTAL && X86_PC) 1040 depends on X86_64 || NUMA || (EXPERIMENTAL && X86_PC) || X86_GENERICARCH
1041 select SPARSEMEM_STATIC if X86_32 1041 select SPARSEMEM_STATIC if X86_32
1042 select SPARSEMEM_VMEMMAP_ENABLE if X86_64 1042 select SPARSEMEM_VMEMMAP_ENABLE if X86_64
1043 1043
@@ -1118,10 +1118,10 @@ config MTRR
1118 You can safely say Y even if your machine doesn't have MTRRs, you'll 1118 You can safely say Y even if your machine doesn't have MTRRs, you'll
1119 just add about 9 KB to your kernel. 1119 just add about 9 KB to your kernel.
1120 1120
1121 See <file:Documentation/mtrr.txt> for more information. 1121 See <file:Documentation/x86/mtrr.txt> for more information.
1122 1122
1123config MTRR_SANITIZER 1123config MTRR_SANITIZER
1124 bool 1124 def_bool y
1125 prompt "MTRR cleanup support" 1125 prompt "MTRR cleanup support"
1126 depends on MTRR 1126 depends on MTRR
1127 help 1127 help
@@ -1132,7 +1132,7 @@ config MTRR_SANITIZER
1132 The largest mtrr entry size for a continous block can be set with 1132 The largest mtrr entry size for a continous block can be set with
1133 mtrr_chunk_size. 1133 mtrr_chunk_size.
1134 1134
1135 If unsure, say N. 1135 If unsure, say Y.
1136 1136
1137config MTRR_SANITIZER_ENABLE_DEFAULT 1137config MTRR_SANITIZER_ENABLE_DEFAULT
1138 int "MTRR cleanup enable value (0-1)" 1138 int "MTRR cleanup enable value (0-1)"
@@ -1192,7 +1192,6 @@ config IRQBALANCE
1192config SECCOMP 1192config SECCOMP
1193 def_bool y 1193 def_bool y
1194 prompt "Enable seccomp to safely compute untrusted bytecode" 1194 prompt "Enable seccomp to safely compute untrusted bytecode"
1195 depends on PROC_FS
1196 help 1195 help
1197 This kernel feature is useful for number crunching applications 1196 This kernel feature is useful for number crunching applications
1198 that may need to compute untrusted bytecode during their 1197 that may need to compute untrusted bytecode during their
@@ -1200,7 +1199,7 @@ config SECCOMP
1200 the process as file descriptors supporting the read/write 1199 the process as file descriptors supporting the read/write
1201 syscalls, it's possible to isolate those applications in 1200 syscalls, it's possible to isolate those applications in
1202 their own address space using seccomp. Once seccomp is 1201 their own address space using seccomp. Once seccomp is
1203 enabled via /proc/<pid>/seccomp, it cannot be disabled 1202 enabled via prctl(PR_SET_SECCOMP), it cannot be disabled
1204 and the task is only allowed to execute a few safe syscalls 1203 and the task is only allowed to execute a few safe syscalls
1205 defined by each seccomp mode. 1204 defined by each seccomp mode.
1206 1205
@@ -1357,14 +1356,14 @@ config PHYSICAL_ALIGN
1357 Don't change this unless you know what you are doing. 1356 Don't change this unless you know what you are doing.
1358 1357
1359config HOTPLUG_CPU 1358config HOTPLUG_CPU
1360 bool "Support for suspend on SMP and hot-pluggable CPUs (EXPERIMENTAL)" 1359 bool "Support for hot-pluggable CPUs"
1361 depends on SMP && HOTPLUG && EXPERIMENTAL && !X86_VOYAGER 1360 depends on SMP && HOTPLUG && !X86_VOYAGER
1362 ---help--- 1361 ---help---
1363 Say Y here to experiment with turning CPUs off and on, and to 1362 Say Y here to allow turning CPUs off and on. CPUs can be
1364 enable suspend on SMP systems. CPUs can be controlled through 1363 controlled through /sys/devices/system/cpu.
1365 /sys/devices/system/cpu. 1364 ( Note: power management support will enable this option
1366 Say N if you want to disable CPU hotplug and don't need to 1365 automatically on SMP systems. )
1367 suspend. 1366 Say N if you want to disable CPU hotplug.
1368 1367
1369config COMPAT_VDSO 1368config COMPAT_VDSO
1370 def_bool y 1369 def_bool y
@@ -1379,6 +1378,51 @@ config COMPAT_VDSO
1379 1378
1380 If unsure, say Y. 1379 If unsure, say Y.
1381 1380
1381config CMDLINE_BOOL
1382 bool "Built-in kernel command line"
1383 default n
1384 help
1385 Allow for specifying boot arguments to the kernel at
1386 build time. On some systems (e.g. embedded ones), it is
1387 necessary or convenient to provide some or all of the
1388 kernel boot arguments with the kernel itself (that is,
1389 to not rely on the boot loader to provide them.)
1390
1391 To compile command line arguments into the kernel,
1392 set this option to 'Y', then fill in the
1393 the boot arguments in CONFIG_CMDLINE.
1394
1395 Systems with fully functional boot loaders (i.e. non-embedded)
1396 should leave this option set to 'N'.
1397
1398config CMDLINE
1399 string "Built-in kernel command string"
1400 depends on CMDLINE_BOOL
1401 default ""
1402 help
1403 Enter arguments here that should be compiled into the kernel
1404 image and used at boot time. If the boot loader provides a
1405 command line at boot time, it is appended to this string to
1406 form the full kernel command line, when the system boots.
1407
1408 However, you can use the CONFIG_CMDLINE_OVERRIDE option to
1409 change this behavior.
1410
1411 In most cases, the command line (whether built-in or provided
1412 by the boot loader) should specify the device for the root
1413 file system.
1414
1415config CMDLINE_OVERRIDE
1416 bool "Built-in command line overrides boot loader arguments"
1417 default n
1418 depends on CMDLINE_BOOL
1419 help
1420 Set this option to 'Y' to have the kernel ignore the boot loader
1421 command line, and use ONLY the built-in command line.
1422
1423 This is used to work around broken boot loaders. This should
1424 be set to 'N' under normal conditions.
1425
1382endmenu 1426endmenu
1383 1427
1384config ARCH_ENABLE_MEMORY_HOTPLUG 1428config ARCH_ENABLE_MEMORY_HOTPLUG
@@ -1774,7 +1818,7 @@ config COMPAT_FOR_U64_ALIGNMENT
1774 1818
1775config SYSVIPC_COMPAT 1819config SYSVIPC_COMPAT
1776 def_bool y 1820 def_bool y
1777 depends on X86_64 && COMPAT && SYSVIPC 1821 depends on COMPAT && SYSVIPC
1778 1822
1779endmenu 1823endmenu
1780 1824