fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / arch / s390 / Kconfig
index d112120..c94462d 100644 (file)
@@ -7,6 +7,14 @@ config MMU
        bool
        default y
 
+config LOCKDEP_SUPPORT
+       bool
+       default y
+
+config STACKTRACE_SUPPORT
+       bool
+       default y
+
 config RWSEM_GENERIC_SPINLOCK
        bool
 
@@ -14,19 +22,30 @@ config RWSEM_XCHGADD_ALGORITHM
        bool
        default y
 
-config GENERIC_BUST_SPINLOCK
+config ARCH_HAS_ILOG2_U32
        bool
+       default n
 
-mainmenu "Linux Kernel Configuration"
+config ARCH_HAS_ILOG2_U64
+       bool
+       default n
+
+config GENERIC_HWEIGHT
+       bool
+       default y
 
-config ARCH_S390
+config GENERIC_CALIBRATE_DELAY
        bool
        default y
 
-config UID16
+config GENERIC_TIME
+       def_bool y
+
+mainmenu "Linux Kernel Configuration"
+
+config S390
        bool
        default y
-       depends on ARCH_S390X = 'n'
 
 source "init/Kconfig"
 
@@ -34,47 +53,15 @@ menu "Base setup"
 
 comment "Processor type and features"
 
-config ARCH_S390X
+config 64BIT
        bool "64 bit kernel"
        help
          Select this option if you have a 64 bit IBM zSeries machine
          and want to use the 64 bit addressing mode.
 
-config 64BIT
-       def_bool ARCH_S390X
-
-config ARCH_S390_31
+config 32BIT
        bool
-       depends on ARCH_S390X = 'n'
-       default y
-
-choice 
-       prompt "Processor type"
-       default MARCH_G5
-
-config MARCH_G5
-       bool "S/390 model G5 and G6"
-       depends on ARCH_S390_31
-       help
-         Select this to build a 31 bit kernel that works
-         on all S/390 and zSeries machines.
-
-config MARCH_Z900
-       bool "IBM eServer zSeries model z800 and z900"
-       help
-         Select this to optimize for zSeries machines. This
-         will enable some optimizations that are not available
-         on older 31 bit only CPUs.
-
-config MARCH_Z990
-       bool "IBM eServer zSeries model z890 and z990"
-       help
-         Select this enable optimizations for model z890/z990.
-         This will be slightly faster but does not work on
-         older machines such as the z900.
-
-endchoice 
-
+       default y if !64BIT
 
 config SMP
        bool "Symmetric multi-processing support"
@@ -108,47 +95,159 @@ config NR_CPUS
          approximately sixteen kilobytes to the kernel image.
 
 config HOTPLUG_CPU
-       bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
-       depends on SMP && HOTPLUG && EXPERIMENTAL
+       bool "Support for hot-pluggable CPUs"
+       depends on SMP
+       select HOTPLUG
        default n
        help
-         Say Y here to experiment with turning CPUs off and on.  CPUs
+         Say Y here to be able to turn CPUs off and on. CPUs
          can be controlled through /sys/devices/system/cpu/cpu#.
          Say N if you want to disable CPU hotplug.
 
+config DEFAULT_MIGRATION_COST
+       int
+       default "1000000"
+
 config MATHEMU
        bool "IEEE FPU emulation"
        depends on MARCH_G5
        help
          This option is required for IEEE compliant floating point arithmetic
-         on older S/390 machines. Say Y unless you know your machine doesn't 
+         on older S/390 machines. Say Y unless you know your machine doesn't
          need this.
 
-config S390_SUPPORT
+config COMPAT
        bool "Kernel support for 31 bit emulation"
-       depends on ARCH_S390X
+       depends on 64BIT
        help
          Select this option if you want to enable your system kernel to
          handle system-calls from ELF binaries for 31 bit ESA.  This option
          (and some other stuff like libraries and such) is needed for
          executing 31 bit applications.  It is safe to say "Y".
 
-config COMPAT
+config SYSVIPC_COMPAT
        bool
-       depends on S390_SUPPORT
+       depends on COMPAT && SYSVIPC
        default y
 
-config SYSVIPC_COMPAT
+config AUDIT_ARCH
        bool
-       depends on COMPAT && SYSVIPC
        default y
 
-config BINFMT_ELF32
-       tristate "Kernel support for 31 bit ELF binaries"
-       depends on S390_SUPPORT
+comment "Code generation options"
+
+choice
+       prompt "Processor type"
+       default MARCH_G5
+
+config MARCH_G5
+       bool "S/390 model G5 and G6"
+       depends on !64BIT
        help
