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