]> bbs.cooldavid.org Git - net-next-2.6.git/blame - arch/sparc64/Kconfig
sparc: Add user_stack_pointer().
[net-next-2.6.git] / arch / sparc64 / Kconfig
CommitLineData
05d515ef
DM
1# sparc64 configuration
2mainmenu "Linux Kernel Configuration for 64-bit SPARC"
1da177e4 3
0b57ee9e
AB
4config SPARC
5 bool
6 default y
42d4b839 7 select HAVE_OPROFILE
3f550096 8 select HAVE_KPROBES
9edddaa2 9 select HAVE_KRETPROBES
0b57ee9e 10
5843e37e
DM
11config SPARC64
12 bool
13 default y
677aa9f7 14 select HAVE_DYNAMIC_FTRACE
d05f5f99 15 select HAVE_FTRACE
ec7748b5 16 select HAVE_IDE
d9b2b2a2 17 select HAVE_LMB
e2fdd7fd 18 select HAVE_ARCH_KGDB
d172ad18 19 select USE_GENERIC_SMP_HELPERS if SMP
5843e37e 20
112f4871
DM
21config GENERIC_TIME
22 bool
23 default y
24
82644459
TG
25config GENERIC_CMOS_UPDATE
26 bool
27 default y
28
112f4871
DM
29config GENERIC_CLOCKEVENTS
30 bool
31 default y
32
1da177e4
LT
33config 64BIT
34 def_bool y
35
36config MMU
37 bool
38 default y
39
d284142c
DM
40config IOMMU_HELPER
41 bool
42 default y
43
3a2cba99
DM
44config QUICKLIST
45 bool
46 default y
47
10e26723
DM
48config STACKTRACE_SUPPORT
49 bool
50 default y
51
52config LOCKDEP_SUPPORT
53 bool
54 default y
55
a08b6b79
AV
56config ARCH_MAY_HAVE_PC_FDC
57 bool
58 default y
59
f0d1b0b3
DH
60config ARCH_HAS_ILOG2_U32
61 bool
62 default n
63
64config ARCH_HAS_ILOG2_U64
65 bool
66 default n
67
f6bc0c1c
AV
68config AUDIT_ARCH
69 bool
70 default y
71
988c388a 72config HAVE_SETUP_PER_CPU_AREA
b32ef636 73 def_bool y
74
0785b9dc
SR
75config ARCH_NO_VIRT_TO_BUS
76 def_bool y
77
97e873e5
SR
78config OF
79 def_bool y
80
8d57d3ad
DM
81config GENERIC_HARDIRQS_NO__DO_IRQ
82 bool
83 def_bool y
84
932d0613
RD
85source "init/Kconfig"
86
87menu "Processor type and features"
88
1da177e4
LT
89choice
90 prompt "Kernel page size"
91 default SPARC64_PAGE_SIZE_8KB
92
93config SPARC64_PAGE_SIZE_8KB
94 bool "8KB"
95 help
96 This lets you select the page size of the kernel.
97
05d515ef 98 8KB and 64KB work quite well, since SPARC ELF sections
1da177e4
LT
99 provide for up to 64KB alignment.
100
1da177e4
LT
101 If you don't know what to do, choose 8KB.
102
103config SPARC64_PAGE_SIZE_64KB
104 bool "64KB"
105
1da177e4
LT
106endchoice
107
bb49bcda
DM
108config SECCOMP
109 bool "Enable seccomp to safely compute untrusted bytecode"
110 depends on PROC_FS
111 default y
112 help
113 This kernel feature is useful for number crunching applications
114 that may need to compute untrusted bytecode during their
115 execution. By using pipes or other transports made available to
116 the process as file descriptors supporting the read/write
117 syscalls, it's possible to isolate those applications in
118 their own address space using seccomp. Once seccomp is
119 enabled via /proc/<pid>/seccomp, it cannot be disabled
120 and the task is only allowed to execute a few safe syscalls
121 defined by each seccomp mode.
122
123 If unsure, say Y. Only embedded should say N here.
124
a6524813
DM
125source kernel/Kconfig.hz
126
4f0234f4
DM
127config HOTPLUG_CPU
128 bool "Support for hot-pluggable CPUs"
129 depends on SMP
130 select HOTPLUG
05d515ef 131 help
4f0234f4
DM
132 Say Y here to experiment with turning CPUs off and on. CPUs
133 can be controlled through /sys/devices/system/cpu/cpu#.
134 Say N if you want to disable CPU hotplug.
135
e18e2a00
DM
136config GENERIC_HARDIRQS
137 bool
138 default y
139
112f4871
DM
140source "kernel/time/Kconfig"
141
1da177e4
LT
142config SMP
143 bool "Symmetric multi-processing support"
05d515ef 144 help
1da177e4
LT
145 This enables support for systems with more than one CPU. If you have
146 a system with only one CPU, say N. If you have a system with more than
147 one CPU, say Y.
148
149 If you say N here, the kernel will run on single and multiprocessor
150 machines, but will use only one CPU of a multiprocessor machine. If
05d515ef
DM
151 you say Y here, the kernel will run on single-processor machines.
152 On a single-processor machine, the kernel will run faster if you say
153 N here.
1da177e4
LT
154
155 If you don't know what to do here, say N.
156
1da177e4 157config NR_CPUS
22adb358
DM
158 int "Maximum number of CPUs (2-1024)"
159 range 2 1024
1da177e4 160 depends on SMP
22adb358 161 default "64"
1da177e4
LT
162
163source "drivers/cpufreq/Kconfig"
164
165config US3_FREQ
166 tristate "UltraSPARC-III CPU Frequency driver"
167 depends on CPU_FREQ
168 select CPU_FREQ_TABLE
169 help
170 This adds the CPUFreq driver for UltraSPARC-III processors.
171
172 For details, take a look at <file:Documentation/cpu-freq>.
173
174 If in doubt, say N.
175
176config US2E_FREQ
177 tristate "UltraSPARC-IIe CPU Frequency driver"
178 depends on CPU_FREQ
179 select CPU_FREQ_TABLE
180 help
181 This adds the CPUFreq driver for UltraSPARC-IIe processors.
182
183 For details, take a look at <file:Documentation/cpu-freq>.
184
185 If in doubt, say N.
186
1da177e4 187# Global things across all Sun machines.
95c354fe
NP
188config GENERIC_LOCKBREAK
189 bool
190 default y
191 depends on SMP && PREEMPT
192
1da177e4
LT
193config RWSEM_GENERIC_SPINLOCK
194 bool
195
196config RWSEM_XCHGADD_ALGORITHM
197 bool
198 default y
199
2d78d4be
AM
200config GENERIC_FIND_NEXT_BIT
201 bool
202 default y
203
204config GENERIC_HWEIGHT
205 bool
206 default y if !ULTRA_HAS_POPULATION_COUNT
207
1da177e4
LT
208config GENERIC_CALIBRATE_DELAY
209 bool
210 default y
211
212choice
213 prompt "SPARC64 Huge TLB Page Size"
214 depends on HUGETLB_PAGE
215 default HUGETLB_PAGE_SIZE_4MB
216
217config HUGETLB_PAGE_SIZE_4MB
218 bool "4MB"
219
220config HUGETLB_PAGE_SIZE_512K
1da177e4
LT
221 bool "512K"
222
223config HUGETLB_PAGE_SIZE_64K
f7fe9334 224 depends on !SPARC64_PAGE_SIZE_64KB
1da177e4
LT
225 bool "64K"
226
227endchoice
228
5843e37e
DM
229endmenu
230
919ee677
DM
231config NUMA
232 bool "NUMA support"
233
234config NODES_SHIFT
235 int
236 default "4"
237 depends on NEED_MULTIPLE_NODES
238
239# Some NUMA nodes have memory ranges that span
240# other nodes. Even though a pfn is valid and
241# between a node's start and end pfns, it may not
242# reside on that node. See memmap_init_zone()
243# for details.
244config NODES_SPAN_OTHER_NODES
245 def_bool y
246 depends on NEED_MULTIPLE_NODES
247
248config ARCH_POPULATES_NODE_MAP
249 def_bool y
250
68491d58
DM
251config ARCH_SELECT_MEMORY_MODEL
252 def_bool y
253
d1112018
DM
254config ARCH_SPARSEMEM_ENABLE
255 def_bool y
46644c24 256 select SPARSEMEM_VMEMMAP_ENABLE
d1112018
DM
257
258config ARCH_SPARSEMEM_DEFAULT
259 def_bool y
260
5843e37e
DM
261source "mm/Kconfig"
262
1da177e4
LT
263config ISA
264 bool
1da177e4
LT
265
266config ISAPNP
267 bool
1da177e4
LT
268
269config EISA
270 bool
1da177e4
LT
271
272config MCA
273 bool
1da177e4
LT
274
275config PCMCIA
276 tristate
05d515ef 277 help
1da177e4
LT
278 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
279 computer. These are credit-card size devices such as network cards,
280 modems or hard drives often used with laptops computers. There are
281 actually two varieties of these cards: the older 16 bit PCMCIA cards
282 and the newer 32 bit CardBus cards. If you want to use CardBus
283 cards, you need to say Y here and also to "CardBus support" below.
284
285 To use your PC-cards, you will need supporting software from David
286 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
287 for location). Please also read the PCMCIA-HOWTO, available from
288 <http://www.tldp.org/docs.html#howto>.
289
290 To compile this driver as modules, choose M here: the
291 modules will be called pcmcia_core and ds.
292
293config SBUS
294 bool
295 default y
296
297config SBUSCHAR
298 bool
299 default y
300
301config SUN_AUXIO
302 bool
303 default y
304
305config SUN_IO
306 bool
307 default y
308
e53e97ce
DM
309config SUN_LDOMS
310 bool "Sun Logical Domains support"
311 help
312 Say Y here is you want to support virtual devices via
313 Logical Domains.
314
1da177e4
LT
315config PCI
316 bool "PCI support"
f282b970 317 select ARCH_SUPPORTS_MSI
1da177e4 318 help
05d515ef
DM
319 Find out whether your system includes a PCI bus. PCI is the name of
320 a bus system, i.e. the way the CPU talks to the other stuff inside
321 your box. If you say Y here, the kernel will include drivers and
322 infrastructure code to support PCI bus devices.
1da177e4 323
1da177e4 324config PCI_DOMAINS
36e23590
MW
325 def_bool PCI
326
327config PCI_SYSCALL
328 def_bool PCI
1da177e4 329
1da177e4
LT
330source "drivers/pci/Kconfig"
331
332config SUN_OPENPROMFS
333 tristate "Openprom tree appears in /proc/openprom"
334 help
335 If you say Y, the OpenPROM device tree will be available as a
336 virtual file system, which you can mount to /proc/openprom by "mount
337 -t openpromfs none /proc/openprom".
338
339 To compile the /proc/openprom support as a module, choose M here: the
340 module will be called openpromfs. If unsure, choose M.
341
ec98c6b9
DM
342menu "Executable file formats"
343
344source "fs/Kconfig.binfmt"
345
1da177e4
LT
346config COMPAT
347 bool
1da177e4 348 default y
48c946a4 349 select COMPAT_BINFMT_ELF
1da177e4 350
ec98c6b9
DM
351config SYSVIPC_COMPAT
352 bool
353 depends on COMPAT && SYSVIPC
354 default y
1da177e4 355
5843e37e 356endmenu
1da177e4 357
8935dced
DM
358config SCHED_SMT
359 bool "SMT (Hyperthreading) scheduler support"
360 depends on SMP
361 default y
362 help
363 SMT scheduler support improves the CPU scheduler's decision making
05d515ef
DM
364 when dealing with SPARC cpus at a cost of slightly increased overhead
365 in some places. If unsure say N here.
8935dced 366
f78eae2e
DM
367config SCHED_MC
368 bool "Multi-core scheduler support"
369 depends on SMP
370 default y
371 help
372 Multi-core scheduler support improves the CPU scheduler's decision
373 making when dealing with multi-core CPU chips at a cost of slightly
374 increased overhead in some places. If unsure say N here.
375
db2f9f6d
DM
376source "kernel/Kconfig.preempt"
377
1da177e4
LT
378config CMDLINE_BOOL
379 bool "Default bootloader kernel arguments"
380
381config CMDLINE
382 string "Initial kernel command string"
383 depends on CMDLINE_BOOL
384 default "console=ttyS0,9600 root=/dev/sda1"
385 help
386 Say Y here if you want to be able to pass default arguments to
387 the kernel. This will be overridden by the bootloader, if you
388 use one (such as SILO). This is most useful if you want to boot
389 a kernel from TFTP, and want default options to be available
390 with having them passed on the command line.
391
392 NOTE: This option WILL override the PROM bootargs setting!
393
d5950b43
SR
394source "net/Kconfig"
395
5843e37e 396source "drivers/Kconfig"
1da177e4
LT
397
398source "drivers/sbus/char/Kconfig"
399
1da177e4
LT
400source "fs/Kconfig"
401
1da177e4
LT
402source "arch/sparc64/Kconfig.debug"
403
404source "security/Kconfig"
405
406source "crypto/Kconfig"
407
408source "lib/Kconfig"