vserver 1.9.5.x5
[linux-2.6.git] / arch / i386 / Kconfig
index b44faa2..72fcbe5 100644 (file)
@@ -29,8 +29,11 @@ config GENERIC_ISA_DMA
        bool
        default y
 
-source "init/Kconfig"
+config GENERIC_IOMAP
+       bool
+       default y
 
+source "init/Kconfig"
 
 menu "Processor type and features"
 
@@ -55,20 +58,20 @@ config X86_ELAN
 config X86_VOYAGER
        bool "Voyager (NCR)"
        help
-         Voyager is a MCA based 32 way capable SMP architecture proprietary
-         to NCR Corp.  Machine classes 345x/35xx/4100/51xx are voyager based.
-         
+         Voyager is an MCA-based 32-way capable SMP architecture proprietary
+         to NCR Corp.  Machine classes 345x/35xx/4100/51xx are Voyager-based.
+
          *** WARNING ***
-       
+
          If you do not specifically know you have a Voyager based machine,
-         say N here otherwise the kernel you build will not be bootable.
+         say N here, otherwise the kernel you build will not be bootable.
 
 config X86_NUMAQ
        bool "NUMAQ (IBM/Sequent)"
        select DISCONTIGMEM
        select NUMA
        help
-         This option is used for getting Linux to run on a (IBM/Sequent) NUMA 
+         This option is used for getting Linux to run on a (IBM/Sequent) NUMA
          multiquad box. This changes the way that processors are bootstrapped,
          and uses Clustered Logical APIC addressing mode instead of Flat Logical.
          You will need a new lynxer.elf file to flash your firmware with - send
@@ -115,8 +118,8 @@ config X86_ES7000
        depends on SMP
        help
          Support for Unisys ES7000 systems.  Say 'Y' here if this kernel is
-         supposed to run on an IA32-based Unisys ES7000 system. 
-         Only choose this option if you have such a system, otherwise you 
+         supposed to run on an IA32-based Unisys ES7000 system.
+         Only choose this option if you have such a system, otherwise you
          should say N here.
 
 endchoice
@@ -176,6 +179,7 @@ config M386
          - "K6" for the AMD K6, K6-II and K6-III (aka K6-3D).
          - "Athlon" for the AMD K7 family (Athlon/Duron/Thunderbird).
          - "Crusoe" for the Transmeta Crusoe series.
+         - "Efficeon" for the Transmeta Efficeon series.
          - "Winchip-C6" for original IDT Winchip.
          - "Winchip-2" for IDT Winchip 2.
          - "Winchip-2A" for IDT Winchips with 3dNow! capabilities.
@@ -196,7 +200,7 @@ config M586
        bool "586/K5/5x86/6x86/6x86MX"
        help
          Select this for an 586 or 686 series processor such as the AMD K5,
-         the Intel 5x86 or 6x86, or the Intel 6x86MX.  This choice does not
+         the Cyrix 5x86, 6x86 and 6x86MX.  This choice does not
          assume the RDTSC (Read Time Stamp Counter) instruction.
 
 config M586TSC
@@ -278,6 +282,11 @@ config MCRUSOE
          like a 586 with TSC, and sets some GCC optimization flags (like a
          Pentium Pro with no alignment requirements).
 
+config MEFFICEON
+       bool "Efficeon"
+       help
+         Select this for a Transmeta Efficeon processor.
+
 config MWINCHIPC6
        bool "Winchip-C6"
        help
@@ -322,7 +331,7 @@ config MVIAC3_2
 endchoice
 
 config X86_GENERIC
-       bool "Generic x86 support" 
+       bool "Generic x86 support"
        help
          Instead of just including optimizations for the selected
          x86 variant (e.g. PII, Crusoe or Athlon), include some more
@@ -351,7 +360,7 @@ config X86_L1_CACHE_SHIFT
        int
        default "7" if MPENTIUM4 || X86_GENERIC
        default "4" if X86_ELAN || M486 || M386
-       default "5" if MWINCHIP3D || MWINCHIP2 || MWINCHIPC6 || MCRUSOE || MCYRIXIII || MK6 || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || M586TSC || M586 || MVIAC3_2
+       default "5" if MWINCHIP3D || MWINCHIP2 || MWINCHIPC6 || MCRUSOE || MEFFICEON || MCYRIXIII || MK6 || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || M586TSC || M586 || MVIAC3_2
        default "6" if MK7 || MK8 || MPENTIUMM
 
 config RWSEM_GENERIC_SPINLOCK
