diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-12-29 03:45:15 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-29 03:45:15 -0500 |
commit | e1df957670aef74ffd9a4ad93e6d2c90bf6b4845 (patch) | |
tree | bca1fcfef55b3e3e82c9a822b4ac6428fce2b419 /arch/x86/Kconfig | |
parent | 2b583d8bc8d7105b58d7481a4a0ceb718dac49c6 (diff) | |
parent | 3c92ec8ae91ecf59d88c798301833d7cf83f2179 (diff) |
Merge branch 'linus' into perfcounters/core
Conflicts:
fs/exec.c
include/linux/init_task.h
Simple context conflicts.
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 79 |
1 files changed, 59 insertions, 20 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index fe94490bab61..f3921028038c 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -19,6 +19,8 @@ config X86_64 | |||
19 | config X86 | 19 | config X86 |
20 | def_bool y | 20 | def_bool y |
21 | select HAVE_AOUT if X86_32 | 21 | select HAVE_AOUT if X86_32 |
22 | select HAVE_READQ | ||
23 | select HAVE_WRITEQ | ||
22 | select HAVE_UNSTABLE_SCHED_CLOCK | 24 | select HAVE_UNSTABLE_SCHED_CLOCK |
23 | select HAVE_IDE | 25 | select HAVE_IDE |
24 | select HAVE_OPROFILE | 26 | select HAVE_OPROFILE |
@@ -29,11 +31,14 @@ config X86 | |||
29 | select HAVE_FTRACE_MCOUNT_RECORD | 31 | select HAVE_FTRACE_MCOUNT_RECORD |
30 | select HAVE_DYNAMIC_FTRACE | 32 | select HAVE_DYNAMIC_FTRACE |
31 | select HAVE_FUNCTION_TRACER | 33 | select HAVE_FUNCTION_TRACER |
34 | select HAVE_FUNCTION_GRAPH_TRACER | ||
35 | select HAVE_FUNCTION_TRACE_MCOUNT_TEST | ||
32 | select HAVE_KVM if ((X86_32 && !X86_VOYAGER && !X86_VISWS && !X86_NUMAQ) || X86_64) | 36 | select HAVE_KVM if ((X86_32 && !X86_VOYAGER && !X86_VISWS && !X86_NUMAQ) || X86_64) |
33 | select HAVE_ARCH_KGDB if !X86_VOYAGER | 37 | select HAVE_ARCH_KGDB if !X86_VOYAGER |
34 | select HAVE_ARCH_TRACEHOOK | 38 | select HAVE_ARCH_TRACEHOOK |
35 | select HAVE_GENERIC_DMA_COHERENT if X86_32 | 39 | select HAVE_GENERIC_DMA_COHERENT if X86_32 |
36 | select HAVE_EFFICIENT_UNALIGNED_ACCESS | 40 | select HAVE_EFFICIENT_UNALIGNED_ACCESS |
41 | select USER_STACKTRACE_SUPPORT | ||
37 | 42 | ||
38 | config ARCH_DEFCONFIG | 43 | config ARCH_DEFCONFIG |
39 | string | 44 | string |
@@ -87,6 +92,10 @@ config GENERIC_IOMAP | |||
87 | config GENERIC_BUG | 92 | config GENERIC_BUG |
88 | def_bool y | 93 | def_bool y |
89 | depends on BUG | 94 | depends on BUG |
95 | select GENERIC_BUG_RELATIVE_POINTERS if X86_64 | ||
96 | |||
97 | config GENERIC_BUG_RELATIVE_POINTERS | ||
98 | bool | ||
90 | 99 | ||
91 | config GENERIC_HWEIGHT | 100 | config GENERIC_HWEIGHT |
92 | def_bool y | 101 | def_bool y |
@@ -359,10 +368,10 @@ config X86_RDC321X | |||
359 | as R-8610-(G). | 368 | as R-8610-(G). |
360 | If you don't have one of these chips, you should say N here. | 369 | If you don't have one of these chips, you should say N here. |
361 | 370 | ||
362 | config SCHED_NO_NO_OMIT_FRAME_POINTER | 371 | config SCHED_OMIT_FRAME_POINTER |
363 | def_bool y | 372 | def_bool y |
364 | prompt "Single-depth WCHAN output" | 373 | prompt "Single-depth WCHAN output" |
365 | depends on X86_32 | 374 | depends on X86 |
366 | help | 375 | help |
367 | Calculate simpler /proc/<PID>/wchan values. If this option | 376 | Calculate simpler /proc/<PID>/wchan values. If this option |
368 | is disabled then wchan values will recurse back to the | 377 | is disabled then wchan values will recurse back to the |
@@ -457,10 +466,6 @@ config X86_CYCLONE_TIMER | |||
457 | def_bool y | 466 | def_bool y |
458 | depends on X86_GENERICARCH | 467 | depends on X86_GENERICARCH |
459 | 468 | ||
460 | config ES7000_CLUSTERED_APIC | ||
461 | def_bool y | ||
462 | depends on SMP && X86_ES7000 && MPENTIUMIII | ||
463 | |||
464 | source "arch/x86/Kconfig.cpu" | 469 | source "arch/x86/Kconfig.cpu" |
465 | 470 | ||
466 | config HPET_TIMER | 471 | config HPET_TIMER |
@@ -561,7 +566,7 @@ config AMD_IOMMU | |||
561 | 566 | ||
562 | # need this always selected by IOMMU for the VIA workaround | 567 | # need this always selected by IOMMU for the VIA workaround |
563 | config SWIOTLB | 568 | config SWIOTLB |
564 | bool | 569 | def_bool y if X86_64 |
565 | help | 570 | help |
566 | Support for software bounce buffers used on x86-64 systems | 571 | Support for software bounce buffers used on x86-64 systems |
567 | which don't have a hardware IOMMU (e.g. the current generation | 572 | which don't have a hardware IOMMU (e.g. the current generation |
@@ -653,6 +658,30 @@ config X86_VISWS_APIC | |||
653 | def_bool y | 658 | def_bool y |
654 | depends on X86_32 && X86_VISWS | 659 | depends on X86_32 && X86_VISWS |
655 | 660 | ||
661 | config X86_REROUTE_FOR_BROKEN_BOOT_IRQS | ||
662 | bool "Reroute for broken boot IRQs" | ||
663 | default n | ||
664 | depends on X86_IO_APIC | ||
665 | help | ||
666 | This option enables a workaround that fixes a source of | ||
667 | spurious interrupts. This is recommended when threaded | ||
668 | interrupt handling is used on systems where the generation of | ||
669 | superfluous "boot interrupts" cannot be disabled. | ||
670 | |||
671 | Some chipsets generate a legacy INTx "boot IRQ" when the IRQ | ||
672 | entry in the chipset's IO-APIC is masked (as, e.g. the RT | ||
673 | kernel does during interrupt handling). On chipsets where this | ||
674 | boot IRQ generation cannot be disabled, this workaround keeps | ||
675 | the original IRQ line masked so that only the equivalent "boot | ||
676 | IRQ" is delivered to the CPUs. The workaround also tells the | ||
677 | kernel to set up the IRQ handler on the boot IRQ line. In this | ||
678 | way only one interrupt is delivered to the kernel. Otherwise | ||
679 | the spurious second interrupt may cause the kernel to bring | ||
680 | down (vital) interrupt lines. | ||
681 | |||
682 | Only affects "broken" chipsets. Interrupt sharing may be | ||
683 | increased on these systems. | ||
684 | |||
656 | config X86_MCE | 685 | config X86_MCE |
657 | bool "Machine Check Exception" | 686 | bool "Machine Check Exception" |
658 | depends on !X86_VOYAGER | 687 | depends on !X86_VOYAGER |
@@ -949,24 +978,37 @@ config X86_PAE | |||
949 | config ARCH_PHYS_ADDR_T_64BIT | 978 | config ARCH_PHYS_ADDR_T_64BIT |
950 | def_bool X86_64 || X86_PAE | 979 | def_bool X86_64 || X86_PAE |
951 | 980 | ||
981 | config DIRECT_GBPAGES | ||
982 | bool "Enable 1GB pages for kernel pagetables" if EMBEDDED | ||
983 | default y | ||
984 | depends on X86_64 | ||
985 | help | ||
986 | Allow the kernel linear mapping to use 1GB pages on CPUs that | ||
987 | support it. This can improve the kernel's performance a tiny bit by | ||
988 | reducing TLB pressure. If in doubt, say "Y". | ||
989 | |||
952 | # Common NUMA Features | 990 | # Common NUMA Features |
953 | config NUMA | 991 | config NUMA |
954 | bool "Numa Memory Allocation and Scheduler Support (EXPERIMENTAL)" | 992 | bool "Numa Memory Allocation and Scheduler Support" |
955 | depends on SMP | 993 | depends on SMP |
956 | depends on X86_64 || (X86_32 && HIGHMEM64G && (X86_NUMAQ || X86_BIGSMP || X86_SUMMIT && ACPI) && EXPERIMENTAL) | 994 | depends on X86_64 || (X86_32 && HIGHMEM64G && (X86_NUMAQ || X86_BIGSMP || X86_SUMMIT && ACPI) && EXPERIMENTAL) |
957 | default n if X86_PC | 995 | default n if X86_PC |
958 | default y if (X86_NUMAQ || X86_SUMMIT || X86_BIGSMP) | 996 | default y if (X86_NUMAQ || X86_SUMMIT || X86_BIGSMP) |
959 | help | 997 | help |
960 | Enable NUMA (Non Uniform Memory Access) support. | 998 | Enable NUMA (Non Uniform Memory Access) support. |
999 | |||
961 | The kernel will try to allocate memory used by a CPU on the | 1000 | The kernel will try to allocate memory used by a CPU on the |
962 | local memory controller of the CPU and add some more | 1001 | local memory controller of the CPU and add some more |
963 | NUMA awareness to the kernel. | 1002 | NUMA awareness to the kernel. |
964 | 1003 | ||
965 | For 32-bit this is currently highly experimental and should be only | 1004 | For 64-bit this is recommended if the system is Intel Core i7 |
966 | used for kernel development. It might also cause boot failures. | 1005 | (or later), AMD Opteron, or EM64T NUMA. |
967 | For 64-bit this is recommended on all multiprocessor Opteron systems. | 1006 | |
968 | If the system is EM64T, you should say N unless your system is | 1007 | For 32-bit this is only needed on (rare) 32-bit-only platforms |
969 | EM64T NUMA. | 1008 | that support NUMA topologies, such as NUMAQ / Summit, or if you |
1009 | boot a 32-bit kernel on a 64-bit NUMA platform. | ||
1010 | |||
1011 | Otherwise, you should say N. | ||
970 | 1012 | ||
971 | comment "NUMA (Summit) requires SMP, 64GB highmem support, ACPI" | 1013 | comment "NUMA (Summit) requires SMP, 64GB highmem support, ACPI" |
972 | depends on X86_32 && X86_SUMMIT && (!HIGHMEM64G || !ACPI) | 1014 | depends on X86_32 && X86_SUMMIT && (!HIGHMEM64G || !ACPI) |
@@ -1486,6 +1528,10 @@ config ARCH_ENABLE_MEMORY_HOTPLUG | |||
1486 | def_bool y | 1528 | def_bool y |
1487 | depends on X86_64 || (X86_32 && HIGHMEM) | 1529 | depends on X86_64 || (X86_32 && HIGHMEM) |
1488 | 1530 | ||
1531 | config ARCH_ENABLE_MEMORY_HOTREMOVE | ||
1532 | def_bool y | ||
1533 | depends on MEMORY_HOTPLUG | ||
1534 | |||
1489 | config HAVE_ARCH_EARLY_PFN_TO_NID | 1535 | config HAVE_ARCH_EARLY_PFN_TO_NID |
1490 | def_bool X86_64 | 1536 | def_bool X86_64 |
1491 | depends on NUMA | 1537 | depends on NUMA |
@@ -1625,13 +1671,6 @@ config APM_ALLOW_INTS | |||
1625 | many of the newer IBM Thinkpads. If you experience hangs when you | 1671 | many of the newer IBM Thinkpads. If you experience hangs when you |
1626 | suspend, try setting this to Y. Otherwise, say N. | 1672 | suspend, try setting this to Y. Otherwise, say N. |
1627 | 1673 | ||
1628 | config APM_REAL_MODE_POWER_OFF | ||
1629 | bool "Use real mode APM BIOS call to power off" | ||
1630 | help | ||
1631 | Use real mode APM BIOS calls to switch off the computer. This is | ||
1632 | a work-around for a number of buggy BIOSes. Switch this option on if | ||
1633 | your computer crashes instead of powering off properly. | ||
1634 | |||
1635 | endif # APM | 1674 | endif # APM |
1636 | 1675 | ||
1637 | source "arch/x86/kernel/cpu/cpufreq/Kconfig" | 1676 | source "arch/x86/kernel/cpu/cpufreq/Kconfig" |