Merge branch 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[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
21 config GENERIC_TIME
22         bool
23         default y
24
25 config GENERIC_CMOS_UPDATE
26         bool
27         default y
28
29 config GENERIC_CLOCKEVENTS
30         bool
31         default y
32
33 config 64BIT
34         def_bool y
35
36 config MMU
37         bool
38         default y
39
40 config IOMMU_HELPER
41         bool
42         default y
43
44 config QUICKLIST
45         bool
46         default y
47
48 config STACKTRACE_SUPPORT
49         bool
50         default y
51
52 config LOCKDEP_SUPPORT
53         bool
54         default y
55
56 config ARCH_MAY_HAVE_PC_FDC
57         bool
58         default y
59
60 config ARCH_HAS_ILOG2_U32
61         bool
62         default n
63
64 config ARCH_HAS_ILOG2_U64
65         bool
66         default n
67
68 config AUDIT_ARCH
69         bool
70         default y
71
72 config HAVE_SETUP_PER_CPU_AREA
73         def_bool y
74
75 config ARCH_NO_VIRT_TO_BUS
76         def_bool y
77
78 config OF
79         def_bool y
80
81 config GENERIC_HARDIRQS_NO__DO_IRQ
82         bool
83         def_bool y
84
85 source "init/Kconfig"
86
87 menu "Processor type and features"
88
89 choice
90         prompt "Kernel page size"
91         default SPARC64_PAGE_SIZE_8KB
92
93 config SPARC64_PAGE_SIZE_8KB
94         bool "8KB"
95         help
96           This lets you select the page size of the kernel.
97
98           8KB and 64KB work quite well, since SPARC ELF sections
99           provide for up to 64KB alignment.
100
101           If you don't know what to do, choose 8KB.
102
103 config SPARC64_PAGE_SIZE_64KB
104         bool "64KB"
105
106 endchoice
107
108 config 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
125 source kernel/Kconfig.hz
126
127 config HOTPLUG_CPU
128         bool "Support for hot-pluggable CPUs"
129         depends on SMP
130         select HOTPLUG
131         help
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
136 config GENERIC_HARDIRQS
137         bool
138         default y
139
140 source "kernel/time/Kconfig"
141
142 config SMP
143         bool "Symmetric multi-processing support"
144         help
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
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.
154
155           If you don't know what to do here, say N.
156
157 config NR_CPUS
158         int "Maximum number of CPUs (2-1024)"
159         range 2 1024
160         depends on SMP
161         default "64"
162
163 source "drivers/cpufreq/Kconfig"
164
165 config 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
176 config 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
187 # Global things across all Sun machines.
188 config GENERIC_LOCKBREAK
189         bool
190         default y
191         depends on SMP && PREEMPT
192
193 config RWSEM_GENERIC_SPINLOCK
194         bool
195
196 config RWSEM_XCHGADD_ALGORITHM
197         bool
198         default y
199
200 config GENERIC_FIND_NEXT_BIT
201         bool
202         default y
203
204 config GENERIC_HWEIGHT
205         bool
206         default y if !ULTRA_HAS_POPULATION_COUNT
207
208 config GENERIC_CALIBRATE_DELAY
209         bool
210         default y
211
212 choice
213         prompt "SPARC64 Huge TLB Page Size"
214         depends on HUGETLB_PAGE
215         default HUGETLB_PAGE_SIZE_4MB
216
217 config HUGETLB_PAGE_SIZE_4MB
218         bool "4MB"
219
220 config HUGETLB_PAGE_SIZE_512K
221         bool "512K"
222
223 config HUGETLB_PAGE_SIZE_64K
224         depends on !SPARC64_PAGE_SIZE_64KB
225         bool "64K"
226
227 endchoice
228
229 endmenu
230
231 config NUMA
232         bool "NUMA support"
233
234 config 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.
244 config NODES_SPAN_OTHER_NODES
245         def_bool y
246         depends on NEED_MULTIPLE_NODES
247
248 config ARCH_POPULATES_NODE_MAP
249         def_bool y
250
251 config ARCH_SELECT_MEMORY_MODEL
252         def_bool y
253
254 config ARCH_SPARSEMEM_ENABLE
255         def_bool y
256         select SPARSEMEM_VMEMMAP_ENABLE
257
258 config ARCH_SPARSEMEM_DEFAULT
259         def_bool y
260
261 source "mm/Kconfig"
262
263 config ISA
264         bool
265
266 config ISAPNP
267         bool
268
269 config EISA
270         bool
271
272 config MCA
273         bool
274
275 config PCMCIA
276         tristate
277         help
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
293 config SBUS
294         bool
295         default y
296
297 config SBUSCHAR
298         bool
299         default y
300
301 config SUN_AUXIO
302         bool
303         default y
304
305 config SUN_IO
306         bool
307         default y
308
309 config 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
315 config PCI
316         bool "PCI support"
317         select ARCH_SUPPORTS_MSI
318         help
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.
323
324 config PCI_DOMAINS
325         def_bool PCI
326
327 config PCI_SYSCALL
328         def_bool PCI
329
330 source "drivers/pci/Kconfig"
331
332 config 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
342 menu "Executable file formats"
343
344 source "fs/Kconfig.binfmt"
345
346 config COMPAT
347         bool
348         default y
349         select COMPAT_BINFMT_ELF
350
351 config SYSVIPC_COMPAT
352         bool
353         depends on COMPAT && SYSVIPC
354         default y
355
356 endmenu
357
358 config 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
364           when dealing with SPARC cpus at a cost of slightly increased overhead
365           in some places. If unsure say N here.
366
367 config 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
376 source "kernel/Kconfig.preempt"
377
378 config CMDLINE_BOOL
379         bool "Default bootloader kernel arguments"
380
381 config 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
394 source "net/Kconfig"
395
396 source "drivers/Kconfig"
397
398 source "drivers/sbus/char/Kconfig"
399
400 source "fs/Kconfig"
401
402 source "arch/sparc64/Kconfig.debug"
403
404 source "security/Kconfig"
405
406 source "crypto/Kconfig"
407
408 source "lib/Kconfig"