Merge branch 'bkl-removal' into next
[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
20 config GENERIC_TIME
21         bool
22         default y
23
24 config GENERIC_CMOS_UPDATE
25         bool
26         default y
27
28 config GENERIC_CLOCKEVENTS
29         bool
30         default y
31
32 config 64BIT
33         def_bool y
34
35 config MMU
36         bool
37         default y
38
39 config IOMMU_HELPER
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 GENERIC_HARDIRQS
142         bool
143         default y
144
145 menu "General machine setup"
146
147 source "kernel/time/Kconfig"
148
149 config SMP
150         bool "Symmetric multi-processing support"
151         help
152           This enables support for systems with more than one CPU. If you have
153           a system with only one CPU, say N. If you have a system with more than
154           one CPU, say Y.
155
156           If you say N here, the kernel will run on single and multiprocessor
157           machines, but will use only one CPU of a multiprocessor machine. If
158           you say Y here, the kernel will run on single-processor machines.
159           On a single-processor machine, the kernel will run faster if you say
160           N here.
161
162           If you don't know what to do here, say N.
163
164 config NR_CPUS
165         int "Maximum number of CPUs (2-1024)"
166         range 2 1024
167         depends on SMP
168         default "64"
169
170 source "drivers/cpufreq/Kconfig"
171
172 config US3_FREQ
173         tristate "UltraSPARC-III CPU Frequency driver"
174         depends on CPU_FREQ
175         select CPU_FREQ_TABLE
176         help
177           This adds the CPUFreq driver for UltraSPARC-III processors.
178
179           For details, take a look at <file:Documentation/cpu-freq>.
180
181           If in doubt, say N.
182
183 config US2E_FREQ
184         tristate "UltraSPARC-IIe CPU Frequency driver"
185         depends on CPU_FREQ
186         select CPU_FREQ_TABLE
187         help
188           This adds the CPUFreq driver for UltraSPARC-IIe processors.
189
190           For details, take a look at <file:Documentation/cpu-freq>.
191
192           If in doubt, say N.
193
194 # Global things across all Sun machines.
195 config GENERIC_LOCKBREAK
196         bool
197         default y
198         depends on SMP && PREEMPT
199
200 config RWSEM_GENERIC_SPINLOCK
201         bool
202
203 config RWSEM_XCHGADD_ALGORITHM
204         bool
205         default y
206
207 config GENERIC_FIND_NEXT_BIT
208         bool
209         default y
210
211 config GENERIC_HWEIGHT
212         bool
213         default y if !ULTRA_HAS_POPULATION_COUNT
214
215 config GENERIC_CALIBRATE_DELAY
216         bool
217         default y
218
219 choice
220         prompt "SPARC64 Huge TLB Page Size"
221         depends on HUGETLB_PAGE
222         default HUGETLB_PAGE_SIZE_4MB
223
224 config HUGETLB_PAGE_SIZE_4MB
225         bool "4MB"
226
227 config HUGETLB_PAGE_SIZE_512K
228         depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB
229         bool "512K"
230
231 config HUGETLB_PAGE_SIZE_64K
232         depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB && !SPARC64_PAGE_SIZE_64KB
233         bool "64K"
234
235 endchoice
236
237 endmenu
238
239 config NUMA
240         bool "NUMA support"
241
242 config NODES_SHIFT
243         int
244         default "4"
245         depends on NEED_MULTIPLE_NODES
246
247 # Some NUMA nodes have memory ranges that span
248 # other nodes.  Even though a pfn is valid and
249 # between a node's start and end pfns, it may not
250 # reside on that node.  See memmap_init_zone()
251 # for details.
252 config NODES_SPAN_OTHER_NODES
253         def_bool y
254         depends on NEED_MULTIPLE_NODES
255
256 config ARCH_POPULATES_NODE_MAP
257         def_bool y
258
259 config ARCH_SELECT_MEMORY_MODEL
260         def_bool y
261
262 config ARCH_SPARSEMEM_ENABLE
263         def_bool y
264         select SPARSEMEM_VMEMMAP_ENABLE
265
266 config ARCH_SPARSEMEM_DEFAULT
267         def_bool y
268
269 source "mm/Kconfig"
270
271 config ISA
272         bool
273
274 config ISAPNP
275         bool
276
277 config EISA
278         bool
279
280 config MCA
281         bool
282
283 config PCMCIA
284         tristate
285         help
286           Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
287           computer.  These are credit-card size devices such as network cards,
288           modems or hard drives often used with laptops computers.  There are
289           actually two varieties of these cards: the older 16 bit PCMCIA cards
290           and the newer 32 bit CardBus cards.  If you want to use CardBus
291           cards, you need to say Y here and also to "CardBus support" below.
292
293           To use your PC-cards, you will need supporting software from David
294           Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
295           for location).  Please also read the PCMCIA-HOWTO, available from
296           <http://www.tldp.org/docs.html#howto>.
297
298           To compile this driver as modules, choose M here: the
299           modules will be called pcmcia_core and ds.
300
301 config SBUS
302         bool
303         default y
304
305 config SBUSCHAR
306         bool
307         default y
308
309 config SUN_AUXIO
310         bool
311         default y
312
313 config SUN_IO
314         bool
315         default y
316
317 config SUN_LDOMS
318         bool "Sun Logical Domains support"
319         help
320           Say Y here is you want to support virtual devices via
321           Logical Domains.
322
323 config PCI
324         bool "PCI support"
325         select ARCH_SUPPORTS_MSI
326         help
327           Find out whether your system includes a PCI bus. PCI is the name of
328           a bus system, i.e. the way the CPU talks to the other stuff inside
329           your box.  If you say Y here, the kernel will include drivers and
330           infrastructure code to support PCI bus devices.
331
332 config PCI_DOMAINS
333         def_bool PCI
334
335 config PCI_SYSCALL
336         def_bool PCI
337
338 source "drivers/pci/Kconfig"
339
340 config SUN_OPENPROMFS
341         tristate "Openprom tree appears in /proc/openprom"
342         help
343           If you say Y, the OpenPROM device tree will be available as a
344           virtual file system, which you can mount to /proc/openprom by "mount
345           -t openpromfs none /proc/openprom".
346
347           To compile the /proc/openprom support as a module, choose M here: the
348           module will be called openpromfs.  If unsure, choose M.
349
350 menu "Executable file formats"
351
352 source "fs/Kconfig.binfmt"
353
354 config COMPAT
355         bool
356         default y
357         select COMPAT_BINFMT_ELF
358
359 config SYSVIPC_COMPAT
360         bool
361         depends on COMPAT && SYSVIPC
362         default y
363
364 endmenu
365
366 config SCHED_SMT
367         bool "SMT (Hyperthreading) scheduler support"
368         depends on SMP
369         default y
370         help
371           SMT scheduler support improves the CPU scheduler's decision making
372           when dealing with SPARC cpus at a cost of slightly increased overhead
373           in some places. If unsure say N here.
374
375 config SCHED_MC
376         bool "Multi-core scheduler support"
377         depends on SMP
378         default y
379         help
380           Multi-core scheduler support improves the CPU scheduler's decision
381           making when dealing with multi-core CPU chips at a cost of slightly
382           increased overhead in some places. If unsure say N here.
383
384 source "kernel/Kconfig.preempt"
385
386 config CMDLINE_BOOL
387         bool "Default bootloader kernel arguments"
388
389 config CMDLINE
390         string "Initial kernel command string"
391         depends on CMDLINE_BOOL
392         default "console=ttyS0,9600 root=/dev/sda1"
393         help
394           Say Y here if you want to be able to pass default arguments to
395           the kernel. This will be overridden by the bootloader, if you
396           use one (such as SILO). This is most useful if you want to boot
397           a kernel from TFTP, and want default options to be available
398           with having them passed on the command line.
399
400           NOTE: This option WILL override the PROM bootargs setting!
401
402 source "net/Kconfig"
403
404 source "drivers/Kconfig"
405
406 source "drivers/sbus/char/Kconfig"
407
408 source "fs/Kconfig"
409
410 source "arch/sparc64/Kconfig.debug"
411
412 source "security/Kconfig"
413
414 source "crypto/Kconfig"
415
416 source "lib/Kconfig"