blob: 36b4b7ab9cfb9250684e13874d6582302076d9c2 [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. Miller5843e372005-08-30 21:46:19 -070021
David S. Miller112f4872007-03-05 15:28:37 -080022config GENERIC_TIME
23 bool
24 default y
25
Thomas Gleixner82644452007-07-21 04:37:37 -070026config GENERIC_CMOS_UPDATE
27 bool
28 default y
29
David S. Miller112f4872007-03-05 15:28:37 -080030config GENERIC_CLOCKEVENTS
31 bool
32 default y
33
Linus Torvalds1da177e2005-04-16 15:20:36 -070034config 64BIT
35 def_bool y
36
37config MMU
38 bool
39 default y
40
David S. Millerd2841422008-02-08 18:05:46 -080041config IOMMU_HELPER
42 bool
43 default y
44
David Miller3a2cba92007-05-06 14:49:51 -070045config QUICKLIST
46 bool
47 default y
48
David S. Miller10e26722006-11-16 13:38:57 -080049config STACKTRACE_SUPPORT
50 bool
51 default y
52
53config LOCKDEP_SUPPORT
54 bool
55 default y
56
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010057config ARCH_MAY_HAVE_PC_FDC
58 bool
59 default y
60
David Howellsf0d1b0b2006-12-08 02:37:49 -080061config ARCH_HAS_ILOG2_U32
62 bool
63 default n
64
65config ARCH_HAS_ILOG2_U64
66 bool
67 default n
68
Al Virof6bc0c12006-09-12 02:59:45 -040069config AUDIT_ARCH
70 bool
71 default y
72
travis@sgi.com988c3882008-01-30 23:27:58 +010073config HAVE_SETUP_PER_CPU_AREA
travis@sgi.comb32ef632008-01-30 13:32:51 +010074 def_bool y
75
Stephen Rothwell0785b9d2007-07-18 00:09:30 -070076config ARCH_NO_VIRT_TO_BUS
77 def_bool y
78
Stephen Rothwell97e873e2007-05-01 16:26:07 +100079config OF
80 def_bool y
81
David S. Miller8d57d3a2007-10-22 02:16:45 -070082config GENERIC_HARDIRQS_NO__DO_IRQ
83 bool
84 def_bool y
85
Randy Dunlap932d0612008-07-14 22:46:33 -070086source "init/Kconfig"
87
88menu "Processor type and features"
89
Linus Torvalds1da177e2005-04-16 15:20:36 -070090choice
91 prompt "Kernel page size"
92 default SPARC64_PAGE_SIZE_8KB
93
94config SPARC64_PAGE_SIZE_8KB
95 bool "8KB"
96 help
97 This lets you select the page size of the kernel.
98
David S. Miller05d515e2008-04-26 03:07:34 -070099 8KB and 64KB work quite well, since SPARC ELF sections
Linus Torvalds1da177e2005-04-16 15:20:36 -0700100 provide for up to 64KB alignment.
101
Linus Torvalds1da177e2005-04-16 15:20:36 -0700102 If you don't know what to do, choose 8KB.
103
104config SPARC64_PAGE_SIZE_64KB
105 bool "64KB"
106
Linus Torvalds1da177e2005-04-16 15:20:36 -0700107endchoice
108
David S. Millerbb49bcd2005-07-10 16:49:28 -0700109config SECCOMP
110 bool "Enable seccomp to safely compute untrusted bytecode"
111 depends on PROC_FS
112 default y
113 help
114 This kernel feature is useful for number crunching applications
115 that may need to compute untrusted bytecode during their
116 execution. By using pipes or other transports made available to
117 the process as file descriptors supporting the read/write
118 syscalls, it's possible to isolate those applications in
119 their own address space using seccomp. Once seccomp is
120 enabled via /proc/<pid>/seccomp, it cannot be disabled
121 and the task is only allowed to execute a few safe syscalls
122 defined by each seccomp mode.
123
124 If unsure, say Y. Only embedded should say N here.
125
David S. Millera6524812005-07-08 15:21:51 -0700126source kernel/Kconfig.hz
127
David S. Miller4f0234f2007-07-13 16:03:42 -0700128config HOTPLUG_CPU
129 bool "Support for hot-pluggable CPUs"
130 depends on SMP
131 select HOTPLUG
David S. Miller05d515e2008-04-26 03:07:34 -0700132 help
David S. Miller4f0234f2007-07-13 16:03:42 -0700133 Say Y here to experiment with turning CPUs off and on. CPUs
134 can be controlled through /sys/devices/system/cpu/cpu#.
135 Say N if you want to disable CPU hotplug.
136
David S. Millere18e2a02006-06-20 01:23:32 -0700137config GENERIC_HARDIRQS
138 bool
139 default y
140
David S. Miller112f4872007-03-05 15:28:37 -0800141source "kernel/time/Kconfig"
142
Linus Torvalds1da177e2005-04-16 15:20:36 -0700143config SMP
144 bool "Symmetric multi-processing support"
David S. Miller05d515e2008-04-26 03:07:34 -0700145 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700146 This enables support for systems with more than one CPU. If you have
147 a system with only one CPU, say N. If you have a system with more than
148 one CPU, say Y.
149
150 If you say N here, the kernel will run on single and multiprocessor
151 machines, but will use only one CPU of a multiprocessor machine. If
David S. Miller05d515e2008-04-26 03:07:34 -0700152 you say Y here, the kernel will run on single-processor machines.
153 On a single-processor machine, the kernel will run faster if you say
154 N here.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700155
156 If you don't know what to do here, say N.
157
Linus Torvalds1da177e2005-04-16 15:20:36 -0700158config NR_CPUS
David S. Miller22adb352007-05-26 01:14:43 -0700159 int "Maximum number of CPUs (2-1024)"
160 range 2 1024
Linus Torvalds1da177e2005-04-16 15:20:36 -0700161 depends on SMP
David S. Miller22adb352007-05-26 01:14:43 -0700162 default "64"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700163
164source "drivers/cpufreq/Kconfig"
165
166config US3_FREQ
167 tristate "UltraSPARC-III CPU Frequency driver"
168 depends on CPU_FREQ
169 select CPU_FREQ_TABLE
170 help
171 This adds the CPUFreq driver for UltraSPARC-III processors.
172
173 For details, take a look at <file:Documentation/cpu-freq>.
174
175 If in doubt, say N.
176
177config US2E_FREQ
178 tristate "UltraSPARC-IIe CPU Frequency driver"
179 depends on CPU_FREQ
180 select CPU_FREQ_TABLE
181 help
182 This adds the CPUFreq driver for UltraSPARC-IIe processors.
183
184 For details, take a look at <file:Documentation/cpu-freq>.
185
186 If in doubt, say N.
187
Linus Torvalds1da177e2005-04-16 15:20:36 -0700188# Global things across all Sun machines.
Nick Piggin95c354f2008-01-30 13:31:20 +0100189config GENERIC_LOCKBREAK
190 bool
191 default y
192 depends on SMP && PREEMPT
193
Linus Torvalds1da177e2005-04-16 15:20:36 -0700194config RWSEM_GENERIC_SPINLOCK
195 bool
196
197config RWSEM_XCHGADD_ALGORITHM
198 bool
199 default y
200
Akinobu Mita2d78d4b2006-03-26 01:39:40 -0800201config GENERIC_FIND_NEXT_BIT
202 bool
203 default y
204
205config GENERIC_HWEIGHT
206 bool
207 default y if !ULTRA_HAS_POPULATION_COUNT
208
Linus Torvalds1da177e2005-04-16 15:20:36 -0700209config GENERIC_CALIBRATE_DELAY
210 bool
211 default y
212
213choice
214 prompt "SPARC64 Huge TLB Page Size"
215 depends on HUGETLB_PAGE
216 default HUGETLB_PAGE_SIZE_4MB
217
218config HUGETLB_PAGE_SIZE_4MB
219 bool "4MB"
220
221config HUGETLB_PAGE_SIZE_512K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700222 bool "512K"
223
224config HUGETLB_PAGE_SIZE_64K
David S. Millerf7fe9332008-07-17 23:43:55 -0700225 depends on !SPARC64_PAGE_SIZE_64KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700226 bool "64K"
227
228endchoice
229
David S. Miller5843e372005-08-30 21:46:19 -0700230endmenu
231
David S. Miller919ee672008-04-23 05:40:25 -0700232config NUMA
233 bool "NUMA support"
David S. Millera39f2f42008-08-18 20:35:16 -0700234 depends on SMP
David S. Miller919ee672008-04-23 05:40:25 -0700235
236config NODES_SHIFT
237 int
238 default "4"
239 depends on NEED_MULTIPLE_NODES
240
241# Some NUMA nodes have memory ranges that span
242# other nodes. Even though a pfn is valid and
243# between a node's start and end pfns, it may not
244# reside on that node. See memmap_init_zone()
245# for details.
246config NODES_SPAN_OTHER_NODES
247 def_bool y
248 depends on NEED_MULTIPLE_NODES
249
250config ARCH_POPULATES_NODE_MAP
251 def_bool y
252
David S. Miller68491d52006-04-06 20:28:11 -0700253config ARCH_SELECT_MEMORY_MODEL
254 def_bool y
255
David S. Millerd1112012006-03-08 02:16:07 -0800256config ARCH_SPARSEMEM_ENABLE
257 def_bool y
David Miller46644c22007-10-16 01:24:16 -0700258 select SPARSEMEM_VMEMMAP_ENABLE
David S. Millerd1112012006-03-08 02:16:07 -0800259
260config ARCH_SPARSEMEM_DEFAULT
261 def_bool y
262
David S. Miller5843e372005-08-30 21:46:19 -0700263source "mm/Kconfig"
264
Linus Torvalds1da177e2005-04-16 15:20:36 -0700265config ISA
266 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700267
268config ISAPNP
269 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700270
271config EISA
272 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700273
274config MCA
275 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700276
277config PCMCIA
278 tristate
David S. Miller05d515e2008-04-26 03:07:34 -0700279 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700280 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
281 computer. These are credit-card size devices such as network cards,
282 modems or hard drives often used with laptops computers. There are
283 actually two varieties of these cards: the older 16 bit PCMCIA cards
284 and the newer 32 bit CardBus cards. If you want to use CardBus
285 cards, you need to say Y here and also to "CardBus support" below.
286
287 To use your PC-cards, you will need supporting software from David
288 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
289 for location). Please also read the PCMCIA-HOWTO, available from
290 <http://www.tldp.org/docs.html#howto>.
291
292 To compile this driver as modules, choose M here: the
293 modules will be called pcmcia_core and ds.
294
295config SBUS
296 bool
297 default y
298
299config SBUSCHAR
300 bool
301 default y
302
303config SUN_AUXIO
304 bool
305 default y
306
307config SUN_IO
308 bool
309 default y
310
David S. Millere53e97c2007-07-09 22:22:44 -0700311config SUN_LDOMS
312 bool "Sun Logical Domains support"
313 help
314 Say Y here is you want to support virtual devices via
315 Logical Domains.
316
Linus Torvalds1da177e2005-04-16 15:20:36 -0700317config PCI
318 bool "PCI support"
Dan Williamsf282b9702007-04-18 18:46:20 +1000319 select ARCH_SUPPORTS_MSI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700320 help
David S. Miller05d515e2008-04-26 03:07:34 -0700321 Find out whether your system includes a PCI bus. PCI is the name of
322 a bus system, i.e. the way the CPU talks to the other stuff inside
323 your box. If you say Y here, the kernel will include drivers and
324 infrastructure code to support PCI bus devices.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700325
Linus Torvalds1da177e2005-04-16 15:20:36 -0700326config PCI_DOMAINS
Matthew Wilcox36e23592007-07-10 10:54:40 -0600327 def_bool PCI
328
329config PCI_SYSCALL
330 def_bool PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700331
Linus Torvalds1da177e2005-04-16 15:20:36 -0700332source "drivers/pci/Kconfig"
333
334config SUN_OPENPROMFS
335 tristate "Openprom tree appears in /proc/openprom"
336 help
337 If you say Y, the OpenPROM device tree will be available as a
338 virtual file system, which you can mount to /proc/openprom by "mount
339 -t openpromfs none /proc/openprom".
340
341 To compile the /proc/openprom support as a module, choose M here: the
342 module will be called openpromfs. If unsure, choose M.
343
David S. Millerec98c6b2008-04-20 02:14:23 -0700344menu "Executable file formats"
345
346source "fs/Kconfig.binfmt"
347
Linus Torvalds1da177e2005-04-16 15:20:36 -0700348config COMPAT
349 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700350 default y
David S. Miller48c946a2008-02-08 00:08:10 -0800351 select COMPAT_BINFMT_ELF
Linus Torvalds1da177e2005-04-16 15:20:36 -0700352
David S. Millerec98c6b2008-04-20 02:14:23 -0700353config SYSVIPC_COMPAT
354 bool
355 depends on COMPAT && SYSVIPC
356 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700357
David S. Miller5843e372005-08-30 21:46:19 -0700358endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -0700359
David S. Miller8935dce2006-03-08 16:09:19 -0800360config SCHED_SMT
361 bool "SMT (Hyperthreading) scheduler support"
362 depends on SMP
363 default y
364 help
365 SMT scheduler support improves the CPU scheduler's decision making
David S. Miller05d515e2008-04-26 03:07:34 -0700366 when dealing with SPARC cpus at a cost of slightly increased overhead
367 in some places. If unsure say N here.
David S. Miller8935dce2006-03-08 16:09:19 -0800368
David S. Millerf78eae22007-06-04 17:01:39 -0700369config SCHED_MC
370 bool "Multi-core scheduler support"
371 depends on SMP
372 default y
373 help
374 Multi-core scheduler support improves the CPU scheduler's decision
375 making when dealing with multi-core CPU chips at a cost of slightly
376 increased overhead in some places. If unsure say N here.
377
David S. Millerdb2f9f62007-03-17 15:23:22 -0700378source "kernel/Kconfig.preempt"
379
Linus Torvalds1da177e2005-04-16 15:20:36 -0700380config CMDLINE_BOOL
381 bool "Default bootloader kernel arguments"
382
383config CMDLINE
384 string "Initial kernel command string"
385 depends on CMDLINE_BOOL
386 default "console=ttyS0,9600 root=/dev/sda1"
387 help
388 Say Y here if you want to be able to pass default arguments to
389 the kernel. This will be overridden by the bootloader, if you
390 use one (such as SILO). This is most useful if you want to boot
391 a kernel from TFTP, and want default options to be available
392 with having them passed on the command line.
393
394 NOTE: This option WILL override the PROM bootargs setting!
395
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700396source "net/Kconfig"
397
David S. Miller5843e372005-08-30 21:46:19 -0700398source "drivers/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700399
400source "drivers/sbus/char/Kconfig"
401
Linus Torvalds1da177e2005-04-16 15:20:36 -0700402source "fs/Kconfig"
403
Linus Torvalds1da177e2005-04-16 15:20:36 -0700404source "arch/sparc64/Kconfig.debug"
405
406source "security/Kconfig"
407
408source "crypto/Kconfig"
409
410source "lib/Kconfig"