blob: 19f0cc8a21edb0756e17468d9ded0595d682199c [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. Miller5843e372005-08-30 21:46:19 -070023
David S. Miller112f4872007-03-05 15:28:37 -080024config GENERIC_TIME
25 bool
26 default y
27
Thomas Gleixner82644452007-07-21 04:37:37 -070028config GENERIC_CMOS_UPDATE
29 bool
30 default y
31
David S. Miller112f4872007-03-05 15:28:37 -080032config GENERIC_CLOCKEVENTS
33 bool
34 default y
35
David S. Miller15df0f32008-08-20 23:03:24 -070036config GENERIC_GPIO
37 bool
38 help
39 Generic GPIO API support
40
Linus Torvalds1da177e2005-04-16 15:20:36 -070041config 64BIT
42 def_bool y
43
44config MMU
45 bool
46 default y
47
David S. Millerd2841422008-02-08 18:05:46 -080048config IOMMU_HELPER
49 bool
50 default y
51
David Miller3a2cba92007-05-06 14:49:51 -070052config QUICKLIST
53 bool
54 default y
55
David S. Miller10e26722006-11-16 13:38:57 -080056config STACKTRACE_SUPPORT
57 bool
58 default y
59
60config LOCKDEP_SUPPORT
61 bool
62 default y
63
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010064config ARCH_MAY_HAVE_PC_FDC
65 bool
66 default y
67
David Howellsf0d1b0b2006-12-08 02:37:49 -080068config ARCH_HAS_ILOG2_U32
69 bool
70 default n
71
72config ARCH_HAS_ILOG2_U64
73 bool
74 default n
75
Al Virof6bc0c12006-09-12 02:59:45 -040076config AUDIT_ARCH
77 bool
78 default y
79
travis@sgi.com988c3882008-01-30 23:27:58 +010080config HAVE_SETUP_PER_CPU_AREA
travis@sgi.comb32ef632008-01-30 13:32:51 +010081 def_bool y
82
Stephen Rothwell0785b9d2007-07-18 00:09:30 -070083config ARCH_NO_VIRT_TO_BUS
84 def_bool y
85
Stephen Rothwell97e873e2007-05-01 16:26:07 +100086config OF
87 def_bool y
88
David S. Miller8d57d3a2007-10-22 02:16:45 -070089config GENERIC_HARDIRQS_NO__DO_IRQ
90 bool
91 def_bool y
92
Randy Dunlap932d0612008-07-14 22:46:33 -070093source "init/Kconfig"
94
95menu "Processor type and features"
96
Linus Torvalds1da177e2005-04-16 15:20:36 -070097choice
98 prompt "Kernel page size"
99 default SPARC64_PAGE_SIZE_8KB
100
101config SPARC64_PAGE_SIZE_8KB
102 bool "8KB"
103 help
104 This lets you select the page size of the kernel.
105
David S. Miller05d515e2008-04-26 03:07:34 -0700106 8KB and 64KB work quite well, since SPARC ELF sections
Linus Torvalds1da177e2005-04-16 15:20:36 -0700107 provide for up to 64KB alignment.
108
Linus Torvalds1da177e2005-04-16 15:20:36 -0700109 If you don't know what to do, choose 8KB.
110
111config SPARC64_PAGE_SIZE_64KB
112 bool "64KB"
113
Linus Torvalds1da177e2005-04-16 15:20:36 -0700114endchoice
115
David S. Millerbb49bcd2005-07-10 16:49:28 -0700116config SECCOMP
117 bool "Enable seccomp to safely compute untrusted bytecode"
118 depends on PROC_FS
119 default y
120 help
121 This kernel feature is useful for number crunching applications
122 that may need to compute untrusted bytecode during their
123 execution. By using pipes or other transports made available to
124 the process as file descriptors supporting the read/write
125 syscalls, it's possible to isolate those applications in
126 their own address space using seccomp. Once seccomp is
127 enabled via /proc/<pid>/seccomp, it cannot be disabled
128 and the task is only allowed to execute a few safe syscalls
129 defined by each seccomp mode.
130
131 If unsure, say Y. Only embedded should say N here.
132
David S. Millera6524812005-07-08 15:21:51 -0700133source kernel/Kconfig.hz
134
David S. Miller4f0234f2007-07-13 16:03:42 -0700135config HOTPLUG_CPU
136 bool "Support for hot-pluggable CPUs"
137 depends on SMP
138 select HOTPLUG
David S. Miller05d515e2008-04-26 03:07:34 -0700139 help
David S. Miller4f0234f2007-07-13 16:03:42 -0700140 Say Y here to experiment with turning CPUs off and on. CPUs
141 can be controlled through /sys/devices/system/cpu/cpu#.
142 Say N if you want to disable CPU hotplug.
143
David S. Millere18e2a02006-06-20 01:23:32 -0700144config GENERIC_HARDIRQS
145 bool
146 default y
147
David S. Miller112f4872007-03-05 15:28:37 -0800148source "kernel/time/Kconfig"
149
Linus Torvalds1da177e2005-04-16 15:20:36 -0700150config SMP
151 bool "Symmetric multi-processing support"
David S. Miller05d515e2008-04-26 03:07:34 -0700152 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700153 This enables support for systems with more than one CPU. If you have
154 a system with only one CPU, say N. If you have a system with more than
155 one CPU, say Y.
156
157 If you say N here, the kernel will run on single and multiprocessor
158 machines, but will use only one CPU of a multiprocessor machine. If
David S. Miller05d515e2008-04-26 03:07:34 -0700159 you say Y here, the kernel will run on single-processor machines.
160 On a single-processor machine, the kernel will run faster if you say
161 N here.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700162
163 If you don't know what to do here, say N.
164
Linus Torvalds1da177e2005-04-16 15:20:36 -0700165config NR_CPUS
David S. Miller22adb352007-05-26 01:14:43 -0700166 int "Maximum number of CPUs (2-1024)"
167 range 2 1024
Linus Torvalds1da177e2005-04-16 15:20:36 -0700168 depends on SMP
David S. Miller22adb352007-05-26 01:14:43 -0700169 default "64"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700170
171source "drivers/cpufreq/Kconfig"
172
173config US3_FREQ
174 tristate "UltraSPARC-III CPU Frequency driver"
175 depends on CPU_FREQ
176 select CPU_FREQ_TABLE
177 help
178 This adds the CPUFreq driver for UltraSPARC-III processors.
179
180 For details, take a look at <file:Documentation/cpu-freq>.
181
182 If in doubt, say N.
183
184config US2E_FREQ
185 tristate "UltraSPARC-IIe CPU Frequency driver"
186 depends on CPU_FREQ
187 select CPU_FREQ_TABLE
188 help
189 This adds the CPUFreq driver for UltraSPARC-IIe processors.
190
191 For details, take a look at <file:Documentation/cpu-freq>.
192
193 If in doubt, say N.
194
David S. Miller41660e92008-08-24 22:17:29 -0700195config US3_MC
196 tristate "UltraSPARC-III Memory Controller driver"
197 default y
198 help
199 This adds a driver for the UltraSPARC-III memory controller.
200 Loading this driver allows exact mnemonic strings to be
201 printed in the event of a memory error, so that the faulty DIMM
202 on the motherboard can be matched to the error.
203
204 If in doubt, say Y, as this information can be very useful.
205
Linus Torvalds1da177e2005-04-16 15:20:36 -0700206# Global things across all Sun machines.
Nick Piggin95c354f2008-01-30 13:31:20 +0100207config GENERIC_LOCKBREAK
208 bool
209 default y
210 depends on SMP && PREEMPT
211
Linus Torvalds1da177e2005-04-16 15:20:36 -0700212config RWSEM_GENERIC_SPINLOCK
213 bool
214
215config RWSEM_XCHGADD_ALGORITHM
216 bool
217 default y
218
Akinobu Mita2d78d4b2006-03-26 01:39:40 -0800219config GENERIC_FIND_NEXT_BIT
220 bool
221 default y
222
223config GENERIC_HWEIGHT
224 bool
225 default y if !ULTRA_HAS_POPULATION_COUNT
226
Linus Torvalds1da177e2005-04-16 15:20:36 -0700227config GENERIC_CALIBRATE_DELAY
228 bool
229 default y
230
231choice
232 prompt "SPARC64 Huge TLB Page Size"
233 depends on HUGETLB_PAGE
234 default HUGETLB_PAGE_SIZE_4MB
235
236config HUGETLB_PAGE_SIZE_4MB
237 bool "4MB"
238
239config HUGETLB_PAGE_SIZE_512K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700240 bool "512K"
241
242config HUGETLB_PAGE_SIZE_64K
David S. Millerf7fe9332008-07-17 23:43:55 -0700243 depends on !SPARC64_PAGE_SIZE_64KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700244 bool "64K"
245
246endchoice
247
David S. Miller5843e372005-08-30 21:46:19 -0700248endmenu
249
David S. Miller919ee672008-04-23 05:40:25 -0700250config NUMA
251 bool "NUMA support"
252
253config NODES_SHIFT
254 int
255 default "4"
256 depends on NEED_MULTIPLE_NODES
257
258# Some NUMA nodes have memory ranges that span
259# other nodes. Even though a pfn is valid and
260# between a node's start and end pfns, it may not
261# reside on that node. See memmap_init_zone()
262# for details.
263config NODES_SPAN_OTHER_NODES
264 def_bool y
265 depends on NEED_MULTIPLE_NODES
266
267config ARCH_POPULATES_NODE_MAP
268 def_bool y
269
David S. Miller68491d52006-04-06 20:28:11 -0700270config ARCH_SELECT_MEMORY_MODEL
271 def_bool y
272
David S. Millerd1112012006-03-08 02:16:07 -0800273config ARCH_SPARSEMEM_ENABLE
274 def_bool y
David Miller46644c22007-10-16 01:24:16 -0700275 select SPARSEMEM_VMEMMAP_ENABLE
David S. Millerd1112012006-03-08 02:16:07 -0800276
277config ARCH_SPARSEMEM_DEFAULT
278 def_bool y
279
David S. Miller5843e372005-08-30 21:46:19 -0700280source "mm/Kconfig"
281
Linus Torvalds1da177e2005-04-16 15:20:36 -0700282config ISA
283 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700284
285config ISAPNP
286 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700287
288config EISA
289 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700290
291config MCA
292 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700293
294config PCMCIA
295 tristate
David S. Miller05d515e2008-04-26 03:07:34 -0700296 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700297 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
298 computer. These are credit-card size devices such as network cards,
299 modems or hard drives often used with laptops computers. There are
300 actually two varieties of these cards: the older 16 bit PCMCIA cards
301 and the newer 32 bit CardBus cards. If you want to use CardBus
302 cards, you need to say Y here and also to "CardBus support" below.
303
304 To use your PC-cards, you will need supporting software from David
305 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
306 for location). Please also read the PCMCIA-HOWTO, available from
307 <http://www.tldp.org/docs.html#howto>.
308
309 To compile this driver as modules, choose M here: the
310 modules will be called pcmcia_core and ds.
311
312config SBUS
313 bool
314 default y
315
316config SBUSCHAR
317 bool
318 default y
319
320config SUN_AUXIO
321 bool
322 default y
323
324config SUN_IO
325 bool
326 default y
327
David S. Millere53e97c2007-07-09 22:22:44 -0700328config SUN_LDOMS
329 bool "Sun Logical Domains support"
330 help
331 Say Y here is you want to support virtual devices via
332 Logical Domains.
333
Linus Torvalds1da177e2005-04-16 15:20:36 -0700334config PCI
335 bool "PCI support"
Dan Williamsf282b972007-04-18 18:46:20 +1000336 select ARCH_SUPPORTS_MSI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700337 help
David S. Miller05d515e2008-04-26 03:07:34 -0700338 Find out whether your system includes a PCI bus. PCI is the name of
339 a bus system, i.e. the way the CPU talks to the other stuff inside
340 your box. If you say Y here, the kernel will include drivers and
341 infrastructure code to support PCI bus devices.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700342
Linus Torvalds1da177e2005-04-16 15:20:36 -0700343config PCI_DOMAINS
Matthew Wilcox36e23592007-07-10 10:54:40 -0600344 def_bool PCI
345
346config PCI_SYSCALL
347 def_bool PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700348
Linus Torvalds1da177e2005-04-16 15:20:36 -0700349source "drivers/pci/Kconfig"
350
351config SUN_OPENPROMFS
352 tristate "Openprom tree appears in /proc/openprom"
353 help
354 If you say Y, the OpenPROM device tree will be available as a
355 virtual file system, which you can mount to /proc/openprom by "mount
356 -t openpromfs none /proc/openprom".
357
358 To compile the /proc/openprom support as a module, choose M here: the
359 module will be called openpromfs. If unsure, choose M.
360
David S. Millerec98c6b2008-04-20 02:14:23 -0700361menu "Executable file formats"
362
363source "fs/Kconfig.binfmt"
364
Linus Torvalds1da177e2005-04-16 15:20:36 -0700365config COMPAT
366 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700367 default y
David S. Miller48c946a2008-02-08 00:08:10 -0800368 select COMPAT_BINFMT_ELF
Linus Torvalds1da177e2005-04-16 15:20:36 -0700369
David S. Millerec98c6b2008-04-20 02:14:23 -0700370config SYSVIPC_COMPAT
371 bool
372 depends on COMPAT && SYSVIPC
373 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700374
David S. Miller5843e372005-08-30 21:46:19 -0700375endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -0700376
David S. Miller8935dce2006-03-08 16:09:19 -0800377config SCHED_SMT
378 bool "SMT (Hyperthreading) scheduler support"
379 depends on SMP
380 default y
381 help
382 SMT scheduler support improves the CPU scheduler's decision making
David S. Miller05d515e2008-04-26 03:07:34 -0700383 when dealing with SPARC cpus at a cost of slightly increased overhead
384 in some places. If unsure say N here.
David S. Miller8935dce2006-03-08 16:09:19 -0800385
David S. Millerf78eae22007-06-04 17:01:39 -0700386config SCHED_MC
387 bool "Multi-core scheduler support"
388 depends on SMP
389 default y
390 help
391 Multi-core scheduler support improves the CPU scheduler's decision
392 making when dealing with multi-core CPU chips at a cost of slightly
393 increased overhead in some places. If unsure say N here.
394
David S. Millerdb2f9f62007-03-17 15:23:22 -0700395source "kernel/Kconfig.preempt"
396
Linus Torvalds1da177e2005-04-16 15:20:36 -0700397config CMDLINE_BOOL
398 bool "Default bootloader kernel arguments"
399
400config CMDLINE
401 string "Initial kernel command string"
402 depends on CMDLINE_BOOL
403 default "console=ttyS0,9600 root=/dev/sda1"
404 help
405 Say Y here if you want to be able to pass default arguments to
406 the kernel. This will be overridden by the bootloader, if you
407 use one (such as SILO). This is most useful if you want to boot
408 a kernel from TFTP, and want default options to be available
409 with having them passed on the command line.
410
411 NOTE: This option WILL override the PROM bootargs setting!
412
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700413source "net/Kconfig"
414
David S. Miller5843e372005-08-30 21:46:19 -0700415source "drivers/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700416
417source "drivers/sbus/char/Kconfig"
418
Linus Torvalds1da177e2005-04-16 15:20:36 -0700419source "fs/Kconfig"
420
Linus Torvalds1da177e2005-04-16 15:20:36 -0700421source "arch/sparc64/Kconfig.debug"
422
423source "security/Kconfig"
424
425source "crypto/Kconfig"
426
427source "lib/Kconfig"