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