-         This allows you to run 32-bit Linux/ELF binaries on your zSeries
-         in 64 bit mode. Everybody wants this; say Y.
+         Select this to build a 31 bit kernel that works
+         on all S/390 and zSeries machines.
+
+config MARCH_Z900
+       bool "IBM eServer zSeries model z800 and z900"
+       help
+         Select this to optimize for zSeries machines. This
+         will enable some optimizations that are not available
+         on older 31 bit only CPUs.
+
+config MARCH_Z990
+       bool "IBM eServer zSeries model z890 and z990"
+       help
+         Select this enable optimizations for model z890/z990.
+         This will be slightly faster but does not work on
+         older machines such as the z900.
+
+config MARCH_Z9_109
+       bool "IBM System z9"
+       help
+         Select this to enable optimizations for IBM System z9-109, IBM
+         System z9 Enterprise Class (z9 EC), and IBM System z9 Business
+         Class (z9 BC). The kernel will be slightly faster but will not
+         work on older machines such as the z990, z890, z900, and z800.
+
+endchoice
+
+config PACK_STACK
+       bool "Pack kernel stack"
+       help
+         This option enables the compiler option -mkernel-backchain if it
+         is available. If the option is available the compiler supports
+         the new stack layout which dramatically reduces the minimum stack
+         frame size. With an old compiler a non-leaf function needs a
+         minimum of 96 bytes on 31 bit and 160 bytes on 64 bit. With
+         -mkernel-backchain the minimum size drops to 16 byte on 31 bit
+         and 24 byte on 64 bit.
+
+         Say Y if you are unsure.
+
+config SMALL_STACK
+       bool "Use 4kb/8kb for kernel stack instead of 8kb/16kb"
+       depends on PACK_STACK && !LOCKDEP
+       help
+         If you say Y here and the compiler supports the -mkernel-backchain
+         option the kernel will use a smaller kernel stack size. For 31 bit
+         the reduced size is 4kb instead of 8kb and for 64 bit it is 8kb
+         instead of 16kb. This allows to run more thread on a system and
+         reduces the pressure on the memory management for higher order
+         page allocations.
+
+         Say N if you are unsure.
+
+
+config CHECK_STACK
+       bool "Detect kernel stack overflow"
+       help
+         This option enables the compiler option -mstack-guard and
+         -mstack-size if they are available. If the compiler supports them
+         it will emit additional code to each function prolog to trigger
+         an illegal operation if the kernel stack is about to overflow.
+
+         Say N if you are unsure.
+
+config STACK_GUARD
+       int "Size of the guard area (128-1024)"
+       range 128 1024
+       depends on CHECK_STACK
+       default "256"
+       help
+         This allows you to specify the size of the guard area at the lower
+         end of the kernel stack. If the kernel stack points into the guard
+         area on function entry an illegal operation is triggered. The size
+         needs to be a power of 2. Please keep in mind that the size of an
+         interrupt frame is 184 bytes for 31 bit and 328 bytes on 64 bit.
+         The minimum size for the stack guard should be 256 for 31 bit and
+         512 for 64 bit.
+
+config WARN_STACK
+       bool "Emit compiler warnings for function with broken stack usage"
+       help
+         This option enables the compiler options -mwarn-framesize and
+         -mwarn-dynamicstack. If the compiler supports these options it
+         will generate warnings for function which either use alloca or
+         create a stack frame bigger then CONFIG_WARN_STACK_SIZE.
+
+         Say N if you are unsure.
+
+config WARN_STACK_SIZE
+       int "Maximum frame size considered safe (128-2048)"
+       range 128 2048
+       depends on WARN_STACK
+       default "256"
+       help
+         This allows you to specify the maximum frame size a function may
+         have without the compiler complaining about it.
+
+config ARCH_POPULATES_NODE_MAP
+       def_bool y
+
+source "mm/Kconfig"
+
+config HOLES_IN_ZONE
+       def_bool y
 
 comment "I/O subsystem configuration"
 
@@ -156,14 +255,14 @@ config MACHCHK_WARNING
        bool "Process warning machine checks"
        help
          Select this option if you want the machine check handler on IBM S/390 or
-         zSeries to process warning machine checks (e.g. on power failures). 
+         zSeries to process warning machine checks (e.g. on power failures).
          If unsure, say "Y".
 
 config QDIO
        tristate "QDIO support"
        ---help---
