blob: e0d783bbae0942f49571bf81ec447311e29d7ae8 [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. Millerda867832008-08-28 22:16:15 -070024 select RTC_DRV_CMOS
David S. Miller5843e372005-08-30 21:46:19 -070025
David S. Miller112f4872007-03-05 15:28:37 -080026config GENERIC_TIME
27 bool
28 default y
29
Thomas Gleixner82644452007-07-21 04:37:37 -070030config GENERIC_CMOS_UPDATE
31 bool
32 default y
33
David S. Miller112f4872007-03-05 15:28:37 -080034config GENERIC_CLOCKEVENTS
35 bool
36 default y
37
David S. Miller15df0f32008-08-20 23:03:24 -070038config GENERIC_GPIO
39 bool
40 help
41 Generic GPIO API support
42
Linus Torvalds1da177e2005-04-16 15:20:36 -070043config 64BIT
44 def_bool y
45
46config MMU
47 bool
48 default y
49
David S. Millerd2841422008-02-08 18:05:46 -080050config IOMMU_HELPER
51 bool
52 default y
53
David Miller3a2cba92007-05-06 14:49:51 -070054config QUICKLIST
55 bool
56 default y
57
David S. Miller10e26722006-11-16 13:38:57 -080058config STACKTRACE_SUPPORT
59 bool
60 default y
61
62config LOCKDEP_SUPPORT
63 bool
64 default y
65
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010066config ARCH_MAY_HAVE_PC_FDC
67 bool
68 default y
69
David Howellsf0d1b0b2006-12-08 02:37:49 -080070config ARCH_HAS_ILOG2_U32
71 bool
72 default n
73
74config ARCH_HAS_ILOG2_U64
75 bool
76 default n
77
Al Virof6bc0c12006-09-12 02:59:45 -040078config AUDIT_ARCH
79 bool
80 default y
81
travis@sgi.com988c3882008-01-30 23:27:58 +010082config HAVE_SETUP_PER_CPU_AREA
travis@sgi.comb32ef632008-01-30 13:32:51 +010083 def_bool y
84
Stephen Rothwell0785b9d2007-07-18 00:09:30 -070085config ARCH_NO_VIRT_TO_BUS
86 def_bool y
87
Stephen Rothwell97e873e2007-05-01 16:26:07 +100088config OF
89 def_bool y
90
David S. Miller8d57d3a2007-10-22 02:16:45 -070091config GENERIC_HARDIRQS_NO__DO_IRQ
92 bool
93 def_bool y
94
Randy Dunlap932d0612008-07-14 22:46:33 -070095source "init/Kconfig"
96
97menu "Processor type and features"
98
Linus Torvalds1da177e2005-04-16 15:20:36 -070099choice
100 prompt "Kernel page size"
101 default SPARC64_PAGE_SIZE_8KB
102
103config SPARC64_PAGE_SIZE_8KB
104 bool "8KB"
105 help
106 This lets you select the page size of the kernel.
107
David S. Miller05d515e2008-04-26 03:07:34 -0700108 8KB and 64KB work quite well, since SPARC ELF sections
Linus Torvalds1da177e2005-04-16 15:20:36 -0700109 provide for up to 64KB alignment.
110
Linus Torvalds1da177e2005-04-16 15:20:36 -0700111 If you don't know what to do, choose 8KB.
112
113config SPARC64_PAGE_SIZE_64KB
114 bool "64KB"
115
Linus Torvalds1da177e2005-04-16 15:20:36 -0700116endchoice
117
David S. Millerbb49bcd2005-07-10 16:49:28 -0700118config SECCOMP
119 bool "Enable seccomp to safely compute untrusted bytecode"
120 depends on PROC_FS
121 default y
122 help
123 This kernel feature is useful for number crunching applications
124 that may need to compute untrusted bytecode during their
125 execution. By using pipes or other transports made available to
126 the process as file descriptors supporting the read/write
127 syscalls, it's possible to isolate those applications in
128 their own address space using seccomp. Once seccomp is
129 enabled via /proc/<pid>/seccomp, it cannot be disabled
130 and the task is only allowed to execute a few safe syscalls
131 defined by each seccomp mode.
132
133 If unsure, say Y. Only embedded should say N here.
134
David S. Millera6524812005-07-08 15:21:51 -0700135source kernel/Kconfig.hz
136
David S. Miller4f0234f2007-07-13 16:03:42 -0700137config HOTPLUG_CPU
138 bool "Support for hot-pluggable CPUs"
139 depends on SMP
140 select HOTPLUG
David S. Miller05d515e2008-04-26 03:07:34 -0700141 help
David S. Miller4f0234f2007-07-13 16:03:42 -0700142 Say Y here to experiment with turning CPUs off and on. CPUs
143 can be controlled through /sys/devices/system/cpu/cpu#.
144 Say N if you want to disable CPU hotplug.
145
David S. Millere18e2a02006-06-20 01:23:32 -0700146config GENERIC_HARDIRQS
147 bool
148 default y
149
David S. Miller112f4872007-03-05 15:28:37 -0800150source "kernel/time/Kconfig"
151
Linus Torvalds1da177e2005-04-16 15:20:36 -0700152config SMP
153 bool "Symmetric multi-processing support"
David S. Miller05d515e2008-04-26 03:07:34 -0700154 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700155 This enables support for systems with more than one CPU. If you have
156 a system with only one CPU, say N. If you have a system with more than
157 one CPU, say Y.
158
159 If you say N here, the kernel will run on single and multiprocessor
160 machines, but will use only one CPU of a multiprocessor machine. If
David S. Miller05d515e2008-04-26 03:07:34 -0700161 you say Y here, the kernel will run on single-processor machines.
162 On a single-processor machine, the kernel will run faster if you say
163 N here.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700164
165 If you don't know what to do here, say N.
166
Linus Torvalds1da177e2005-04-16 15:20:36 -0700167config NR_CPUS
David S. Miller22adb352007-05-26 01:14:43 -0700168 int "Maximum number of CPUs (2-1024)"
169 range 2 1024
Linus Torvalds1da177e2005-04-16 15:20:36 -0700170 depends on SMP
David S. Miller22adb352007-05-26 01:14:43 -0700171 default "64"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700172
173source "drivers/cpufreq/Kconfig"
174
175config US3_FREQ
176 tristate "UltraSPARC-III CPU Frequency driver"
177 depends on CPU_FREQ
178 select CPU_FREQ_TABLE
179 help
180 This adds the CPUFreq driver for UltraSPARC-III processors.
181
182 For details, take a look at <file:Documentation/cpu-freq>.
183
184 If in doubt, say N.
185
186config US2E_FREQ
187 tristate "UltraSPARC-IIe CPU Frequency driver"
188 depends on CPU_FREQ
189 select CPU_FREQ_TABLE
190 help
191 This adds the CPUFreq driver for UltraSPARC-IIe processors.
192
193 For details, take a look at <file:Documentation/cpu-freq>.
194
195 If in doubt, say N.
196
David S. Miller41660e92008-08-24 22:17:29 -0700197config US3_MC
198 tristate "UltraSPARC-III Memory Controller driver"
199 default y
200 help
201 This adds a driver for the UltraSPARC-III memory controller.
202 Loading this driver allows exact mnemonic strings to be
203 printed in the event of a memory error, so that the faulty DIMM
204 on the motherboard can be matched to the error.
205
206 If in doubt, say Y, as this information can be very useful.
207
Linus Torvalds1da177e2005-04-16 15:20:36 -0700208# Global things across all Sun machines.
Nick Piggin95c354f2008-01-30 13:31:20 +0100209config GENERIC_LOCKBREAK
210 bool
211 default y
212 depends on SMP && PREEMPT
213
Linus Torvalds1da177e2005-04-16 15:20:36 -0700214config RWSEM_GENERIC_SPINLOCK
215 bool
216
217config RWSEM_XCHGADD_ALGORITHM
218 bool
219 default y
220
Akinobu Mita2d78d4b2006-03-26 01:39:40 -0800221config GENERIC_FIND_NEXT_BIT
222 bool
223 default y
224
225config GENERIC_HWEIGHT
226 bool
227 default y if !ULTRA_HAS_POPULATION_COUNT
228
Linus Torvalds1da177e2005-04-16 15:20:36 -0700229config GENERIC_CALIBRATE_DELAY
230 bool
231 default y
232
233choice
234 prompt "SPARC64 Huge TLB Page Size"
235 depends on HUGETLB_PAGE
236 default HUGETLB_PAGE_SIZE_4MB
237
238config HUGETLB_PAGE_SIZE_4MB
239 bool "4MB"
240
241config HUGETLB_PAGE_SIZE_512K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700242 bool "512K"
243
244config HUGETLB_PAGE_SIZE_64K
David S. Millerf7fe9332008-07-17 23:43:55 -0700245 depends on !SPARC64_PAGE_SIZE_64KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700246 bool "64K"
247
248endchoice
249
David S. Miller5843e372005-08-30 21:46:19 -0700250endmenu
251
David S. Miller919ee672008-04-23 05:40:25 -0700252config NUMA
253 bool "NUMA support"
254
255config NODES_SHIFT
256 int
257 default "4"
258 depends on NEED_MULTIPLE_NODES
259
260# Some NUMA nodes have memory ranges that span
261# other nodes. Even though a pfn is valid and
262# between a node's start and end pfns, it may not
263# reside on that node. See memmap_init_zone()
264# for details.
265config NODES_SPAN_OTHER_NODES
266 def_bool y
267 depends on NEED_MULTIPLE_NODES
268
269config ARCH_POPULATES_NODE_MAP
270 def_bool y
271
David S. Miller68491d52006-04-06 20:28:11 -0700272config ARCH_SELECT_MEMORY_MODEL
273 def_bool y
274
David S. Millerd1112012006-03-08 02:16:07 -0800275config ARCH_SPARSEMEM_ENABLE
276 def_bool y
David Miller46644c22007-10-16 01:24:16 -0700277 select SPARSEMEM_VMEMMAP_ENABLE
David S. Millerd1112012006-03-08 02:16:07 -0800278
279config ARCH_SPARSEMEM_DEFAULT
280 def_bool y
281
David S. Miller5843e372005-08-30 21:46:19 -0700282source "mm/Kconfig"
283
Linus Torvalds1da177e2005-04-16 15:20:36 -0700284config ISA
285 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700286
287config ISAPNP
288 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700289
290config EISA
291 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700292
293config MCA
294 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700295
296config PCMCIA
297 tristate
David S. Miller05d515e2008-04-26 03:07:34 -0700298 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700299 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
300 computer. These are credit-card size devices such as network cards,
301 modems or hard drives often used with laptops computers. There are
302 actually two varieties of these cards: the older 16 bit PCMCIA cards
303 and the newer 32 bit CardBus cards. If you want to use CardBus
304 cards, you need to say Y here and also to "CardBus support" below.
305
306 To use your PC-cards, you will need supporting software from David
307 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
308 for location). Please also read the PCMCIA-HOWTO, available from
309 <http://www.tldp.org/docs.html#howto>.
310
311 To compile this driver as modules, choose M here: the
312 modules will be called pcmcia_core and ds.
313
314config SBUS
315 bool
316 default y
317
318config SBUSCHAR
319 bool
320 default y
321
322config SUN_AUXIO
323 bool
324 default y
325
326config SUN_IO
327 bool
328 default y
329
David S. Millere53e97c2007-07-09 22:22:44 -0700330config SUN_LDOMS
331 bool "Sun Logical Domains support"
332 help
333 Say Y here is you want to support virtual devices via
334 Logical Domains.
335
Linus Torvalds1da177e2005-04-16 15:20:36 -0700336config PCI
337 bool "PCI support"
Dan Williamsf282b972007-04-18 18:46:20 +1000338 select ARCH_SUPPORTS_MSI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700339 help
David S. Miller05d515e2008-04-26 03:07:34 -0700340 Find out whether your system includes a PCI bus. PCI is the name of
341 a bus system, i.e. the way the CPU talks to the other stuff inside
342 your box. If you say Y here, the kernel will include drivers and
343 infrastructure code to support PCI bus devices.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700344
Linus Torvalds1da177e2005-04-16 15:20:36 -0700345config PCI_DOMAINS
Matthew Wilcox36e23592007-07-10 10:54:40 -0600346 def_bool PCI
347
348config PCI_SYSCALL
349 def_bool PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700350
Linus Torvalds1da177e2005-04-16 15:20:36 -0700351source "drivers/pci/Kconfig"
352
353config SUN_OPENPROMFS
354 tristate "Openprom tree appears in /proc/openprom"
355 help
356 If you say Y, the OpenPROM device tree will be available as a
357 virtual file system, which you can mount to /proc/openprom by "mount
358 -t openpromfs none /proc/openprom".
359
360 To compile the /proc/openprom support as a module, choose M here: the
361 module will be called openpromfs. If unsure, choose M.
362
David S. Millerec98c6b2008-04-20 02:14:23 -0700363menu "Executable file formats"
364
365source "fs/Kconfig.binfmt"
366
Linus Torvalds1da177e2005-04-16 15:20:36 -0700367config COMPAT
368 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700369 default y
David S. Miller48c946a2008-02-08 00:08:10 -0800370 select COMPAT_BINFMT_ELF
Linus Torvalds1da177e2005-04-16 15:20:36 -0700371
David S. Millerec98c6b2008-04-20 02:14:23 -0700372config SYSVIPC_COMPAT
373 bool
374 depends on COMPAT && SYSVIPC
375 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700376
David S. Miller5843e372005-08-30 21:46:19 -0700377endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -0700378
David S. Miller8935dce2006-03-08 16:09:19 -0800379config SCHED_SMT
380 bool "SMT (Hyperthreading) scheduler support"
381 depends on SMP
382 default y
383 help
384 SMT scheduler support improves the CPU scheduler's decision making
David S. Miller05d515e2008-04-26 03:07:34 -0700385 when dealing with SPARC cpus at a cost of slightly increased overhead
386 in some places. If unsure say N here.
David S. Miller8935dce2006-03-08 16:09:19 -0800387
David S. Millerf78eae22007-06-04 17:01:39 -0700388config SCHED_MC
389 bool "Multi-core scheduler support"
390 depends on SMP
391 default y
392 help
393 Multi-core scheduler support improves the CPU scheduler's decision
394 making when dealing with multi-core CPU chips at a cost of slightly
395 increased overhead in some places. If unsure say N here.
396
David S. Millerdb2f9f62007-03-17 15:23:22 -0700397source "kernel/Kconfig.preempt"
398
Linus Torvalds1da177e2005-04-16 15:20:36 -0700399config CMDLINE_BOOL
400 bool "Default bootloader kernel arguments"
401
402config CMDLINE
403 string "Initial kernel command string"
404 depends on CMDLINE_BOOL
405 default "console=ttyS0,9600 root=/dev/sda1"
406 help
407 Say Y here if you want to be able to pass default arguments to
408 the kernel. This will be overridden by the bootloader, if you
409 use one (such as SILO). This is most useful if you want to boot
410 a kernel from TFTP, and want default options to be available
411 with having them passed on the command line.
412
413 NOTE: This option WILL override the PROM bootargs setting!
414
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700415source "net/Kconfig"
416
David S. Miller5843e372005-08-30 21:46:19 -0700417source "drivers/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700418
419source "drivers/sbus/char/Kconfig"
420
Linus Torvalds1da177e2005-04-16 15:20:36 -0700421source "fs/Kconfig"
422
Linus Torvalds1da177e2005-04-16 15:20:36 -0700423source "arch/sparc64/Kconfig.debug"
424
425source "security/Kconfig"
426
427source "crypto/Kconfig"
428
429source "lib/Kconfig"