blob: 3b96e70b467033f43f6dc4b099bbf4e47c14a975 [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 Rostedt606576c2008-10-06 19:06:12 -040014 select HAVE_FUNCTION_TRACER
Sam Ravnborgec7748b2008-02-09 10:46:40 +010015 select HAVE_IDE
David S. Millerd9b2b2a2008-02-13 16:56:49 -080016 select HAVE_LMB
David S. Millere2fdd7f2008-04-29 02:38:50 -070017 select HAVE_ARCH_KGDB
David S. Millerd172ad12008-07-17 23:44:50 -070018 select USE_GENERIC_SMP_HELPERS if SMP
Roland McGrath76822582008-04-20 17:42:22 -070019 select HAVE_ARCH_TRACEHOOK
David S. Miller15df0f32008-08-20 23:03:24 -070020 select ARCH_WANT_OPTIONAL_GPIOLIB
David S. Miller90de9de2008-08-28 17:28:37 -070021 select RTC_CLASS
David S. Miller1518e7e2008-08-28 21:06:27 -070022 select RTC_DRV_M48T59
David S. Millerda867832008-08-28 22:16:15 -070023 select RTC_DRV_CMOS
David S. Miller29b503f2008-08-28 21:54:34 -070024 select RTC_DRV_BQ4802
David S. Miller84d6bd52008-08-29 01:34:27 -070025 select RTC_DRV_SUN4V
David S. Millerf2be6de2008-08-29 01:35:19 -070026 select RTC_DRV_STARFIRE
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"
Matt Helsleydc52ddc2008-10-18 20:27:21 -070098source "kernel/Kconfig.freezer"
Randy Dunlap932d0612008-07-14 22:46:33 -070099
100menu "Processor type and features"
101
Linus Torvalds1da177e2005-04-16 15:20:36 -0700102choice
103 prompt "Kernel page size"
104 default SPARC64_PAGE_SIZE_8KB
105
106config SPARC64_PAGE_SIZE_8KB
107 bool "8KB"
108 help
109 This lets you select the page size of the kernel.
110
David S. Miller05d515e2008-04-26 03:07:34 -0700111 8KB and 64KB work quite well, since SPARC ELF sections
Linus Torvalds1da177e2005-04-16 15:20:36 -0700112 provide for up to 64KB alignment.
113
Linus Torvalds1da177e2005-04-16 15:20:36 -0700114 If you don't know what to do, choose 8KB.
115
116config SPARC64_PAGE_SIZE_64KB
117 bool "64KB"
118
Linus Torvalds1da177e2005-04-16 15:20:36 -0700119endchoice
120
David S. Millerbb49bcd2005-07-10 16:49:28 -0700121config SECCOMP
122 bool "Enable seccomp to safely compute untrusted bytecode"
123 depends on PROC_FS
124 default y
125 help
126 This kernel feature is useful for number crunching applications
127 that may need to compute untrusted bytecode during their
128 execution. By using pipes or other transports made available to
129 the process as file descriptors supporting the read/write
130 syscalls, it's possible to isolate those applications in
131 their own address space using seccomp. Once seccomp is
132 enabled via /proc/<pid>/seccomp, it cannot be disabled
133 and the task is only allowed to execute a few safe syscalls
134 defined by each seccomp mode.
135
136 If unsure, say Y. Only embedded should say N here.
137
David S. Millera6524812005-07-08 15:21:51 -0700138source kernel/Kconfig.hz
139
David S. Miller4f0234f2007-07-13 16:03:42 -0700140config HOTPLUG_CPU
141 bool "Support for hot-pluggable CPUs"
142 depends on SMP
143 select HOTPLUG
David S. Miller05d515e2008-04-26 03:07:34 -0700144 help
David S. Miller4f0234f2007-07-13 16:03:42 -0700145 Say Y here to experiment with turning CPUs off and on. CPUs
146 can be controlled through /sys/devices/system/cpu/cpu#.
147 Say N if you want to disable CPU hotplug.
148
David S. Millere18e2a02006-06-20 01:23:32 -0700149config GENERIC_HARDIRQS
150 bool
151 default y
152
David S. Miller112f4872007-03-05 15:28:37 -0800153source "kernel/time/Kconfig"
154
Linus Torvalds1da177e2005-04-16 15:20:36 -0700155config SMP
156 bool "Symmetric multi-processing support"
David S. Miller05d515e2008-04-26 03:07:34 -0700157 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700158 This enables support for systems with more than one CPU. If you have
159 a system with only one CPU, say N. If you have a system with more than
160 one CPU, say Y.
161
162 If you say N here, the kernel will run on single and multiprocessor
163 machines, but will use only one CPU of a multiprocessor machine. If
David S. Miller05d515e2008-04-26 03:07:34 -0700164 you say Y here, the kernel will run on single-processor machines.
165 On a single-processor machine, the kernel will run faster if you say
166 N here.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700167
168 If you don't know what to do here, say N.
169
Linus Torvalds1da177e2005-04-16 15:20:36 -0700170config NR_CPUS
David S. Miller22adb352007-05-26 01:14:43 -0700171 int "Maximum number of CPUs (2-1024)"
172 range 2 1024
Linus Torvalds1da177e2005-04-16 15:20:36 -0700173 depends on SMP
David S. Miller22adb352007-05-26 01:14:43 -0700174 default "64"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700175
176source "drivers/cpufreq/Kconfig"
177
178config US3_FREQ
179 tristate "UltraSPARC-III CPU Frequency driver"
180 depends on CPU_FREQ
181 select CPU_FREQ_TABLE
182 help
183 This adds the CPUFreq driver for UltraSPARC-III processors.
184
185 For details, take a look at <file:Documentation/cpu-freq>.
186
187 If in doubt, say N.
188
189config US2E_FREQ
190 tristate "UltraSPARC-IIe CPU Frequency driver"
191 depends on CPU_FREQ
192 select CPU_FREQ_TABLE
193 help
194 This adds the CPUFreq driver for UltraSPARC-IIe processors.
195
196 For details, take a look at <file:Documentation/cpu-freq>.
197
198 If in doubt, say N.
199
David S. Miller41660e92008-08-24 22:17:29 -0700200config US3_MC
201 tristate "UltraSPARC-III Memory Controller driver"
202 default y
203 help
204 This adds a driver for the UltraSPARC-III memory controller.
205 Loading this driver allows exact mnemonic strings to be
206 printed in the event of a memory error, so that the faulty DIMM
207 on the motherboard can be matched to the error.
208
209 If in doubt, say Y, as this information can be very useful.
210
Linus Torvalds1da177e2005-04-16 15:20:36 -0700211# Global things across all Sun machines.
Nick Piggin95c354f2008-01-30 13:31:20 +0100212config GENERIC_LOCKBREAK
213 bool
214 default y
215 depends on SMP && PREEMPT
216
Linus Torvalds1da177e2005-04-16 15:20:36 -0700217config RWSEM_GENERIC_SPINLOCK
218 bool
219
220config RWSEM_XCHGADD_ALGORITHM
221 bool
222 default y
223
Akinobu Mita2d78d4b2006-03-26 01:39:40 -0800224config GENERIC_FIND_NEXT_BIT
225 bool
226 default y
227
228config GENERIC_HWEIGHT
229 bool
230 default y if !ULTRA_HAS_POPULATION_COUNT
231
Linus Torvalds1da177e2005-04-16 15:20:36 -0700232config GENERIC_CALIBRATE_DELAY
233 bool
234 default y
235
236choice
237 prompt "SPARC64 Huge TLB Page Size"
238 depends on HUGETLB_PAGE
239 default HUGETLB_PAGE_SIZE_4MB
240
241config HUGETLB_PAGE_SIZE_4MB
242 bool "4MB"
243
244config HUGETLB_PAGE_SIZE_512K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700245 bool "512K"
246
247config HUGETLB_PAGE_SIZE_64K
David S. Millerf7fe9332008-07-17 23:43:55 -0700248 depends on !SPARC64_PAGE_SIZE_64KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700249 bool "64K"
250
251endchoice
252
David S. Miller5843e372005-08-30 21:46:19 -0700253endmenu
254
David S. Miller919ee672008-04-23 05:40:25 -0700255config NUMA
256 bool "NUMA support"
David S. Millera39f2f42008-08-18 20:35:16 -0700257 depends on SMP
David S. Miller919ee672008-04-23 05:40:25 -0700258
259config NODES_SHIFT
260 int
261 default "4"
262 depends on NEED_MULTIPLE_NODES
263
264# Some NUMA nodes have memory ranges that span
265# other nodes. Even though a pfn is valid and
266# between a node's start and end pfns, it may not
267# reside on that node. See memmap_init_zone()
268# for details.
269config NODES_SPAN_OTHER_NODES
270 def_bool y
271 depends on NEED_MULTIPLE_NODES
272
273config ARCH_POPULATES_NODE_MAP
274 def_bool y
275
David S. Miller68491d52006-04-06 20:28:11 -0700276config ARCH_SELECT_MEMORY_MODEL
277 def_bool y
278
David S. Millerd1112012006-03-08 02:16:07 -0800279config ARCH_SPARSEMEM_ENABLE
280 def_bool y
David Miller46644c22007-10-16 01:24:16 -0700281 select SPARSEMEM_VMEMMAP_ENABLE
David S. Millerd1112012006-03-08 02:16:07 -0800282
283config ARCH_SPARSEMEM_DEFAULT
284 def_bool y
285
David S. Miller5843e372005-08-30 21:46:19 -0700286source "mm/Kconfig"
287
Linus Torvalds1da177e2005-04-16 15:20:36 -0700288config ISA
289 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700290
291config ISAPNP
292 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700293
294config EISA
295 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700296
297config MCA
298 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700299
300config PCMCIA
301 tristate
David S. Miller05d515e2008-04-26 03:07:34 -0700302 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700303 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
304 computer. These are credit-card size devices such as network cards,
305 modems or hard drives often used with laptops computers. There are
306 actually two varieties of these cards: the older 16 bit PCMCIA cards
307 and the newer 32 bit CardBus cards. If you want to use CardBus
308 cards, you need to say Y here and also to "CardBus support" below.
309
310 To use your PC-cards, you will need supporting software from David
311 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
312 for location). Please also read the PCMCIA-HOWTO, available from
313 <http://www.tldp.org/docs.html#howto>.
314
315 To compile this driver as modules, choose M here: the
316 modules will be called pcmcia_core and ds.
317
318config SBUS
319 bool
320 default y
321
322config SBUSCHAR
323 bool
324 default y
325
326config SUN_AUXIO
327 bool
328 default y
329
330config SUN_IO
331 bool
332 default y
333
David S. Millere53e97c2007-07-09 22:22:44 -0700334config SUN_LDOMS
335 bool "Sun Logical Domains support"
336 help
337 Say Y here is you want to support virtual devices via
338 Logical Domains.
339
Linus Torvalds1da177e2005-04-16 15:20:36 -0700340config PCI
341 bool "PCI support"
Dan Williamsf282b972007-04-18 18:46:20 +1000342 select ARCH_SUPPORTS_MSI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700343 help
David S. Miller05d515e2008-04-26 03:07:34 -0700344 Find out whether your system includes a PCI bus. PCI is the name of
345 a bus system, i.e. the way the CPU talks to the other stuff inside
346 your box. If you say Y here, the kernel will include drivers and
347 infrastructure code to support PCI bus devices.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700348
Linus Torvalds1da177e2005-04-16 15:20:36 -0700349config PCI_DOMAINS
Matthew Wilcox36e23592007-07-10 10:54:40 -0600350 def_bool PCI
351
352config PCI_SYSCALL
353 def_bool PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700354
Linus Torvalds1da177e2005-04-16 15:20:36 -0700355source "drivers/pci/Kconfig"
356
357config SUN_OPENPROMFS
358 tristate "Openprom tree appears in /proc/openprom"
359 help
360 If you say Y, the OpenPROM device tree will be available as a
361 virtual file system, which you can mount to /proc/openprom by "mount
362 -t openpromfs none /proc/openprom".
363
364 To compile the /proc/openprom support as a module, choose M here: the
365 module will be called openpromfs. If unsure, choose M.
366
David S. Millerec98c6b2008-04-20 02:14:23 -0700367menu "Executable file formats"
368
369source "fs/Kconfig.binfmt"
370
Linus Torvalds1da177e2005-04-16 15:20:36 -0700371config COMPAT
372 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700373 default y
David S. Miller48c946a2008-02-08 00:08:10 -0800374 select COMPAT_BINFMT_ELF
Linus Torvalds1da177e2005-04-16 15:20:36 -0700375
David S. Millerec98c6b2008-04-20 02:14:23 -0700376config SYSVIPC_COMPAT
377 bool
378 depends on COMPAT && SYSVIPC
379 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700380
David S. Miller5843e372005-08-30 21:46:19 -0700381endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -0700382
David S. Miller8935dce2006-03-08 16:09:19 -0800383config SCHED_SMT
384 bool "SMT (Hyperthreading) scheduler support"
385 depends on SMP
386 default y
387 help
388 SMT scheduler support improves the CPU scheduler's decision making
David S. Miller05d515e2008-04-26 03:07:34 -0700389 when dealing with SPARC cpus at a cost of slightly increased overhead
390 in some places. If unsure say N here.
David S. Miller8935dce2006-03-08 16:09:19 -0800391
David S. Millerf78eae22007-06-04 17:01:39 -0700392config SCHED_MC
393 bool "Multi-core scheduler support"
394 depends on SMP
395 default y
396 help
397 Multi-core scheduler support improves the CPU scheduler's decision
398 making when dealing with multi-core CPU chips at a cost of slightly
399 increased overhead in some places. If unsure say N here.
400
David S. Millerdb2f9f62007-03-17 15:23:22 -0700401source "kernel/Kconfig.preempt"
402
Linus Torvalds1da177e2005-04-16 15:20:36 -0700403config CMDLINE_BOOL
404 bool "Default bootloader kernel arguments"
405
406config CMDLINE
407 string "Initial kernel command string"
408 depends on CMDLINE_BOOL
409 default "console=ttyS0,9600 root=/dev/sda1"
410 help
411 Say Y here if you want to be able to pass default arguments to
412 the kernel. This will be overridden by the bootloader, if you
413 use one (such as SILO). This is most useful if you want to boot
414 a kernel from TFTP, and want default options to be available
415 with having them passed on the command line.
416
417 NOTE: This option WILL override the PROM bootargs setting!
418
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700419source "net/Kconfig"
420
David S. Miller5843e372005-08-30 21:46:19 -0700421source "drivers/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700422
423source "drivers/sbus/char/Kconfig"
424
Linus Torvalds1da177e2005-04-16 15:20:36 -0700425source "fs/Kconfig"
426
Linus Torvalds1da177e2005-04-16 15:20:36 -0700427source "arch/sparc64/Kconfig.debug"
428
429source "security/Kconfig"
430
431source "crypto/Kconfig"
432
433source "lib/Kconfig"