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