blob: eb36f3b746b8ad280c7a26a07de046af25c01d3c [file] [log] [blame]
David S. Miller05d515e2008-04-26 03:07:34 -07001# sparc64 configuration
2mainmenu "Linux Kernel Configuration for 64-bit SPARC"
Linus Torvalds1da177e2005-04-16 15:20:36 -07003
Adrian Bunk0b57ee92005-12-22 21:03:47 -08004config SPARC
5 bool
6 default y
Mathieu Desnoyers42d4b832008-02-02 15:10:34 -05007 select HAVE_OPROFILE
Mathieu Desnoyers3f550092008-02-02 15:10:35 -05008 select HAVE_KPROBES
Ananth N Mavinakayanahalli9edddaa2008-03-04 14:28:37 -08009 select HAVE_KRETPROBES
Adrian Bunk0b57ee92005-12-22 21:03:47 -080010
David S. Miller5843e372005-08-30 21:46:19 -070011config SPARC64
12 bool
13 default y
Sam Ravnborgec7748b2008-02-09 10:46:40 +010014 select HAVE_IDE
David S. Millerd9b2b2a2008-02-13 16:56:49 -080015 select HAVE_LMB
David S. Millere2fdd7f2008-04-29 02:38:50 -070016 select HAVE_ARCH_KGDB
David S. Miller5843e372005-08-30 21:46:19 -070017
David S. Miller112f4872007-03-05 15:28:37 -080018config GENERIC_TIME
19 bool
20 default y
21
Thomas Gleixner82644452007-07-21 04:37:37 -070022config GENERIC_CMOS_UPDATE
23 bool
24 default y
25
David S. Miller112f4872007-03-05 15:28:37 -080026config GENERIC_CLOCKEVENTS
27 bool
28 default y
29
Linus Torvalds1da177e2005-04-16 15:20:36 -070030config 64BIT
31 def_bool y
32
33config MMU
34 bool
35 default y
36
David S. Millerd2841422008-02-08 18:05:46 -080037config IOMMU_HELPER
38 bool
39 default y
40
David Miller3a2cba92007-05-06 14:49:51 -070041config QUICKLIST
42 bool
43 default y
44
David S. Miller10e26722006-11-16 13:38:57 -080045config STACKTRACE_SUPPORT
46 bool
47 default y
48
49config LOCKDEP_SUPPORT
50 bool
51 default y
52
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010053config ARCH_MAY_HAVE_PC_FDC
54 bool
55 default y
56
David Howellsf0d1b0b2006-12-08 02:37:49 -080057config ARCH_HAS_ILOG2_U32
58 bool
59 default n
60
61config ARCH_HAS_ILOG2_U64
62 bool
63 default n
64
Al Virof6bc0c12006-09-12 02:59:45 -040065config AUDIT_ARCH
66 bool
67 default y
68
travis@sgi.com988c3882008-01-30 23:27:58 +010069config HAVE_SETUP_PER_CPU_AREA
travis@sgi.comb32ef632008-01-30 13:32:51 +010070 def_bool y
71
Stephen Rothwell0785b9d2007-07-18 00:09:30 -070072config ARCH_NO_VIRT_TO_BUS
73 def_bool y
74
Stephen Rothwell97e873e2007-05-01 16:26:07 +100075config OF
76 def_bool y
77
David S. Miller8d57d3a2007-10-22 02:16:45 -070078config GENERIC_HARDIRQS_NO__DO_IRQ
79 bool
80 def_bool y
81
Linus Torvalds1da177e2005-04-16 15:20:36 -070082choice
83 prompt "Kernel page size"
84 default SPARC64_PAGE_SIZE_8KB
85
86config SPARC64_PAGE_SIZE_8KB
87 bool "8KB"
88 help
89 This lets you select the page size of the kernel.
90
David S. Miller05d515e2008-04-26 03:07:34 -070091 8KB and 64KB work quite well, since SPARC ELF sections
Linus Torvalds1da177e2005-04-16 15:20:36 -070092 provide for up to 64KB alignment.
93
94 Therefore, 512KB and 4MB are for expert hackers only.
95
96 If you don't know what to do, choose 8KB.
97
98config SPARC64_PAGE_SIZE_64KB
99 bool "64KB"
100
101config SPARC64_PAGE_SIZE_512KB
102 bool "512KB"
103
104config SPARC64_PAGE_SIZE_4MB
105 bool "4MB"
106
107endchoice
108
David S. Millerbb49bcd2005-07-10 16:49:28 -0700109config 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
David S. Millera6524812005-07-08 15:21:51 -0700126source kernel/Kconfig.hz
127
David S. Miller4f0234f2007-07-13 16:03:42 -0700128config HOTPLUG_CPU
129 bool "Support for hot-pluggable CPUs"
130 depends on SMP
131 select HOTPLUG
David S. Miller05d515e2008-04-26 03:07:34 -0700132 help
David S. Miller4f0234f2007-07-13 16:03:42 -0700133 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
Linus Torvalds1da177e2005-04-16 15:20:36 -0700137source "init/Kconfig"
138
David S. Millere18e2a02006-06-20 01:23:32 -0700139config GENERIC_HARDIRQS
140 bool
141 default y
142
Linus Torvalds1da177e2005-04-16 15:20:36 -0700143menu "General machine setup"
144
David S. Miller112f4872007-03-05 15:28:37 -0800145source "kernel/time/Kconfig"
146
Linus Torvalds1da177e2005-04-16 15:20:36 -0700147config SMP
148 bool "Symmetric multi-processing support"
David S. Miller05d515e2008-04-26 03:07:34 -0700149 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700150 This enables support for systems with more than one CPU. If you have
151 a system with only one CPU, say N. If you have a system with more than
152 one CPU, say Y.
153
154 If you say N here, the kernel will run on single and multiprocessor
155 machines, but will use only one CPU of a multiprocessor machine. If
David S. Miller05d515e2008-04-26 03:07:34 -0700156 you say Y here, the kernel will run on single-processor machines.
157 On a single-processor machine, the kernel will run faster if you say
158 N here.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700159
160 If you don't know what to do here, say N.
161
Linus Torvalds1da177e2005-04-16 15:20:36 -0700162config NR_CPUS
David S. Miller22adb352007-05-26 01:14:43 -0700163 int "Maximum number of CPUs (2-1024)"
164 range 2 1024
Linus Torvalds1da177e2005-04-16 15:20:36 -0700165 depends on SMP
David S. Miller22adb352007-05-26 01:14:43 -0700166 default "64"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700167
168source "drivers/cpufreq/Kconfig"
169
170config US3_FREQ
171 tristate "UltraSPARC-III CPU Frequency driver"
172 depends on CPU_FREQ
173 select CPU_FREQ_TABLE
174 help
175 This adds the CPUFreq driver for UltraSPARC-III processors.
176
177 For details, take a look at <file:Documentation/cpu-freq>.
178
179 If in doubt, say N.
180
181config US2E_FREQ
182 tristate "UltraSPARC-IIe CPU Frequency driver"
183 depends on CPU_FREQ
184 select CPU_FREQ_TABLE
185 help
186 This adds the CPUFreq driver for UltraSPARC-IIe processors.
187
188 For details, take a look at <file:Documentation/cpu-freq>.
189
190 If in doubt, say N.
191
Linus Torvalds1da177e2005-04-16 15:20:36 -0700192# Global things across all Sun machines.
Nick Piggin95c354f2008-01-30 13:31:20 +0100193config GENERIC_LOCKBREAK
194 bool
195 default y
196 depends on SMP && PREEMPT
197
Linus Torvalds1da177e2005-04-16 15:20:36 -0700198config RWSEM_GENERIC_SPINLOCK
199 bool
200
201config RWSEM_XCHGADD_ALGORITHM
202 bool
203 default y
204
Akinobu Mita2d78d4b2006-03-26 01:39:40 -0800205config GENERIC_FIND_NEXT_BIT
206 bool
207 default y
208
209config GENERIC_HWEIGHT
210 bool
211 default y if !ULTRA_HAS_POPULATION_COUNT
212
Linus Torvalds1da177e2005-04-16 15:20:36 -0700213config GENERIC_CALIBRATE_DELAY
214 bool
215 default y
216
217choice
218 prompt "SPARC64 Huge TLB Page Size"
219 depends on HUGETLB_PAGE
220 default HUGETLB_PAGE_SIZE_4MB
221
222config HUGETLB_PAGE_SIZE_4MB
223 bool "4MB"
224
225config HUGETLB_PAGE_SIZE_512K
David S. Millerdcc1e8d2006-03-22 00:49:59 -0800226 depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700227 bool "512K"
228
229config HUGETLB_PAGE_SIZE_64K
Jean-Luc Légerf2a15852006-04-18 16:19:53 -0700230 depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB && !SPARC64_PAGE_SIZE_64KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700231 bool "64K"
232
233endchoice
234
David S. Miller5843e372005-08-30 21:46:19 -0700235endmenu
236
David S. Miller919ee672008-04-23 05:40:25 -0700237config NUMA
238 bool "NUMA support"
239
240config NODES_SHIFT
241 int
242 default "4"
243 depends on NEED_MULTIPLE_NODES
244
245# Some NUMA nodes have memory ranges that span
246# other nodes. Even though a pfn is valid and
247# between a node's start and end pfns, it may not
248# reside on that node. See memmap_init_zone()
249# for details.
250config NODES_SPAN_OTHER_NODES
251 def_bool y
252 depends on NEED_MULTIPLE_NODES
253
254config ARCH_POPULATES_NODE_MAP
255 def_bool y
256
David S. Miller68491d52006-04-06 20:28:11 -0700257config ARCH_SELECT_MEMORY_MODEL
258 def_bool y
259
David S. Millerd1112012006-03-08 02:16:07 -0800260config ARCH_SPARSEMEM_ENABLE
261 def_bool y
David Miller46644c22007-10-16 01:24:16 -0700262 select SPARSEMEM_VMEMMAP_ENABLE
David S. Millerd1112012006-03-08 02:16:07 -0800263
264config ARCH_SPARSEMEM_DEFAULT
265 def_bool y
266
David S. Miller5843e372005-08-30 21:46:19 -0700267source "mm/Kconfig"
268
Linus Torvalds1da177e2005-04-16 15:20:36 -0700269config ISA
270 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700271
272config ISAPNP
273 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700274
275config EISA
276 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700277
278config MCA
279 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700280
281config PCMCIA
282 tristate
David S. Miller05d515e2008-04-26 03:07:34 -0700283 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700284 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
285 computer. These are credit-card size devices such as network cards,
286 modems or hard drives often used with laptops computers. There are
287 actually two varieties of these cards: the older 16 bit PCMCIA cards
288 and the newer 32 bit CardBus cards. If you want to use CardBus
289 cards, you need to say Y here and also to "CardBus support" below.
290
291 To use your PC-cards, you will need supporting software from David
292 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
293 for location). Please also read the PCMCIA-HOWTO, available from
294 <http://www.tldp.org/docs.html#howto>.
295
296 To compile this driver as modules, choose M here: the
297 modules will be called pcmcia_core and ds.
298
299config SBUS
300 bool
301 default y
302
303config SBUSCHAR
304 bool
305 default y
306
307config SUN_AUXIO
308 bool
309 default y
310
311config SUN_IO
312 bool
313 default y
314
David S. Millere53e97c2007-07-09 22:22:44 -0700315config SUN_LDOMS
316 bool "Sun Logical Domains support"
317 help
318 Say Y here is you want to support virtual devices via
319 Logical Domains.
320
Linus Torvalds1da177e2005-04-16 15:20:36 -0700321config PCI
322 bool "PCI support"
Dan Williamsf282b972007-04-18 18:46:20 +1000323 select ARCH_SUPPORTS_MSI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700324 help
David S. Miller05d515e2008-04-26 03:07:34 -0700325 Find out whether your system includes a PCI bus. PCI is the name of
326 a bus system, i.e. the way the CPU talks to the other stuff inside
327 your box. If you say Y here, the kernel will include drivers and
328 infrastructure code to support PCI bus devices.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700329
Linus Torvalds1da177e2005-04-16 15:20:36 -0700330config PCI_DOMAINS
Matthew Wilcox36e23592007-07-10 10:54:40 -0600331 def_bool PCI
332
333config PCI_SYSCALL
334 def_bool PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700335
Linus Torvalds1da177e2005-04-16 15:20:36 -0700336source "drivers/pci/Kconfig"
337
338config SUN_OPENPROMFS
339 tristate "Openprom tree appears in /proc/openprom"
340 help
341 If you say Y, the OpenPROM device tree will be available as a
342 virtual file system, which you can mount to /proc/openprom by "mount
343 -t openpromfs none /proc/openprom".
344
345 To compile the /proc/openprom support as a module, choose M here: the
346 module will be called openpromfs. If unsure, choose M.
347
David S. Millerec98c6b2008-04-20 02:14:23 -0700348menu "Executable file formats"
349
350source "fs/Kconfig.binfmt"
351
Linus Torvalds1da177e2005-04-16 15:20:36 -0700352config COMPAT
353 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700354 default y
David S. Miller48c946a2008-02-08 00:08:10 -0800355 select COMPAT_BINFMT_ELF
Linus Torvalds1da177e2005-04-16 15:20:36 -0700356
David S. Millerec98c6b2008-04-20 02:14:23 -0700357config SYSVIPC_COMPAT
358 bool
359 depends on COMPAT && SYSVIPC
360 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700361
David S. Miller5843e372005-08-30 21:46:19 -0700362endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -0700363
David S. Miller8935dce2006-03-08 16:09:19 -0800364config SCHED_SMT
365 bool "SMT (Hyperthreading) scheduler support"
366 depends on SMP
367 default y
368 help
369 SMT scheduler support improves the CPU scheduler's decision making
David S. Miller05d515e2008-04-26 03:07:34 -0700370 when dealing with SPARC cpus at a cost of slightly increased overhead
371 in some places. If unsure say N here.
David S. Miller8935dce2006-03-08 16:09:19 -0800372
David S. Millerf78eae22007-06-04 17:01:39 -0700373config SCHED_MC
374 bool "Multi-core scheduler support"
375 depends on SMP
376 default y
377 help
378 Multi-core scheduler support improves the CPU scheduler's decision
379 making when dealing with multi-core CPU chips at a cost of slightly
380 increased overhead in some places. If unsure say N here.
381
David S. Millerdb2f9f62007-03-17 15:23:22 -0700382source "kernel/Kconfig.preempt"
383
Linus Torvalds1da177e2005-04-16 15:20:36 -0700384config CMDLINE_BOOL
385 bool "Default bootloader kernel arguments"
386
387config CMDLINE
388 string "Initial kernel command string"
389 depends on CMDLINE_BOOL
390 default "console=ttyS0,9600 root=/dev/sda1"
391 help
392 Say Y here if you want to be able to pass default arguments to
393 the kernel. This will be overridden by the bootloader, if you
394 use one (such as SILO). This is most useful if you want to boot
395 a kernel from TFTP, and want default options to be available
396 with having them passed on the command line.
397
398 NOTE: This option WILL override the PROM bootargs setting!
399
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700400source "net/Kconfig"
401
David S. Miller5843e372005-08-30 21:46:19 -0700402source "drivers/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700403
404source "drivers/sbus/char/Kconfig"
405
Linus Torvalds1da177e2005-04-16 15:20:36 -0700406source "fs/Kconfig"
407
Linus Torvalds1da177e2005-04-16 15:20:36 -0700408source "arch/sparc64/Kconfig.debug"
409
410source "security/Kconfig"
411
412source "crypto/Kconfig"
413
414source "lib/Kconfig"