blob: 7c88263256af216c2b6889481297eeb95434949c [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
David S. Miller5843e372005-08-30 21:46:19 -070020
David S. Miller112f4872007-03-05 15:28:37 -080021config GENERIC_TIME
22 bool
23 default y
24
Thomas Gleixner82644452007-07-21 04:37:37 -070025config GENERIC_CMOS_UPDATE
26 bool
27 default y
28
David S. Miller112f4872007-03-05 15:28:37 -080029config GENERIC_CLOCKEVENTS
30 bool
31 default y
32
Linus Torvalds1da177e2005-04-16 15:20:36 -070033config 64BIT
34 def_bool y
35
36config MMU
37 bool
38 default y
39
David S. Millerd2841422008-02-08 18:05:46 -080040config IOMMU_HELPER
41 bool
42 default y
43
David Miller3a2cba92007-05-06 14:49:51 -070044config QUICKLIST
45 bool
46 default y
47
David S. Miller10e26722006-11-16 13:38:57 -080048config STACKTRACE_SUPPORT
49 bool
50 default y
51
52config LOCKDEP_SUPPORT
53 bool
54 default y
55
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010056config ARCH_MAY_HAVE_PC_FDC
57 bool
58 default y
59
David Howellsf0d1b0b2006-12-08 02:37:49 -080060config ARCH_HAS_ILOG2_U32
61 bool
62 default n
63
64config ARCH_HAS_ILOG2_U64
65 bool
66 default n
67
Al Virof6bc0c12006-09-12 02:59:45 -040068config AUDIT_ARCH
69 bool
70 default y
71
travis@sgi.com988c3882008-01-30 23:27:58 +010072config HAVE_SETUP_PER_CPU_AREA
travis@sgi.comb32ef632008-01-30 13:32:51 +010073 def_bool y
74
Stephen Rothwell0785b9d2007-07-18 00:09:30 -070075config ARCH_NO_VIRT_TO_BUS
76 def_bool y
77
Stephen Rothwell97e873e2007-05-01 16:26:07 +100078config OF
79 def_bool y
80
David S. Miller8d57d3a2007-10-22 02:16:45 -070081config GENERIC_HARDIRQS_NO__DO_IRQ
82 bool
83 def_bool y
84
Randy Dunlap932d0612008-07-14 22:46:33 -070085source "init/Kconfig"
86
87menu "Processor type and features"
88
Linus Torvalds1da177e2005-04-16 15:20:36 -070089choice
90 prompt "Kernel page size"
91 default SPARC64_PAGE_SIZE_8KB
92
93config SPARC64_PAGE_SIZE_8KB
94 bool "8KB"
95 help
96 This lets you select the page size of the kernel.
97
David S. Miller05d515e2008-04-26 03:07:34 -070098 8KB and 64KB work quite well, since SPARC ELF sections
Linus Torvalds1da177e2005-04-16 15:20:36 -070099 provide for up to 64KB alignment.
100
Linus Torvalds1da177e2005-04-16 15:20:36 -0700101 If you don't know what to do, choose 8KB.
102
103config SPARC64_PAGE_SIZE_64KB
104 bool "64KB"
105
Linus Torvalds1da177e2005-04-16 15:20:36 -0700106endchoice
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
David S. Millere18e2a02006-06-20 01:23:32 -0700136config GENERIC_HARDIRQS
137 bool
138 default y
139
David S. Miller112f4872007-03-05 15:28:37 -0800140source "kernel/time/Kconfig"
141
Linus Torvalds1da177e2005-04-16 15:20:36 -0700142config SMP
143 bool "Symmetric multi-processing support"
David S. Miller05d515e2008-04-26 03:07:34 -0700144 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700145 This enables support for systems with more than one CPU. If you have
146 a system with only one CPU, say N. If you have a system with more than
147 one CPU, say Y.
148
149 If you say N here, the kernel will run on single and multiprocessor
150 machines, but will use only one CPU of a multiprocessor machine. If
David S. Miller05d515e2008-04-26 03:07:34 -0700151 you say Y here, the kernel will run on single-processor machines.
152 On a single-processor machine, the kernel will run faster if you say
153 N here.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700154
155 If you don't know what to do here, say N.
156
Linus Torvalds1da177e2005-04-16 15:20:36 -0700157config NR_CPUS
David S. Miller22adb352007-05-26 01:14:43 -0700158 int "Maximum number of CPUs (2-1024)"
159 range 2 1024
Linus Torvalds1da177e2005-04-16 15:20:36 -0700160 depends on SMP
David S. Miller22adb352007-05-26 01:14:43 -0700161 default "64"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700162
163source "drivers/cpufreq/Kconfig"
164
165config US3_FREQ
166 tristate "UltraSPARC-III CPU Frequency driver"
167 depends on CPU_FREQ
168 select CPU_FREQ_TABLE
169 help
170 This adds the CPUFreq driver for UltraSPARC-III processors.
171
172 For details, take a look at <file:Documentation/cpu-freq>.
173
174 If in doubt, say N.
175
176config US2E_FREQ
177 tristate "UltraSPARC-IIe CPU Frequency driver"
178 depends on CPU_FREQ
179 select CPU_FREQ_TABLE
180 help
181 This adds the CPUFreq driver for UltraSPARC-IIe processors.
182
183 For details, take a look at <file:Documentation/cpu-freq>.
184
185 If in doubt, say N.
186
Linus Torvalds1da177e2005-04-16 15:20:36 -0700187# Global things across all Sun machines.
Nick Piggin95c354f2008-01-30 13:31:20 +0100188config GENERIC_LOCKBREAK
189 bool
190 default y
191 depends on SMP && PREEMPT
192
Linus Torvalds1da177e2005-04-16 15:20:36 -0700193config RWSEM_GENERIC_SPINLOCK
194 bool
195
196config RWSEM_XCHGADD_ALGORITHM
197 bool
198 default y
199
Akinobu Mita2d78d4b2006-03-26 01:39:40 -0800200config GENERIC_FIND_NEXT_BIT
201 bool
202 default y
203
204config GENERIC_HWEIGHT
205 bool
206 default y if !ULTRA_HAS_POPULATION_COUNT
207
Linus Torvalds1da177e2005-04-16 15:20:36 -0700208config GENERIC_CALIBRATE_DELAY
209 bool
210 default y
211
212choice
213 prompt "SPARC64 Huge TLB Page Size"
214 depends on HUGETLB_PAGE
215 default HUGETLB_PAGE_SIZE_4MB
216
217config HUGETLB_PAGE_SIZE_4MB
218 bool "4MB"
219
220config HUGETLB_PAGE_SIZE_512K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700221 bool "512K"
222
223config HUGETLB_PAGE_SIZE_64K
David S. Millerf7fe9332008-07-17 23:43:55 -0700224 depends on !SPARC64_PAGE_SIZE_64KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700225 bool "64K"
226
227endchoice
228
David S. Miller5843e372005-08-30 21:46:19 -0700229endmenu
230
David S. Miller919ee672008-04-23 05:40:25 -0700231config NUMA
232 bool "NUMA support"
233
234config NODES_SHIFT
235 int
236 default "4"
237 depends on NEED_MULTIPLE_NODES
238
239# Some NUMA nodes have memory ranges that span
240# other nodes. Even though a pfn is valid and
241# between a node's start and end pfns, it may not
242# reside on that node. See memmap_init_zone()
243# for details.
244config NODES_SPAN_OTHER_NODES
245 def_bool y
246 depends on NEED_MULTIPLE_NODES
247
248config ARCH_POPULATES_NODE_MAP
249 def_bool y
250
David S. Miller68491d52006-04-06 20:28:11 -0700251config ARCH_SELECT_MEMORY_MODEL
252 def_bool y
253
David S. Millerd1112012006-03-08 02:16:07 -0800254config ARCH_SPARSEMEM_ENABLE
255 def_bool y
David Miller46644c22007-10-16 01:24:16 -0700256 select SPARSEMEM_VMEMMAP_ENABLE
David S. Millerd1112012006-03-08 02:16:07 -0800257
258config ARCH_SPARSEMEM_DEFAULT
259 def_bool y
260
David S. Miller5843e372005-08-30 21:46:19 -0700261source "mm/Kconfig"
262
Linus Torvalds1da177e2005-04-16 15:20:36 -0700263config ISA
264 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700265
266config ISAPNP
267 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700268
269config EISA
270 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700271
272config MCA
273 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700274
275config PCMCIA
276 tristate
David S. Miller05d515e2008-04-26 03:07:34 -0700277 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700278 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
279 computer. These are credit-card size devices such as network cards,
280 modems or hard drives often used with laptops computers. There are
281 actually two varieties of these cards: the older 16 bit PCMCIA cards
282 and the newer 32 bit CardBus cards. If you want to use CardBus
283 cards, you need to say Y here and also to "CardBus support" below.
284
285 To use your PC-cards, you will need supporting software from David
286 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
287 for location). Please also read the PCMCIA-HOWTO, available from
288 <http://www.tldp.org/docs.html#howto>.
289
290 To compile this driver as modules, choose M here: the
291 modules will be called pcmcia_core and ds.
292
293config SBUS
294 bool
295 default y
296
297config SBUSCHAR
298 bool
299 default y
300
301config SUN_AUXIO
302 bool
303 default y
304
305config SUN_IO
306 bool
307 default y
308
David S. Millere53e97c2007-07-09 22:22:44 -0700309config SUN_LDOMS
310 bool "Sun Logical Domains support"
311 help
312 Say Y here is you want to support virtual devices via
313 Logical Domains.
314
Linus Torvalds1da177e2005-04-16 15:20:36 -0700315config PCI
316 bool "PCI support"
Dan Williamsf282b972007-04-18 18:46:20 +1000317 select ARCH_SUPPORTS_MSI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700318 help
David S. Miller05d515e2008-04-26 03:07:34 -0700319 Find out whether your system includes a PCI bus. PCI is the name of
320 a bus system, i.e. the way the CPU talks to the other stuff inside
321 your box. If you say Y here, the kernel will include drivers and
322 infrastructure code to support PCI bus devices.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700323
Linus Torvalds1da177e2005-04-16 15:20:36 -0700324config PCI_DOMAINS
Matthew Wilcox36e23592007-07-10 10:54:40 -0600325 def_bool PCI
326
327config PCI_SYSCALL
328 def_bool PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700329
Linus Torvalds1da177e2005-04-16 15:20:36 -0700330source "drivers/pci/Kconfig"
331
332config SUN_OPENPROMFS
333 tristate "Openprom tree appears in /proc/openprom"
334 help
335 If you say Y, the OpenPROM device tree will be available as a
336 virtual file system, which you can mount to /proc/openprom by "mount
337 -t openpromfs none /proc/openprom".
338
339 To compile the /proc/openprom support as a module, choose M here: the
340 module will be called openpromfs. If unsure, choose M.
341
David S. Millerec98c6b2008-04-20 02:14:23 -0700342menu "Executable file formats"
343
344source "fs/Kconfig.binfmt"
345
Linus Torvalds1da177e2005-04-16 15:20:36 -0700346config COMPAT
347 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700348 default y
David S. Miller48c946a2008-02-08 00:08:10 -0800349 select COMPAT_BINFMT_ELF
Linus Torvalds1da177e2005-04-16 15:20:36 -0700350
David S. Millerec98c6b2008-04-20 02:14:23 -0700351config SYSVIPC_COMPAT
352 bool
353 depends on COMPAT && SYSVIPC
354 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700355
David S. Miller5843e372005-08-30 21:46:19 -0700356endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -0700357
David S. Miller8935dce2006-03-08 16:09:19 -0800358config SCHED_SMT
359 bool "SMT (Hyperthreading) scheduler support"
360 depends on SMP
361 default y
362 help
363 SMT scheduler support improves the CPU scheduler's decision making
David S. Miller05d515e2008-04-26 03:07:34 -0700364 when dealing with SPARC cpus at a cost of slightly increased overhead
365 in some places. If unsure say N here.
David S. Miller8935dce2006-03-08 16:09:19 -0800366
David S. Millerf78eae22007-06-04 17:01:39 -0700367config SCHED_MC
368 bool "Multi-core scheduler support"
369 depends on SMP
370 default y
371 help
372 Multi-core scheduler support improves the CPU scheduler's decision
373 making when dealing with multi-core CPU chips at a cost of slightly
374 increased overhead in some places. If unsure say N here.
375
David S. Millerdb2f9f62007-03-17 15:23:22 -0700376source "kernel/Kconfig.preempt"
377
Linus Torvalds1da177e2005-04-16 15:20:36 -0700378config CMDLINE_BOOL
379 bool "Default bootloader kernel arguments"
380
381config CMDLINE
382 string "Initial kernel command string"
383 depends on CMDLINE_BOOL
384 default "console=ttyS0,9600 root=/dev/sda1"
385 help
386 Say Y here if you want to be able to pass default arguments to
387 the kernel. This will be overridden by the bootloader, if you
388 use one (such as SILO). This is most useful if you want to boot
389 a kernel from TFTP, and want default options to be available
390 with having them passed on the command line.
391
392 NOTE: This option WILL override the PROM bootargs setting!
393
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700394source "net/Kconfig"
395
David S. Miller5843e372005-08-30 21:46:19 -0700396source "drivers/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700397
398source "drivers/sbus/char/Kconfig"
399
Linus Torvalds1da177e2005-04-16 15:20:36 -0700400source "fs/Kconfig"
401
Linus Torvalds1da177e2005-04-16 15:20:36 -0700402source "arch/sparc64/Kconfig.debug"
403
404source "security/Kconfig"
405
406source "crypto/Kconfig"
407
408source "lib/Kconfig"