blob: 8df73714caf11d8511723e79ce407c79a99e6154 [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. Miller5843e372005-08-30 21:46:19 -070022
David S. Miller112f4872007-03-05 15:28:37 -080023config GENERIC_TIME
24 bool
25 default y
26
Thomas Gleixner82644452007-07-21 04:37:37 -070027config GENERIC_CMOS_UPDATE
28 bool
29 default y
30
David S. Miller112f4872007-03-05 15:28:37 -080031config GENERIC_CLOCKEVENTS
32 bool
33 default y
34
David S. Miller15df0f32008-08-20 23:03:24 -070035config GENERIC_GPIO
36 bool
37 help
38 Generic GPIO API support
39
Linus Torvalds1da177e2005-04-16 15:20:36 -070040config 64BIT
41 def_bool y
42
43config MMU
44 bool
45 default y
46
David S. Millerd2841422008-02-08 18:05:46 -080047config IOMMU_HELPER
48 bool
49 default y
50
David Miller3a2cba92007-05-06 14:49:51 -070051config QUICKLIST
52 bool
53 default y
54
David S. Miller10e26722006-11-16 13:38:57 -080055config STACKTRACE_SUPPORT
56 bool
57 default y
58
59config LOCKDEP_SUPPORT
60 bool
61 default y
62
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010063config ARCH_MAY_HAVE_PC_FDC
64 bool
65 default y
66
David Howellsf0d1b0b2006-12-08 02:37:49 -080067config ARCH_HAS_ILOG2_U32
68 bool
69 default n
70
71config ARCH_HAS_ILOG2_U64
72 bool
73 default n
74
Al Virof6bc0c12006-09-12 02:59:45 -040075config AUDIT_ARCH
76 bool
77 default y
78
travis@sgi.com988c3882008-01-30 23:27:58 +010079config HAVE_SETUP_PER_CPU_AREA
travis@sgi.comb32ef632008-01-30 13:32:51 +010080 def_bool y
81
Stephen Rothwell0785b9d2007-07-18 00:09:30 -070082config ARCH_NO_VIRT_TO_BUS
83 def_bool y
84
Stephen Rothwell97e873e2007-05-01 16:26:07 +100085config OF
86 def_bool y
87
David S. Miller8d57d3a2007-10-22 02:16:45 -070088config GENERIC_HARDIRQS_NO__DO_IRQ
89 bool
90 def_bool y
91
Randy Dunlap932d0612008-07-14 22:46:33 -070092source "init/Kconfig"
93
94menu "Processor type and features"
95
Linus Torvalds1da177e2005-04-16 15:20:36 -070096choice
97 prompt "Kernel page size"
98 default SPARC64_PAGE_SIZE_8KB
99
100config SPARC64_PAGE_SIZE_8KB
101 bool "8KB"
102 help
103 This lets you select the page size of the kernel.
104
David S. Miller05d515e2008-04-26 03:07:34 -0700105 8KB and 64KB work quite well, since SPARC ELF sections
Linus Torvalds1da177e2005-04-16 15:20:36 -0700106 provide for up to 64KB alignment.
107
Linus Torvalds1da177e2005-04-16 15:20:36 -0700108 If you don't know what to do, choose 8KB.
109
110config SPARC64_PAGE_SIZE_64KB
111 bool "64KB"
112
Linus Torvalds1da177e2005-04-16 15:20:36 -0700113endchoice
114
David S. Millerbb49bcd2005-07-10 16:49:28 -0700115config SECCOMP
116 bool "Enable seccomp to safely compute untrusted bytecode"
117 depends on PROC_FS
118 default y
119 help
120 This kernel feature is useful for number crunching applications
121 that may need to compute untrusted bytecode during their
122 execution. By using pipes or other transports made available to
123 the process as file descriptors supporting the read/write
124 syscalls, it's possible to isolate those applications in
125 their own address space using seccomp. Once seccomp is
126 enabled via /proc/<pid>/seccomp, it cannot be disabled
127 and the task is only allowed to execute a few safe syscalls
128 defined by each seccomp mode.
129
130 If unsure, say Y. Only embedded should say N here.
131
David S. Millera6524812005-07-08 15:21:51 -0700132source kernel/Kconfig.hz
133
David S. Miller4f0234f2007-07-13 16:03:42 -0700134config HOTPLUG_CPU
135 bool "Support for hot-pluggable CPUs"
136 depends on SMP
137 select HOTPLUG
David S. Miller05d515e2008-04-26 03:07:34 -0700138 help
David S. Miller4f0234f2007-07-13 16:03:42 -0700139 Say Y here to experiment with turning CPUs off and on. CPUs
140 can be controlled through /sys/devices/system/cpu/cpu#.
141 Say N if you want to disable CPU hotplug.
142
David S. Millere18e2a02006-06-20 01:23:32 -0700143config GENERIC_HARDIRQS
144 bool
145 default y
146
David S. Miller112f4872007-03-05 15:28:37 -0800147source "kernel/time/Kconfig"
148
Linus Torvalds1da177e2005-04-16 15:20:36 -0700149config SMP
150 bool "Symmetric multi-processing support"
David S. Miller05d515e2008-04-26 03:07:34 -0700151 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700152 This enables support for systems with more than one CPU. If you have
153 a system with only one CPU, say N. If you have a system with more than
154 one CPU, say Y.
155
156 If you say N here, the kernel will run on single and multiprocessor
157 machines, but will use only one CPU of a multiprocessor machine. If
David S. Miller05d515e2008-04-26 03:07:34 -0700158 you say Y here, the kernel will run on single-processor machines.
159 On a single-processor machine, the kernel will run faster if you say
160 N here.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700161
162 If you don't know what to do here, say N.
163
Linus Torvalds1da177e2005-04-16 15:20:36 -0700164config NR_CPUS
David S. Miller22adb352007-05-26 01:14:43 -0700165 int "Maximum number of CPUs (2-1024)"
166 range 2 1024
Linus Torvalds1da177e2005-04-16 15:20:36 -0700167 depends on SMP
David S. Miller22adb352007-05-26 01:14:43 -0700168 default "64"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700169
170source "drivers/cpufreq/Kconfig"
171
172config US3_FREQ
173 tristate "UltraSPARC-III CPU Frequency driver"
174 depends on CPU_FREQ
175 select CPU_FREQ_TABLE
176 help
177 This adds the CPUFreq driver for UltraSPARC-III processors.
178
179 For details, take a look at <file:Documentation/cpu-freq>.
180
181 If in doubt, say N.
182
183config US2E_FREQ
184 tristate "UltraSPARC-IIe CPU Frequency driver"
185 depends on CPU_FREQ
186 select CPU_FREQ_TABLE
187 help
188 This adds the CPUFreq driver for UltraSPARC-IIe processors.
189
190 For details, take a look at <file:Documentation/cpu-freq>.
191
192 If in doubt, say N.
193
David S. Miller41660e92008-08-24 22:17:29 -0700194config US3_MC
195 tristate "UltraSPARC-III Memory Controller driver"
196 default y
197 help
198 This adds a driver for the UltraSPARC-III memory controller.
199 Loading this driver allows exact mnemonic strings to be
200 printed in the event of a memory error, so that the faulty DIMM
201 on the motherboard can be matched to the error.
202
203 If in doubt, say Y, as this information can be very useful.
204
Linus Torvalds1da177e2005-04-16 15:20:36 -0700205# Global things across all Sun machines.
Nick Piggin95c354f2008-01-30 13:31:20 +0100206config GENERIC_LOCKBREAK
207 bool
208 default y
209 depends on SMP && PREEMPT
210
Linus Torvalds1da177e2005-04-16 15:20:36 -0700211config RWSEM_GENERIC_SPINLOCK
212 bool
213
214config RWSEM_XCHGADD_ALGORITHM
215 bool
216 default y
217
Akinobu Mita2d78d4b2006-03-26 01:39:40 -0800218config GENERIC_FIND_NEXT_BIT
219 bool
220 default y
221
222config GENERIC_HWEIGHT
223 bool
224 default y if !ULTRA_HAS_POPULATION_COUNT
225
Linus Torvalds1da177e2005-04-16 15:20:36 -0700226config GENERIC_CALIBRATE_DELAY
227 bool
228 default y
229
230choice
231 prompt "SPARC64 Huge TLB Page Size"
232 depends on HUGETLB_PAGE
233 default HUGETLB_PAGE_SIZE_4MB
234
235config HUGETLB_PAGE_SIZE_4MB
236 bool "4MB"
237
238config HUGETLB_PAGE_SIZE_512K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700239 bool "512K"
240
241config HUGETLB_PAGE_SIZE_64K
David S. Millerf7fe9332008-07-17 23:43:55 -0700242 depends on !SPARC64_PAGE_SIZE_64KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700243 bool "64K"
244
245endchoice
246
David S. Miller5843e372005-08-30 21:46:19 -0700247endmenu
248
David S. Miller919ee672008-04-23 05:40:25 -0700249config NUMA
250 bool "NUMA support"
251
252config NODES_SHIFT
253 int
254 default "4"
255 depends on NEED_MULTIPLE_NODES
256
257# Some NUMA nodes have memory ranges that span
258# other nodes. Even though a pfn is valid and
259# between a node's start and end pfns, it may not
260# reside on that node. See memmap_init_zone()
261# for details.
262config NODES_SPAN_OTHER_NODES
263 def_bool y
264 depends on NEED_MULTIPLE_NODES
265
266config ARCH_POPULATES_NODE_MAP
267 def_bool y
268
David S. Miller68491d52006-04-06 20:28:11 -0700269config ARCH_SELECT_MEMORY_MODEL
270 def_bool y
271
David S. Millerd1112012006-03-08 02:16:07 -0800272config ARCH_SPARSEMEM_ENABLE
273 def_bool y
David Miller46644c242007-10-16 01:24:16 -0700274 select SPARSEMEM_VMEMMAP_ENABLE
David S. Millerd1112012006-03-08 02:16:07 -0800275
276config ARCH_SPARSEMEM_DEFAULT
277 def_bool y
278
David S. Miller5843e372005-08-30 21:46:19 -0700279source "mm/Kconfig"
280
Linus Torvalds1da177e2005-04-16 15:20:36 -0700281config ISA
282 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700283
284config ISAPNP
285 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700286
287config EISA
288 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700289
290config MCA
291 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700292
293config PCMCIA
294 tristate
David S. Miller05d515e2008-04-26 03:07:34 -0700295 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700296 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
297 computer. These are credit-card size devices such as network cards,
298 modems or hard drives often used with laptops computers. There are
299 actually two varieties of these cards: the older 16 bit PCMCIA cards
300 and the newer 32 bit CardBus cards. If you want to use CardBus
301 cards, you need to say Y here and also to "CardBus support" below.
302
303 To use your PC-cards, you will need supporting software from David
304 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
305 for location). Please also read the PCMCIA-HOWTO, available from
306 <http://www.tldp.org/docs.html#howto>.
307
308 To compile this driver as modules, choose M here: the
309 modules will be called pcmcia_core and ds.
310
311config SBUS
312 bool
313 default y
314
315config SBUSCHAR
316 bool
317 default y
318
319config SUN_AUXIO
320 bool
321 default y
322
323config SUN_IO
324 bool
325 default y
326
David S. Millere53e97c2007-07-09 22:22:44 -0700327config SUN_LDOMS
328 bool "Sun Logical Domains support"
329 help
330 Say Y here is you want to support virtual devices via
331 Logical Domains.
332
Linus Torvalds1da177e2005-04-16 15:20:36 -0700333config PCI
334 bool "PCI support"
Dan Williamsf282b9702007-04-18 18:46:20 +1000335 select ARCH_SUPPORTS_MSI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700336 help
David S. Miller05d515e2008-04-26 03:07:34 -0700337 Find out whether your system includes a PCI bus. PCI is the name of
338 a bus system, i.e. the way the CPU talks to the other stuff inside
339 your box. If you say Y here, the kernel will include drivers and
340 infrastructure code to support PCI bus devices.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700341
Linus Torvalds1da177e2005-04-16 15:20:36 -0700342config PCI_DOMAINS
Matthew Wilcox36e23592007-07-10 10:54:40 -0600343 def_bool PCI
344
345config PCI_SYSCALL
346 def_bool PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700347
Linus Torvalds1da177e2005-04-16 15:20:36 -0700348source "drivers/pci/Kconfig"
349
350config SUN_OPENPROMFS
351 tristate "Openprom tree appears in /proc/openprom"
352 help
353 If you say Y, the OpenPROM device tree will be available as a
354 virtual file system, which you can mount to /proc/openprom by "mount
355 -t openpromfs none /proc/openprom".
356
357 To compile the /proc/openprom support as a module, choose M here: the
358 module will be called openpromfs. If unsure, choose M.
359
David S. Millerec98c6b2008-04-20 02:14:23 -0700360menu "Executable file formats"
361
362source "fs/Kconfig.binfmt"
363
Linus Torvalds1da177e2005-04-16 15:20:36 -0700364config COMPAT
365 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700366 default y
David S. Miller48c946a2008-02-08 00:08:10 -0800367 select COMPAT_BINFMT_ELF
Linus Torvalds1da177e2005-04-16 15:20:36 -0700368
David S. Millerec98c6b2008-04-20 02:14:23 -0700369config SYSVIPC_COMPAT
370 bool
371 depends on COMPAT && SYSVIPC
372 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700373
David S. Miller5843e372005-08-30 21:46:19 -0700374endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -0700375
David S. Miller8935dce2006-03-08 16:09:19 -0800376config SCHED_SMT
377 bool "SMT (Hyperthreading) scheduler support"
378 depends on SMP
379 default y
380 help
381 SMT scheduler support improves the CPU scheduler's decision making
David S. Miller05d515e2008-04-26 03:07:34 -0700382 when dealing with SPARC cpus at a cost of slightly increased overhead
383 in some places. If unsure say N here.
David S. Miller8935dce2006-03-08 16:09:19 -0800384
David S. Millerf78eae22007-06-04 17:01:39 -0700385config SCHED_MC
386 bool "Multi-core scheduler support"
387 depends on SMP
388 default y
389 help
390 Multi-core scheduler support improves the CPU scheduler's decision
391 making when dealing with multi-core CPU chips at a cost of slightly
392 increased overhead in some places. If unsure say N here.
393
David S. Millerdb2f9f62007-03-17 15:23:22 -0700394source "kernel/Kconfig.preempt"
395
Linus Torvalds1da177e2005-04-16 15:20:36 -0700396config CMDLINE_BOOL
397 bool "Default bootloader kernel arguments"
398
399config CMDLINE
400 string "Initial kernel command string"
401 depends on CMDLINE_BOOL
402 default "console=ttyS0,9600 root=/dev/sda1"
403 help
404 Say Y here if you want to be able to pass default arguments to
405 the kernel. This will be overridden by the bootloader, if you
406 use one (such as SILO). This is most useful if you want to boot
407 a kernel from TFTP, and want default options to be available
408 with having them passed on the command line.
409
410 NOTE: This option WILL override the PROM bootargs setting!
411
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700412source "net/Kconfig"
413
David S. Miller5843e372005-08-30 21:46:19 -0700414source "drivers/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700415
416source "drivers/sbus/char/Kconfig"
417
Linus Torvalds1da177e2005-04-16 15:20:36 -0700418source "fs/Kconfig"
419
Linus Torvalds1da177e2005-04-16 15:20:36 -0700420source "arch/sparc64/Kconfig.debug"
421
422source "security/Kconfig"
423
424source "crypto/Kconfig"
425
426source "lib/Kconfig"