diff options
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 54 |
1 files changed, 20 insertions, 34 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 01177dcbe261..a2d3a5fbeeda 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -201,20 +201,17 @@ config HAVE_INTEL_TXT | |||
201 | 201 | ||
202 | # Use the generic interrupt handling code in kernel/irq/: | 202 | # Use the generic interrupt handling code in kernel/irq/: |
203 | config GENERIC_HARDIRQS | 203 | config GENERIC_HARDIRQS |
204 | bool | 204 | def_bool y |
205 | default y | ||
206 | 205 | ||
207 | config GENERIC_HARDIRQS_NO__DO_IRQ | 206 | config GENERIC_HARDIRQS_NO__DO_IRQ |
208 | def_bool y | 207 | def_bool y |
209 | 208 | ||
210 | config GENERIC_IRQ_PROBE | 209 | config GENERIC_IRQ_PROBE |
211 | bool | 210 | def_bool y |
212 | default y | ||
213 | 211 | ||
214 | config GENERIC_PENDING_IRQ | 212 | config GENERIC_PENDING_IRQ |
215 | bool | 213 | def_bool y |
216 | depends on GENERIC_HARDIRQS && SMP | 214 | depends on GENERIC_HARDIRQS && SMP |
217 | default y | ||
218 | 215 | ||
219 | config USE_GENERIC_SMP_HELPERS | 216 | config USE_GENERIC_SMP_HELPERS |
220 | def_bool y | 217 | def_bool y |
@@ -229,19 +226,22 @@ config X86_64_SMP | |||
229 | depends on X86_64 && SMP | 226 | depends on X86_64 && SMP |
230 | 227 | ||
231 | config X86_HT | 228 | config X86_HT |
232 | bool | 229 | def_bool y |
233 | depends on SMP | 230 | depends on SMP |
234 | default y | ||
235 | 231 | ||
236 | config X86_TRAMPOLINE | 232 | config X86_TRAMPOLINE |
237 | bool | 233 | def_bool y |
238 | depends on SMP || (64BIT && ACPI_SLEEP) | 234 | depends on SMP || (64BIT && ACPI_SLEEP) |
239 | default y | ||
240 | 235 | ||
241 | config X86_32_LAZY_GS | 236 | config X86_32_LAZY_GS |
242 | def_bool y | 237 | def_bool y |
243 | depends on X86_32 && !CC_STACKPROTECTOR | 238 | depends on X86_32 && !CC_STACKPROTECTOR |
244 | 239 | ||
240 | config ARCH_HWEIGHT_CFLAGS | ||
241 | string | ||
242 | default "-fcall-saved-ecx -fcall-saved-edx" if X86_32 | ||
243 | default "-fcall-saved-rdi -fcall-saved-rsi -fcall-saved-rdx -fcall-saved-rcx -fcall-saved-r8 -fcall-saved-r9 -fcall-saved-r10 -fcall-saved-r11" if X86_64 | ||
244 | |||
245 | config KTIME_SCALAR | 245 | config KTIME_SCALAR |
246 | def_bool X86_32 | 246 | def_bool X86_32 |
247 | source "init/Kconfig" | 247 | source "init/Kconfig" |
@@ -451,7 +451,7 @@ config X86_NUMAQ | |||
451 | firmware with - send email to <Martin.Bligh@us.ibm.com>. | 451 | firmware with - send email to <Martin.Bligh@us.ibm.com>. |
452 | 452 | ||
453 | config X86_SUPPORTS_MEMORY_FAILURE | 453 | config X86_SUPPORTS_MEMORY_FAILURE |
454 | bool | 454 | def_bool y |
455 | # MCE code calls memory_failure(): | 455 | # MCE code calls memory_failure(): |
456 | depends on X86_MCE | 456 | depends on X86_MCE |
457 | # On 32-bit this adds too big of NODES_SHIFT and we run out of page flags: | 457 | # On 32-bit this adds too big of NODES_SHIFT and we run out of page flags: |
@@ -459,7 +459,6 @@ config X86_SUPPORTS_MEMORY_FAILURE | |||
459 | # On 32-bit SPARSEMEM adds too big of SECTIONS_WIDTH: | 459 | # On 32-bit SPARSEMEM adds too big of SECTIONS_WIDTH: |
460 | depends on X86_64 || !SPARSEMEM | 460 | depends on X86_64 || !SPARSEMEM |
461 | select ARCH_SUPPORTS_MEMORY_FAILURE | 461 | select ARCH_SUPPORTS_MEMORY_FAILURE |
462 | default y | ||
463 | 462 | ||
464 | config X86_VISWS | 463 | config X86_VISWS |
465 | bool "SGI 320/540 (Visual Workstation)" | 464 | bool "SGI 320/540 (Visual Workstation)" |
@@ -574,7 +573,6 @@ config PARAVIRT_SPINLOCKS | |||
574 | 573 | ||
575 | config PARAVIRT_CLOCK | 574 | config PARAVIRT_CLOCK |
576 | bool | 575 | bool |
577 | default n | ||
578 | 576 | ||
579 | endif | 577 | endif |
580 | 578 | ||
@@ -753,7 +751,6 @@ config MAXSMP | |||
753 | bool "Configure Maximum number of SMP Processors and NUMA Nodes" | 751 | bool "Configure Maximum number of SMP Processors and NUMA Nodes" |
754 | depends on X86_64 && SMP && DEBUG_KERNEL && EXPERIMENTAL | 752 | depends on X86_64 && SMP && DEBUG_KERNEL && EXPERIMENTAL |
755 | select CPUMASK_OFFSTACK | 753 | select CPUMASK_OFFSTACK |
756 | default n | ||
757 | ---help--- | 754 | ---help--- |
758 | Configure maximum number of CPUS and NUMA Nodes for this architecture. | 755 | Configure maximum number of CPUS and NUMA Nodes for this architecture. |
759 | If unsure, say N. | 756 | If unsure, say N. |
@@ -833,7 +830,6 @@ config X86_VISWS_APIC | |||
833 | 830 | ||
834 | config X86_REROUTE_FOR_BROKEN_BOOT_IRQS | 831 | config X86_REROUTE_FOR_BROKEN_BOOT_IRQS |
835 | bool "Reroute for broken boot IRQs" | 832 | bool "Reroute for broken boot IRQs" |
836 | default n | ||
837 | depends on X86_IO_APIC | 833 | depends on X86_IO_APIC |
838 | ---help--- | 834 | ---help--- |
839 | This option enables a workaround that fixes a source of | 835 | This option enables a workaround that fixes a source of |
@@ -880,9 +876,8 @@ config X86_MCE_AMD | |||
880 | the DRAM Error Threshold. | 876 | the DRAM Error Threshold. |
881 | 877 | ||
882 | config X86_ANCIENT_MCE | 878 | config X86_ANCIENT_MCE |
883 | def_bool n | 879 | bool "Support for old Pentium 5 / WinChip machine checks" |
884 | depends on X86_32 && X86_MCE | 880 | depends on X86_32 && X86_MCE |
885 | prompt "Support for old Pentium 5 / WinChip machine checks" | ||
886 | ---help--- | 881 | ---help--- |
887 | Include support for machine check handling on old Pentium 5 or WinChip | 882 | Include support for machine check handling on old Pentium 5 or WinChip |
888 | systems. These typically need to be enabled explicitely on the command | 883 | systems. These typically need to be enabled explicitely on the command |
@@ -890,8 +885,7 @@ config X86_ANCIENT_MCE | |||
890 | 885 | ||
891 | config X86_MCE_THRESHOLD | 886 | config X86_MCE_THRESHOLD |
892 | depends on X86_MCE_AMD || X86_MCE_INTEL | 887 | depends on X86_MCE_AMD || X86_MCE_INTEL |
893 | bool | 888 | def_bool y |
894 | default y | ||
895 | 889 | ||
896 | config X86_MCE_INJECT | 890 | config X86_MCE_INJECT |
897 | depends on X86_MCE | 891 | depends on X86_MCE |
@@ -1030,8 +1024,8 @@ config X86_CPUID | |||
1030 | 1024 | ||
1031 | choice | 1025 | choice |
1032 | prompt "High Memory Support" | 1026 | prompt "High Memory Support" |
1033 | default HIGHMEM4G if !X86_NUMAQ | ||
1034 | default HIGHMEM64G if X86_NUMAQ | 1027 | default HIGHMEM64G if X86_NUMAQ |
1028 | default HIGHMEM4G | ||
1035 | depends on X86_32 | 1029 | depends on X86_32 |
1036 | 1030 | ||
1037 | config NOHIGHMEM | 1031 | config NOHIGHMEM |
@@ -1289,7 +1283,7 @@ source "mm/Kconfig" | |||
1289 | 1283 | ||
1290 | config HIGHPTE | 1284 | config HIGHPTE |
1291 | bool "Allocate 3rd-level pagetables from highmem" | 1285 | bool "Allocate 3rd-level pagetables from highmem" |
1292 | depends on X86_32 && (HIGHMEM4G || HIGHMEM64G) | 1286 | depends on HIGHMEM |
1293 | ---help--- | 1287 | ---help--- |
1294 | The VM uses one page table entry for each page of physical memory. | 1288 | The VM uses one page table entry for each page of physical memory. |
1295 | For systems with a lot of RAM, this can be wasteful of precious | 1289 | For systems with a lot of RAM, this can be wasteful of precious |
@@ -1373,8 +1367,7 @@ config MATH_EMULATION | |||
1373 | kernel, it won't hurt. | 1367 | kernel, it won't hurt. |
1374 | 1368 | ||
1375 | config MTRR | 1369 | config MTRR |
1376 | bool | 1370 | def_bool y |
1377 | default y | ||
1378 | prompt "MTRR (Memory Type Range Register) support" if EMBEDDED | 1371 | prompt "MTRR (Memory Type Range Register) support" if EMBEDDED |
1379 | ---help--- | 1372 | ---help--- |
1380 | On Intel P6 family processors (Pentium Pro, Pentium II and later) | 1373 | On Intel P6 family processors (Pentium Pro, Pentium II and later) |
@@ -1440,8 +1433,7 @@ config MTRR_SANITIZER_SPARE_REG_NR_DEFAULT | |||
1440 | mtrr_spare_reg_nr=N on the kernel command line. | 1433 | mtrr_spare_reg_nr=N on the kernel command line. |
1441 | 1434 | ||
1442 | config X86_PAT | 1435 | config X86_PAT |
1443 | bool | 1436 | def_bool y |
1444 | default y | ||
1445 | prompt "x86 PAT support" if EMBEDDED | 1437 | prompt "x86 PAT support" if EMBEDDED |
1446 | depends on MTRR | 1438 | depends on MTRR |
1447 | ---help--- | 1439 | ---help--- |
@@ -1609,8 +1601,7 @@ config X86_NEED_RELOCS | |||
1609 | depends on X86_32 && RELOCATABLE | 1601 | depends on X86_32 && RELOCATABLE |
1610 | 1602 | ||
1611 | config PHYSICAL_ALIGN | 1603 | config PHYSICAL_ALIGN |
1612 | hex | 1604 | hex "Alignment value to which kernel should be aligned" if X86_32 |
1613 | prompt "Alignment value to which kernel should be aligned" if X86_32 | ||
1614 | default "0x1000000" | 1605 | default "0x1000000" |
1615 | range 0x2000 0x1000000 | 1606 | range 0x2000 0x1000000 |
1616 | ---help--- | 1607 | ---help--- |
@@ -1657,7 +1648,6 @@ config COMPAT_VDSO | |||
1657 | 1648 | ||
1658 | config CMDLINE_BOOL | 1649 | config CMDLINE_BOOL |
1659 | bool "Built-in kernel command line" | 1650 | bool "Built-in kernel command line" |
1660 | default n | ||
1661 | ---help--- | 1651 | ---help--- |
1662 | Allow for specifying boot arguments to the kernel at | 1652 | Allow for specifying boot arguments to the kernel at |
1663 | build time. On some systems (e.g. embedded ones), it is | 1653 | build time. On some systems (e.g. embedded ones), it is |
@@ -1691,7 +1681,6 @@ config CMDLINE | |||
1691 | 1681 | ||
1692 | config CMDLINE_OVERRIDE | 1682 | config CMDLINE_OVERRIDE |
1693 | bool "Built-in command line overrides boot loader arguments" | 1683 | bool "Built-in command line overrides boot loader arguments" |
1694 | default n | ||
1695 | depends on CMDLINE_BOOL | 1684 | depends on CMDLINE_BOOL |
1696 | ---help--- | 1685 | ---help--- |
1697 | Set this option to 'Y' to have the kernel ignore the boot loader | 1686 | Set this option to 'Y' to have the kernel ignore the boot loader |
@@ -1727,8 +1716,7 @@ source "drivers/acpi/Kconfig" | |||
1727 | source "drivers/sfi/Kconfig" | 1716 | source "drivers/sfi/Kconfig" |
1728 | 1717 | ||
1729 | config X86_APM_BOOT | 1718 | config X86_APM_BOOT |
1730 | bool | 1719 | def_bool y |
1731 | default y | ||
1732 | depends on APM || APM_MODULE | 1720 | depends on APM || APM_MODULE |
1733 | 1721 | ||
1734 | menuconfig APM | 1722 | menuconfig APM |
@@ -1957,8 +1945,7 @@ config DMAR_DEFAULT_ON | |||
1957 | experimental. | 1945 | experimental. |
1958 | 1946 | ||
1959 | config DMAR_BROKEN_GFX_WA | 1947 | config DMAR_BROKEN_GFX_WA |
1960 | def_bool n | 1948 | bool "Workaround broken graphics drivers (going away soon)" |
1961 | prompt "Workaround broken graphics drivers (going away soon)" | ||
1962 | depends on DMAR && BROKEN | 1949 | depends on DMAR && BROKEN |
1963 | ---help--- | 1950 | ---help--- |
1964 | Current Graphics drivers tend to use physical address | 1951 | Current Graphics drivers tend to use physical address |
@@ -2056,7 +2043,6 @@ config SCx200HR_TIMER | |||
2056 | config OLPC | 2043 | config OLPC |
2057 | bool "One Laptop Per Child support" | 2044 | bool "One Laptop Per Child support" |
2058 | select GPIOLIB | 2045 | select GPIOLIB |
2059 | default n | ||
2060 | ---help--- | 2046 | ---help--- |
2061 | Add support for detecting the unique features of the OLPC | 2047 | Add support for detecting the unique features of the OLPC |
2062 | XO hardware. | 2048 | XO hardware. |