blob: a4ec899faa42ea319280c73d08bf37d3349463e2 [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
Steven Rostedt677aa9f2008-05-17 00:01:36 -040014 select HAVE_DYNAMIC_FTRACE
David Millerd05f5f92008-05-13 22:06:59 -070015 select HAVE_FTRACE
Sam Ravnborgec7748b2008-02-09 10:46:40 +010016 select HAVE_IDE
David S. Millerd9b2b2a2008-02-13 16:56:49 -080017 select HAVE_LMB
David S. Millere2fdd7f2008-04-29 02:38:50 -070018 select HAVE_ARCH_KGDB
David S. Millerd172ad12008-07-17 23:44:50 -070019 select USE_GENERIC_SMP_HELPERS if SMP
Roland McGrath76822582008-04-20 17:42:22 -070020 select HAVE_ARCH_TRACEHOOK
David S. Miller15df0f32008-08-20 23:03:24 -070021 select ARCH_WANT_OPTIONAL_GPIOLIB
David S. Miller90de9de2008-08-28 17:28:37 -070022 select RTC_CLASS
David S. Miller1518e7e2008-08-28 21:06:27 -070023 select RTC_DRV_M48T59
David S. Millerda867832008-08-28 22:16:15 -070024 select RTC_DRV_CMOS
David S. Miller29b503f2008-08-28 21:54:34 -070025 select RTC_DRV_BQ4802
David S. Miller5843e372005-08-30 21:46:19 -070026
David S. Miller112f4872007-03-05 15:28:37 -080027config GENERIC_TIME
28 bool
29 default y
30
Thomas Gleixner82644452007-07-21 04:37:37 -070031config GENERIC_CMOS_UPDATE
32 bool
33 default y
34
David S. Miller112f4872007-03-05 15:28:37 -080035config GENERIC_CLOCKEVENTS
36 bool
37 default y
38
David S. Miller15df0f32008-08-20 23:03:24 -070039config GENERIC_GPIO
40 bool
41 help
42 Generic GPIO API support
43
Linus Torvalds1da177e2005-04-16 15:20:36 -070044config 64BIT
45 def_bool y
46
47config MMU
48 bool
49 default y
50
David S. Millerd2841422008-02-08 18:05:46 -080051config IOMMU_HELPER
52 bool
53 default y
54
David Miller3a2cba92007-05-06 14:49:51 -070055config QUICKLIST
56 bool
57 default y
58
David S. Miller10e26722006-11-16 13:38:57 -080059config STACKTRACE_SUPPORT
60 bool
61 default y
62
63config LOCKDEP_SUPPORT
64 bool
65 default y
66
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010067config ARCH_MAY_HAVE_PC_FDC
68 bool
69 default y
70
David Howellsf0d1b0b2006-12-08 02:37:49 -080071config ARCH_HAS_ILOG2_U32
72 bool
73 default n
74
75config ARCH_HAS_ILOG2_U64
76 bool
77 default n
78
Al Virof6bc0c12006-09-12 02:59:45 -040079config AUDIT_ARCH
80 bool
81 default y
82
travis@sgi.com988c3882008-01-30 23:27:58 +010083config HAVE_SETUP_PER_CPU_AREA
travis@sgi.comb32ef632008-01-30 13:32:51 +010084 def_bool y
85
Stephen Rothwell0785b9d2007-07-18 00:09:30 -070086config ARCH_NO_VIRT_TO_BUS
87 def_bool y
88
Stephen Rothwell97e873e2007-05-01 16:26:07 +100089config OF
90 def_bool y
91
David S. Miller8d57d3a2007-10-22 02:16:45 -070092config GENERIC_HARDIRQS_NO__DO_IRQ
93 bool
94 def_bool y
95
Randy Dunlap932d0612008-07-14 22:46:33 -070096source "init/Kconfig"
97
98menu "Processor type and features"
99
Linus Torvalds1da177e2005-04-16 15:20:36 -0700100choice
101 prompt "Kernel page size"
102 default SPARC64_PAGE_SIZE_8KB
103
104config SPARC64_PAGE_SIZE_8KB
105 bool "8KB"
106 help
107 This lets you select the page size of the kernel.
108
David S. Miller05d515e2008-04-26 03:07:34 -0700109 8KB and 64KB work quite well, since SPARC ELF sections
Linus Torvalds1da177e2005-04-16 15:20:36 -0700110 provide for up to 64KB alignment.
111
Linus Torvalds1da177e2005-04-16 15:20:36 -0700112 If you don't know what to do, choose 8KB.
113
114config SPARC64_PAGE_SIZE_64KB
115 bool "64KB"
116
Linus Torvalds1da177e2005-04-16 15:20:36 -0700117endchoice
118
David S. Millerbb49bcd2005-07-10 16:49:28 -0700119config SECCOMP
120 bool "Enable seccomp to safely compute untrusted bytecode"
121 depends on PROC_FS
122 default y
123 help
124 This kernel feature is useful for number crunching applications
125 that may need to compute untrusted bytecode during their
126 execution. By using pipes or other transports made available to
127 the process as file descriptors supporting the read/write
128 syscalls, it's possible to isolate those applications in
129 their own address space using seccomp. Once seccomp is
130 enabled via /proc/<pid>/seccomp, it cannot be disabled
131 and the task is only allowed to execute a few safe syscalls
132 defined by each seccomp mode.
133
134 If unsure, say Y. Only embedded should say N here.
135
David S. Millera6524812005-07-08 15:21:51 -0700136source kernel/Kconfig.hz
137
David S. Miller4f0234f2007-07-13 16:03:42 -0700138config HOTPLUG_CPU
139 bool "Support for hot-pluggable CPUs"
140 depends on SMP
141 select HOTPLUG
David S. Miller05d515e2008-04-26 03:07:34 -0700142 help
David S. Miller4f0234f2007-07-13 16:03:42 -0700143 Say Y here to experiment with turning CPUs off and on. CPUs
144 can be controlled through /sys/devices/system/cpu/cpu#.
145 Say N if you want to disable CPU hotplug.
146
David S. Millere18e2a02006-06-20 01:23:32 -0700147config GENERIC_HARDIRQS
148 bool
149 default y
150
David S. Miller112f4872007-03-05 15:28:37 -0800151source "kernel/time/Kconfig"
152
Linus Torvalds1da177e2005-04-16 15:20:36 -0700153config SMP
154 bool "Symmetric multi-processing support"
David S. Miller05d515e2008-04-26 03:07:34 -0700155 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700156 This enables support for systems with more than one CPU. If you have
157 a system with only one CPU, say N. If you have a system with more than
158 one CPU, say Y.
159
160 If you say N here, the kernel will run on single and multiprocessor
161 machines, but will use only one CPU of a multiprocessor machine. If
David S. Miller05d515e2008-04-26 03:07:34 -0700162 you say Y here, the kernel will run on single-processor machines.
163 On a single-processor machine, the kernel will run faster if you say
164 N here.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700165
166 If you don't know what to do here, say N.
167
Linus Torvalds1da177e2005-04-16 15:20:36 -0700168config NR_CPUS
David S. Miller22adb352007-05-26 01:14:43 -0700169 int "Maximum number of CPUs (2-1024)"
170 range 2 1024
Linus Torvalds1da177e2005-04-16 15:20:36 -0700171 depends on SMP
David S. Miller22adb352007-05-26 01:14:43 -0700172 default "64"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700173
174source "drivers/cpufreq/Kconfig"
175
176config US3_FREQ
177 tristate "UltraSPARC-III CPU Frequency driver"
178 depends on CPU_FREQ
179 select CPU_FREQ_TABLE
180 help
181 This adds the CPUFreq driver for UltraSPARC-III processors.
182
183 For details, take a look at <file:Documentation/cpu-freq>.
184
185 If in doubt, say N.
186
187config US2E_FREQ
188 tristate "UltraSPARC-IIe CPU Frequency driver"
189 depends on CPU_FREQ
190 select CPU_FREQ_TABLE
191 help
192 This adds the CPUFreq driver for UltraSPARC-IIe processors.
193
194 For details, take a look at <file:Documentation/cpu-freq>.
195
196 If in doubt, say N.
197
David S. Miller41660e92008-08-24 22:17:29 -0700198config US3_MC
199 tristate "UltraSPARC-III Memory Controller driver"
200 default y
201 help
202 This adds a driver for the UltraSPARC-III memory controller.
203 Loading this driver allows exact mnemonic strings to be
204 printed in the event of a memory error, so that the faulty DIMM
205 on the motherboard can be matched to the error.
206
207 If in doubt, say Y, as this information can be very useful.
208
Linus Torvalds1da177e2005-04-16 15:20:36 -0700209# Global things across all Sun machines.
Nick Piggin95c354f2008-01-30 13:31:20 +0100210config GENERIC_LOCKBREAK
211 bool
212 default y
213 depends on SMP && PREEMPT
214
Linus Torvalds1da177e2005-04-16 15:20:36 -0700215config RWSEM_GENERIC_SPINLOCK
216 bool
217
218config RWSEM_XCHGADD_ALGORITHM
219 bool
220 default y
221
Akinobu Mita2d78d4b2006-03-26 01:39:40 -0800222config GENERIC_FIND_NEXT_BIT
223 bool
224 default y
225
226config GENERIC_HWEIGHT
227 bool
228 default y if !ULTRA_HAS_POPULATION_COUNT
229
Linus Torvalds1da177e2005-04-16 15:20:36 -0700230config GENERIC_CALIBRATE_DELAY
231 bool
232 default y
233
234choice
235 prompt "SPARC64 Huge TLB Page Size"
236 depends on HUGETLB_PAGE
237 default HUGETLB_PAGE_SIZE_4MB
238
239config HUGETLB_PAGE_SIZE_4MB
240 bool "4MB"
241
242config HUGETLB_PAGE_SIZE_512K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700243 bool "512K"
244
245config HUGETLB_PAGE_SIZE_64K
David S. Millerf7fe9332008-07-17 23:43:55 -0700246 depends on !SPARC64_PAGE_SIZE_64KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700247 bool "64K"
248
249endchoice
250
David S. Miller5843e372005-08-30 21:46:19 -0700251endmenu
252
David S. Miller919ee672008-04-23 05:40:25 -0700253config NUMA
254 bool "NUMA support"
255
256config NODES_SHIFT
257 int
258 default "4"
259 depends on NEED_MULTIPLE_NODES
260
261# Some NUMA nodes have memory ranges that span
262# other nodes. Even though a pfn is valid and
263# between a node's start and end pfns, it may not
264# reside on that node. See memmap_init_zone()
265# for details.
266config NODES_SPAN_OTHER_NODES
267 def_bool y
268 depends on NEED_MULTIPLE_NODES
269
270config ARCH_POPULATES_NODE_MAP
271 def_bool y
272
David S. Miller68491d52006-04-06 20:28:11 -0700273config ARCH_SELECT_MEMORY_MODEL
274 def_bool y
275
David S. Millerd1112012006-03-08 02:16:07 -0800276config ARCH_SPARSEMEM_ENABLE
277 def_bool y
David Miller46644c242007-10-16 01:24:16 -0700278 select SPARSEMEM_VMEMMAP_ENABLE
David S. Millerd1112012006-03-08 02:16:07 -0800279
280config ARCH_SPARSEMEM_DEFAULT
281 def_bool y
282
David S. Miller5843e372005-08-30 21:46:19 -0700283source "mm/Kconfig"
284
Linus Torvalds1da177e2005-04-16 15:20:36 -0700285config ISA
286 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700287
288config ISAPNP
289 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700290
291config EISA
292 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700293
294config MCA
295 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700296
297config PCMCIA
298 tristate
David S. Miller05d515e2008-04-26 03:07:34 -0700299 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700300 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
301 computer. These are credit-card size devices such as network cards,
302 modems or hard drives often used with laptops computers. There are
303 actually two varieties of these cards: the older 16 bit PCMCIA cards
304 and the newer 32 bit CardBus cards. If you want to use CardBus
305 cards, you need to say Y here and also to "CardBus support" below.
306
307 To use your PC-cards, you will need supporting software from David
308 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
309 for location). Please also read the PCMCIA-HOWTO, available from
310 <http://www.tldp.org/docs.html#howto>.
311
312 To compile this driver as modules, choose M here: the
313 modules will be called pcmcia_core and ds.
314
315config SBUS
316 bool
317 default y
318
319config SBUSCHAR
320 bool
321 default y
322
323config SUN_AUXIO
324 bool
325 default y
326
327config SUN_IO
328 bool
329 default y
330
David S. Millere53e97c2007-07-09 22:22:44 -0700331config SUN_LDOMS
332 bool "Sun Logical Domains support"
333 help
334 Say Y here is you want to support virtual devices via
335 Logical Domains.
336
Linus Torvalds1da177e2005-04-16 15:20:36 -0700337config PCI
338 bool "PCI support"
Dan Williamsf282b9702007-04-18 18:46:20 +1000339 select ARCH_SUPPORTS_MSI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700340 help
David S. Miller05d515e2008-04-26 03:07:34 -0700341 Find out whether your system includes a PCI bus. PCI is the name of
342 a bus system, i.e. the way the CPU talks to the other stuff inside
343 your box. If you say Y here, the kernel will include drivers and
344 infrastructure code to support PCI bus devices.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700345
Linus Torvalds1da177e2005-04-16 15:20:36 -0700346config PCI_DOMAINS
Matthew Wilcox36e23592007-07-10 10:54:40 -0600347 def_bool PCI
348
349config PCI_SYSCALL
350 def_bool PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700351
Linus Torvalds1da177e2005-04-16 15:20:36 -0700352source "drivers/pci/Kconfig"
353
354config SUN_OPENPROMFS
355 tristate "Openprom tree appears in /proc/openprom"
356 help
357 If you say Y, the OpenPROM device tree will be available as a
358 virtual file system, which you can mount to /proc/openprom by "mount
359 -t openpromfs none /proc/openprom".
360
361 To compile the /proc/openprom support as a module, choose M here: the
362 module will be called openpromfs. If unsure, choose M.
363
David S. Millerec98c6b2008-04-20 02:14:23 -0700364menu "Executable file formats"
365
366source "fs/Kconfig.binfmt"
367
Linus Torvalds1da177e2005-04-16 15:20:36 -0700368config COMPAT
369 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700370 default y
David S. Miller48c946a2008-02-08 00:08:10 -0800371 select COMPAT_BINFMT_ELF
Linus Torvalds1da177e2005-04-16 15:20:36 -0700372
David S. Millerec98c6b2008-04-20 02:14:23 -0700373config SYSVIPC_COMPAT
374 bool
375 depends on COMPAT && SYSVIPC
376 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700377
David S. Miller5843e372005-08-30 21:46:19 -0700378endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -0700379
David S. Miller8935dce2006-03-08 16:09:19 -0800380config SCHED_SMT
381 bool "SMT (Hyperthreading) scheduler support"
382 depends on SMP
383 default y
384 help
385 SMT scheduler support improves the CPU scheduler's decision making
David S. Miller05d515e2008-04-26 03:07:34 -0700386 when dealing with SPARC cpus at a cost of slightly increased overhead
387 in some places. If unsure say N here.
David S. Miller8935dce2006-03-08 16:09:19 -0800388
David S. Millerf78eae22007-06-04 17:01:39 -0700389config SCHED_MC
390 bool "Multi-core scheduler support"
391 depends on SMP
392 default y
393 help
394 Multi-core scheduler support improves the CPU scheduler's decision
395 making when dealing with multi-core CPU chips at a cost of slightly
396 increased overhead in some places. If unsure say N here.
397
David S. Millerdb2f9f62007-03-17 15:23:22 -0700398source "kernel/Kconfig.preempt"
399
Linus Torvalds1da177e2005-04-16 15:20:36 -0700400config CMDLINE_BOOL
401 bool "Default bootloader kernel arguments"
402
403config CMDLINE
404 string "Initial kernel command string"
405 depends on CMDLINE_BOOL
406 default "console=ttyS0,9600 root=/dev/sda1"
407 help
408 Say Y here if you want to be able to pass default arguments to
409 the kernel. This will be overridden by the bootloader, if you
410 use one (such as SILO). This is most useful if you want to boot
411 a kernel from TFTP, and want default options to be available
412 with having them passed on the command line.
413
414 NOTE: This option WILL override the PROM bootargs setting!
415
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700416source "net/Kconfig"
417
David S. Miller5843e372005-08-30 21:46:19 -0700418source "drivers/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700419
420source "drivers/sbus/char/Kconfig"
421
Linus Torvalds1da177e2005-04-16 15:20:36 -0700422source "fs/Kconfig"
423
Linus Torvalds1da177e2005-04-16 15:20:36 -0700424source "arch/sparc64/Kconfig.debug"
425
426source "security/Kconfig"
427
428source "crypto/Kconfig"
429
430source "lib/Kconfig"