blob: 0a4e342c041dc91f0d77359ec43e736f113468ce [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. Miller5843e372005-08-30 21:46:19 -070024
David S. Miller112f4872007-03-05 15:28:37 -080025config GENERIC_TIME
26 bool
27 default y
28
Thomas Gleixner82644452007-07-21 04:37:37 -070029config GENERIC_CMOS_UPDATE
30 bool
31 default y
32
David S. Miller112f4872007-03-05 15:28:37 -080033config GENERIC_CLOCKEVENTS
34 bool
35 default y
36
David S. Miller15df0f32008-08-20 23:03:24 -070037config GENERIC_GPIO
38 bool
39 help
40 Generic GPIO API support
41
Linus Torvalds1da177e2005-04-16 15:20:36 -070042config 64BIT
43 def_bool y
44
45config MMU
46 bool
47 default y
48
David S. Millerd2841422008-02-08 18:05:46 -080049config IOMMU_HELPER
50 bool
51 default y
52
David Miller3a2cba92007-05-06 14:49:51 -070053config QUICKLIST
54 bool
55 default y
56
David S. Miller10e26722006-11-16 13:38:57 -080057config STACKTRACE_SUPPORT
58 bool
59 default y
60
61config LOCKDEP_SUPPORT
62 bool
63 default y
64
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010065config ARCH_MAY_HAVE_PC_FDC
66 bool
67 default y
68
David Howellsf0d1b0b2006-12-08 02:37:49 -080069config ARCH_HAS_ILOG2_U32
70 bool
71 default n
72
73config ARCH_HAS_ILOG2_U64
74 bool
75 default n
76
Al Virof6bc0c12006-09-12 02:59:45 -040077config AUDIT_ARCH
78 bool
79 default y
80
travis@sgi.com988c3882008-01-30 23:27:58 +010081config HAVE_SETUP_PER_CPU_AREA
travis@sgi.comb32ef632008-01-30 13:32:51 +010082 def_bool y
83
Stephen Rothwell0785b9d2007-07-18 00:09:30 -070084config ARCH_NO_VIRT_TO_BUS
85 def_bool y
86
Stephen Rothwell97e873e2007-05-01 16:26:07 +100087config OF
88 def_bool y
89
David S. Miller8d57d3a2007-10-22 02:16:45 -070090config GENERIC_HARDIRQS_NO__DO_IRQ
91 bool
92 def_bool y
93
Randy Dunlap932d0612008-07-14 22:46:33 -070094source "init/Kconfig"
95
96menu "Processor type and features"
97
Linus Torvalds1da177e2005-04-16 15:20:36 -070098choice
99 prompt "Kernel page size"
100 default SPARC64_PAGE_SIZE_8KB
101
102config SPARC64_PAGE_SIZE_8KB
103 bool "8KB"
104 help
105 This lets you select the page size of the kernel.
106
David S. Miller05d515e2008-04-26 03:07:34 -0700107 8KB and 64KB work quite well, since SPARC ELF sections
Linus Torvalds1da177e2005-04-16 15:20:36 -0700108 provide for up to 64KB alignment.
109
Linus Torvalds1da177e2005-04-16 15:20:36 -0700110 If you don't know what to do, choose 8KB.
111
112config SPARC64_PAGE_SIZE_64KB
113 bool "64KB"
114
Linus Torvalds1da177e2005-04-16 15:20:36 -0700115endchoice
116
David S. Millerbb49bcd2005-07-10 16:49:28 -0700117config SECCOMP
118 bool "Enable seccomp to safely compute untrusted bytecode"
119 depends on PROC_FS
120 default y
121 help
122 This kernel feature is useful for number crunching applications
123 that may need to compute untrusted bytecode during their
124 execution. By using pipes or other transports made available to
125 the process as file descriptors supporting the read/write
126 syscalls, it's possible to isolate those applications in
127 their own address space using seccomp. Once seccomp is
128 enabled via /proc/<pid>/seccomp, it cannot be disabled
129 and the task is only allowed to execute a few safe syscalls
130 defined by each seccomp mode.
131
132 If unsure, say Y. Only embedded should say N here.
133
David S. Millera6524812005-07-08 15:21:51 -0700134source kernel/Kconfig.hz
135
David S. Miller4f0234f2007-07-13 16:03:42 -0700136config HOTPLUG_CPU
137 bool "Support for hot-pluggable CPUs"
138 depends on SMP
139 select HOTPLUG
David S. Miller05d515e2008-04-26 03:07:34 -0700140 help
David S. Miller4f0234f2007-07-13 16:03:42 -0700141 Say Y here to experiment with turning CPUs off and on. CPUs
142 can be controlled through /sys/devices/system/cpu/cpu#.
143 Say N if you want to disable CPU hotplug.
144
David S. Millere18e2a02006-06-20 01:23:32 -0700145config GENERIC_HARDIRQS
146 bool
147 default y
148
David S. Miller112f4872007-03-05 15:28:37 -0800149source "kernel/time/Kconfig"
150
Linus Torvalds1da177e2005-04-16 15:20:36 -0700151config SMP
152 bool "Symmetric multi-processing support"
David S. Miller05d515e2008-04-26 03:07:34 -0700153 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700154 This enables support for systems with more than one CPU. If you have
155 a system with only one CPU, say N. If you have a system with more than
156 one CPU, say Y.
157
158 If you say N here, the kernel will run on single and multiprocessor
159 machines, but will use only one CPU of a multiprocessor machine. If
David S. Miller05d515e2008-04-26 03:07:34 -0700160 you say Y here, the kernel will run on single-processor machines.
161 On a single-processor machine, the kernel will run faster if you say
162 N here.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700163
164 If you don't know what to do here, say N.
165
Linus Torvalds1da177e2005-04-16 15:20:36 -0700166config NR_CPUS
David S. Miller22adb352007-05-26 01:14:43 -0700167 int "Maximum number of CPUs (2-1024)"
168 range 2 1024
Linus Torvalds1da177e2005-04-16 15:20:36 -0700169 depends on SMP
David S. Miller22adb352007-05-26 01:14:43 -0700170 default "64"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700171
172source "drivers/cpufreq/Kconfig"
173
174config US3_FREQ
175 tristate "UltraSPARC-III CPU Frequency driver"
176 depends on CPU_FREQ
177 select CPU_FREQ_TABLE
178 help
179 This adds the CPUFreq driver for UltraSPARC-III processors.
180
181 For details, take a look at <file:Documentation/cpu-freq>.
182
183 If in doubt, say N.
184
185config US2E_FREQ
186 tristate "UltraSPARC-IIe CPU Frequency driver"
187 depends on CPU_FREQ
188 select CPU_FREQ_TABLE
189 help
190 This adds the CPUFreq driver for UltraSPARC-IIe processors.
191
192 For details, take a look at <file:Documentation/cpu-freq>.
193
194 If in doubt, say N.
195
David S. Miller41660e92008-08-24 22:17:29 -0700196config US3_MC
197 tristate "UltraSPARC-III Memory Controller driver"
198 default y
199 help
200 This adds a driver for the UltraSPARC-III memory controller.
201 Loading this driver allows exact mnemonic strings to be
202 printed in the event of a memory error, so that the faulty DIMM
203 on the motherboard can be matched to the error.
204
205 If in doubt, say Y, as this information can be very useful.
206
Linus Torvalds1da177e2005-04-16 15:20:36 -0700207# Global things across all Sun machines.
Nick Piggin95c354f2008-01-30 13:31:20 +0100208config GENERIC_LOCKBREAK
209 bool
210 default y
211 depends on SMP && PREEMPT
212
Linus Torvalds1da177e2005-04-16 15:20:36 -0700213config RWSEM_GENERIC_SPINLOCK
214 bool
215
216config RWSEM_XCHGADD_ALGORITHM
217 bool
218 default y
219
Akinobu Mita2d78d4b2006-03-26 01:39:40 -0800220config GENERIC_FIND_NEXT_BIT
221 bool
222 default y
223
224config GENERIC_HWEIGHT
225 bool
226 default y if !ULTRA_HAS_POPULATION_COUNT
227
Linus Torvalds1da177e2005-04-16 15:20:36 -0700228config GENERIC_CALIBRATE_DELAY
229 bool
230 default y
231
232choice
233 prompt "SPARC64 Huge TLB Page Size"
234 depends on HUGETLB_PAGE
235 default HUGETLB_PAGE_SIZE_4MB
236
237config HUGETLB_PAGE_SIZE_4MB
238 bool "4MB"
239
240config HUGETLB_PAGE_SIZE_512K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700241 bool "512K"
242
243config HUGETLB_PAGE_SIZE_64K
David S. Millerf7fe9332008-07-17 23:43:55 -0700244 depends on !SPARC64_PAGE_SIZE_64KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700245 bool "64K"
246
247endchoice
248
David S. Miller5843e372005-08-30 21:46:19 -0700249endmenu
250
David S. Miller919ee672008-04-23 05:40:25 -0700251config NUMA
252 bool "NUMA support"
253
254config NODES_SHIFT
255 int
256 default "4"
257 depends on NEED_MULTIPLE_NODES
258
259# Some NUMA nodes have memory ranges that span
260# other nodes. Even though a pfn is valid and
261# between a node's start and end pfns, it may not
262# reside on that node. See memmap_init_zone()
263# for details.
264config NODES_SPAN_OTHER_NODES
265 def_bool y
266 depends on NEED_MULTIPLE_NODES
267
268config ARCH_POPULATES_NODE_MAP
269 def_bool y
270
David S. Miller68491d52006-04-06 20:28:11 -0700271config ARCH_SELECT_MEMORY_MODEL
272 def_bool y
273
David S. Millerd1112012006-03-08 02:16:07 -0800274config ARCH_SPARSEMEM_ENABLE
275 def_bool y
David Miller46644c22007-10-16 01:24:16 -0700276 select SPARSEMEM_VMEMMAP_ENABLE
David S. Millerd1112012006-03-08 02:16:07 -0800277
278config ARCH_SPARSEMEM_DEFAULT
279 def_bool y
280
David S. Miller5843e372005-08-30 21:46:19 -0700281source "mm/Kconfig"
282
Linus Torvalds1da177e2005-04-16 15:20:36 -0700283config ISA
284 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700285
286config ISAPNP
287 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700288
289config EISA
290 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700291
292config MCA
293 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700294
295config PCMCIA
296 tristate
David S. Miller05d515e2008-04-26 03:07:34 -0700297 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700298 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
299 computer. These are credit-card size devices such as network cards,
300 modems or hard drives often used with laptops computers. There are
301 actually two varieties of these cards: the older 16 bit PCMCIA cards
302 and the newer 32 bit CardBus cards. If you want to use CardBus
303 cards, you need to say Y here and also to "CardBus support" below.
304
305 To use your PC-cards, you will need supporting software from David
306 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
307 for location). Please also read the PCMCIA-HOWTO, available from
308 <http://www.tldp.org/docs.html#howto>.
309
310 To compile this driver as modules, choose M here: the
311 modules will be called pcmcia_core and ds.
312
313config SBUS
314 bool
315 default y
316
317config SBUSCHAR
318 bool
319 default y
320
321config SUN_AUXIO
322 bool
323 default y
324
325config SUN_IO
326 bool
327 default y
328
David S. Millere53e97c2007-07-09 22:22:44 -0700329config SUN_LDOMS
330 bool "Sun Logical Domains support"
331 help
332 Say Y here is you want to support virtual devices via
333 Logical Domains.
334
Linus Torvalds1da177e2005-04-16 15:20:36 -0700335config PCI
336 bool "PCI support"
Dan Williamsf282b972007-04-18 18:46:20 +1000337 select ARCH_SUPPORTS_MSI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700338 help
David S. Miller05d515e2008-04-26 03:07:34 -0700339 Find out whether your system includes a PCI bus. PCI is the name of
340 a bus system, i.e. the way the CPU talks to the other stuff inside
341 your box. If you say Y here, the kernel will include drivers and
342 infrastructure code to support PCI bus devices.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700343
Linus Torvalds1da177e2005-04-16 15:20:36 -0700344config PCI_DOMAINS
Matthew Wilcox36e23592007-07-10 10:54:40 -0600345 def_bool PCI
346
347config PCI_SYSCALL
348 def_bool PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700349
Linus Torvalds1da177e2005-04-16 15:20:36 -0700350source "drivers/pci/Kconfig"
351
352config SUN_OPENPROMFS
353 tristate "Openprom tree appears in /proc/openprom"
354 help
355 If you say Y, the OpenPROM device tree will be available as a
356 virtual file system, which you can mount to /proc/openprom by "mount
357 -t openpromfs none /proc/openprom".
358
359 To compile the /proc/openprom support as a module, choose M here: the
360 module will be called openpromfs. If unsure, choose M.
361
David S. Millerec98c6b2008-04-20 02:14:23 -0700362menu "Executable file formats"
363
364source "fs/Kconfig.binfmt"
365
Linus Torvalds1da177e2005-04-16 15:20:36 -0700366config COMPAT
367 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700368 default y
David S. Miller48c946a2008-02-08 00:08:10 -0800369 select COMPAT_BINFMT_ELF
Linus Torvalds1da177e2005-04-16 15:20:36 -0700370
David S. Millerec98c6b2008-04-20 02:14:23 -0700371config SYSVIPC_COMPAT
372 bool
373 depends on COMPAT && SYSVIPC
374 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700375
David S. Miller5843e372005-08-30 21:46:19 -0700376endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -0700377
David S. Miller8935dce2006-03-08 16:09:19 -0800378config SCHED_SMT
379 bool "SMT (Hyperthreading) scheduler support"
380 depends on SMP
381 default y
382 help
383 SMT scheduler support improves the CPU scheduler's decision making
David S. Miller05d515e2008-04-26 03:07:34 -0700384 when dealing with SPARC cpus at a cost of slightly increased overhead
385 in some places. If unsure say N here.
David S. Miller8935dce2006-03-08 16:09:19 -0800386
David S. Millerf78eae22007-06-04 17:01:39 -0700387config SCHED_MC
388 bool "Multi-core scheduler support"
389 depends on SMP
390 default y
391 help
392 Multi-core scheduler support improves the CPU scheduler's decision
393 making when dealing with multi-core CPU chips at a cost of slightly
394 increased overhead in some places. If unsure say N here.
395
David S. Millerdb2f9f62007-03-17 15:23:22 -0700396source "kernel/Kconfig.preempt"
397
Linus Torvalds1da177e2005-04-16 15:20:36 -0700398config CMDLINE_BOOL
399 bool "Default bootloader kernel arguments"
400
401config CMDLINE
402 string "Initial kernel command string"
403 depends on CMDLINE_BOOL
404 default "console=ttyS0,9600 root=/dev/sda1"
405 help
406 Say Y here if you want to be able to pass default arguments to
407 the kernel. This will be overridden by the bootloader, if you
408 use one (such as SILO). This is most useful if you want to boot
409 a kernel from TFTP, and want default options to be available
410 with having them passed on the command line.
411
412 NOTE: This option WILL override the PROM bootargs setting!
413
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700414source "net/Kconfig"
415
David S. Miller5843e372005-08-30 21:46:19 -0700416source "drivers/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700417
418source "drivers/sbus/char/Kconfig"
419
Linus Torvalds1da177e2005-04-16 15:20:36 -0700420source "fs/Kconfig"
421
Linus Torvalds1da177e2005-04-16 15:20:36 -0700422source "arch/sparc64/Kconfig.debug"
423
424source "security/Kconfig"
425
426source "crypto/Kconfig"
427
428source "lib/Kconfig"