blob: d3fa0f8fc613949461c82c453e35798e2625efcb [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
Sam Ravnborgec7748b2008-02-09 10:46:40 +010014 select HAVE_IDE
David S. Millerd9b2b2a2008-02-13 16:56:49 -080015 select HAVE_LMB
David S. Miller5843e372005-08-30 21:46:19 -070016
David S. Miller112f4872007-03-05 15:28:37 -080017config GENERIC_TIME
18 bool
19 default y
20
Thomas Gleixner82644452007-07-21 04:37:37 -070021config GENERIC_CMOS_UPDATE
22 bool
23 default y
24
David S. Miller112f4872007-03-05 15:28:37 -080025config GENERIC_CLOCKEVENTS
26 bool
27 default y
28
Linus Torvalds1da177e2005-04-16 15:20:36 -070029config 64BIT
30 def_bool y
31
32config MMU
33 bool
34 default y
35
David S. Millerd2841422008-02-08 18:05:46 -080036config IOMMU_HELPER
37 bool
38 default y
39
David Miller3a2cba92007-05-06 14:49:51 -070040config QUICKLIST
41 bool
42 default y
43
David S. Miller10e26722006-11-16 13:38:57 -080044config STACKTRACE_SUPPORT
45 bool
46 default y
47
48config LOCKDEP_SUPPORT
49 bool
50 default y
51
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010052config ARCH_MAY_HAVE_PC_FDC
53 bool
54 default y
55
David Howellsf0d1b0b2006-12-08 02:37:49 -080056config ARCH_HAS_ILOG2_U32
57 bool
58 default n
59
60config ARCH_HAS_ILOG2_U64
61 bool
62 default n
63
Al Virof6bc0c12006-09-12 02:59:45 -040064config AUDIT_ARCH
65 bool
66 default y
67
travis@sgi.com988c3882008-01-30 23:27:58 +010068config HAVE_SETUP_PER_CPU_AREA
travis@sgi.comb32ef632008-01-30 13:32:51 +010069 def_bool y
70
Stephen Rothwell0785b9d2007-07-18 00:09:30 -070071config ARCH_NO_VIRT_TO_BUS
72 def_bool y
73
Stephen Rothwell97e873e2007-05-01 16:26:07 +100074config OF
75 def_bool y
76
David S. Miller8d57d3a2007-10-22 02:16:45 -070077config GENERIC_HARDIRQS_NO__DO_IRQ
78 bool
79 def_bool y
80
Linus Torvalds1da177e2005-04-16 15:20:36 -070081choice
82 prompt "Kernel page size"
83 default SPARC64_PAGE_SIZE_8KB
84
85config SPARC64_PAGE_SIZE_8KB
86 bool "8KB"
87 help
88 This lets you select the page size of the kernel.
89
David S. Miller05d515e2008-04-26 03:07:34 -070090 8KB and 64KB work quite well, since SPARC ELF sections
Linus Torvalds1da177e2005-04-16 15:20:36 -070091 provide for up to 64KB alignment.
92
93 Therefore, 512KB and 4MB are for expert hackers only.
94
95 If you don't know what to do, choose 8KB.
96
97config SPARC64_PAGE_SIZE_64KB
98 bool "64KB"
99
100config SPARC64_PAGE_SIZE_512KB
101 bool "512KB"
102
103config SPARC64_PAGE_SIZE_4MB
104 bool "4MB"
105
106endchoice
107
David S. Millerbb49bcd2005-07-10 16:49:28 -0700108config SECCOMP
109 bool "Enable seccomp to safely compute untrusted bytecode"
110 depends on PROC_FS
111 default y
112 help
113 This kernel feature is useful for number crunching applications
114 that may need to compute untrusted bytecode during their
115 execution. By using pipes or other transports made available to
116 the process as file descriptors supporting the read/write
117 syscalls, it's possible to isolate those applications in
118 their own address space using seccomp. Once seccomp is
119 enabled via /proc/<pid>/seccomp, it cannot be disabled
120 and the task is only allowed to execute a few safe syscalls
121 defined by each seccomp mode.
122
123 If unsure, say Y. Only embedded should say N here.
124
David S. Millera6524812005-07-08 15:21:51 -0700125source kernel/Kconfig.hz
126
David S. Miller4f0234f2007-07-13 16:03:42 -0700127config HOTPLUG_CPU
128 bool "Support for hot-pluggable CPUs"
129 depends on SMP
130 select HOTPLUG
David S. Miller05d515e2008-04-26 03:07:34 -0700131 help
David S. Miller4f0234f2007-07-13 16:03:42 -0700132 Say Y here to experiment with turning CPUs off and on. CPUs
133 can be controlled through /sys/devices/system/cpu/cpu#.
134 Say N if you want to disable CPU hotplug.
135
Linus Torvalds1da177e2005-04-16 15:20:36 -0700136source "init/Kconfig"
137
David S. Millere18e2a02006-06-20 01:23:32 -0700138config GENERIC_HARDIRQS
139 bool
140 default y
141
Linus Torvalds1da177e2005-04-16 15:20:36 -0700142menu "General machine setup"
143
David S. Miller112f4872007-03-05 15:28:37 -0800144source "kernel/time/Kconfig"
145
Linus Torvalds1da177e2005-04-16 15:20:36 -0700146config SMP
147 bool "Symmetric multi-processing support"
David S. Miller05d515e2008-04-26 03:07:34 -0700148 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700149 This enables support for systems with more than one CPU. If you have
150 a system with only one CPU, say N. If you have a system with more than
151 one CPU, say Y.
152
153 If you say N here, the kernel will run on single and multiprocessor
154 machines, but will use only one CPU of a multiprocessor machine. If
David S. Miller05d515e2008-04-26 03:07:34 -0700155 you say Y here, the kernel will run on single-processor machines.
156 On a single-processor machine, the kernel will run faster if you say
157 N here.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700158
159 If you don't know what to do here, say N.
160
Linus Torvalds1da177e2005-04-16 15:20:36 -0700161config NR_CPUS
David S. Miller22adb352007-05-26 01:14:43 -0700162 int "Maximum number of CPUs (2-1024)"
163 range 2 1024
Linus Torvalds1da177e2005-04-16 15:20:36 -0700164 depends on SMP
David S. Miller22adb352007-05-26 01:14:43 -0700165 default "64"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700166
167source "drivers/cpufreq/Kconfig"
168
169config US3_FREQ
170 tristate "UltraSPARC-III CPU Frequency driver"
171 depends on CPU_FREQ
172 select CPU_FREQ_TABLE
173 help
174 This adds the CPUFreq driver for UltraSPARC-III processors.
175
176 For details, take a look at <file:Documentation/cpu-freq>.
177
178 If in doubt, say N.
179
180config US2E_FREQ
181 tristate "UltraSPARC-IIe CPU Frequency driver"
182 depends on CPU_FREQ
183 select CPU_FREQ_TABLE
184 help
185 This adds the CPUFreq driver for UltraSPARC-IIe processors.
186
187 For details, take a look at <file:Documentation/cpu-freq>.
188
189 If in doubt, say N.
190
Linus Torvalds1da177e2005-04-16 15:20:36 -0700191# Global things across all Sun machines.
Nick Piggin95c354f2008-01-30 13:31:20 +0100192config GENERIC_LOCKBREAK
193 bool
194 default y
195 depends on SMP && PREEMPT
196
Linus Torvalds1da177e2005-04-16 15:20:36 -0700197config RWSEM_GENERIC_SPINLOCK
198 bool
199
200config RWSEM_XCHGADD_ALGORITHM
201 bool
202 default y
203
Akinobu Mita2d78d4b2006-03-26 01:39:40 -0800204config GENERIC_FIND_NEXT_BIT
205 bool
206 default y
207
208config GENERIC_HWEIGHT
209 bool
210 default y if !ULTRA_HAS_POPULATION_COUNT
211
Linus Torvalds1da177e2005-04-16 15:20:36 -0700212config GENERIC_CALIBRATE_DELAY
213 bool
214 default y
215
216choice
217 prompt "SPARC64 Huge TLB Page Size"
218 depends on HUGETLB_PAGE
219 default HUGETLB_PAGE_SIZE_4MB
220
221config HUGETLB_PAGE_SIZE_4MB
222 bool "4MB"
223
224config HUGETLB_PAGE_SIZE_512K
David S. Millerdcc1e8d2006-03-22 00:49:59 -0800225 depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700226 bool "512K"
227
228config HUGETLB_PAGE_SIZE_64K
Jean-Luc Légerf2a15852006-04-18 16:19:53 -0700229 depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB && !SPARC64_PAGE_SIZE_64KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700230 bool "64K"
231
232endchoice
233
David S. Miller5843e372005-08-30 21:46:19 -0700234endmenu
235
David S. Miller919ee672008-04-23 05:40:25 -0700236config NUMA
237 bool "NUMA support"
238
239config NODES_SHIFT
240 int
241 default "4"
242 depends on NEED_MULTIPLE_NODES
243
244# Some NUMA nodes have memory ranges that span
245# other nodes. Even though a pfn is valid and
246# between a node's start and end pfns, it may not
247# reside on that node. See memmap_init_zone()
248# for details.
249config NODES_SPAN_OTHER_NODES
250 def_bool y
251 depends on NEED_MULTIPLE_NODES
252
253config ARCH_POPULATES_NODE_MAP
254 def_bool y
255
David S. Miller68491d52006-04-06 20:28:11 -0700256config ARCH_SELECT_MEMORY_MODEL
257 def_bool y
258
David S. Millerd1112012006-03-08 02:16:07 -0800259config ARCH_SPARSEMEM_ENABLE
260 def_bool y
David Miller46644c22007-10-16 01:24:16 -0700261 select SPARSEMEM_VMEMMAP_ENABLE
David S. Millerd1112012006-03-08 02:16:07 -0800262
263config ARCH_SPARSEMEM_DEFAULT
264 def_bool y
265
David S. Miller5843e372005-08-30 21:46:19 -0700266source "mm/Kconfig"
267
Linus Torvalds1da177e2005-04-16 15:20:36 -0700268config ISA
269 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700270
271config ISAPNP
272 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700273
274config EISA
275 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700276
277config MCA
278 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700279
280config PCMCIA
281 tristate
David S. Miller05d515e2008-04-26 03:07:34 -0700282 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700283 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
284 computer. These are credit-card size devices such as network cards,
285 modems or hard drives often used with laptops computers. There are
286 actually two varieties of these cards: the older 16 bit PCMCIA cards
287 and the newer 32 bit CardBus cards. If you want to use CardBus
288 cards, you need to say Y here and also to "CardBus support" below.
289
290 To use your PC-cards, you will need supporting software from David
291 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
292 for location). Please also read the PCMCIA-HOWTO, available from
293 <http://www.tldp.org/docs.html#howto>.
294
295 To compile this driver as modules, choose M here: the
296 modules will be called pcmcia_core and ds.
297
298config SBUS
299 bool
300 default y
301
302config SBUSCHAR
303 bool
304 default y
305
306config SUN_AUXIO
307 bool
308 default y
309
310config SUN_IO
311 bool
312 default y
313
David S. Millere53e97c2007-07-09 22:22:44 -0700314config SUN_LDOMS
315 bool "Sun Logical Domains support"
316 help
317 Say Y here is you want to support virtual devices via
318 Logical Domains.
319
Linus Torvalds1da177e2005-04-16 15:20:36 -0700320config PCI
321 bool "PCI support"
Dan Williamsf282b972007-04-18 18:46:20 +1000322 select ARCH_SUPPORTS_MSI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700323 help
David S. Miller05d515e2008-04-26 03:07:34 -0700324 Find out whether your system includes a PCI bus. PCI is the name of
325 a bus system, i.e. the way the CPU talks to the other stuff inside
326 your box. If you say Y here, the kernel will include drivers and
327 infrastructure code to support PCI bus devices.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700328
Linus Torvalds1da177e2005-04-16 15:20:36 -0700329config PCI_DOMAINS
Matthew Wilcox36e23592007-07-10 10:54:40 -0600330 def_bool PCI
331
332config PCI_SYSCALL
333 def_bool PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700334
Linus Torvalds1da177e2005-04-16 15:20:36 -0700335source "drivers/pci/Kconfig"
336
337config SUN_OPENPROMFS
338 tristate "Openprom tree appears in /proc/openprom"
339 help
340 If you say Y, the OpenPROM device tree will be available as a
341 virtual file system, which you can mount to /proc/openprom by "mount
342 -t openpromfs none /proc/openprom".
343
344 To compile the /proc/openprom support as a module, choose M here: the
345 module will be called openpromfs. If unsure, choose M.
346
David S. Millerec98c6b2008-04-20 02:14:23 -0700347menu "Executable file formats"
348
349source "fs/Kconfig.binfmt"
350
Linus Torvalds1da177e2005-04-16 15:20:36 -0700351config SPARC32_COMPAT
David S. Miller05d515e2008-04-26 03:07:34 -0700352 bool "Kernel support for 32-bit SPARC binary compatibility"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700353 help
David S. Miller05d515e2008-04-26 03:07:34 -0700354 This allows you to run 32-bit binaries on your 64-bit SPARC system.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700355 Everybody wants this; say Y.
356
357config COMPAT
358 bool
359 depends on SPARC32_COMPAT
360 default y
David S. Miller48c946a2008-02-08 00:08:10 -0800361 select COMPAT_BINFMT_ELF
Linus Torvalds1da177e2005-04-16 15:20:36 -0700362
David S. Millerec98c6b2008-04-20 02:14:23 -0700363config SYSVIPC_COMPAT
364 bool
365 depends on COMPAT && SYSVIPC
366 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700367
David S. Miller5843e372005-08-30 21:46:19 -0700368endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -0700369
David S. Miller8935dce2006-03-08 16:09:19 -0800370config SCHED_SMT
371 bool "SMT (Hyperthreading) scheduler support"
372 depends on SMP
373 default y
374 help
375 SMT scheduler support improves the CPU scheduler's decision making
David S. Miller05d515e2008-04-26 03:07:34 -0700376 when dealing with SPARC cpus at a cost of slightly increased overhead
377 in some places. If unsure say N here.
David S. Miller8935dce2006-03-08 16:09:19 -0800378
David S. Millerf78eae22007-06-04 17:01:39 -0700379config SCHED_MC
380 bool "Multi-core scheduler support"
381 depends on SMP
382 default y
383 help
384 Multi-core scheduler support improves the CPU scheduler's decision
385 making when dealing with multi-core CPU chips at a cost of slightly
386 increased overhead in some places. If unsure say N here.
387
David S. Millerdb2f9f62007-03-17 15:23:22 -0700388source "kernel/Kconfig.preempt"
389
Linus Torvalds1da177e2005-04-16 15:20:36 -0700390config CMDLINE_BOOL
391 bool "Default bootloader kernel arguments"
392
393config CMDLINE
394 string "Initial kernel command string"
395 depends on CMDLINE_BOOL
396 default "console=ttyS0,9600 root=/dev/sda1"
397 help
398 Say Y here if you want to be able to pass default arguments to
399 the kernel. This will be overridden by the bootloader, if you
400 use one (such as SILO). This is most useful if you want to boot
401 a kernel from TFTP, and want default options to be available
402 with having them passed on the command line.
403
404 NOTE: This option WILL override the PROM bootargs setting!
405
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700406source "net/Kconfig"
407
David S. Miller5843e372005-08-30 21:46:19 -0700408source "drivers/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700409
410source "drivers/sbus/char/Kconfig"
411
Linus Torvalds1da177e2005-04-16 15:20:36 -0700412source "fs/Kconfig"
413
Linus Torvalds1da177e2005-04-16 15:20:36 -0700414source "arch/sparc64/Kconfig.debug"
415
416source "security/Kconfig"
417
418source "crypto/Kconfig"
419
420source "lib/Kconfig"