Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
[GitHub/MotorolaMobilityLLC/kernel-slsi.git] / arch / sparc64 / Kconfig
CommitLineData
1da177e4
LT
1# $Id: config.in,v 1.158 2002/01/24 22:14:44 davem Exp $
2# For a description of the syntax of this configuration file,
3# see the Configure script.
4#
5
6mainmenu "Linux/UltraSPARC Kernel Configuration"
7
0b57ee9e
AB
8config SPARC
9 bool
10 default y
11
5843e37e
DM
12config SPARC64
13 bool
14 default y
15 help
16 SPARC is a family of RISC microprocessors designed and marketed by
17 Sun Microsystems, incorporated. This port covers the newer 64-bit
18 UltraSPARC. The UltraLinux project maintains both the SPARC32 and
19 SPARC64 ports; its web page is available at
20 <http://www.ultralinux.org/>.
21
112f4871
DM
22config GENERIC_TIME
23 bool
24 default y
25
26config GENERIC_CLOCKEVENTS
27 bool
28 default y
29
1da177e4
LT
30config 64BIT
31 def_bool y
32
33config MMU
34 bool
35 default y
36
3a2cba99
DM
37config QUICKLIST
38 bool
39 default y
40
10e26723
DM
41config STACKTRACE_SUPPORT
42 bool
43 default y
44
45config LOCKDEP_SUPPORT
46 bool
47 default y
48
a08b6b79
Z
49config ARCH_MAY_HAVE_PC_FDC
50 bool
51 default y
52
f0d1b0b3
DH
53config ARCH_HAS_ILOG2_U32
54 bool
55 default n
56
57config ARCH_HAS_ILOG2_U64
58 bool
59 default n
60
f6bc0c1c
AV
61config AUDIT_ARCH
62 bool
63 default y
64
0785b9dc
SR
65config ARCH_NO_VIRT_TO_BUS
66 def_bool y
67
1da177e4
LT
68choice
69 prompt "Kernel page size"
70 default SPARC64_PAGE_SIZE_8KB
71
72config SPARC64_PAGE_SIZE_8KB
73 bool "8KB"
74 help
75 This lets you select the page size of the kernel.
76
77 8KB and 64KB work quite well, since Sparc ELF sections
78 provide for up to 64KB alignment.
79
80 Therefore, 512KB and 4MB are for expert hackers only.
81
82 If you don't know what to do, choose 8KB.
83
84config SPARC64_PAGE_SIZE_64KB
85 bool "64KB"
86
87config SPARC64_PAGE_SIZE_512KB
88 bool "512KB"
89
90config SPARC64_PAGE_SIZE_4MB
91 bool "4MB"
92
93endchoice
94
bb49bcda
DM
95config SECCOMP
96 bool "Enable seccomp to safely compute untrusted bytecode"
97 depends on PROC_FS
98 default y
99 help
100 This kernel feature is useful for number crunching applications
101 that may need to compute untrusted bytecode during their
102 execution. By using pipes or other transports made available to
103 the process as file descriptors supporting the read/write
104 syscalls, it's possible to isolate those applications in
105 their own address space using seccomp. Once seccomp is
106 enabled via /proc/<pid>/seccomp, it cannot be disabled
107 and the task is only allowed to execute a few safe syscalls
108 defined by each seccomp mode.
109
110 If unsure, say Y. Only embedded should say N here.
111
a6524813
DM
112source kernel/Kconfig.hz
113
4f0234f4
DM
114config HOTPLUG_CPU
115 bool "Support for hot-pluggable CPUs"
116 depends on SMP
117 select HOTPLUG
118 ---help---
119 Say Y here to experiment with turning CPUs off and on. CPUs
120 can be controlled through /sys/devices/system/cpu/cpu#.
121 Say N if you want to disable CPU hotplug.
122
1da177e4
LT
123source "init/Kconfig"
124
125config SYSVIPC_COMPAT
126 bool
127 depends on COMPAT && SYSVIPC
128 default y
129
e18e2a00
DM
130config GENERIC_HARDIRQS
131 bool
132 default y
133
1da177e4
LT
134menu "General machine setup"
135
112f4871
DM
136source "kernel/time/Kconfig"
137
1da177e4
LT
138config SMP
139 bool "Symmetric multi-processing support"
140 ---help---
141 This enables support for systems with more than one CPU. If you have
142 a system with only one CPU, say N. If you have a system with more than
143 one CPU, say Y.
144
145 If you say N here, the kernel will run on single and multiprocessor
146 machines, but will use only one CPU of a multiprocessor machine. If
147 you say Y here, the kernel will run on many, but not all,
148 singleprocessor machines. On a singleprocessor machine, the kernel
149 will run faster if you say N here.
150
151 People using multiprocessor machines who say Y here should also say
152 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
153 Management" code will be disabled if you say Y here.
154
155 See also the <file:Documentation/smp.txt>,
156 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
157 <http://www.tldp.org/docs.html#howto>.
158
159 If you don't know what to do here, say N.
160
1da177e4 161config NR_CPUS
22adb358
DM
162 int "Maximum number of CPUs (2-1024)"
163 range 2 1024
1da177e4 164 depends on SMP
22adb358 165 default "64"
1da177e4
LT
166
167source "drivers/cpufreq/Kconfig"
168
169config US3_FREQ
170 tristate "UltraSPARC-III CPU Frequency driver"
171 depends on CPU_FREQ
172 select CPU_FREQ_TABLE
173 help
174 This adds the CPUFreq driver for UltraSPARC-III processors.
175
176 For details, take a look at <file:Documentation/cpu-freq>.
177
178 If in doubt, say N.
179
180config US2E_FREQ
181 tristate "UltraSPARC-IIe CPU Frequency driver"
182 depends on CPU_FREQ
183 select CPU_FREQ_TABLE
184 help
185 This adds the CPUFreq driver for UltraSPARC-IIe processors.
186
187 For details, take a look at <file:Documentation/cpu-freq>.
188
189 If in doubt, say N.
190
1da177e4
LT
191# Global things across all Sun machines.
192config RWSEM_GENERIC_SPINLOCK
193 bool
194
195config RWSEM_XCHGADD_ALGORITHM
196 bool
197 default y
198
2d78d4be
AM
199config GENERIC_FIND_NEXT_BIT
200 bool
201 default y
202
203config GENERIC_HWEIGHT
204 bool
205 default y if !ULTRA_HAS_POPULATION_COUNT
206
1da177e4
LT
207config GENERIC_CALIBRATE_DELAY
208 bool
209 default y
210
211choice
212 prompt "SPARC64 Huge TLB Page Size"
213 depends on HUGETLB_PAGE
214 default HUGETLB_PAGE_SIZE_4MB
215
216config HUGETLB_PAGE_SIZE_4MB
217 bool "4MB"
218
219config HUGETLB_PAGE_SIZE_512K
dcc1e8dd 220 depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB
1da177e4
LT
221 bool "512K"
222
223config HUGETLB_PAGE_SIZE_64K