-         This driver provides the Queued Direct I/O base support for the
-         IBM S/390 (G5 and G6) and eServer zSeries (z800, z890, z900 and z990).
+         This driver provides the Queued Direct I/O base support for
+         IBM mainframes.
 
          For details please refer to the documentation provided by IBM at
          <http://www10.software.ibm.com/developerworks/opensource/linux390>
@@ -173,19 +272,12 @@ config QDIO
 
          If unsure, say Y.
 
-config QDIO_PERF_STATS
-       bool "Performance statistics in /proc"
-       depends on QDIO
-       help
-         Say Y here to get performance statistics in /proc/qdio_perf
-
-         If unsure, say N.
-
 config QDIO_DEBUG
        bool "Extended debugging information"
        depends on QDIO
        help
-         Say Y here to get extended debugging output in /proc/s390dbf/qdio...
+         Say Y here to get extended debugging output in
+           /sys/kernel/debug/s390dbf/qdio...
          Warning: this option reduces the performance of the QDIO module.
 
          If unsure, say N.
@@ -291,6 +383,13 @@ config VIRT_TIMER
          This provides a kernel interface for virtual CPU timers.
          Default is disabled.
 
+config VIRT_CPU_ACCOUNTING
+       bool "Base user process accounting on virtual cpu timer"
+       depends on VIRT_TIMER
+       help
+         Select this option to use CPU timer deltas to do user
+         process accounting.
+
 config APPLDATA_BASE
        bool "Linux - VM Monitor Stream, base infrastructure"
        depends on PROC_FS && VIRT_TIMER=y
@@ -308,7 +407,7 @@ config APPLDATA_BASE
 
 config APPLDATA_MEM
        tristate "Monitor memory management statistics"
-       depends on APPLDATA_BASE
+       depends on APPLDATA_BASE && VM_EVENT_COUNTERS
        help
          This provides memory management related data to the Linux - VM Monitor
          Stream, like paging/swapping rate, memory utilisation, etc.
@@ -370,79 +469,59 @@ config NO_IDLE_HZ_INIT
          The HZ timer is switched off in idle by default. That means the
          HZ timer is already disabled at boot time.
 
+config S390_HYPFS_FS
+       bool "s390 hypervisor file system support"
+       select SYS_HYPERVISOR
+       default y
+       help
+         This is a virtual file system intended to provide accounting
+         information in an s390 hypervisor environment.
+
+config KEXEC
+       bool "kexec system call"
+       help
+         kexec is a system call that implements the ability to shutdown your
+         current kernel, and to start another kernel.  It is like a reboot
+         but is independent of hardware/microcode support.
+
 endmenu
 
+source "net/Kconfig"
+
 config PCMCIA
        bool
        default n
 
 source "drivers/base/Kconfig"
 
+source "drivers/connector/Kconfig"
+
 source "drivers/scsi/Kconfig"
 
 source "drivers/s390/Kconfig"
 
-source "net/Kconfig"
+source "drivers/net/Kconfig"
 
 source "fs/Kconfig"
 
-source "arch/s390/oprofile/Kconfig"
-
-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 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_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.
+menu "Instrumentation Support"
 
-config KALLSYMS
-       bool "Load all symbols for debugging/kksymoops"
-       depends on DEBUG_KERNEL
-       help
-         Say Y here to let the kernel print out symbolic crash information and
-         symbolic stack backtraces. This increases the size of the kernel
-         somewhat, as all symbols have to be loaded into the kernel image.
+source "arch/s390/oprofile/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"
+config KPROBES
+       bool "Kprobes (EXPERIMENTAL)"
+       depends on EXPERIMENTAL && MODULES
        help
-         If you say Y here, various routines which may sleep will become very
-         noisy if they are called with a spinlock held.        
+         Kprobes allows you to trap at almost any kernel address and
+         execute a callback function.  register_kprobe() establishes
+         a probepoint and specifies the callback.  Kprobes is useful
+         for kernel debugging, non-intrusive instrumentation and testing.
+         If in doubt, say "N".
 
 endmenu
 
+source "arch/s390/Kconfig.debug"
+
 source "kernel/vserver/Kconfig"
 
 source "security/Kconfig"
@@ -450,4 +529,3 @@ source "security/Kconfig"
 source "crypto/Kconfig"
 
 source "lib/Kconfig"
-