blob: 16149ce8a41669352a7a6ded056f5ee9c9f6e136 [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. Miller84d6bd52008-08-29 01:34:27 -070026 select RTC_DRV_SUN4V
David S. Miller5843e372005-08-30 21:46:19 -070027
David S. Miller112f4872007-03-05 15:28:37 -080028config GENERIC_TIME
29 bool
30 default y
31
Thomas Gleixner82644452007-07-21 04:37:37 -070032config GENERIC_CMOS_UPDATE
33 bool
34 default y
35
David S. Miller112f4872007-03-05 15:28:37 -080036config GENERIC_CLOCKEVENTS
37 bool
38 default y
39
David S. Miller15df0f32008-08-20 23:03:24 -070040config GENERIC_GPIO
41 bool
42 help
43 Generic GPIO API support
44
Linus Torvalds1da177e2005-04-16 15:20:36 -070045config 64BIT
46 def_bool y
47
48config MMU
49 bool
50 default y
51
David S. Millerd2841422008-02-08 18:05:46 -080052config IOMMU_HELPER
53 bool
54 default y
55
David Miller3a2cba92007-05-06 14:49:51 -070056config QUICKLIST
57 bool
58 default y
59
David S. Miller10e26722006-11-16 13:38:57 -080060config STACKTRACE_SUPPORT
61 bool
62 default y
63
64config LOCKDEP_SUPPORT
65 bool
66 default y
67
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010068config ARCH_MAY_HAVE_PC_FDC
69 bool
70 default y
71
David Howellsf0d1b0b2006-12-08 02:37:49 -080072config ARCH_HAS_ILOG2_U32
73 bool
74 default n
75
76config ARCH_HAS_ILOG2_U64
77 bool
78 default n
79
Al Virof6bc0c12006-09-12 02:59:45 -040080config AUDIT_ARCH
81 bool
82 default y
83
travis@sgi.com988c3882008-01-30 23:27:58 +010084config HAVE_SETUP_PER_CPU_AREA
travis@sgi.comb32ef632008-01-30 13:32:51 +010085 def_bool y
86
Stephen Rothwell0785b9d2007-07-18 00:09:30 -070087config ARCH_NO_VIRT_TO_BUS
88 def_bool y
89
Stephen Rothwell97e873e2007-05-01 16:26:07 +100090config OF
91 def_bool y
92
David S. Miller8d57d3a2007-10-22 02:16:45 -070093config GENERIC_HARDIRQS_NO__DO_IRQ
94 bool
95 def_bool y
96
Randy Dunlap932d0612008-07-14 22:46:33 -070097source "init/Kconfig"
98
99menu "Processor type and features"
100
Linus Torvalds1da177e2005-04-16 15:20:36 -0700101choice
102 prompt "Kernel page size"
103 default SPARC64_PAGE_SIZE_8KB
104
105config SPARC64_PAGE_SIZE_8KB
106 bool "8KB"
107 help
108 This lets you select the page size of the kernel.
109
David S. Miller05d515e2008-04-26 03:07:34 -0700110 8KB and 64KB work quite well, since SPARC ELF sections
Linus Torvalds1da177e2005-04-16 15:20:36 -0700111 provide for up to 64KB alignment.
112
Linus Torvalds1da177e2005-04-16 15:20:36 -0700113 If you don't know what to do, choose 8KB.
114
115config SPARC64_PAGE_SIZE_64KB
116 bool "64KB"
117
Linus Torvalds1da177e2005-04-16 15:20:36 -0700118endchoice
119
David S. Millerbb49bcd2005-07-10 16:49:28 -0700120config 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
David S. Millera6524812005-07-08 15:21:51 -0700137source kernel/Kconfig.hz
138
David S. Miller4f0234f2007-07-13 16:03:42 -0700139config HOTPLUG_CPU
140 bool "Support for hot-pluggable CPUs"
141 depends on SMP
142 select HOTPLUG
David S. Miller05d515e2008-04-26 03:07:34 -0700143 help
David S. Miller4f0234f2007-07-13 16:03:42 -0700144 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
David S. Millere18e2a02006-06-20 01:23:32 -0700148config GENERIC_HARDIRQS
149 bool
150 default y
151
David S. Miller112f4872007-03-05 15:28:37 -0800152source "kernel/time/Kconfig"
153
Linus Torvalds1da177e2005-04-16 15:20:36 -0700154config SMP
155 bool "Symmetric multi-processing support"
David S. Miller05d515e2008-04-26 03:07:34 -0700156 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700157 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
David S. Miller05d515e2008-04-26 03:07:34 -0700163 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.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700166
167 If you don't know what to do here, say N.
168
Linus Torvalds1da177e2005-04-16 15:20:36 -0700169config NR_CPUS
David S. Miller22adb352007-05-26 01:14:43 -0700170 int "Maximum number of CPUs (2-1024)"
171 range 2 1024
Linus Torvalds1da177e2005-04-16 15:20:36 -0700172 depends on SMP
David S. Miller22adb352007-05-26 01:14:43 -0700173 default "64"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700174
175source "drivers/cpufreq/Kconfig"
176
177config 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
188config 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
David S. Miller41660e92008-08-24 22:17:29 -0700199config 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
Linus Torvalds1da177e2005-04-16 15:20:36 -0700210# Global things across all Sun machines.
Nick Piggin95c354f2008-01-30 13:31:20 +0100211config GENERIC_LOCKBREAK
212 bool
213 default y
214 depends on SMP && PREEMPT
215
Linus Torvalds1da177e2005-04-16 15:20:36 -0700216config RWSEM_GENERIC_SPINLOCK
217 bool
218
219config RWSEM_XCHGADD_ALGORITHM
220 bool
221 default y
222
Akinobu Mita2d78d4b2006-03-26 01:39:40 -0800223config GENERIC_FIND_NEXT_BIT
224 bool
225 default y
226
227config GENERIC_HWEIGHT
228 bool
229 default y if !ULTRA_HAS_POPULATION_COUNT
230
Linus Torvalds1da177e2005-04-16 15:20:36 -0700231config GENERIC_CALIBRATE_DELAY
232 bool
233 default y
234
235choice
236 prompt "SPARC64 Huge TLB Page Size"
237 depends on HUGETLB_PAGE
238 default HUGETLB_PAGE_SIZE_4MB
239
240config HUGETLB_PAGE_SIZE_4MB
241 bool "4MB"
242
243config HUGETLB_PAGE_SIZE_512K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700244 bool "512K"
245
246config HUGETLB_PAGE_SIZE_64K
David S. Millerf7fe9332008-07-17 23:43:55 -0700247 depends on !SPARC64_PAGE_SIZE_64KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700248 bool "64K"
249
250endchoice
251
David S. Miller5843e372005-08-30 21:46:19 -0700252endmenu
253
David S. Miller919ee672008-04-23 05:40:25 -0700254config NUMA
255 bool "NUMA support"
256
257config 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.
267config NODES_SPAN_OTHER_NODES
268 def_bool y
269 depends on NEED_MULTIPLE_NODES
270
271config ARCH_POPULATES_NODE_MAP
272 def_bool y
273
David S. Miller68491d52006-04-06 20:28:11 -0700274config ARCH_SELECT_MEMORY_MODEL
275 def_bool y
276
David S. Millerd1112012006-03-08 02:16:07 -0800277config ARCH_SPARSEMEM_ENABLE
278 def_bool y
David Miller46644c22007-10-16 01:24:16 -0700279 select SPARSEMEM_VMEMMAP_ENABLE
David S. Millerd1112012006-03-08 02:16:07 -0800280
281config ARCH_SPARSEMEM_DEFAULT
282 def_bool y
283
David S. Miller5843e372005-08-30 21:46:19 -0700284source "mm/Kconfig"
285
Linus Torvalds1da177e2005-04-16 15:20:36 -0700286config ISA
287 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700288
289config ISAPNP
290 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700291
292config EISA
293 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700294
295config MCA
296 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700297
298config PCMCIA
299 tristate
David S. Miller05d515e2008-04-26 03:07:34 -0700300 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700301 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
316config SBUS
317 bool
318 default y
319
320config SBUSCHAR
321 bool
322 default y
323
324config SUN_AUXIO
325 bool
326 default y
327
328config SUN_IO
329 bool
330 default y
331
David S. Millere53e97c2007-07-09 22:22:44 -0700332config 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
Linus Torvalds1da177e2005-04-16 15:20:36 -0700338config PCI
339 bool "PCI support"
Dan Williamsf282b972007-04-18 18:46:20 +1000340 select ARCH_SUPPORTS_MSI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700341 help
David S. Miller05d515e2008-04-26 03:07:34 -0700342 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.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700346
Linus Torvalds1da177e2005-04-16 15:20:36 -0700347config PCI_DOMAINS
Matthew Wilcox36e23592007-07-10 10:54:40 -0600348 def_bool PCI
349
350config PCI_SYSCALL
351 def_bool PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700352
Linus Torvalds1da177e2005-04-16 15:20:36 -0700353source "drivers/pci/Kconfig"
354
355config 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
David S. Millerec98c6b2008-04-20 02:14:23 -0700365menu "Executable file formats"
366
367source "fs/Kconfig.binfmt"
368
Linus Torvalds1da177e2005-04-16 15:20:36 -0700369config COMPAT
370 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700371 default y
David S. Miller48c946a2008-02-08 00:08:10 -0800372 select COMPAT_BINFMT_ELF
Linus Torvalds1da177e2005-04-16 15:20:36 -0700373
David S. Millerec98c6b2008-04-20 02:14:23 -0700374config SYSVIPC_COMPAT
375 bool
376 depends on COMPAT && SYSVIPC
377 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700378
David S. Miller5843e372005-08-30 21:46:19 -0700379endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -0700380
David S. Miller8935dce2006-03-08 16:09:19 -0800381config 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
David S. Miller05d515e2008-04-26 03:07:34 -0700387 when dealing with SPARC cpus at a cost of slightly increased overhead
388 in some places. If unsure say N here.
David S. Miller8935dce2006-03-08 16:09:19 -0800389
David S. Millerf78eae22007-06-04 17:01:39 -0700390config 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
David S. Millerdb2f9f62007-03-17 15:23:22 -0700399source "kernel/Kconfig.preempt"
400
Linus Torvalds1da177e2005-04-16 15:20:36 -0700401config CMDLINE_BOOL
402 bool "Default bootloader kernel arguments"
403
404config 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
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700417source "net/Kconfig"
418
David S. Miller5843e372005-08-30 21:46:19 -0700419source "drivers/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700420
421source "drivers/sbus/char/Kconfig"
422
Linus Torvalds1da177e2005-04-16 15:20:36 -0700423source "fs/Kconfig"
424
Linus Torvalds1da177e2005-04-16 15:20:36 -0700425source "arch/sparc64/Kconfig.debug"
426
427source "security/Kconfig"
428
429source "crypto/Kconfig"
430
431source "lib/Kconfig"