@@ -364,6 +373,10 @@ config RWSEM_XCHGADD_ALGORITHM
        depends on !M386
        default y
 
+config GENERIC_CALIBRATE_DELAY
+       bool
+       default y
+
 config X86_PPRO_FENCE
        bool
        depends on M686 || M586MMX || M586TSC || M586 || M486 || M386
@@ -401,17 +414,17 @@ config X86_ALIGNMENT_16
 
 config X86_GOOD_APIC
        bool
-       depends on MK7 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || MK8
+       depends on MK7 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || MK8 || MEFFICEON
        default y
 
 config X86_INTEL_USERCOPY
        bool
-       depends on MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M586MMX || X86_GENERIC || MK8 || MK7
+       depends on MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M586MMX || X86_GENERIC || MK8 || MK7 || MEFFICEON
        default y
 
 config X86_USE_PPRO_CHECKSUM
        bool
-       depends on MWINCHIP3D || MWINCHIP2 || MWINCHIPC6 || MCYRIXIII || MK7 || MK6 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MK8 || MVIAC3_2
+       depends on MWINCHIP3D || MWINCHIP2 || MWINCHIPC6 || MCYRIXIII || MK7 || MK6 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MK8 || MVIAC3_2 || MEFFICEON
        default y
 
 config X86_USE_3DNOW
@@ -436,7 +449,8 @@ config HPET_TIMER
          Choose N to continue using the legacy 8254 timer.
 
 config HPET_EMULATE_RTC
-       def_bool HPET_TIMER && RTC=y
+       bool "Provide RTC interrupt"
+       depends on HPET_TIMER && RTC=y
 
 config SMP
        bool "Symmetric multi-processing support"
@@ -503,6 +517,17 @@ config PREEMPT
          Say Y here if you are building a kernel for a desktop, embedded
          or real-time system.  Say N if you are unsure.
 
+config PREEMPT_BKL
+       bool "Preempt The Big Kernel Lock"
+       depends on PREEMPT
+       default y
+       help
+         This option reduces the latency of the kernel by making the
+         big kernel lock preemptible.
+
+         Say Y here if you are building a kernel for a desktop system.
+         Say N if you are unsure.
+
 config X86_UP_APIC
        bool "Local APIC support on uniprocessors" if !SMP
        depends on !(X86_VISWS || X86_VOYAGER)
@@ -543,9 +568,17 @@ config X86_IO_APIC
        depends on !SMP && X86_UP_IOAPIC
        default y
 
+config KERNEL_HZ
+       int "Timer Frequency (100-20000)"
+       range 100 20000
+       default "1000"
+       help
+         This allows you to specify the frequency at which the
+         kernel timer interrupt will occur.
+
 config X86_TSC
        bool
-       depends on (MWINCHIP3D || MWINCHIP2 || MCRUSOE || MCYRIXIII || MK7 || MK6 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || M586TSC || MK8 || MVIAC3_2) && !X86_NUMAQ
+       depends on (MWINCHIP3D || MWINCHIP2 || MCRUSOE || MEFFICEON || MCYRIXIII || MK7 || MK6 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || M586TSC || MK8 || MVIAC3_2) && !X86_NUMAQ
        default y
 
 config X86_MCE
@@ -580,7 +613,7 @@ config X86_MCE_NONFATAL
 
 config X86_MCE_P4THERMAL
        bool "check for P4 thermal throttling interrupt."
-       depends on X86_MCE && (X86_UP_APIC || SMP)
+       depends on X86_MCE && (X86_UP_APIC || SMP) && !X86_VISWS
        help
          Enabling this feature will cause a message to be printed when the P4
          enters thermal throttling.
@@ -710,6 +743,46 @@ config HIGHMEM64G
 
 endchoice
 
+choice
+       prompt "Memory Split User Space"
+       default SPLIT_3GB
+       help
+         A different Userspace/Kernel split allows you to
+         utilize up to alsmost 3GB of RAM without the requirement
+         for HIGHMEM. It also increases the available lowmem.
+
+config SPLIT_3GB
+       bool "3.0GB/1.0GB Kernel (Default)"
+       help
+         This is the default split of 3GB userspace to 1GB kernel
+         space, which will result in about 860MB of lowmem.
+
+config SPLIT_25GB
+       bool "2.5GB/1.5GB Kernel"
+       help
+         This split provides 2.5GB userspace and 1.5GB kernel
+         space, which will result in about 1370MB of lowmem.
+
+config SPLIT_2GB
+       bool "2.0GB/2.0GB Kernel"
+       help
+         This split provides 2GB userspace and 2GB kernel
+         space, which will result in about 1880MB of lowmem.
+
+config SPLIT_15GB
+       bool "1.5GB/2.5GB Kernel"
+       help
+         This split provides 1.5GB userspace and 2.5GB kernel
+         space, which will result in about 2390MB of lowmem.
+
+config SPLIT_1GB
+       bool "1.0GB/3.0GB Kernel"
+       help
+         This split provides 1GB userspace and 3GB kernel
+         space, which will result in about 2900MB of lowmem.
+
+endchoice
+
 config HIGHMEM
        bool
        depends on HIGHMEM64G || HIGHMEM4G
@@ -817,7 +890,6 @@ config EFI
        depends on ACPI
        default n
        ---help---
-
        This enables the the kernel to boot on EFI platforms using
        system configuration information passed to it from the firmware.
        This also enables the kernel to use any EFI runtime services that are
@@ -856,7 +928,7 @@ config REGPARM
        depends on EXPERIMENTAL
        default n
        help
-       Compile the kernel with -mregparm=3. This uses an different ABI
+       Compile the kernel with -mregparm=3. This uses a different ABI
        and passes the first three arguments of a function call in registers.
        This will probably break binary only modules.
 
@@ -875,7 +947,7 @@ source kernel/power/Kconfig
 source "drivers/acpi/Kconfig"
 
 menu "APM (Advanced Power Management) BIOS Support"
-depends on PM
+depends on PM && !X86_VISWS
 
 config APM
        tristate "APM (Advanced Power Management) BIOS support"
@@ -1026,7 +1098,6 @@ source "arch/i386/kernel/cpu/cpufreq/Kconfig"
 
 endmenu
 
-
 menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
 
 config X86_VISWS_APIC
@@ -1104,10 +1175,12 @@ config PCI_DIRECT
 
 config PCI_MMCONFIG
        bool
-       depends on PCI && (PCI_GOMMCONFIG || PCI_GOANY)
+       depends on PCI && (PCI_GOMMCONFIG || (PCI_GOANY && ACPI))
        select ACPI_BOOT
        default y
 
+source "drivers/pci/pcie/Kconfig"
+
 source "drivers/pci/Kconfig"
 
 config ISA
@@ -1157,7 +1230,7 @@ config SCx200
        tristate "NatSemi SCx200 support"
        depends on !X86_VOYAGER
        help
-         This provides basic support for the National Semiconductor SCx200 
+         This provides basic support for the National Semiconductor SCx200
          processor.  Right now this is just a driver for the GPIO pins.
 
          If you don't know what to do here, say N.
@@ -1171,7 +1244,6 @@ source "drivers/pci/hotplug/Kconfig"
 
 endmenu
 
-
 menu "Executable file formats"
 
 source "fs/Kconfig.binfmt"
@@ -1184,139 +1256,27 @@ source "fs/Kconfig"
 
 source "arch/i386/oprofile/Kconfig"
 
+source "arch/i386/Kconfig.debug"
 
