Commit 25a54d98 authored by Bjorn Helgaas's avatar Bjorn Helgaas Committed by David Mosberger

[PATCH] ia64: Kconfig cleanup, part 1

parent de9fba07
...@@ -16,10 +16,11 @@ config IA64 ...@@ -16,10 +16,11 @@ config IA64
The Itanium Processor Family is Intel's 64-bit successor to The Itanium Processor Family is Intel's 64-bit successor to
the 32-bit X86 line. The IA-64 Linux project has a home the 32-bit X86 line. The IA-64 Linux project has a home
page at <http://www.linuxia64.org/> and a mailing list at page at <http://www.linuxia64.org/> and a mailing list at
linux-ia64@linuxia64.org. linux-ia64@vger.kernel.org.
config 64BIT config 64BIT
def_bool y bool
default y
config MMU config MMU
bool bool
...@@ -38,13 +39,13 @@ config EFI ...@@ -38,13 +39,13 @@ config EFI
default y default y
choice choice
prompt "IA-64 processor type" prompt "Processor type"
default ITANIUM default ITANIUM
config ITANIUM config ITANIUM
bool "Itanium" bool "Itanium"
help help
Select your IA-64 processor type. The default is Intel Itanium. Select your IA-64 processor type. The default is Itanium.
This choice is safe for all IA-64 systems, but may not perform This choice is safe for all IA-64 systems, but may not perform
optimally on systems with, say, Itanium 2 or newer processors. optimally on systems with, say, Itanium 2 or newer processors.
...@@ -56,7 +57,7 @@ config MCKINLEY ...@@ -56,7 +57,7 @@ config MCKINLEY
endchoice endchoice
choice choice
prompt "IA-64 system type" prompt "System type"
default IA64_GENERIC default IA64_GENERIC
config IA64_GENERIC config IA64_GENERIC
...@@ -65,17 +66,16 @@ config IA64_GENERIC ...@@ -65,17 +66,16 @@ config IA64_GENERIC
select ACPI_NUMA select ACPI_NUMA
select VIRTUAL_MEM_MAP select VIRTUAL_MEM_MAP
select DISCONTIGMEM select DISCONTIGMEM
---help--- help
This selects the system type of your hardware. A "generic" kernel This selects the system type of your hardware. A "generic" kernel
will run on any supported IA-64 system. However, if you configure will run on any supported IA-64 system. However, if you configure
a kernel for your specific system, it will be faster and smaller. a kernel for your specific system, it will be faster and smaller.
DIG-compliant For DIG ("Developer's Interface Guide") compliant generic For any supported IA-64 system
systems DIG-compliant For DIG ("Developer's Interface Guide") compliant systems
HP-zx1 For HP systems HP-zx1/sx1000 For HP systems
SGI-SN2 For SGI Altix systems SGI-SN2 For SGI Altix systems
Ski-simulator For the HP simulator Ski-simulator For the HP simulator (<http://www.hpl.hp.com/research/linux/ski/>)
(<http://www.hpl.hp.com/research/linux/ski/>)
If you don't know what to do, choose "generic". If you don't know what to do, choose "generic".
...@@ -83,11 +83,10 @@ config IA64_DIG ...@@ -83,11 +83,10 @@ config IA64_DIG
bool "DIG-compliant" bool "DIG-compliant"
config IA64_HP_ZX1 config IA64_HP_ZX1
bool "HP-zx1" bool "HP-zx1/sx1000"
help help
Build a kernel that runs on HP zx1-based systems. This adds support Build a kernel that runs on HP zx1 and sx1000 systems. This adds
for the zx1 I/O MMU and makes root bus bridges appear in PCI config support for the HP I/O MMU.
space (required for zx1 agpgart support).
config IA64_SGI_SN2 config IA64_SGI_SN2
bool "SGI-SN2" bool "SGI-SN2"
...@@ -103,7 +102,7 @@ choice ...@@ -103,7 +102,7 @@ choice
config IA64_PAGE_SIZE_4KB config IA64_PAGE_SIZE_4KB
bool "4KB" bool "4KB"
---help--- help
This lets you select the page size of the kernel. For best IA-64 This lets you select the page size of the kernel. For best IA-64
performance, a page size of 8KB or 16KB is recommended. For best performance, a page size of 8KB or 16KB is recommended. For best
IA-32 compatibility, a page size of 4KB should be selected (the vast IA-32 compatibility, a page size of 4KB should be selected (the vast
...@@ -134,7 +133,7 @@ config ACPI ...@@ -134,7 +133,7 @@ config ACPI
bool bool
depends on !IA64_HP_SIM depends on !IA64_HP_SIM
default y default y
---help--- help
ACPI/OSPM support for Linux is currently under development. As such, ACPI/OSPM support for Linux is currently under development. As such,
this support is preliminary and EXPERIMENTAL. Configuring ACPI this support is preliminary and EXPERIMENTAL. Configuring ACPI
support enables kernel interfaces that allow higher level software support enables kernel interfaces that allow higher level software
...@@ -182,7 +181,7 @@ config IA64_BRL_EMU ...@@ -182,7 +181,7 @@ config IA64_BRL_EMU
default y default y
config ITANIUM_BSTEP_SPECIFIC config ITANIUM_BSTEP_SPECIFIC
bool "Enable Itanium B-step specific code" bool "Itanium B-step specific code"
depends on ITANIUM depends on ITANIUM
help help
Select this option to build a kernel for an Itanium prototype system Select this option to build a kernel for an Itanium prototype system
...@@ -197,38 +196,30 @@ config IA64_L1_CACHE_SHIFT ...@@ -197,38 +196,30 @@ config IA64_L1_CACHE_SHIFT
# align cache-sensitive data to 64 bytes # align cache-sensitive data to 64 bytes
config MCKINLEY_ASTEP_SPECIFIC config MCKINLEY_ASTEP_SPECIFIC
bool "Enable McKinley A-step specific code" bool "McKinley A-step specific code"
depends on MCKINLEY depends on MCKINLEY
help help
Select this option to build a kernel for an IA-64 McKinley prototype Select this option to build a kernel for an IA-64 McKinley prototype
system with any A-stepping CPU. system with any A-stepping CPU.
config MCKINLEY_A0_SPECIFIC config MCKINLEY_A0_SPECIFIC
bool "Enable McKinley A0/A1-step specific code" bool "McKinley A0/A1-step specific code"
depends on MCKINLEY_ASTEP_SPECIFIC depends on MCKINLEY_ASTEP_SPECIFIC
help help
Select this option to build a kernel for an IA-64 McKinley prototype Select this option to build a kernel for an IA-64 McKinley prototype
system with an A0 or A1 stepping CPU. system with an A0 or A1 stepping CPU.
config NUMA config NUMA
bool "Enable NUMA support" if IA64_GENERIC || IA64_DIG || IA64_HP_ZX1 bool "NUMA support"
default y if IA64_SGI_SN2 || IA64_GENERIC depends on !IA64_HP_SIM
default y if IA64_SGI_SN2
help help
Say Y to compile the kernel to support NUMA (Non-Uniform Memory Say Y to compile the kernel to support NUMA (Non-Uniform Memory
Access). This option is for configuring high-end multiprocessor Access). This option is for configuring high-end multiprocessor
server systems. If in doubt, say N. server systems. If in doubt, say N.
config DISCONTIGMEM
bool "Discontiguous memory support" if (IA64_DIG || IA64_SGI_SN2 || IA64_GENERIC) && NUMA && VIRTUAL_MEM_MAP
default y if (IA64_SGI_SN2 || IA64_GENERIC) && NUMA
help
Say Y to support efficient handling of discontiguous physical memory,
for architectures which are either NUMA (Non-Uniform Memory Access)
or have huge holes in the physical address space for other reasons.
See <file:Documentation/vm/numa> for more.
config VIRTUAL_MEM_MAP config VIRTUAL_MEM_MAP
bool "Enable Virtual Mem Map" bool "Virtual mem map"
default y if !IA64_HP_SIM default y if !IA64_HP_SIM
help help
Say Y to compile the kernel with support for a virtual mem map. Say Y to compile the kernel with support for a virtual mem map.
...@@ -237,8 +228,18 @@ config VIRTUAL_MEM_MAP ...@@ -237,8 +228,18 @@ config VIRTUAL_MEM_MAP
require the DISCONTIGMEM option for your machine. If you are require the DISCONTIGMEM option for your machine. If you are
unsure, say Y. unsure, say Y.
config DISCONTIGMEM
bool "Discontiguous memory support"
depends on (IA64_DIG || IA64_SGI_SN2 || IA64_GENERIC) && NUMA && VIRTUAL_MEM_MAP
default y if (IA64_SGI_SN2 || IA64_GENERIC) && NUMA
help
Say Y to support efficient handling of discontiguous physical memory,
for architectures which are either NUMA (Non-Uniform Memory Access)
or have huge holes in the physical address space for other reasons.
See <file:Documentation/vm/numa> for more.
config IA64_MCA config IA64_MCA
bool "Enable IA-64 Machine Check Abort" bool "Machine Check Abort"
default y if !IA64_HP_SIM default y if !IA64_HP_SIM
help help
Say Y here to enable machine check support for IA-64. If you're Say Y here to enable machine check support for IA-64. If you're
...@@ -248,7 +249,7 @@ config PM ...@@ -248,7 +249,7 @@ config PM
bool "Power Management support" bool "Power Management support"
depends on IA64_GENERIC || IA64_DIG || IA64_HP_ZX1 depends on IA64_GENERIC || IA64_DIG || IA64_HP_ZX1
default y default y
---help--- help
"Power Management" means that parts of your computer are shut "Power Management" means that parts of your computer are shut
off or put into a power conserving "sleep" mode if they are not off or put into a power conserving "sleep" mode if they are not
being used. There are two competing standards for doing this: APM being used. There are two competing standards for doing this: APM
...@@ -267,11 +268,11 @@ config PM ...@@ -267,11 +268,11 @@ config PM
config IOSAPIC config IOSAPIC
bool bool
depends on IA64_GENERIC || IA64_DIG || IA64_HP_ZX1 || IA64_SGI_SN2 depends on !IA64_HP_SIM
default y default y
config IA64_SGI_SN_SIM config IA64_SGI_SN_SIM
bool "Enable SGI Medusa Simulator Support" bool "SGI Medusa Simulator Support"
depends on IA64_SGI_SN2 depends on IA64_SGI_SN2
help help
If you are compiling a kernel that will run under SGI's IA-64 If you are compiling a kernel that will run under SGI's IA-64
...@@ -282,7 +283,7 @@ config FORCE_MAX_ZONEORDER ...@@ -282,7 +283,7 @@ config FORCE_MAX_ZONEORDER
default "18" default "18"
choice choice
prompt "IA-64 Huge TLB Page Size" prompt "Huge TLB page size"
depends on HUGETLB_PAGE depends on HUGETLB_PAGE
default HUGETLB_PAGE_SIZE_16MB default HUGETLB_PAGE_SIZE_16MB
...@@ -316,7 +317,7 @@ endchoice ...@@ -316,7 +317,7 @@ endchoice
config IA64_PAL_IDLE config IA64_PAL_IDLE
bool "Use PAL_HALT_LIGHT in idle loop" bool "Use PAL_HALT_LIGHT in idle loop"
---help--- help
Say Y here to enable use of PAL_HALT_LIGHT in the cpu_idle loop. Say Y here to enable use of PAL_HALT_LIGHT in the cpu_idle loop.
This allows the CPU to enter a low power state when idle. You This allows the CPU to enter a low power state when idle. You
can enable CONFIG_IA64_PALINFO and check /proc/pal/cpu0/power_info can enable CONFIG_IA64_PALINFO and check /proc/pal/cpu0/power_info
...@@ -324,24 +325,35 @@ config IA64_PAL_IDLE ...@@ -324,24 +325,35 @@ config IA64_PAL_IDLE
unsure your firmware supports it, answer N. unsure your firmware supports it, answer N.
config SMP config SMP
bool "SMP support" bool "Symmetric multi-processing support"
---help--- help
This enables support for systems with more than one CPU. If you have This enables support for systems with more than one CPU. If you have
a system with only one CPU say N. If you have a system with more than a system with only one CPU, say N. If you have a system with more
one CPU, say Y. than one CPU, say Y.
If you say N here, the kernel will run on single and multiprocessor If you say N here, the kernel will run on single and multiprocessor
systems, but will use only one CPU of a multiprocessor system. If systems, but will use only one CPU of a multiprocessor system. If
you say Y here, the kernel will run on many, but not all, you say Y here, the kernel will run on many, but not all,
singleprocessor system. On a singleprocessor system, the kernel single processor systems. On a single processor system, the kernel
will run faster if you say N here. will run faster if you say N here.
See also the <file:Documentation/smp.tex>, See also the <file:Documentation/smp.txt> and the SMP-HOWTO
<file:Documentation/smp.txt>, and the SMP-HOWTO available at available at <http://www.tldp.org/docs.html#howto>.
<http://www.tldp.org/docs.html#howto>.
If you don't know what to do here, say N. If you don't know what to do here, say N.
config NR_CPUS
int "Maximum number of CPUs (2-512)"
range 2 512
depends on SMP
default "64"
help
You should set this to the number of CPUs in your system, but
keep in mind that a kernel compiled for, e.g., 2 CPUs will boot but
only use 2 CPUs on a >2 CPU system. Setting this to a value larger
than 64 will cause the use of a CPU mask array, causing a small
performance hit.
config PREEMPT config PREEMPT
bool "Preemptible Kernel" bool "Preemptible Kernel"
help help
...@@ -354,8 +366,13 @@ config PREEMPT ...@@ -354,8 +366,13 @@ config PREEMPT
Say Y here if you are building a kernel for a desktop, embedded Say Y here if you are building a kernel for a desktop, embedded
or real-time system. Say N if you are unsure. or real-time system. Say N if you are unsure.
config HAVE_DEC_LOCK
bool
depends on (SMP || PREEMPT)
default y
config IA32_SUPPORT config IA32_SUPPORT
bool "Support running of Linux/x86 binaries" bool "Support for Linux/x86 binaries"
help help
IA-64 processors can execute IA-32 (X86) instructions. By IA-64 processors can execute IA-32 (X86) instructions. By
saying Y here, the kernel will include IA-32 system call saying Y here, the kernel will include IA-32 system call
...@@ -368,11 +385,6 @@ config COMPAT ...@@ -368,11 +385,6 @@ config COMPAT
depends on IA32_SUPPORT depends on IA32_SUPPORT
default y default y
config HAVE_DEC_LOCK
bool
depends on (SMP || PREEMPT)
default y
config PERFMON config PERFMON
bool "Performance monitor support" bool "Performance monitor support"
help help
...@@ -392,7 +404,6 @@ config IA64_PALINFO ...@@ -392,7 +404,6 @@ config IA64_PALINFO
To use this option, you have to ensure that the "/proc file system To use this option, you have to ensure that the "/proc file system
support" (CONFIG_PROC_FS) is enabled, too. support" (CONFIG_PROC_FS) is enabled, too.
config EFI_VARS config EFI_VARS
tristate "/proc/efi/vars support" tristate "/proc/efi/vars support"
help help
...@@ -403,17 +414,6 @@ config EFI_VARS ...@@ -403,17 +414,6 @@ config EFI_VARS
To use this option, you have to check that the "/proc file system To use this option, you have to check that the "/proc file system
support" (CONFIG_PROC_FS) is enabled, too. support" (CONFIG_PROC_FS) is enabled, too.
config NR_CPUS
int "Maximum number of CPUs"
depends on SMP
default "64"
help
You should set this to the number of CPUs in your system, but
keep in mind that a kernel compiled for, e.g., 2 CPUs will boot but
only use 2 CPUs on a >2 CPU system. Setting this to a value larger
than 64 will cause the use of a CPU mask array, causing a small
performance hit.
source "fs/Kconfig.binfmt" source "fs/Kconfig.binfmt"
if !IA64_HP_SIM if !IA64_HP_SIM
...@@ -441,7 +441,7 @@ source "drivers/pci/Kconfig" ...@@ -441,7 +441,7 @@ source "drivers/pci/Kconfig"
config HOTPLUG config HOTPLUG
bool "Support for hot-pluggable devices" bool "Support for hot-pluggable devices"
---help--- help
Say Y here if you want to plug devices into your computer while Say Y here if you want to plug devices into your computer while
the system is running, and be able to use them quickly. In many the system is running, and be able to use them quickly. In many
cases, the devices can likewise be unplugged at any time too. cases, the devices can likewise be unplugged at any time too.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment