diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-10-12 09:05:39 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-12 09:05:39 -0400 |
commit | a9b9e81c915e4a57ac3b21d1a7fa7ff184639780 (patch) | |
tree | 98304395fbb5b9c74fca35b196cd414c1949f280 /arch/x86/Kconfig | |
parent | a8b71a2810386a5ac8f43d2095fe3355f0d8db37 (diff) | |
parent | fd048088306656824958e7783ffcee27e241b361 (diff) |
Merge branch 'linus' into x86/memory-corruption-check
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 84 |
1 files changed, 69 insertions, 15 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 633f25dd9ee2..25e2f7a20d66 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 | ||
@@ -1167,10 +1169,10 @@ config MTRR | |||
1167 | You can safely say Y even if your machine doesn't have MTRRs, you'll | 1169 | You can safely say Y even if your machine doesn't have MTRRs, you'll |
1168 | just add about 9 KB to your kernel. | 1170 | just add about 9 KB to your kernel. |
1169 | 1171 | ||
1170 | See <file:Documentation/mtrr.txt> for more information. | 1172 | See <file:Documentation/x86/mtrr.txt> for more information. |
1171 | 1173 | ||
1172 | config MTRR_SANITIZER | 1174 | config MTRR_SANITIZER |
1173 | bool | 1175 | def_bool y |
1174 | prompt "MTRR cleanup support" | 1176 | prompt "MTRR cleanup support" |
1175 | depends on MTRR | 1177 | depends on MTRR |
1176 | help | 1178 | help |
@@ -1181,7 +1183,7 @@ config MTRR_SANITIZER | |||
1181 | The largest mtrr entry size for a continous block can be set with | 1183 | The largest mtrr entry size for a continous block can be set with |
1182 | mtrr_chunk_size. | 1184 | mtrr_chunk_size. |
1183 | 1185 | ||
1184 | If unsure, say N. | 1186 | If unsure, say Y. |
1185 | 1187 | ||
1186 | config MTRR_SANITIZER_ENABLE_DEFAULT | 1188 | config MTRR_SANITIZER_ENABLE_DEFAULT |
1187 | int "MTRR cleanup enable value (0-1)" | 1189 | int "MTRR cleanup enable value (0-1)" |
@@ -1241,7 +1243,6 @@ config IRQBALANCE | |||
1241 | config SECCOMP | 1243 | config SECCOMP |
1242 | def_bool y | 1244 | def_bool y |
1243 | prompt "Enable seccomp to safely compute untrusted bytecode" | 1245 | prompt "Enable seccomp to safely compute untrusted bytecode" |
1244 | depends on PROC_FS | ||
1245 | help | 1246 | help |
1246 | This kernel feature is useful for number crunching applications | 1247 | This kernel feature is useful for number crunching applications |
1247 | that may need to compute untrusted bytecode during their | 1248 | that may need to compute untrusted bytecode during their |
@@ -1249,7 +1250,7 @@ config SECCOMP | |||
1249 | the process as file descriptors supporting the read/write | 1250 | the process as file descriptors supporting the read/write |
1250 | syscalls, it's possible to isolate those applications in | 1251 | syscalls, it's possible to isolate those applications in |
1251 | their own address space using seccomp. Once seccomp is | 1252 | their own address space using seccomp. Once seccomp is |
1252 | enabled via /proc/<pid>/seccomp, it cannot be disabled | 1253 | enabled via prctl(PR_SET_SECCOMP), it cannot be disabled |
1253 | and the task is only allowed to execute a few safe syscalls | 1254 | and the task is only allowed to execute a few safe syscalls |
1254 | defined by each seccomp mode. | 1255 | defined by each seccomp mode. |
1255 | 1256 | ||
@@ -1406,14 +1407,14 @@ config PHYSICAL_ALIGN | |||
1406 | Don't change this unless you know what you are doing. | 1407 | Don't change this unless you know what you are doing. |
1407 | 1408 | ||
1408 | config HOTPLUG_CPU | 1409 | config HOTPLUG_CPU |
1409 | bool "Support for suspend on SMP and hot-pluggable CPUs (EXPERIMENTAL)" | 1410 | bool "Support for hot-pluggable CPUs" |
1410 | depends on SMP && HOTPLUG && EXPERIMENTAL && !X86_VOYAGER | 1411 | depends on SMP && HOTPLUG && !X86_VOYAGER |
1411 | ---help--- | 1412 | ---help--- |
1412 | Say Y here to experiment with turning CPUs off and on, and to | 1413 | Say Y here to allow turning CPUs off and on. CPUs can be |
1413 | enable suspend on SMP systems. CPUs can be controlled through | 1414 | controlled through /sys/devices/system/cpu. |
1414 | /sys/devices/system/cpu. | 1415 | ( Note: power management support will enable this option |
1415 | Say N if you want to disable CPU hotplug and don't need to | 1416 | automatically on SMP systems. ) |
1416 | suspend. | 1417 | Say N if you want to disable CPU hotplug. |
1417 | 1418 | ||
1418 | config COMPAT_VDSO | 1419 | config COMPAT_VDSO |
1419 | def_bool y | 1420 | def_bool y |
@@ -1428,6 +1429,51 @@ config COMPAT_VDSO | |||
1428 | 1429 | ||
1429 | If unsure, say Y. | 1430 | If unsure, say Y. |
1430 | 1431 | ||
1432 | config CMDLINE_BOOL | ||
1433 | bool "Built-in kernel command line" | ||
1434 | default n | ||
1435 | help | ||
1436 | Allow for specifying boot arguments to the kernel at | ||
1437 | build time. On some systems (e.g. embedded ones), it is | ||
1438 | necessary or convenient to provide some or all of the | ||
1439 | kernel boot arguments with the kernel itself (that is, | ||
1440 | to not rely on the boot loader to provide them.) | ||
1441 | |||
1442 | To compile command line arguments into the kernel, | ||
1443 | set this option to 'Y', then fill in the | ||
1444 | the boot arguments in CONFIG_CMDLINE. | ||
1445 | |||
1446 | Systems with fully functional boot loaders (i.e. non-embedded) | ||
1447 | should leave this option set to 'N'. | ||
1448 | |||
1449 | config CMDLINE | ||
1450 | string "Built-in kernel command string" | ||
1451 | depends on CMDLINE_BOOL | ||
1452 | default "" | ||
1453 | help | ||
1454 | Enter arguments here that should be compiled into the kernel | ||
1455 | image and used at boot time. If the boot loader provides a | ||
1456 | command line at boot time, it is appended to this string to | ||
1457 | form the full kernel command line, when the system boots. | ||
1458 | |||
1459 | However, you can use the CONFIG_CMDLINE_OVERRIDE option to | ||
1460 | change this behavior. | ||
1461 | |||
1462 | In most cases, the command line (whether built-in or provided | ||
1463 | by the boot loader) should specify the device for the root | ||
1464 | file system. | ||
1465 | |||
1466 | config CMDLINE_OVERRIDE | ||
1467 | bool "Built-in command line overrides boot loader arguments" | ||
1468 | default n | ||
1469 | depends on CMDLINE_BOOL | ||
1470 | help | ||
1471 | Set this option to 'Y' to have the kernel ignore the boot loader | ||
1472 | command line, and use ONLY the built-in command line. | ||
1473 | |||
1474 | This is used to work around broken boot loaders. This should | ||
1475 | be set to 'N' under normal conditions. | ||
1476 | |||
1431 | endmenu | 1477 | endmenu |
1432 | 1478 | ||
1433 | config ARCH_ENABLE_MEMORY_HOTPLUG | 1479 | config ARCH_ENABLE_MEMORY_HOTPLUG |
@@ -1693,6 +1739,14 @@ config DMAR_FLOPPY_WA | |||
1693 | workaround will setup a 1:1 mapping for the first | 1739 | workaround will setup a 1:1 mapping for the first |
1694 | 16M to make floppy (an ISA device) work. | 1740 | 16M to make floppy (an ISA device) work. |
1695 | 1741 | ||
1742 | config INTR_REMAP | ||
1743 | bool "Support for Interrupt Remapping (EXPERIMENTAL)" | ||
1744 | depends on X86_64 && X86_IO_APIC && PCI_MSI && ACPI && EXPERIMENTAL | ||
1745 | help | ||
1746 | Supports Interrupt remapping for IO-APIC and MSI devices. | ||
1747 | To use x2apic mode in the CPU's which support x2APIC enhancements or | ||
1748 | to support platforms with CPU's having > 8 bit APIC ID, say Y. | ||
1749 | |||
1696 | source "drivers/pci/pcie/Kconfig" | 1750 | source "drivers/pci/pcie/Kconfig" |
1697 | 1751 | ||
1698 | source "drivers/pci/Kconfig" | 1752 | source "drivers/pci/Kconfig" |
@@ -1823,7 +1877,7 @@ config COMPAT_FOR_U64_ALIGNMENT | |||
1823 | 1877 | ||
1824 | config SYSVIPC_COMPAT | 1878 | config SYSVIPC_COMPAT |
1825 | def_bool y | 1879 | def_bool y |
1826 | depends on X86_64 && COMPAT && SYSVIPC | 1880 | depends on COMPAT && SYSVIPC |
1827 | 1881 | ||
1828 | endmenu | 1882 | endmenu |
1829 | 1883 | ||