2005-04-17 02:20:36 +04:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see Documentation/kbuild/kconfig-language.txt.
|
|
|
|
#
|
|
|
|
# Note: ISA is disabled and will hopefully never be enabled.
|
|
|
|
# If you managed to buy an ISA x86-64 box you'll have to fix all the
|
|
|
|
# ISA drivers you need yourself.
|
|
|
|
#
|
|
|
|
|
|
|
|
mainmenu "Linux Kernel Configuration"
|
|
|
|
|
|
|
|
config X86_64
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Port to the x86-64 architecture. x86-64 is a 64-bit extension to the
|
|
|
|
classical 32-bit x86 architecture. For details see
|
|
|
|
<http://www.x86-64.org/>.
|
|
|
|
|
|
|
|
config 64BIT
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
config X86
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2007-02-16 12:28:20 +03:00
|
|
|
config GENERIC_TIME
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2007-02-16 12:28:21 +03:00
|
|
|
config GENERIC_TIME_VSYSCALL
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2007-07-21 19:10:11 +04:00
|
|
|
config GENERIC_CMOS_UPDATE
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2007-10-13 01:04:06 +04:00
|
|
|
config CLOCKSOURCE_WATCHDOG
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2007-10-13 01:04:07 +04:00
|
|
|
config GENERIC_CLOCKEVENTS
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
|
|
|
config GENERIC_CLOCKEVENTS_BROADCAST
|
2007-10-13 01:04:07 +04:00
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2006-09-26 10:31:13 +04:00
|
|
|
config ZONE_DMA32
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2006-07-03 11:25:01 +04:00
|
|
|
config LOCKDEP_SUPPORT
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2006-07-03 11:24:40 +04:00
|
|
|
config STACKTRACE_SUPPORT
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2005-09-04 02:56:52 +04:00
|
|
|
config SEMAPHORE_SLEEPERS
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2005-04-17 02:20:36 +04:00
|
|
|
config MMU
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2007-02-10 12:43:14 +03:00
|
|
|
config ZONE_DMA
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2005-04-17 02:20:36 +04:00
|
|
|
config ISA
|
|
|
|
bool
|
|
|
|
|
|
|
|
config SBUS
|
|
|
|
bool
|
|
|
|
|
|
|
|
config RWSEM_GENERIC_SPINLOCK
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
|
|
|
config RWSEM_XCHGADD_ALGORITHM
|
|
|
|
bool
|
|
|
|
|
[PATCH] bitops: x86_64: use generic bitops
- remove sched_find_first_bit()
- remove generic_hweight{64,32,16,8}()
- remove ext2_{set,clear,test,find_first_zero,find_next_zero}_bit()
- remove minix_{test,set,test_and_clear,test,find_first_zero}_bit()
Signed-off-by: Akinobu Mita <mita@miraclelinux.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-26 13:39:42 +04:00
|
|
|
config GENERIC_HWEIGHT
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2005-04-17 02:20:36 +04:00
|
|
|
config GENERIC_CALIBRATE_DELAY
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
|
|
|
config X86_CMPXCHG
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
|
|
|
config GENERIC_ISA_DMA
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
|
|
|
config GENERIC_IOMAP
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2005-09-06 04:48:42 +04:00
|
|
|
config ARCH_MAY_HAVE_PC_FDC
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2006-09-27 12:49:52 +04:00
|
|
|
config ARCH_POPULATES_NODE_MAP
|
|
|
|
def_bool y
|
|
|
|
|
2006-01-12 00:43:33 +03:00
|
|
|
config DMI
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2006-09-12 11:04:40 +04:00
|
|
|
config AUDIT_ARCH
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2006-12-08 13:36:22 +03:00
|
|
|
config GENERIC_BUG
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
depends on BUG
|
|
|
|
|
2006-12-08 13:37:49 +03:00
|
|
|
config ARCH_HAS_ILOG2_U32
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config ARCH_HAS_ILOG2_U64
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2005-04-17 02:20:36 +04:00
|
|
|
source "init/Kconfig"
|
|
|
|
|
|
|
|
|
|
|
|
menu "Processor type and features"
|
|
|
|
|
2007-10-13 01:04:07 +04:00
|
|
|
source "kernel/time/Kconfig"
|
|
|
|
|
2006-01-12 00:46:18 +03:00
|
|
|
choice
|
|
|
|
prompt "Subarchitecture Type"
|
|
|
|
default X86_PC
|
|
|
|
|
|
|
|
config X86_PC
|
|
|
|
bool "PC-compatible"
|
|
|
|
help
|
|
|
|
Choose this option if your computer is a standard PC or compatible.
|
|
|
|
|
|
|
|
config X86_VSMP
|
|
|
|
bool "Support for ScaleMP vSMP"
|
2006-09-26 12:52:41 +04:00
|
|
|
depends on PCI
|
2006-01-12 00:46:18 +03:00
|
|
|
help
|
|
|
|
Support for ScaleMP vSMP systems. Say 'Y' here if this kernel is
|
|
|
|
supposed to run on these EM64T-based machines. Only choose this option
|
|
|
|
if you have one of these machines.
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2005-04-17 02:20:36 +04:00
|
|
|
choice
|
|
|
|
prompt "Processor family"
|
2006-12-07 04:14:09 +03:00
|
|
|
default GENERIC_CPU
|
2005-04-17 02:20:36 +04:00
|
|
|
|
|
|
|
config MK8
|
|
|
|
bool "AMD-Opteron/Athlon64"
|
|
|
|
help
|
|
|
|
Optimize for AMD Opteron/Athlon64/Hammer/K8 CPUs.
|
|
|
|
|
|
|
|
config MPSC
|
2006-12-07 04:14:09 +03:00
|
|
|
bool "Intel P4 / older Netburst based Xeon"
|
2005-04-17 02:20:36 +04:00
|
|
|
help
|
2007-10-17 20:04:36 +04:00
|
|
|
Optimize for Intel Pentium 4, Pentium D and older Nocona/Dempsey
|
|
|
|
Xeon CPUs with Intel 64bit which is compatible with x86-64.
|
2007-02-13 15:26:23 +03:00
|
|
|
Note that the latest Xeons (Xeon 51xx and 53xx) are not based on the
|
|
|
|
Netburst core and shouldn't use this option. You can distinguish them
|
2006-12-07 04:14:09 +03:00
|
|
|
using the cpu family field
|
2007-10-17 20:04:36 +04:00
|
|
|
in /proc/cpuinfo. Family 15 is an older Xeon, Family 6 a newer one.
|
2006-12-07 04:14:09 +03:00
|
|
|
|
|
|
|
config MCORE2
|
|
|
|
bool "Intel Core2 / newer Xeon"
|
|
|
|
help
|
|
|
|
Optimize for Intel Core2 and newer Xeons (51xx)
|
2007-02-13 15:26:23 +03:00
|
|
|
You can distinguish the newer Xeons from the older ones using
|
|
|
|
the cpu family field in /proc/cpuinfo. 15 is an older Xeon
|
2007-10-17 20:04:36 +04:00
|
|
|
(use CONFIG_MPSC then), 6 is a newer one.
|
2005-04-17 02:20:36 +04:00
|
|
|
|
|
|
|
config GENERIC_CPU
|
|
|
|
bool "Generic-x86-64"
|
|
|
|
help
|
|
|
|
Generic x86-64 CPU.
|
2006-12-07 04:14:09 +03:00
|
|
|
Run equally well on all x86-64 CPUs.
|
2005-04-17 02:20:36 +04:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
#
|
|
|
|
# Define implied options from the CPU selection here
|
|
|
|
#
|
|
|
|
config X86_L1_CACHE_BYTES
|
|
|
|
int
|
|
|
|
default "128" if GENERIC_CPU || MPSC
|
2006-12-07 04:14:09 +03:00
|
|
|
default "64" if MK8 || MCORE2
|
2005-04-17 02:20:36 +04:00
|
|
|
|
|
|
|
config X86_L1_CACHE_SHIFT
|
|
|
|
int
|
|
|
|
default "7" if GENERIC_CPU || MPSC
|
2006-12-07 04:14:09 +03:00
|
|
|
default "6" if MK8 || MCORE2
|
2005-04-17 02:20:36 +04:00
|
|
|
|
2006-04-07 21:50:09 +04:00
|
|
|
config X86_INTERNODE_CACHE_BYTES
|
|
|
|
int
|
|
|
|
default "4096" if X86_VSMP
|
|
|
|
default X86_L1_CACHE_BYTES if !X86_VSMP
|
|
|
|
|
2005-04-17 02:20:36 +04:00
|
|
|
config X86_TSC
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
|
|
|
config X86_GOOD_APIC
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
|
|
|
config MICROCODE
|
|
|
|
tristate "/dev/cpu/microcode - Intel CPU microcode support"
|
2006-09-27 12:50:53 +04:00
|
|
|
select FW_LOADER
|
2005-04-17 02:20:36 +04:00
|
|
|
---help---
|
|
|
|
If you say Y here the 'File systems' section, you will be
|
|
|
|
able to update the microcode on Intel processors. You will
|
|
|
|
obviously need the actual microcode binary data itself which is
|
|
|
|
not shipped with the Linux kernel.
|
|
|
|
|
|
|
|
For latest news and information on obtaining all the required
|
|
|
|
ingredients for this driver, check:
|
|
|
|
<http://www.urbanmyth.org/microcode/>.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called microcode.
|
|
|
|
If you use modprobe or kmod you may also want to add the line
|
|
|
|
'alias char-major-10-184 microcode' to your /etc/modules.conf file.
|
|
|
|
|
2006-09-27 12:50:51 +04:00
|
|
|
config MICROCODE_OLD_INTERFACE
|
|
|
|
bool
|
|
|
|
depends on MICROCODE
|
|
|
|
default y
|
|
|
|
|
2005-04-17 02:20:36 +04:00
|
|
|
config X86_MSR
|
|
|
|
tristate "/dev/cpu/*/msr - Model-specific register support"
|
|
|
|
help
|
|
|
|
This device gives privileged processes access to the x86
|
|
|
|
Model-Specific Registers (MSRs). It is a character device with
|
|
|
|
major 202 and minors 0 to 31 for /dev/cpu/0/msr to /dev/cpu/31/msr.
|
|
|
|
MSR accesses are directed to a specific CPU on multi-processor
|
|
|
|
systems.
|
|
|
|
|
|
|
|
config X86_CPUID
|
|
|
|
tristate "/dev/cpu/*/cpuid - CPU information support"
|
|
|
|
help
|
|
|
|
This device gives processes access to the x86 CPUID instruction to
|
|
|
|
be executed on a specific processor. It is a character device
|
|
|
|
with major 203 and minors 0 to 31 for /dev/cpu/0/cpuid to
|
|
|
|
/dev/cpu/31/cpuid.
|
|
|
|
|
|
|
|
config X86_HT
|
|
|
|
bool
|
|
|
|
depends on SMP && !MK8
|
|
|
|
default y
|
|
|
|
|
|
|
|
config MATH_EMULATION
|
|
|
|
bool
|
|
|
|
|
|
|
|
config MCA
|
|
|
|
bool
|
|
|
|
|
|
|
|
config EISA
|
|
|
|
bool
|
|
|
|
|
|
|
|
config X86_IO_APIC
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
|
|
|
config X86_LOCAL_APIC
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
|
|
|
config MTRR
|
|
|
|
bool "MTRR (Memory Type Range Register) support"
|
|
|
|
---help---
|
|
|
|
On Intel P6 family processors (Pentium Pro, Pentium II and later)
|
|
|
|
the Memory Type Range Registers (MTRRs) may be used to control
|
|
|
|
processor access to memory ranges. This is most useful if you have
|
|
|
|
a video (VGA) card on a PCI or AGP bus. Enabling write-combining
|
|
|
|
allows bus write transfers to be combined into a larger transfer
|
|
|
|
before bursting over the PCI/AGP bus. This can increase performance
|
|
|
|
of image write operations 2.5 times or more. Saying Y here creates a
|
|
|
|
/proc/mtrr file which may be used to manipulate your processor's
|
|
|
|
MTRRs. Typically the X server should use this.
|
|
|
|
|
|
|
|
This code has a reasonably generic interface so that similar
|
|
|
|
control registers on other processors can be easily supported
|
|
|
|
as well.
|
|
|
|
|
|
|
|
Saying Y here also fixes a problem with buggy SMP BIOSes which only
|
|
|
|
set the MTRRs for the boot CPU and not for the secondary CPUs. This
|
|
|
|
can lead to all sorts of problems, so it's good to say Y here.
|
|
|
|
|
|
|
|
Just say Y here, all x86-64 machines support MTRRs.
|
|
|
|
|
|
|
|
See <file:Documentation/mtrr.txt> for more information.
|
|
|
|
|
|
|
|
config SMP
|
|
|
|
bool "Symmetric multi-processing support"
|
|
|
|
---help---
|
|
|
|
This enables support for systems with more than one CPU. If you have
|
|
|
|
a system with only one CPU, like most personal computers, say N. If
|
|
|
|
you have a system with more than one CPU, say Y.
|
|
|
|
|
|
|
|
If you say N here, the kernel will run on single and multiprocessor
|
|
|
|
machines, but will use only one CPU of a multiprocessor machine. If
|
|
|
|
you say Y here, the kernel will run on many, but not all,
|
|
|
|
singleprocessor machines. On a singleprocessor machine, the kernel
|
|
|
|
will run faster if you say N here.
|
|
|
|
|
|
|
|
If you don't know what to do here, say N.
|
|
|
|
|
|
|
|
config SCHED_SMT
|
|
|
|
bool "SMT (Hyperthreading) scheduler support"
|
|
|
|
depends on SMP
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
SMT scheduler support improves the CPU scheduler's decision making
|
|
|
|
when dealing with Intel Pentium 4 chips with HyperThreading at a
|
|
|
|
cost of slightly increased overhead in some places. If unsure say
|
|
|
|
N here.
|
|
|
|
|
2006-03-27 13:15:22 +04:00
|
|
|
config SCHED_MC
|
|
|
|
bool "Multi-core scheduler support"
|
|
|
|
depends on SMP
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Multi-core scheduler support improves the CPU scheduler's decision
|
|
|
|
making when dealing with multi-core CPU chips at a cost of slightly
|
|
|
|
increased overhead in some places. If unsure say N here.
|
|
|
|
|
2005-06-26 01:57:36 +04:00
|
|
|
source "kernel/Kconfig.preempt"
|
|
|
|
|
2005-11-05 19:25:54 +03:00
|
|
|
config NUMA
|
|
|
|
bool "Non Uniform Memory Access (NUMA) Support"
|
2005-04-17 02:20:36 +04:00
|
|
|
depends on SMP
|
|
|
|
help
|
2005-11-05 19:25:54 +03:00
|
|
|
Enable NUMA (Non Uniform Memory Access) support. The kernel
|
|
|
|
will try to allocate memory used by a CPU on the local memory
|
|
|
|
controller of the CPU and add some more NUMA awareness to the kernel.
|
|
|
|
This code is recommended on all multiprocessor Opteron systems.
|
|
|
|
If the system is EM64T, you should say N unless your system is EM64T
|
|
|
|
NUMA.
|
|
|
|
|
|
|
|
config K8_NUMA
|
|
|
|
bool "Old style AMD Opteron NUMA detection"
|
2006-09-26 12:52:41 +04:00
|
|
|
depends on NUMA && PCI
|
2005-11-05 19:25:54 +03:00
|
|
|
default y
|
|
|
|
help
|
|
|
|
Enable K8 NUMA node topology detection. You should say Y here if
|
|
|
|
you have a multi processor AMD K8 system. This uses an old
|
2006-10-04 00:34:14 +04:00
|
|
|
method to read the NUMA configuration directly from the builtin
|
2005-11-05 19:25:54 +03:00
|
|
|
Northbridge of Opteron. It is recommended to use X86_64_ACPI_NUMA
|
|
|
|
instead, which also takes priority if both are compiled in.
|
|
|
|
|
2006-04-11 09:53:53 +04:00
|
|
|
config NODES_SHIFT
|
|
|
|
int
|
|
|
|
default "6"
|
|
|
|
depends on NEED_MULTIPLE_NODES
|
|
|
|
|
2005-11-05 19:25:54 +03:00
|
|
|
# Dummy CONFIG option to select ACPI_NUMA from drivers/acpi/Kconfig.
|
|
|
|
|
|
|
|
config X86_64_ACPI_NUMA
|
|
|
|
bool "ACPI NUMA detection"
|
|
|
|
depends on NUMA
|
|
|
|
select ACPI
|
2006-03-29 02:04:00 +04:00
|
|
|
select PCI
|
2005-11-05 19:25:54 +03:00
|
|
|
select ACPI_NUMA
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Enable ACPI SRAT based node topology detection.
|
2005-04-17 02:20:36 +04:00
|
|
|
|
|
|
|
config NUMA_EMU
|
2005-11-05 19:25:54 +03:00
|
|
|
bool "NUMA emulation"
|
|
|
|
depends on NUMA
|
2005-04-17 02:20:36 +04:00
|
|
|
help
|
|
|
|
Enable NUMA emulation. A flat machine will be split
|
|
|
|
into virtual nodes when booted with "numa=fake=N", where N is the
|
|
|
|
number of nodes. This is only useful for debugging.
|
|
|
|
|
2005-06-23 11:07:43 +04:00
|
|
|
config ARCH_DISCONTIGMEM_ENABLE
|
2005-04-17 02:20:36 +04:00
|
|
|
bool
|
|
|
|
depends on NUMA
|
|
|
|
default y
|
|
|
|
|
2005-06-23 11:08:05 +04:00
|
|
|
config ARCH_DISCONTIGMEM_DEFAULT
|
|
|
|
def_bool y
|
|
|
|
depends on NUMA
|
|
|
|
|
|
|
|
config ARCH_SPARSEMEM_ENABLE
|
|
|
|
def_bool y
|
2006-01-17 09:03:41 +03:00
|
|
|
depends on (NUMA || EXPERIMENTAL)
|
2007-10-16 12:24:15 +04:00
|
|
|
select SPARSEMEM_VMEMMAP_ENABLE
|
2006-01-17 09:03:41 +03:00
|
|
|
|
|
|
|
config ARCH_MEMORY_PROBE
|
|
|
|
def_bool y
|
|
|
|
depends on MEMORY_HOTPLUG
|
2005-06-23 11:08:05 +04:00
|
|
|
|
|
|
|
config ARCH_FLATMEM_ENABLE
|
|
|
|
def_bool y
|
|
|
|
depends on !NUMA
|
|
|
|
|
2005-06-23 11:07:43 +04:00
|
|
|
source "mm/Kconfig"
|
|
|
|
|
2006-10-01 10:27:05 +04:00
|
|
|
config MEMORY_HOTPLUG_RESERVE
|
|
|
|
def_bool y
|
|
|
|
depends on (MEMORY_HOTPLUG && DISCONTIGMEM)
|
|
|
|
|
2005-06-23 11:08:05 +04:00
|
|
|
config HAVE_ARCH_EARLY_PFN_TO_NID
|
|
|
|
def_bool y
|
2006-01-17 09:03:41 +03:00
|
|
|
depends on NUMA
|
2005-06-23 11:08:05 +04:00
|
|
|
|
2006-03-27 13:15:34 +04:00
|
|
|
config OUT_OF_LINE_PFN_TO_PAGE
|
|
|
|
def_bool y
|
|
|
|
depends on DISCONTIGMEM
|
|
|
|
|
2005-04-17 02:20:36 +04:00
|
|
|
config NR_CPUS
|
2007-05-02 21:27:05 +04:00
|
|
|
int "Maximum number of CPUs (2-255)"
|
2006-03-25 18:30:58 +03:00
|
|
|
range 2 255
|
2005-04-17 02:20:36 +04:00
|
|
|
depends on SMP
|
|
|
|
default "8"
|
|
|
|
help
|
|
|
|
This allows you to specify the maximum number of CPUs which this
|
2007-05-02 21:27:05 +04:00
|
|
|
kernel will support. Current maximum is 255 CPUs due to
|
2005-04-17 02:20:36 +04:00
|
|
|
APIC addressing limits. Less depending on the hardware.
|
|
|
|
|
|
|
|
This is purely to save memory - each supported CPU requires
|
|
|
|
memory in the static kernel configuration.
|
|
|
|
|
2007-07-11 23:18:36 +04:00
|
|
|
config PHYSICAL_ALIGN
|
|
|
|
hex
|
|
|
|
default "0x200000"
|
|
|
|
|
2005-06-26 01:55:00 +04:00
|
|
|
config HOTPLUG_CPU
|
2007-05-24 00:58:08 +04:00
|
|
|
bool "Support for suspend on SMP and hot-pluggable CPUs (EXPERIMENTAL)"
|
2005-06-26 01:55:00 +04:00
|
|
|
depends on SMP && HOTPLUG && EXPERIMENTAL
|
|
|
|
help
|
|
|
|
Say Y here to experiment with turning CPUs off and on. CPUs
|
|
|
|
can be controlled through /sys/devices/system/cpu/cpu#.
|
2007-05-24 00:58:08 +04:00
|
|
|
This is also required for suspend/hibernation on SMP systems.
|
|
|
|
|
|
|
|
Say N if you want to disable CPU hotplug and don't need to
|
|
|
|
suspend.
|
2005-06-26 01:55:00 +04:00
|
|
|
|
2006-06-29 13:24:27 +04:00
|
|
|
config ARCH_ENABLE_MEMORY_HOTPLUG
|
|
|
|
def_bool y
|
2005-06-26 01:55:00 +04:00
|
|
|
|
2005-04-17 02:20:36 +04:00
|
|
|
config HPET_TIMER
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Use the IA-PC HPET (High Precision Event Timer) to manage
|
|
|
|
time in preference to the PIT and RTC, if a HPET is
|
|
|
|
present. The HPET provides a stable time base on SMP
|
|
|
|
systems, unlike the TSC, but it is more expensive to access,
|
|
|
|
as it is off-chip. You can find the HPET spec at
|
2005-09-21 20:55:44 +04:00
|
|
|
<http://www.intel.com/hardwaredesign/hpetspec.htm>.
|
2005-04-17 02:20:36 +04:00
|
|
|
|
|
|
|
config HPET_EMULATE_RTC
|
2007-10-17 20:04:39 +04:00
|
|
|
bool
|
2005-04-17 02:20:36 +04:00
|
|
|
depends on HPET_TIMER && RTC=y
|
2007-10-17 20:04:39 +04:00
|
|
|
default y
|
2005-04-17 02:20:36 +04:00
|
|
|
|
2006-06-26 15:57:22 +04:00
|
|
|
# Mark as embedded because too many people got it wrong.
|
|
|
|
# The code disables itself when not needed.
|
2007-10-24 14:49:48 +04:00
|
|
|
config GART_IOMMU
|
2007-10-24 14:49:47 +04:00
|
|
|
bool "GART IOMMU support" if EMBEDDED
|
2005-07-29 08:15:32 +04:00
|
|
|
default y
|
2006-01-12 00:44:42 +03:00
|
|
|
select SWIOTLB
|
2006-06-23 01:47:35 +04:00
|
|
|
select AGP
|
2005-04-17 02:20:36 +04:00
|
|
|
depends on PCI
|
|
|
|
help
|
2006-06-26 15:57:22 +04:00
|
|
|
Support for full DMA access of devices with 32bit memory access only
|
|
|
|
on systems with more than 3GB. This is usually needed for USB,
|
|
|
|
sound, many IDE/SATA chipsets and some other devices.
|
|
|
|
Provides a driver for the AMD Athlon64/Opteron/Turion/Sempron GART
|
2007-02-13 15:26:21 +03:00
|
|
|
based hardware IOMMU and a software bounce buffer based IOMMU used
|
|
|
|
on Intel systems and as fallback.
|
2006-06-26 15:57:22 +04:00
|
|
|
The code is only active when needed (enough memory and limited
|
|
|
|
device) unless CONFIG_IOMMU_DEBUG or iommu=force is specified
|
|
|
|
too.
|
|
|
|
|
2006-06-26 15:58:14 +04:00
|
|
|
config CALGARY_IOMMU
|
|
|
|
bool "IBM Calgary IOMMU support"
|
|
|
|
select SWIOTLB
|
|
|
|
depends on PCI && EXPERIMENTAL
|
|
|
|
help
|
|
|
|
Support for hardware IOMMUs in IBM's xSeries x366 and x460
|
|
|
|
systems. Needed to run systems with more than 3GB of memory
|
|
|
|
properly with 32-bit PCI devices that do not support DAC
|
|
|
|
(Double Address Cycle). Calgary also supports bus level
|
|
|
|
isolation, where all DMAs pass through the IOMMU. This
|
|
|
|
prevents them from going anywhere except their intended
|
|
|
|
destination. This catches hard-to-find kernel bugs and
|
|
|
|
mis-behaving drivers and devices that do not use the DMA-API
|
|
|
|
properly to set up their DMA buffers. The IOMMU can be
|
|
|
|
turned off at boot time with the iommu=off parameter.
|
|
|
|
Normally the kernel will make the right choice by itself.
|
|
|
|
If unsure, say Y.
|
|
|
|
|
2006-12-07 04:14:07 +03:00
|
|
|
config CALGARY_IOMMU_ENABLED_BY_DEFAULT
|
|
|
|
bool "Should Calgary be enabled by default?"
|
2007-01-01 21:55:45 +03:00
|
|
|
default y
|
2006-12-07 04:14:07 +03:00
|
|
|
depends on CALGARY_IOMMU
|
|
|
|
help
|
2007-01-01 21:55:45 +03:00
|
|
|
Should Calgary be enabled by default? if you choose 'y', Calgary
|
2006-12-07 04:14:07 +03:00
|
|
|
will be used (if it exists). If you choose 'n', Calgary will not be
|
|
|
|
used even if it exists. If you choose 'n' and would like to use
|
|
|
|
Calgary anyway, pass 'iommu=calgary' on the kernel command line.
|
2007-01-01 21:55:45 +03:00
|
|
|
If unsure, say Y.
|
2006-12-07 04:14:07 +03:00
|
|
|
|
2006-06-26 15:57:22 +04:00
|
|
|
# need this always selected by IOMMU for the VIA workaround
|
2005-04-17 02:20:36 +04:00
|
|
|
config SWIOTLB
|
|
|
|
bool
|
2007-02-13 15:26:21 +03:00
|
|
|
help
|
|
|
|
Support for software bounce buffers used on x86-64 systems
|
|
|
|
which don't have a hardware IOMMU (e.g. the current generation
|
|
|
|
of Intel's x86-64 CPUs). Using this PCI devices which can only
|
|
|
|
access 32-bits of memory can be used on systems with more than
|
|
|
|
3 GB of memory. If unsure, say Y.
|
2005-04-17 02:20:36 +04:00
|
|
|
|
|
|
|
config X86_MCE
|
|
|
|
bool "Machine check support" if EMBEDDED
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Include a machine check error handler to report hardware errors.
|
|
|
|
This version will require the mcelog utility to decode some
|
|
|
|
machine check error logs. See
|
|
|
|
ftp://ftp.x86-64.org/pub/linux/tools/mcelog
|
|
|
|
|
|
|
|
config X86_MCE_INTEL
|
|
|
|
bool "Intel MCE features"
|
|
|
|
depends on X86_MCE && X86_LOCAL_APIC
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Additional support for intel specific MCE features such as
|
|
|
|
the thermal monitor.
|
|
|
|
|
2005-11-05 19:25:53 +03:00
|
|
|
config X86_MCE_AMD
|
|
|
|
bool "AMD MCE features"
|
|
|
|
depends on X86_MCE && X86_LOCAL_APIC
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Additional support for AMD specific MCE features such as
|
|
|
|
the DRAM Error Threshold.
|
|
|
|
|
2005-06-26 01:58:02 +04:00
|
|
|
config KEXEC
|
2006-09-26 12:52:40 +04:00
|
|
|
bool "kexec system call"
|
2005-06-26 01:58:02 +04:00
|
|
|
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
|
2006-06-29 09:32:47 +04:00
|
|
|
but it is independent of the system firmware. And like a reboot
|
2005-06-26 01:58:02 +04:00
|
|
|
you can start any kernel with it, not just Linux.
|
|
|
|
|
2006-06-29 09:32:47 +04:00
|
|
|
The name comes from the similarity to the exec system call.
|
2005-06-26 01:58:02 +04:00
|
|
|
|
|
|
|
It is an ongoing process to be certain the hardware in a machine
|
|
|
|
is properly shutdown, so do not be surprised if this code does not
|
|
|
|
initially work for you. It may help to enable device hotplugging
|
|
|
|
support. As of this writing the exact hardware interface is
|
|
|
|
strongly in flux, so no good recommendation can be made.
|
|
|
|
|
2006-01-10 07:51:49 +03:00
|
|
|
config CRASH_DUMP
|
|
|
|
bool "kernel crash dumps (EXPERIMENTAL)"
|
|
|
|
depends on EXPERIMENTAL
|
|
|
|
help
|
2007-10-17 10:31:22 +04:00
|
|
|
Generate crash dump after being started by kexec.
|
|
|
|
This should be normally only set in special crash dump kernels
|
|
|
|
which are loaded in the main kernel with kexec-tools into
|
|
|
|
a specially reserved region and then later executed after
|
|
|
|
a crash by kdump/kexec. The crash dump kernel must be compiled
|
2006-09-26 12:52:35 +04:00
|
|
|
to a memory address not used by the main kernel or BIOS using
|
2007-10-17 10:31:22 +04:00
|
|
|
PHYSICAL_START, or it must be built as a relocatable image
|
|
|
|
(CONFIG_RELOCATABLE=y).
|
|
|
|
For more details see Documentation/kdump/kdump.txt
|
2006-01-10 07:51:49 +03:00
|
|
|
|
2007-05-02 21:27:07 +04:00
|
|
|
config RELOCATABLE
|
2007-10-17 10:31:22 +04:00
|
|
|
bool "Build a relocatable kernel (EXPERIMENTAL)"
|
2007-05-02 21:27:07 +04:00
|
|
|
depends on EXPERIMENTAL
|
|
|
|
help
|
|
|
|
Builds a relocatable kernel. This enables loading and running
|
|
|
|
a kernel binary from a different physical address than it has
|
|
|
|
been compiled for.
|
|
|
|
|
|
|
|
One use is for the kexec on panic case where the recovery kernel
|
|
|
|
must live at a different physical address than the primary
|
|
|
|
kernel.
|
|
|
|
|
2007-10-17 10:31:22 +04:00
|
|
|
Note: If CONFIG_RELOCATABLE=y, then the kernel runs from the address
|
|
|
|
it has been loaded at and the compile time physical address
|
2007-05-02 21:27:07 +04:00
|
|
|
(CONFIG_PHYSICAL_START) is ignored.
|
|
|
|
|
2006-01-10 07:51:52 +03:00
|
|
|
config PHYSICAL_START
|
|
|
|
hex "Physical address where the kernel is loaded" if (EMBEDDED || CRASH_DUMP)
|
2006-03-25 18:30:13 +03:00
|
|
|
default "0x200000"
|
2006-01-10 07:51:52 +03:00
|
|
|
help
|
2007-05-02 21:27:07 +04:00
|
|
|
This gives the physical address where the kernel is loaded. It
|
|
|
|
should be aligned to 2MB boundary.
|
|
|
|
|
|
|
|
If kernel is a not relocatable (CONFIG_RELOCATABLE=n) then
|
|
|
|
bzImage will decompress itself to above physical address and
|
|
|
|
run from there. Otherwise, bzImage will run from the address where
|
|
|
|
it has been loaded by the boot loader and will ignore above physical
|
|
|
|
address.
|
|
|
|
|
|
|
|
In normal kdump cases one does not have to set/change this option
|
|
|
|
as now bzImage can be compiled as a completely relocatable image
|
|
|
|
(CONFIG_RELOCATABLE=y) and be used to load and run from a different
|
|
|
|
address. This option is mainly useful for the folks who don't want
|
|
|
|
to use a bzImage for capturing the crash dump and want to use a
|
|
|
|
vmlinux instead.
|
|
|
|
|
|
|
|
So if you are using bzImage for capturing the crash dump, leave
|
|
|
|
the value here unchanged to 0x200000 and set CONFIG_RELOCATABLE=y.
|
|
|
|
Otherwise if you plan to use vmlinux for capturing the crash dump
|
|
|
|
change this value to start of the reserved region (Typically 16MB
|
|
|
|
0x1000000). In other words, it can be set based on the "X" value as
|
2006-01-10 07:51:52 +03:00
|
|
|
specified in the "crashkernel=YM@XM" command line boot parameter
|
|
|
|
passed to the panic-ed kernel. Typically this parameter is set as
|
|
|
|
crashkernel=64M@16M. Please take a look at
|
|
|
|
Documentation/kdump/kdump.txt for more details about crash dumps.
|
|
|
|
|
2007-05-02 21:27:07 +04:00
|
|
|
Usage of bzImage for capturing the crash dump is advantageous as
|
|
|
|
one does not have to build two kernels. Same kernel can be used
|
|
|
|
as production kernel and capture kernel.
|
|
|
|
|
2006-01-10 07:51:52 +03:00
|
|
|
Don't change this unless you know what you are doing.
|
|
|
|
|
2005-04-17 02:20:36 +04:00
|
|
|
config SECCOMP
|
|
|
|
bool "Enable seccomp to safely compute untrusted bytecode"
|
|
|
|
depends on PROC_FS
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
This kernel feature is useful for number crunching applications
|
|
|
|
that may need to compute untrusted bytecode during their
|
|
|
|
execution. By using pipes or other transports made available to
|
|
|
|
the process as file descriptors supporting the read/write
|
|
|
|
syscalls, it's possible to isolate those applications in
|
|
|
|
their own address space using seccomp. Once seccomp is
|
|
|
|
enabled via /proc/<pid>/seccomp, it cannot be disabled
|
|
|
|
and the task is only allowed to execute a few safe syscalls
|
|
|
|
defined by each seccomp mode.
|
|
|
|
|
|
|
|
If unsure, say Y. Only embedded should say N here.
|
|
|
|
|
2006-09-26 12:52:38 +04:00
|
|
|
config CC_STACKPROTECTOR
|
2006-12-11 22:14:15 +03:00
|
|
|
bool "Enable -fstack-protector buffer overflow detection (EXPERIMENTAL)"
|
2006-09-26 12:52:38 +04:00
|
|
|
depends on EXPERIMENTAL
|
|
|
|
help
|
|
|
|
This option turns on the -fstack-protector GCC feature. This
|
|
|
|
feature puts, at the beginning of critical functions, a canary
|
|
|
|
value on the stack just before the return address, and validates
|
|
|
|
the value just before actually returning. Stack based buffer
|
|
|
|
overflows (that need to overwrite this return address) now also
|
|
|
|
overwrite the canary, which gets detected and the attack is then
|
|
|
|
neutralized via a kernel panic.
|
|
|
|
|
|
|
|
This feature requires gcc version 4.2 or above, or a distribution
|
|
|
|
gcc with the feature backported. Older versions are automatically
|
|
|
|
detected and for those versions, this configuration option is ignored.
|
|
|
|
|
|
|
|
config CC_STACKPROTECTOR_ALL
|
|
|
|
bool "Use stack-protector for all functions"
|
|
|
|
depends on CC_STACKPROTECTOR
|
|
|
|
help
|
|
|
|
Normally, GCC only inserts the canary value protection for
|
|
|
|
functions that use large-ish on-stack buffers. By enabling
|
|
|
|
this option, GCC will be asked to do this for ALL functions.
|
|
|
|
|
2005-06-23 11:08:25 +04:00
|
|
|
source kernel/Kconfig.hz
|
|
|
|
|
2006-06-26 15:56:40 +04:00
|
|
|
config K8_NB
|
|
|
|
def_bool y
|
2007-10-24 14:49:48 +04:00
|
|
|
depends on AGP_AMD64 || GART_IOMMU || (PCI && NUMA)
|
2006-06-26 15:56:40 +04:00
|
|
|
|
2005-04-17 02:20:36 +04:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
#
|
|
|
|
# Use the generic interrupt handling code in kernel/irq/:
|
|
|
|
#
|
|
|
|
config GENERIC_HARDIRQS
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
|
|
|
config GENERIC_IRQ_PROBE
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2005-05-04 08:39:22 +04:00
|
|
|
# we have no ISA slots, but we do have ISA-style DMA.
|
|
|
|
config ISA_DMA_API
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
[PATCH] x86/x86_64: deferred handling of writes to /proc/irqxx/smp_affinity
When handling writes to /proc/irq, current code is re-programming rte
entries directly. This is not recommended and could potentially cause
chipset's to lockup, or cause missing interrupts.
CONFIG_IRQ_BALANCE does this correctly, where it re-programs only when the
interrupt is pending. The same needs to be done for /proc/irq handling as well.
Otherwise user space irq balancers are really not doing the right thing.
- Changed pending_irq_balance_cpumask to pending_irq_migrate_cpumask for
lack of a generic name.
- added move_irq out of IRQ_BALANCE, and added this same to X86_64
- Added new proc handler for write, so we can do deferred write at irq
handling time.
- Display of /proc/irq/XX/smp_affinity used to display CPU_MASKALL, instead
it now shows only active cpu masks, or exactly what was set.
- Provided a common move_irq implementation, instead of duplicating
when using generic irq framework.
Tested on i386/x86_64 and ia64 with CONFIG_PCI_MSI turned on and off.
Tested UP builds as well.
MSI testing: tbd: I have cards, need to look for a x-over cable, although I
did test an earlier version of this patch. Will test in a couple days.
Signed-off-by: Ashok Raj <ashok.raj@intel.com>
Acked-by: Zwane Mwaikambo <zwane@holomorphy.com>
Grudgingly-acked-by: Andi Kleen <ak@muc.de>
Signed-off-by: Coywolf Qi Hunt <coywolf@lovecn.org>
Signed-off-by: Ashok Raj <ashok.raj@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-07 02:16:15 +04:00
|
|
|
config GENERIC_PENDING_IRQ
|
|
|
|
bool
|
|
|
|
depends on GENERIC_HARDIRQS && SMP
|
|
|
|
default y
|
|
|
|
|
2005-04-17 02:20:36 +04:00
|
|
|
menu "Power management options"
|
|
|
|
|
|
|
|
source kernel/power/Kconfig
|
|
|
|
|
2007-10-18 14:04:53 +04:00
|
|
|
config ARCH_HIBERNATION_HEADER
|
|
|
|
bool
|
|
|
|
depends on HIBERNATION
|
|
|
|
default y
|
|
|
|
|
2005-04-17 02:20:36 +04:00
|
|
|
source "drivers/acpi/Kconfig"
|
|
|
|
|
2007-10-19 22:35:02 +04:00
|
|
|
source "arch/x86/kernel/cpu/cpufreq/Kconfig_64"
|
2005-04-17 02:20:36 +04:00
|
|
|
|
cpuidle: consolidate 2.6.22 cpuidle branch into one patch
commit e5a16b1f9eec0af7cfa0830304b41c1c0833cf9f
Author: Len Brown <len.brown@intel.com>
Date: Tue Oct 2 23:44:44 2007 -0400
cpuidle: shrink diff
processor_idle.c | 440 +++++++++++++++++++++++++++++++++++++++++--
1 file changed, 429 insertions(+), 11 deletions(-)
Signed-off-by: Len Brown <len.brown@intel.com>
commit dfbb9d5aedfb18848a3e0d6f6e3e4969febb209c
Author: Len Brown <len.brown@intel.com>
Date: Wed Sep 26 02:17:55 2007 -0400
cpuidle: reduce diff size
Reduces the cpuidle processor_idle.c diff vs 2.6.22 from this
processor_idle.c | 2006 ++++++++++++++++++++++++++-----------------
1 file changed, 1219 insertions(+), 787 deletions(-)
to this:
processor_idle.c | 502 +++++++++++++++++++++++++++++++++++++++----
1 file changed, 458 insertions(+), 44 deletions(-)
...for the purpose of making the cpuilde patch less invasive
and easier to review.
no functional changes. build tested only.
Signed-off-by: Len Brown <len.brown@intel.com>
commit 889172fc915f5a7fe20f35b133cbd205ce69bf6c
Author: Venki Pallipadi <venkatesh.pallipadi@intel.com>
Date: Thu Sep 13 13:40:05 2007 -0700
cpuidle: Retain old ACPI policy for !CONFIG_CPU_IDLE
Retain the old policy in processor_idle, so that when CPU_IDLE is not
configured, old C-state policy will still be used. This provides a
clean gradual migration path from old ACPI policy to new cpuidle
based policy.
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
commit 9544a8181edc7ecc33b3bfd69271571f98ed08bc
Author: Venki Pallipadi <venkatesh.pallipadi@intel.com>
Date: Thu Sep 13 13:39:17 2007 -0700
cpuidle: Configure governors by default
Quoting Len "Do not give an option to users to shoot themselves in the foot".
Remove the configurability of ladder and menu governors as they are
needed for default policy of cpuidle. That way users will not be able to
have cpuidle without any policy loosing all C-state power savings.
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
commit 8975059a2c1e56cfe83d1bcf031bcf4cb39be743
Author: Adam Belay <abelay@novell.com>
Date: Tue Aug 21 18:27:07 2007 -0400
CPUIDLE: load ACPI properly when CPUIDLE is disabled
Change the registration return codes for when CPUIDLE
support is not compiled into the kernel. As a result, the ACPI
processor driver will load properly even if CPUIDLE is unavailable.
However, it may be possible to cleanup the ACPI processor driver further
and eliminate some dead code paths.
Signed-off-by: Adam Belay <abelay@novell.com>
Acked-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
commit e0322e2b58dd1b12ec669bf84693efe0dc2414a8
Author: Adam Belay <abelay@novell.com>
Date: Tue Aug 21 18:26:06 2007 -0400
CPUIDLE: remove cpuidle_get_bm_activity()
Remove cpuidle_get_bm_activity() and updates governors
accordingly.
Signed-off-by: Adam Belay <abelay@novell.com>
Acked-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
commit 18a6e770d5c82ba26653e53d240caa617e09e9ab
Author: Adam Belay <abelay@novell.com>
Date: Tue Aug 21 18:25:58 2007 -0400
CPUIDLE: max_cstate fix
Currently max_cstate is limited to 0, resulting in no idle processor
power management on ACPI platforms. This patch restores the value to
the array size.
Signed-off-by: Adam Belay <abelay@novell.com>
Acked-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
commit 1fdc0887286179b40ce24bcdbde663172e205ef0
Author: Adam Belay <abelay@novell.com>
Date: Tue Aug 21 18:25:40 2007 -0400
CPUIDLE: handle BM detection inside the ACPI Processor driver
Update the ACPI processor driver to detect BM activity and
limit state entry depth internally, rather than exposing such
requirements to CPUIDLE. As a result, CPUIDLE can drop this
ACPI-specific interface and become more platform independent. BM
activity is now handled much more aggressively than it was in the
original implementation, so some testing coverage may be needed to
verify that this doesn't introduce any DMA buffer under-run issues.
Signed-off-by: Adam Belay <abelay@novell.com>
Acked-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
commit 0ef38840db666f48e3cdd2b769da676c57228dd9
Author: Adam Belay <abelay@novell.com>
Date: Tue Aug 21 18:25:14 2007 -0400
CPUIDLE: menu governor updates
Tweak the menu governor to more effectively handle non-timer
break events. Non-timer break events are detected by comparing the
actual sleep time to the expected sleep time. In future revisions, it
may be more reliable to use the timer data structures directly.
Signed-off-by: Adam Belay <abelay@novell.com>
Acked-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
commit bb4d74fca63fa96cf3ace644b15ae0f12b7df5a1
Author: Adam Belay <abelay@novell.com>
Date: Tue Aug 21 18:24:40 2007 -0400
CPUIDLE: fix 'current_governor' sysfs entry
Allow the "current_governor" sysfs entry to properly handle
input terminated with '\n'.
Signed-off-by: Adam Belay <abelay@novell.com>
Acked-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
commit df3c71559bb69b125f1a48971bf0d17f78bbdf47
Author: Len Brown <len.brown@intel.com>
Date: Sun Aug 12 02:00:45 2007 -0400
cpuidle: fix IA64 build (again)
Signed-off-by: Len Brown <len.brown@intel.com>
commit a02064579e3f9530fd31baae16b1fc46b5a7bca8
Author: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Date: Sun Aug 12 01:39:27 2007 -0400
cpuidle: Remove support for runtime changing of max_cstate
Remove support for runtime changeability of max_cstate. Drivers can use
use latency APIs.
max_cstate can still be used as a boot time option and dmi override.
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
commit 0912a44b13adf22f5e3f607d263aed23b4910d7e
Author: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Date: Sun Aug 12 01:39:16 2007 -0400
cpuidle: Remove ACPI cstate_limit calls from ipw2100
ipw2100 already has code to use accetable_latency interfaces to limit the
C-state. Remove the calls to acpi_set_cstate_limit and acpi_get_cstate_limit
as they are redundant.
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
commit c649a76e76be6bff1fd770d0a775798813a3f6e0
Author: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Date: Sun Aug 12 01:35:39 2007 -0400
cpuidle: compile fix for pause and resume functions
Fix the compilation failure when cpuidle is not compiled in.
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Acked-by: Adam Belay <adam.belay@novell.com>
Signed-off-by: Len Brown <len.brown@intel.com>
commit 2305a5920fb8ee6ccec1c62ade05aa8351091d71
Author: Adam Belay <abelay@novell.com>
Date: Thu Jul 19 00:49:00 2007 -0400
cpuidle: re-write
Some portions have been rewritten to make the code cleaner and lighter
weight. The following is a list of changes:
1.) the state name is now included in the sysfs interface
2.) detection, hotplug, and available state modifications are handled by
CPUIDLE drivers directly
3.) the CPUIDLE idle handler is only ever installed when at least one
cpuidle_device is enabled and ready
4.) the menu governor BM code no longer overflows
5.) the sysfs attributes are now printed as unsigned integers, avoiding
negative values
6.) a variety of other small cleanups
Also, Idle drivers are no longer swappable during runtime through the
CPUIDLE sysfs inteface. On i386 and x86_64 most idle handlers (e.g.
poll, mwait, halt, etc.) don't benefit from an infrastructure that
supports multiple states, so I think using a more general case idle
handler selection mechanism would be cleaner.
Signed-off-by: Adam Belay <abelay@novell.com>
Acked-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Acked-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
commit df25b6b56955714e6e24b574d88d1fd11f0c3ee5
Author: Len Brown <len.brown@intel.com>
Date: Tue Jul 24 17:08:21 2007 -0400
cpuidle: fix IA64 buid
Signed-off-by: Len Brown <len.brown@intel.com>
commit fd6ada4c14488755ff7068860078c437431fbccd
Author: Adrian Bunk <bunk@stusta.de>
Date: Mon Jul 9 11:33:13 2007 -0700
cpuidle: static
make cpuidle_replace_governor() static
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
commit c1d4a2cebcadf2429c0c72e1d29aa2a9684c32e0
Author: Adrian Bunk <bunk@stusta.de>
Date: Tue Jul 3 00:54:40 2007 -0400
cpuidle: static
This patch makes the needlessly global struct menu_governor static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
commit dbf8780c6e8d572c2c273da97ed1cca7608fd999
Author: Andrew Morton <akpm@linux-foundation.org>
Date: Tue Jul 3 00:49:14 2007 -0400
export symbol tick_nohz_get_sleep_length
ERROR: "tick_nohz_get_sleep_length" [drivers/cpuidle/governors/menu.ko] undefined!
ERROR: "tick_nohz_get_idle_jiffies" [drivers/cpuidle/governors/menu.ko] undefined!
And please be sure to get your changes to core kernel suitably reviewed.
Cc: Adam Belay <abelay@novell.com>
Cc: Venki Pallipadi <venkatesh.pallipadi@intel.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: john stultz <johnstul@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
commit 29f0e248e7017be15f99febf9143a2cef00b2961
Author: Andrew Morton <akpm@linux-foundation.org>
Date: Tue Jul 3 00:43:04 2007 -0400
tick.h needs hrtimer.h
It uses hrtimers.
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
commit e40cede7d63a029e92712a3fe02faee60cc38fb4
Author: Venki Pallipadi <venkatesh.pallipadi@intel.com>
Date: Tue Jul 3 00:40:34 2007 -0400
cpuidle: first round of documentation updates
Documentation changes based on Pavel's feedback.
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
commit 83b42be2efece386976507555c29e7773a0dfcd1
Author: Venki Pallipadi <venkatesh.pallipadi@intel.com>
Date: Tue Jul 3 00:39:25 2007 -0400
cpuidle: add rating to the governors and pick the one with highest rating by default
Introduce a governor rating scheme to pick the right governor by default.
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
commit d2a74b8c5e8f22def4709330d4bfc4a29209b71c
Author: Venki Pallipadi <venkatesh.pallipadi@intel.com>
Date: Tue Jul 3 00:38:08 2007 -0400
cpuidle: make cpuidle sysfs driver governor switch off by default
Make default cpuidle sysfs to show current_governor and current_driver in
read-only mode. More elaborate available_governors and available_drivers with
writeable current_governor and current_driver interface only appear with
"cpuidle_sysfs_switch" boot parameter.
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
commit 1f60a0e80bf83cf6b55c8845bbe5596ed8f6307b
Author: Venki Pallipadi <venkatesh.pallipadi@intel.com>
Date: Tue Jul 3 00:37:00 2007 -0400
cpuidle: menu governor: change the early break condition
Change the C-state early break out algorithm in menu governor.
We only look at early breakouts that result in wakeups shorter than idle
state's target_residency. If such a breakout is frequent enough, eliminate
the particular idle state upto a timeout period.
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
commit 45a42095cf64b003b4a69be3ce7f434f97d7af51
Author: Venki Pallipadi <venkatesh.pallipadi@intel.com>
Date: Tue Jul 3 00:35:38 2007 -0400
cpuidle: fix uninitialized variable in sysfs routine
Fix the uninitialized usage of ret.
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
commit 80dca7cdba3e6ee13eae277660873ab9584eb3be
Author: Venki Pallipadi <venkatesh.pallipadi@intel.com>
Date: Tue Jul 3 00:34:16 2007 -0400
cpuidle: reenable /proc/acpi//power interface for the time being
Keep /proc/acpi/processor/CPU*/power around for a while as powertop depends
on it. It will be marked deprecated and removed in future. powertop can use
cpuidle interfaces instead.
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
commit 589c37c2646c5e3813a51255a5ee1159cb4c33fc
Author: Venki Pallipadi <venkatesh.pallipadi@intel.com>
Date: Tue Jul 3 00:32:37 2007 -0400
cpuidle: menu governor and hrtimer compile fix
Compile fix for menu governor.
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
commit 0ba80bd9ab3ed304cb4f19b722e4cc6740588b5e
Author: Len Brown <len.brown@intel.com>
Date: Thu May 31 22:51:43 2007 -0400
cpuidle: build fix - cpuidle vs ipw2100 module
ERROR: "acpi_set_cstate_limit" [drivers/net/wireless/ipw2100.ko] undefined!
Signed-off-by: Len Brown <len.brown@intel.com>
commit d7d8fa7f96a7f7682be7c6cc0cc53fa7a18c3b58
Author: Adam Belay <abelay@novell.com>
Date: Sat Mar 24 03:47:07 2007 -0400
cpuidle: add the 'menu' governor
Here is my first take at implementing an idle PM governor that takes
full advantage of NO_HZ. I call it the 'menu' governor because it
considers the full list of idle states before each entry.
I've kept the implementation fairly simple. It attempts to guess the
next residency time and then chooses a state that would meet at least
the break-even point between power savings and entry cost. To this end,
it selects the deepest idle state that satisfies the following
constraints:
1. If the idle time elapsed since bus master activity was detected
is below a threshold (currently 20 ms), then limit the selection
to C2-type or above.
2. Do not choose a state with a break-even residency that exceeds
the expected time remaining until the next timer interrupt.
3. Do not choose a state with a break-even residency that exceeds
the elapsed time between the last pair of break events,
excluding timer interrupts.
This governor has an advantage over "ladder" governor because it
proactively checks how much time remains until the next timer interrupt
using the tick infrastructure. Also, it handles device interrupt
activity more intelligently by not including timer interrupts in break
event calculations. Finally, it doesn't make policy decisions using the
number of state entries, which can have variable residency times (NO_HZ
makes these potentially very large), and instead only considers sleep
time deltas.
The menu governor can be selected during runtime using the cpuidle sysfs
interface like so:
"echo "menu" > /sys/devices/system/cpu/cpuidle/current_governor"
Signed-off-by: Adam Belay <abelay@novell.com>
Signed-off-by: Len Brown <len.brown@intel.com>
commit a4bec7e65aa3b7488b879d971651cc99a6c410fe
Author: Adam Belay <abelay@novell.com>
Date: Sat Mar 24 03:47:03 2007 -0400
cpuidle: export time until next timer interrupt using NO_HZ
Expose information about the time remaining until the next
timer interrupt expires by utilizing the dynticks infrastructure.
Also modify the main idle loop to allow dynticks to handle
non-interrupt break events (e.g. DMA). Finally, expose sleep ticks
information to external code. Thomas Gleixner is responsible for much
of the code in this patch. However, I've made some additional changes,
so I'm probably responsible if there are any bugs or oversights :)
Signed-off-by: Adam Belay <abelay@novell.com>
Signed-off-by: Len Brown <len.brown@intel.com>
commit 2929d8996fbc77f41a5ff86bb67cdde3ca7d2d72
Author: Adam Belay <abelay@novell.com>
Date: Sat Mar 24 03:46:58 2007 -0400
cpuidle: governor API changes
This patch prepares cpuidle for the menu governor. It adds an optional
stage after idle state entry to give the governor an opportunity to
check why the state was exited. Also it makes sure the idle loop
returns after each state entry, allowing the appropriate dynticks code
to run.
Signed-off-by: Adam Belay <abelay@novell.com>
Signed-off-by: Len Brown <len.brown@intel.com>
commit 3a7fd42f9825c3b03e364ca59baa751bb350775f
Author: Venki Pallipadi <venkatesh.pallipadi@intel.com>
Date: Thu Apr 26 00:03:59 2007 -0700
cpuidle: hang fix
Prevent hang on x86-64, when ACPI processor driver is added as a module on
a system that does not support C-states.
x86-64 expects all idle handlers to enable interrupts before returning from
idle handler. This is due to enter_idle(), exit_idle() races. Make
cpuidle_idle_call() confirm to this when there is no pm_idle_old.
Also, cpuidle look at the return values of attch_driver() and set
current_driver to NULL if attach fails on all CPUs.
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
commit 4893339a142afbd5b7c01ffadfd53d14746e858e
Author: Shaohua Li <shaohua.li@intel.com>
Date: Thu Apr 26 10:40:09 2007 +0800
cpuidle: add support for max_cstate limit
With CPUIDLE framework, the max_cstate (to limit max cpu c-state)
parameter is ingored. Some systems require it to ignore C2/C3
and some drivers like ipw require it too.
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
commit 43bbbbe1cb998cbd2df656f55bb3bfe30f30e7d1
Author: Shaohua Li <shaohua.li@intel.com>
Date: Thu Apr 26 10:40:13 2007 +0800
cpuidle: add cpuidle_fore_redetect_devices API
add cpuidle_force_redetect_devices API,
which forces all CPU redetect idle states.
Next patch will use it.
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
commit d1edadd608f24836def5ec483d2edccfb37b1d19
Author: Shaohua Li <shaohua.li@intel.com>
Date: Thu Apr 26 10:40:01 2007 +0800
cpuidle: fix sysfs related issue
Fix the cpuidle sysfs issue.
a. make kobject dynamicaly allocated
b. fixed sysfs init issue to avoid suspend/resume issue
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
commit 7169a5cc0d67b263978859672e86c13c23a5570d
Author: Randy Dunlap <randy.dunlap@oracle.com>
Date: Wed Mar 28 22:52:53 2007 -0400
cpuidle: 1-bit field must be unsigned
A 1-bit bitfield has no room for a sign bit.
drivers/cpuidle/governors/ladder.c:54:16: error: dubious bitfield without explicit `signed' or `unsigned'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
commit 4658620158dc2fbd9e4bcb213c5b6fb5d05ba7d4
Author: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Date: Wed Mar 28 22:52:41 2007 -0400
cpuidle: fix boot hang
Patch for cpuidle boot hang reported by Larry Finger here.
http://www.ussg.iu.edu/hypermail/linux/kernel/0703.2/2025.html
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Cc: Larry Finger <larry.finger@lwfinger.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
commit c17e168aa6e5fe3851baaae8df2fbc1cf11443a9
Author: Len Brown <len.brown@intel.com>
Date: Wed Mar 7 04:37:53 2007 -0500
cpuidle: ladder does not depend on ACPI
build fix for CONFIG_ACPI=n
In file included from drivers/cpuidle/governors/ladder.c:21:
include/acpi/processor.h:88: error: expected specifier-qualifier-list before âacpi_integerâ
include/acpi/processor.h:106: error: expected specifier-qualifier-list before âacpi_integerâ
include/acpi/processor.h:168: error: expected specifier-qualifier-list before âacpi_handleâ
Signed-off-by: Len Brown <len.brown@intel.com>
commit 8c91d958246bde68db0c3f0c57b535962ce861cb
Author: Adrian Bunk <bunk@stusta.de>
Date: Tue Mar 6 02:29:40 2007 -0800
cpuidle: make code static
This patch makes the following needlessly global code static:
- driver.c: __cpuidle_find_driver()
- governor.c: __cpuidle_find_governor()
- ladder.c: struct ladder_governor
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Cc: Adam Belay <abelay@novell.com>
Cc: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
commit 0c39dc3187094c72c33ab65a64d2017b21f372d2
Author: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Date: Wed Mar 7 02:38:22 2007 -0500
cpu_idle: fix build break
This patch fixes a build breakage with !CONFIG_HOTPLUG_CPU and
CONFIG_CPU_IDLE.
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
commit 8112e3b115659b07df340ef170515799c0105f82
Author: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Date: Tue Mar 6 02:29:39 2007 -0800
cpuidle: build fix for !CPU_IDLE
Fix the compile issues when CPU_IDLE is not configured.
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Cc: Adam Belay <abelay@novell.com>
Cc: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
commit 1eb4431e9599cd25e0d9872f3c2c8986821839dd
Author: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Date: Thu Feb 22 13:54:57 2007 -0800
cpuidle take2: Basic documentation for cpuidle
Documentation for cpuidle infrastructure
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Adam Belay <abelay@novell.com>
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
commit ef5f15a8b79123a047285ec2e3899108661df779
Author: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Date: Thu Feb 22 13:54:03 2007 -0800
cpuidle take2: Hookup ACPI C-states driver with cpuidle
Hookup ACPI C-states onto generic cpuidle infrastructure.
drivers/acpi/procesor_idle.c is now a ACPI C-states driver that registers as
a driver in cpuidle infrastructure and the policy part is removed from
drivers/acpi/processor_idle.c. We use governor in cpuidle instead.
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Adam Belay <abelay@novell.com>
Signed-off-by: Len Brown <len.brown@intel.com>
commit 987196fa82d4db52c407e8c9d5dec884ba602183
Author: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Date: Thu Feb 22 13:52:57 2007 -0800
cpuidle take2: Core cpuidle infrastructure
Announcing 'cpuidle', a new CPU power management infrastructure to manage
idle CPUs in a clean and efficient manner.
cpuidle separates out the drivers that can provide support for multiple types
of idle states and policy governors that decide on what idle state to use
at run time.
A cpuidle driver can support multiple idle states based on parameters like
varying power consumption, wakeup latency, etc (ACPI C-states for example).
A cpuidle governor can be usage model specific (laptop, server,
laptop on battery etc).
Main advantage of the infrastructure being, it allows independent development
of drivers and governors and allows for better CPU power management.
A huge thanks to Adam Belay and Shaohua Li who were part of this mini-project
since its beginning and are greatly responsible for this patchset.
This patch:
Core cpuidle infrastructure.
Introduces a new abstraction layer for cpuidle:
* which manages drivers that can support multiple idles states. Drivers
can be generic or particular to specific hardware/platform
* allows pluging in multiple policy governors that can take idle state policy
decision
* The core also has a set of sysfs interfaces with which administrato can know
about supported drivers and governors and switch them at run time.
Signed-off-by: Adam Belay <abelay@novell.com>
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2007-10-04 02:58:00 +04:00
|
|
|
source "drivers/cpuidle/Kconfig"
|
|
|
|
|
2005-04-17 02:20:36 +04:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Bus options (PCI etc.)"
|
|
|
|
|
|
|
|
config PCI
|
|
|
|
bool "PCI support"
|
2007-04-18 12:46:20 +04:00
|
|
|
select ARCH_SUPPORTS_MSI if (X86_LOCAL_APIC && X86_IO_APIC)
|
2005-04-17 02:20:36 +04:00
|
|
|
|
|
|
|
# x86-64 doesn't support PCI BIOS access from long mode so always go direct.
|
|
|
|
config PCI_DIRECT
|
|
|
|
bool
|
|
|
|
depends on PCI
|
|
|
|
default y
|
|
|
|
|
|
|
|
config PCI_MMCONFIG
|
|
|
|
bool "Support mmconfig PCI config space access"
|
2005-05-27 14:48:50 +04:00
|
|
|
depends on PCI && ACPI
|
2005-04-17 02:20:36 +04:00
|
|
|
|
2007-10-12 00:58:30 +04:00
|
|
|
config PCI_DOMAINS
|
|
|
|
bool
|
|
|
|
depends on PCI
|
|
|
|
default y
|
|
|
|
|
2007-10-22 03:41:41 +04:00
|
|
|
config DMAR
|
|
|
|
bool "Support for DMA Remapping Devices (EXPERIMENTAL)"
|
|
|
|
depends on PCI_MSI && ACPI && EXPERIMENTAL
|
|
|
|
help
|
2007-10-22 03:41:55 +04:00
|
|
|
DMA remapping (DMAR) devices support enables independent address
|
|
|
|
translations for Direct Memory Access (DMA) from devices.
|
2007-10-22 03:41:41 +04:00
|
|
|
These DMA remapping devices are reported via ACPI tables
|
2007-10-22 03:41:55 +04:00
|
|
|
and include PCI device scope covered by these DMA
|
|
|
|
remapping devices.
|
|
|
|
|
|
|
|
config DMAR_GFX_WA
|
|
|
|
bool "Support for Graphics workaround"
|
|
|
|
depends on DMAR
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Current Graphics drivers tend to use physical address
|
|
|
|
for DMA and avoid using DMA APIs. Setting this config
|
|
|
|
option permits the IOMMU driver to set a unity map for
|
|
|
|
all the OS-visible memory. Hence the driver can continue
|
|
|
|
to use physical addresses for DMA.
|
2007-10-22 03:41:41 +04:00
|
|
|
|
2007-10-22 03:41:57 +04:00
|
|
|
config DMAR_FLOPPY_WA
|
|
|
|
bool
|
|
|
|
depends on DMAR
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Floppy disk drivers are know to bypass DMA API calls
|
|
|
|
thereby failing to work when IOMMU is enabled. This
|
|
|
|
workaround will setup a 1:1 mapping for the first
|
|
|
|
16M to make floppy (an ISA device) work.
|
|
|
|
|
2005-04-17 02:20:36 +04:00
|
|
|
source "drivers/pci/pcie/Kconfig"
|
|
|
|
|
|
|
|
source "drivers/pci/Kconfig"
|
|
|
|
|
|
|
|
source "drivers/pcmcia/Kconfig"
|
|
|
|
|
|
|
|
source "drivers/pci/hotplug/Kconfig"
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
|
|
|
|
menu "Executable file formats / Emulations"
|
|
|
|
|
|
|
|
source "fs/Kconfig.binfmt"
|
|
|
|
|
|
|
|
config IA32_EMULATION
|
|
|
|
bool "IA32 Emulation"
|
|
|
|
help
|
2007-10-18 18:58:58 +04:00
|
|
|
Include code to run 32-bit programs under a 64-bit kernel. You should
|
|
|
|
likely turn this on, unless you're 100% sure that you don't have any
|
|
|
|
32-bit programs left.
|
2005-04-17 02:20:36 +04:00
|
|
|
|
|
|
|
config IA32_AOUT
|
2005-11-05 19:25:54 +03:00
|
|
|
tristate "IA32 a.out support"
|
2005-04-17 02:20:36 +04:00
|
|
|
depends on IA32_EMULATION
|
|
|
|
help
|
|
|
|
Support old a.out binaries in the 32bit emulation.
|
|
|
|
|
|
|
|
config COMPAT
|
|
|
|
bool
|
|
|
|
depends on IA32_EMULATION
|
|
|
|
default y
|
|
|
|
|
2007-07-28 02:35:43 +04:00
|
|
|
config COMPAT_FOR_U64_ALIGNMENT
|
|
|
|
def_bool COMPAT
|
|
|
|
|
2005-04-17 02:20:36 +04:00
|
|
|
config SYSVIPC_COMPAT
|
|
|
|
bool
|
|
|
|
depends on COMPAT && SYSVIPC
|
|
|
|
default y
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
2005-07-12 08:03:49 +04:00
|
|
|
source "net/Kconfig"
|
|
|
|
|
2005-04-17 02:20:36 +04:00
|
|
|
source drivers/Kconfig
|
|
|
|
|
|
|
|
source "drivers/firmware/Kconfig"
|
|
|
|
|
|
|
|
source fs/Kconfig
|
|
|
|
|
2007-10-22 06:48:08 +04:00
|
|
|
source "kernel/Kconfig.instrumentation"
|
|
|
|
|
2007-10-25 02:50:43 +04:00
|
|
|
source "arch/x86/Kconfig.debug"
|
2005-04-17 02:20:36 +04:00
|
|
|
|
|
|
|
source "security/Kconfig"
|
|
|
|
|
|
|
|
source "crypto/Kconfig"
|
|
|
|
|
|
|
|
source "lib/Kconfig"
|