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