-menu "Kernel hacking"
-
-config DEBUG_KERNEL
-       bool "Kernel debugging"
-       help
-         Say Y here if you are developing drivers or trying to debug and
-         identify kernel problems.
-
-config EARLY_PRINTK
-       bool "Early printk" if EMBEDDED
-       default y
-       help
-         Write kernel log output directly into the VGA buffer or to a serial
-         port.
-
-         This is useful for kernel debugging when your machine crashes very
-         early before the console code is initialized. For normal operation
-         it is not recommended because it looks ugly and doesn't cooperate
-         with klogd/syslogd or the X server. You should normally N here,
-         unless you want to debug such a crash.
-
-config DEBUG_STACKOVERFLOW
-       bool "Check for stack overflows"
-       depends on DEBUG_KERNEL
-
-config DEBUG_STACK_USAGE
-       bool "Stack utilization instrumentation"
-       depends on DEBUG_KERNEL
-       help
-         Enables the display of the minimum amount of free stack which each
-         task has ever had available in the sysrq-T and sysrq-P debug output.
-
-         This option will slow down process creation somewhat.
-
-config DEBUG_SLAB
-       bool "Debug memory allocations"
-       depends on DEBUG_KERNEL
-       help
-         Say Y here to have the kernel do limited verification on memory
-         allocation as well as poisoning memory on free to catch use of freed
-         memory.
-
-config MAGIC_SYSRQ
-       bool "Magic SysRq key"
-       depends on DEBUG_KERNEL
-       help
-         If you say Y here, you will have some control over the system even
-         if the system crashes for example during kernel debugging (e.g., you
-         will be able to flush the buffer cache to disk, reboot the system
-         immediately or dump some status information). This is accomplished
-         by pressing various keys while holding SysRq (Alt+PrintScreen). It
-         also works on a serial console (on PC hardware at least), if you
-         send a BREAK and then within 5 seconds a command keypress. The
-         keys are documented in <file:Documentation/sysrq.txt>. Don't say Y
-         unless you really know what this hack does.
-
-config DEBUG_SPINLOCK
-       bool "Spinlock debugging"
-       depends on DEBUG_KERNEL
-       help
-         Say Y here and build SMP to catch missing spinlock initialization
-         and certain other kinds of spinlock errors commonly made.  This is
-         best used in conjunction with the NMI watchdog so that spinlock
-         deadlocks are also debuggable.
-
-config DEBUG_PAGEALLOC
-       bool "Page alloc debugging"
-       depends on DEBUG_KERNEL
-       help
-         Unmap pages from the kernel linear mapping after free_pages().
-         This results in a large slowdown, but helps to find certain types
-         of memory corruptions.
-
-config DEBUG_HIGHMEM
-       bool "Highmem debugging"
-       depends on DEBUG_KERNEL && HIGHMEM
-       help
-         This options enables addition error checking for high memory systems.
-         Disable for production systems.
+source "kernel/vserver/Kconfig"
 
-config DEBUG_INFO
-       bool "Compile the kernel with debug info"
-       depends on DEBUG_KERNEL
-       help
-          If you say Y here the resulting kernel image will include
-         debugging info resulting in a larger kernel image.
-         Say Y here only if you plan to use gdb to debug the kernel.
-         If you don't debug the kernel, you can say N.
-         
-config DEBUG_SPINLOCK_SLEEP
-       bool "Sleep-inside-spinlock checking"
-       help
-         If you say Y here, various routines which may sleep will become very
-         noisy if they are called with a spinlock held.        
+source "security/Kconfig"
 
-config FRAME_POINTER
-       bool "Compile the kernel with frame pointers"
-       help
-         If you say Y here the resulting kernel image will be slightly larger
-         and slower, but it will give very useful debugging information.
-         If you don't debug the kernel, you can say N, but we may not be able
-         to solve problems without frame pointers.
+source "crypto/Kconfig"
 
-config 4KSTACKS
-       bool "Use 4Kb for kernel stacks instead of 8Kb"
-       help
-         If you say Y here the kernel will use a 4Kb stacksize for the
-         kernel stack attached to each process/thread. This facilitates
-         running more threads on a system and also reduces the pressure
-         on the VM subsystem for higher order allocations. This option
-         will also use IRQ stacks to compensate for the reduced stackspace.
+source "lib/Kconfig"
 
-config X86_FIND_SMP_CONFIG
+#
+# Use the generic interrupt handling code in kernel/irq/:
+#
+config GENERIC_HARDIRQS
        bool
-       depends on X86_LOCAL_APIC || X86_VOYAGER
        default y
 
-config X86_MPPARSE
+config GENERIC_IRQ_PROBE
        bool
-       depends on X86_LOCAL_APIC && !X86_VISWS
        default y
 
-endmenu
-
-source "kernel/vserver/Kconfig"
-
-source "security/Kconfig"
-
-source "crypto/Kconfig"
-
-source "lib/Kconfig"
-
 config X86_SMP
        bool
        depends on SMP && !X86_VOYAGER
@@ -1337,12 +1297,6 @@ config X86_TRAMPOLINE
        depends on X86_SMP || (X86_VOYAGER && SMP)
        default y
 
-# std_resources is overridden for pc9800, but that's not
-# a currently selectable arch choice
-config X86_STD_RESOURCES
-       bool
-       default y
-
 config PC
        bool
        depends on X86 && !EMBEDDED