blob: a480df6e60124916a1f7a03f1fd0cfde48e915b8 [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
David Millerd05f5f92008-05-13 22:06:59 -070014 select HAVE_FTRACE
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. Miller5843e372005-08-30 21:46:19 -070018
David S. Miller112f4872007-03-05 15:28:37 -080019config GENERIC_TIME
20 bool
21 default y
22
Thomas Gleixner82644452007-07-21 04:37:37 -070023config GENERIC_CMOS_UPDATE
24 bool
25 default y
26
David S. Miller112f4872007-03-05 15:28:37 -080027config GENERIC_CLOCKEVENTS
28 bool
29 default y
30
Linus Torvalds1da177e2005-04-16 15:20:36 -070031config 64BIT
32 def_bool y
33
34config MMU
35 bool
36 default y
37
David S. Millerd2841422008-02-08 18:05:46 -080038config IOMMU_HELPER
39 bool
40 default y
41
David Miller3a2cba92007-05-06 14:49:51 -070042config QUICKLIST
43 bool
44 default y
45
David S. Miller10e26722006-11-16 13:38:57 -080046config STACKTRACE_SUPPORT
47 bool
48 default y
49
50config LOCKDEP_SUPPORT
51 bool
52 default y
53
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010054config ARCH_MAY_HAVE_PC_FDC
55 bool
56 default y
57
David Howellsf0d1b0b2006-12-08 02:37:49 -080058config ARCH_HAS_ILOG2_U32
59 bool
60 default n
61
62config ARCH_HAS_ILOG2_U64
63 bool
64 default n
65
Al Virof6bc0c12006-09-12 02:59:45 -040066config AUDIT_ARCH
67 bool
68 default y
69
travis@sgi.com988c3882008-01-30 23:27:58 +010070config HAVE_SETUP_PER_CPU_AREA
travis@sgi.comb32ef632008-01-30 13:32:51 +010071 def_bool y
72
Stephen Rothwell0785b9d2007-07-18 00:09:30 -070073config ARCH_NO_VIRT_TO_BUS
74 def_bool y
75
Stephen Rothwell97e873e2007-05-01 16:26:07 +100076config OF
77 def_bool y
78
David S. Miller8d57d3a2007-10-22 02:16:45 -070079config GENERIC_HARDIRQS_NO__DO_IRQ
80 bool
81 def_bool y
82
Linus Torvalds1da177e2005-04-16 15:20:36 -070083choice
84 prompt "Kernel page size"
85 default SPARC64_PAGE_SIZE_8KB
86
87config SPARC64_PAGE_SIZE_8KB
88 bool "8KB"
89 help
90 This lets you select the page size of the kernel.
91
David S. Miller05d515e2008-04-26 03:07:34 -070092 8KB and 64KB work quite well, since SPARC ELF sections
Linus Torvalds1da177e2005-04-16 15:20:36 -070093 provide for up to 64KB alignment.
94
95 Therefore, 512KB and 4MB are for expert hackers only.
96
97 If you don't know what to do, choose 8KB.
98
99config SPARC64_PAGE_SIZE_64KB
100 bool "64KB"
101
102config SPARC64_PAGE_SIZE_512KB
103 bool "512KB"
104
105config SPARC64_PAGE_SIZE_4MB
106 bool "4MB"
107
108endchoice
109
David S. Millerbb49bcd2005-07-10 16:49:28 -0700110config SECCOMP
111 bool "Enable seccomp to safely compute untrusted bytecode"
112 depends on PROC_FS
113 default y
114 help
115 This kernel feature is useful for number crunching applications
116 that may need to compute untrusted bytecode during their
117 execution. By using pipes or other transports made available to
118 the process as file descriptors supporting the read/write
119 syscalls, it's possible to isolate those applications in
120 their own address space using seccomp. Once seccomp is
121 enabled via /proc/<pid>/seccomp, it cannot be disabled
122 and the task is only allowed to execute a few safe syscalls
123 defined by each seccomp mode.
124
125 If unsure, say Y. Only embedded should say N here.
126
David S. Millera6524812005-07-08 15:21:51 -0700127source kernel/Kconfig.hz
128
David S. Miller4f0234f2007-07-13 16:03:42 -0700129config HOTPLUG_CPU
130 bool "Support for hot-pluggable CPUs"
131 depends on SMP
132 select HOTPLUG
David S. Miller05d515e2008-04-26 03:07:34 -0700133 help
David S. Miller4f0234f2007-07-13 16:03:42 -0700134 Say Y here to experiment with turning CPUs off and on. CPUs
135 can be controlled through /sys/devices/system/cpu/cpu#.
136 Say N if you want to disable CPU hotplug.
137
Linus Torvalds1da177e2005-04-16 15:20:36 -0700138source "init/Kconfig"
139
David S. Millere18e2a02006-06-20 01:23:32 -0700140config GENERIC_HARDIRQS
141 bool
142 default y
143
Linus Torvalds1da177e2005-04-16 15:20:36 -0700144menu "General machine setup"
145
David S. Miller112f4872007-03-05 15:28:37 -0800146source "kernel/time/Kconfig"
147
Linus Torvalds1da177e2005-04-16 15:20:36 -0700148config SMP
149 bool "Symmetric multi-processing support"
David S. Miller05d515e2008-04-26 03:07:34 -0700150 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700151 This enables support for systems with more than one CPU. If you have
152 a system with only one CPU, say N. If you have a system with more than
153 one CPU, say Y.
154
155 If you say N here, the kernel will run on single and multiprocessor
156 machines, but will use only one CPU of a multiprocessor machine. If
David S. Miller05d515e2008-04-26 03:07:34 -0700157 you say Y here, the kernel will run on single-processor machines.
158 On a single-processor machine, the kernel will run faster if you say
159 N here.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700160
161 If you don't know what to do here, say N.
162
Linus Torvalds1da177e2005-04-16 15:20:36 -0700163config NR_CPUS
David S. Miller22adb352007-05-26 01:14:43 -0700164 int "Maximum number of CPUs (2-1024)"
165 range 2 1024
Linus Torvalds1da177e2005-04-16 15:20:36 -0700166 depends on SMP
David S. Miller22adb352007-05-26 01:14:43 -0700167 default "64"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700168
169source "drivers/cpufreq/Kconfig"
170
171config US3_FREQ
172 tristate "UltraSPARC-III CPU Frequency driver"
173 depends on CPU_FREQ
174 select CPU_FREQ_TABLE
175 help
176 This adds the CPUFreq driver for UltraSPARC-III processors.
177
178 For details, take a look at <file:Documentation/cpu-freq>.
179
180 If in doubt, say N.
181
182config US2E_FREQ
183 tristate "UltraSPARC-IIe CPU Frequency driver"
184 depends on CPU_FREQ
185 select CPU_FREQ_TABLE
186 help
187 This adds the CPUFreq driver for UltraSPARC-IIe processors.
188
189 For details, take a look at <file:Documentation/cpu-freq>.
190
191 If in doubt, say N.
192
Linus Torvalds1da177e2005-04-16 15:20:36 -0700193# Global things across all Sun machines.
Nick Piggin95c354f2008-01-30 13:31:20 +0100194config GENERIC_LOCKBREAK
195 bool
196 default y
197 depends on SMP && PREEMPT
198
Linus Torvalds1da177e2005-04-16 15:20:36 -0700199config RWSEM_GENERIC_SPINLOCK
200 bool
201
202config RWSEM_XCHGADD_ALGORITHM
203 bool
204 default y
205
Akinobu Mita2d78d4b2006-03-26 01:39:40 -0800206config GENERIC_FIND_NEXT_BIT
207 bool
208 default y
209
210config GENERIC_HWEIGHT
211 bool
212 default y if !ULTRA_HAS_POPULATION_COUNT
213
Linus Torvalds1da177e2005-04-16 15:20:36 -0700214config GENERIC_CALIBRATE_DELAY
215 bool
216 default y
217
218choice
219 prompt "SPARC64 Huge TLB Page Size"
220 depends on HUGETLB_PAGE
221 default HUGETLB_PAGE_SIZE_4MB
222
223config HUGETLB_PAGE_SIZE_4MB
224 bool "4MB"
225
226config HUGETLB_PAGE_SIZE_512K
David S. Millerdcc1e8d2006-03-22 00:49:59 -0800227 depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700228 bool "512K"
229
230config HUGETLB_PAGE_SIZE_64K
Jean-Luc Légerf2a15852006-04-18 16:19:53 -0700231 depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB && !SPARC64_PAGE_SIZE_64KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700232 bool "64K"
233
234endchoice
235
David S. Miller5843e372005-08-30 21:46:19 -0700236endmenu
237
David S. Miller919ee672008-04-23 05:40:25 -0700238config NUMA
239 bool "NUMA support"
240
241config NODES_SHIFT
242 int
243 default "4"
244 depends on NEED_MULTIPLE_NODES
245
246# Some NUMA nodes have memory ranges that span
247# other nodes. Even though a pfn is valid and
248# between a node's start and end pfns, it may not
249# reside on that node. See memmap_init_zone()
250# for details.
251config NODES_SPAN_OTHER_NODES
252 def_bool y
253 depends on NEED_MULTIPLE_NODES
254
255config ARCH_POPULATES_NODE_MAP
256 def_bool y
257
David S. Miller68491d52006-04-06 20:28:11 -0700258config ARCH_SELECT_MEMORY_MODEL
259 def_bool y
260
David S. Millerd1112012006-03-08 02:16:07 -0800261config ARCH_SPARSEMEM_ENABLE
262 def_bool y
David Miller46644c22007-10-16 01:24:16 -0700263 select SPARSEMEM_VMEMMAP_ENABLE
David S. Millerd1112012006-03-08 02:16:07 -0800264
265config ARCH_SPARSEMEM_DEFAULT
266 def_bool y
267
David S. Miller5843e372005-08-30 21:46:19 -0700268source "mm/Kconfig"
269
Linus Torvalds1da177e2005-04-16 15:20:36 -0700270config ISA
271 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700272
273config ISAPNP
274 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700275
276config EISA
277 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700278
279config MCA
280 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700281
282config PCMCIA
283 tristate
David S. Miller05d515e2008-04-26 03:07:34 -0700284 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700285 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
286 computer. These are credit-card size devices such as network cards,
287 modems or hard drives often used with laptops computers. There are
288 actually two varieties of these cards: the older 16 bit PCMCIA cards
289 and the newer 32 bit CardBus cards. If you want to use CardBus
290 cards, you need to say Y here and also to "CardBus support" below.
291
292 To use your PC-cards, you will need supporting software from David
293 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
294 for location). Please also read the PCMCIA-HOWTO, available from
295 <http://www.tldp.org/docs.html#howto>.
296
297 To compile this driver as modules, choose M here: the
298 modules will be called pcmcia_core and ds.
299
300config SBUS
301 bool
302 default y
303
304config SBUSCHAR
305 bool
306 default y
307
308config SUN_AUXIO
309 bool
310 default y
311
312config SUN_IO
313 bool
314 default y
315
David S. Millere53e97c2007-07-09 22:22:44 -0700316config SUN_LDOMS
317 bool "Sun Logical Domains support"
318 help
319 Say Y here is you want to support virtual devices via
320 Logical Domains.
321
Linus Torvalds1da177e2005-04-16 15:20:36 -0700322config PCI
323 bool "PCI support"
Dan Williamsf282b972007-04-18 18:46:20 +1000324 select ARCH_SUPPORTS_MSI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700325 help
David S. Miller05d515e2008-04-26 03:07:34 -0700326 Find out whether your system includes a PCI bus. PCI is the name of
327 a bus system, i.e. the way the CPU talks to the other stuff inside
328 your box. If you say Y here, the kernel will include drivers and
329 infrastructure code to support PCI bus devices.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700330
Linus Torvalds1da177e2005-04-16 15:20:36 -0700331config PCI_DOMAINS
Matthew Wilcox36e23592007-07-10 10:54:40 -0600332 def_bool PCI
333
334config PCI_SYSCALL
335 def_bool PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700336
Linus Torvalds1da177e2005-04-16 15:20:36 -0700337source "drivers/pci/Kconfig"
338
339config SUN_OPENPROMFS
340 tristate "Openprom tree appears in /proc/openprom"
341 help
342 If you say Y, the OpenPROM device tree will be available as a
343 virtual file system, which you can mount to /proc/openprom by "mount
344 -t openpromfs none /proc/openprom".
345
346 To compile the /proc/openprom support as a module, choose M here: the
347 module will be called openpromfs. If unsure, choose M.
348
David S. Millerec98c6b2008-04-20 02:14:23 -0700349menu "Executable file formats"
350
351source "fs/Kconfig.binfmt"
352
Linus Torvalds1da177e2005-04-16 15:20:36 -0700353config COMPAT
354 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700355 default y
David S. Miller48c946a2008-02-08 00:08:10 -0800356 select COMPAT_BINFMT_ELF
Linus Torvalds1da177e2005-04-16 15:20:36 -0700357
David S. Millerec98c6b2008-04-20 02:14:23 -0700358config SYSVIPC_COMPAT
359 bool
360 depends on COMPAT && SYSVIPC
361 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700362
David S. Miller5843e372005-08-30 21:46:19 -0700363endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -0700364
David S. Miller8935dce2006-03-08 16:09:19 -0800365config SCHED_SMT
366 bool "SMT (Hyperthreading) scheduler support"
367 depends on SMP
368 default y
369 help
370 SMT scheduler support improves the CPU scheduler's decision making
David S. Miller05d515e2008-04-26 03:07:34 -0700371 when dealing with SPARC cpus at a cost of slightly increased overhead
372 in some places. If unsure say N here.
David S. Miller8935dce2006-03-08 16:09:19 -0800373
David S. Millerf78eae22007-06-04 17:01:39 -0700374config SCHED_MC
375 bool "Multi-core scheduler support"
376 depends on SMP
377 default y
378 help
379 Multi-core scheduler support improves the CPU scheduler's decision
380 making when dealing with multi-core CPU chips at a cost of slightly
381 increased overhead in some places. If unsure say N here.
382
David S. Millerdb2f9f62007-03-17 15:23:22 -0700383source "kernel/Kconfig.preempt"
384
Linus Torvalds1da177e2005-04-16 15:20:36 -0700385config CMDLINE_BOOL
386 bool "Default bootloader kernel arguments"
387
388config CMDLINE
389 string "Initial kernel command string"
390 depends on CMDLINE_BOOL
391 default "console=ttyS0,9600 root=/dev/sda1"
392 help
393 Say Y here if you want to be able to pass default arguments to
394 the kernel. This will be overridden by the bootloader, if you
395 use one (such as SILO). This is most useful if you want to boot
396 a kernel from TFTP, and want default options to be available
397 with having them passed on the command line.
398
399 NOTE: This option WILL override the PROM bootargs setting!
400
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700401source "net/Kconfig"
402
David S. Miller5843e372005-08-30 21:46:19 -0700403source "drivers/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700404
405source "drivers/sbus/char/Kconfig"
406
Linus Torvalds1da177e2005-04-16 15:20:36 -0700407source "fs/Kconfig"
408
Linus Torvalds1da177e2005-04-16 15:20:36 -0700409source "arch/sparc64/Kconfig.debug"
410
411source "security/Kconfig"
412
413source "crypto/Kconfig"
414
415source "lib/Kconfig"