Merge branch 'locks' of git://linux-nfs.org/~bfields/linux
[sfrench/cifs-2.6.git] / arch / sparc64 / Kconfig
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
6 mainmenu "Linux/UltraSPARC Kernel Configuration"
7
8 config SPARC
9         bool
10         default y
11         select HAVE_OPROFILE
12         select HAVE_KPROBES
13
14 config SPARC64
15         bool
16         default y
17         help
18           SPARC is a family of RISC microprocessors designed and marketed by
19           Sun Microsystems, incorporated.  This port covers the newer 64-bit
20           UltraSPARC.  The UltraLinux project maintains both the SPARC32 and
21           SPARC64 ports; its web page is available at
22           <http://www.ultralinux.org/>.
23
24 config GENERIC_TIME
25         bool
26         default y
27
28 config GENERIC_CMOS_UPDATE
29         bool
30         default y
31
32 config GENERIC_CLOCKEVENTS
33         bool
34         default y
35
36 config 64BIT
37         def_bool y
38
39 config MMU
40         bool
41         default y
42
43 config QUICKLIST
44         bool
45         default y
46
47 config STACKTRACE_SUPPORT
48         bool
49         default y
50
51 config LOCKDEP_SUPPORT
52         bool
53         default y
54
55 config ARCH_MAY_HAVE_PC_FDC
56         bool
57         default y
58
59 config ARCH_HAS_ILOG2_U32
60         bool
61         default n
62
63 config ARCH_HAS_ILOG2_U64
64         bool
65         default n
66
67 config AUDIT_ARCH
68         bool
69         default y
70
71 config HAVE_SETUP_PER_CPU_AREA
72         def_bool y
73
74 config ARCH_NO_VIRT_TO_BUS
75         def_bool y
76
77 config OF
78         def_bool y
79
80 config GENERIC_HARDIRQS_NO__DO_IRQ
81         bool
82         def_bool y
83
84 choice
85         prompt "Kernel page size"
86         default SPARC64_PAGE_SIZE_8KB
87
88 config SPARC64_PAGE_SIZE_8KB
89         bool "8KB"
90         help
91           This lets you select the page size of the kernel.
92
93           8KB and 64KB work quite well, since Sparc ELF sections
94           provide for up to 64KB alignment.
95
96           Therefore, 512KB and 4MB are for expert hackers only.
97
98           If you don't know what to do, choose 8KB.
99
100 config SPARC64_PAGE_SIZE_64KB
101         bool "64KB"
102
103 config SPARC64_PAGE_SIZE_512KB
104         bool "512KB"
105
106 config SPARC64_PAGE_SIZE_4MB
107         bool "4MB"
108
109 endchoice
110
111 config SECCOMP
112         bool "Enable seccomp to safely compute untrusted bytecode"
113         depends on PROC_FS
114         default y
115         help
116           This kernel feature is useful for number crunching applications
117           that may need to compute untrusted bytecode during their
118           execution. By using pipes or other transports made available to
119           the process as file descriptors supporting the read/write
120           syscalls, it's possible to isolate those applications in
121           their own address space using seccomp. Once seccomp is
122           enabled via /proc/<pid>/seccomp, it cannot be disabled
123           and the task is only allowed to execute a few safe syscalls
124           defined by each seccomp mode.
125
126           If unsure, say Y. Only embedded should say N here.
127
128 source kernel/Kconfig.hz
129
130 config HOTPLUG_CPU
131         bool "Support for hot-pluggable CPUs"
132         depends on SMP
133         select HOTPLUG
134         ---help---
135           Say Y here to experiment with turning CPUs off and on.  CPUs
136           can be controlled through /sys/devices/system/cpu/cpu#.
137           Say N if you want to disable CPU hotplug.
138
139 source "init/Kconfig"
140
141 config SYSVIPC_COMPAT
142         bool
143         depends on COMPAT && SYSVIPC
144         default y
145
146 config GENERIC_HARDIRQS
147         bool
148         default y
149
150 menu "General machine setup"
151
152 source "kernel/time/Kconfig"
153
154 config SMP
155         bool "Symmetric multi-processing support"
156         ---help---
157           This enables support for systems with more than one CPU. If you have
158           a system with only one CPU, say N. If you have a system with more than
159           one CPU, say Y.
160
161           If you say N here, the kernel will run on single and multiprocessor
162           machines, but will use only one CPU of a multiprocessor machine. If
163           you say Y here, the kernel will run on many, but not all,
164           singleprocessor machines. On a singleprocessor machine, the kernel
165           will run faster if you say N here.
166
167           People using multiprocessor machines who say Y here should also say
168           Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
169           Management" code will be disabled if you say Y here.
170
171           See also the <file:Documentation/smp.txt>,
172           <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
173           <http://www.tldp.org/docs.html#howto>.
174
175           If you don't know what to do here, say N.
176
177 config NR_CPUS
178         int "Maximum number of CPUs (2-1024)"
179         range 2 1024
180         depends on SMP
181         default "64"
182
183 source "drivers/cpufreq/Kconfig"
184
185 config US3_FREQ
186         tristate "UltraSPARC-III CPU Frequency driver"
187         depends on CPU_FREQ
188         select CPU_FREQ_TABLE
189         help
190           This adds the CPUFreq driver for UltraSPARC-III processors.
191
192           For details, take a look at <file:Documentation/cpu-freq>.
193
194           If in doubt, say N.
195
196 config US2E_FREQ
197         tristate "UltraSPARC-IIe CPU Frequency driver"
198         depends on CPU_FREQ
199         select CPU_FREQ_TABLE
200         help
201           This adds the CPUFreq driver for UltraSPARC-IIe processors.
202
203           For details, take a look at <file:Documentation/cpu-freq>.
204
205           If in doubt, say N.
206
207 # Global things across all Sun machines.
208 config GENERIC_LOCKBREAK
209         bool
210         default y
211         depends on SMP && PREEMPT
212
213 config RWSEM_GENERIC_SPINLOCK
214         bool
215
216 config RWSEM_XCHGADD_ALGORITHM
217         bool
218         default y
219
220 config GENERIC_FIND_NEXT_BIT
221         bool
222         default y
223
224 config GENERIC_HWEIGHT
225         bool
226         default y if !ULTRA_HAS_POPULATION_COUNT
227
228 config GENERIC_CALIBRATE_DELAY
229         bool
230         default y
231
232 choice
233         prompt "SPARC64 Huge TLB Page Size"
234         depends on HUGETLB_PAGE
235         default HUGETLB_PAGE_SIZE_4MB
236
237 config HUGETLB_PAGE_SIZE_4MB
238         bool "4MB"
239
240 config HUGETLB_PAGE_SIZE_512K
241         depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB
242         bool "512K"
243
244 config HUGETLB_PAGE_SIZE_64K
245         depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB && !SPARC64_PAGE_SIZE_64KB
246         bool "64K"
247
248 endchoice
249
250 endmenu
251
252 config ARCH_SELECT_MEMORY_MODEL
253         def_bool y
254
255 config ARCH_SPARSEMEM_ENABLE
256         def_bool y
257         select SPARSEMEM_VMEMMAP_ENABLE
258
259 config ARCH_SPARSEMEM_DEFAULT
260         def_bool y
261
262 source "mm/Kconfig"
263
264 config ISA
265         bool
266         help
267           Find out whether you have ISA slots on your motherboard.  ISA is the
268           name of a bus system, i.e. the way the CPU talks to the other stuff
269           inside your box.  Other bus systems are PCI, EISA, MicroChannel
270           (MCA) or VESA.  ISA is an older system, now being displaced by PCI;
271           newer boards don't support it.  If you have ISA, say Y, otherwise N.
272
273 config ISAPNP
274         bool
275         help
276           Say Y here if you would like support for ISA Plug and Play devices.
277           Some information is in <file:Documentation/isapnp.txt>.
278
279           To compile this driver as a module, choose M here: the
280           module will be called isapnp.
281
282           If unsure, say Y.
283
284 config EISA
285         bool
286         ---help---
287           The Extended Industry Standard Architecture (EISA) bus was
288           developed as an open alternative to the IBM MicroChannel bus.
289
290           The EISA bus provided some of the features of the IBM MicroChannel
291           bus while maintaining backward compatibility with cards made for
292           the older ISA bus.  The EISA bus saw limited use between 1988 and
293           1995 when it was made obsolete by the PCI bus.
294
295           Say Y here if you are building a kernel for an EISA-based machine.
296
297           Otherwise, say N.
298
299 config MCA
300         bool
301         help
302           MicroChannel Architecture is found in some IBM PS/2 machines and
303           laptops.  It is a bus system similar to PCI or ISA. See
304           <file:Documentation/mca.txt> (and especially the web page given
305           there) before attempting to build an MCA bus kernel.
306
307 config PCMCIA
308         tristate
309         ---help---
310           Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
311           computer.  These are credit-card size devices such as network cards,
312           modems or hard drives often used with laptops computers.  There are
313           actually two varieties of these cards: the older 16 bit PCMCIA cards
314           and the newer 32 bit CardBus cards.  If you want to use CardBus
315           cards, you need to say Y here and also to "CardBus support" below.
316
317           To use your PC-cards, you will need supporting software from David
318           Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
319           for location).  Please also read the PCMCIA-HOWTO, available from
320           <http://www.tldp.org/docs.html#howto>.
321
322           To compile this driver as modules, choose M here: the
323           modules will be called pcmcia_core and ds.
324
325 config SBUS
326         bool
327         default y
328
329 config SBUSCHAR
330         bool
331         default y
332
333 config SUN_AUXIO
334         bool
335         default y
336
337 config SUN_IO
338         bool
339         default y
340
341 config SUN_LDOMS
342         bool "Sun Logical Domains support"
343         help
344           Say Y here is you want to support virtual devices via
345           Logical Domains.
346
347 config PCI
348         bool "PCI support"
349         select ARCH_SUPPORTS_MSI
350         help
351           Find out whether you have a PCI motherboard. PCI is the name of a
352           bus system, i.e. the way the CPU talks to the other stuff inside
353           your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
354           VESA. If you have PCI, say Y, otherwise N.
355
356 config PCI_DOMAINS
357         def_bool PCI
358
359 config PCI_SYSCALL
360         def_bool PCI
361
362 source "drivers/pci/Kconfig"
363
364 config SUN_OPENPROMFS
365         tristate "Openprom tree appears in /proc/openprom"
366         help
367           If you say Y, the OpenPROM device tree will be available as a
368           virtual file system, which you can mount to /proc/openprom by "mount
369           -t openpromfs none /proc/openprom".
370
371           To compile the /proc/openprom support as a module, choose M here: the
372           module will be called openpromfs.  If unsure, choose M.
373
374 config SPARC32_COMPAT
375         bool "Kernel support for Linux/Sparc 32bit binary compatibility"
376         help
377           This allows you to run 32-bit binaries on your Ultra.
378           Everybody wants this; say Y.
379
380 config COMPAT
381         bool
382         depends on SPARC32_COMPAT
383         default y
384
385 config BINFMT_ELF32
386         bool "Kernel support for 32-bit ELF binaries"
387         depends on SPARC32_COMPAT
388         help
389           This allows you to run 32-bit Linux/ELF binaries on your Ultra.
390           Everybody wants this; say Y.
391
392 config BINFMT_AOUT32
393         bool "Kernel support for 32-bit (ie. SunOS) a.out binaries"
394         depends on SPARC32_COMPAT
395         help
396           This allows you to run 32-bit a.out format binaries on your Ultra.
397           If you want to run SunOS binaries (see SunOS binary emulation below)
398           or other a.out binaries, say Y. If unsure, say N.
399
400 menu "Executable file formats"
401
402 source "fs/Kconfig.binfmt"
403
404 config SUNOS_EMUL
405         bool "SunOS binary emulation"
406         depends on BINFMT_AOUT32
407         help
408           This allows you to run most SunOS binaries.  If you want to do this,
409           say Y here and place appropriate files in /usr/gnemul/sunos. See
410           <http://www.ultralinux.org/faq.html> for more information.  If you
411           want to run SunOS binaries on an Ultra you must also say Y to
412           "Kernel support for 32-bit a.out binaries" above.
413
414 config SOLARIS_EMUL
415         tristate "Solaris binary emulation (EXPERIMENTAL)"
416         depends on SPARC32_COMPAT && NET && EXPERIMENTAL
417         help
418           This is experimental code which will enable you to run (many)
419           Solaris binaries on your SPARC Linux machine.
420
421           To compile this code as a module, choose M here: the
422           module will be called solaris.
423
424 endmenu
425
426 config SCHED_SMT
427         bool "SMT (Hyperthreading) scheduler support"
428         depends on SMP
429         default y
430         help
431           SMT scheduler support improves the CPU scheduler's decision making
432           when dealing with UltraSPARC cpus at a cost of slightly increased
433           overhead in some places. If unsure say N here.
434
435 config SCHED_MC
436         bool "Multi-core scheduler support"
437         depends on SMP
438         default y
439         help
440           Multi-core scheduler support improves the CPU scheduler's decision
441           making when dealing with multi-core CPU chips at a cost of slightly
442           increased overhead in some places. If unsure say N here.
443
444 source "kernel/Kconfig.preempt"
445
446 config CMDLINE_BOOL
447         bool "Default bootloader kernel arguments"
448
449 config CMDLINE
450         string "Initial kernel command string"
451         depends on CMDLINE_BOOL
452         default "console=ttyS0,9600 root=/dev/sda1"
453         help
454           Say Y here if you want to be able to pass default arguments to
455           the kernel. This will be overridden by the bootloader, if you
456           use one (such as SILO). This is most useful if you want to boot
457           a kernel from TFTP, and want default options to be available
458           with having them passed on the command line.
459
460           NOTE: This option WILL override the PROM bootargs setting!
461
462 source "net/Kconfig"
463
464 source "drivers/Kconfig"
465
466 source "drivers/sbus/char/Kconfig"
467
468 source "fs/Kconfig"
469
470 source "arch/sparc64/Kconfig.debug"
471
472 source "security/Kconfig"
473
474 source "crypto/Kconfig"
475
476 source "lib/Kconfig"