blob: 1aeb1da9829ded6805c86a8039f31412a60755fd [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
101 Therefore, 512KB and 4MB are for expert hackers only.
102
103 If you don't know what to do, choose 8KB.
104
105config SPARC64_PAGE_SIZE_64KB
106 bool "64KB"
107
108config SPARC64_PAGE_SIZE_512KB
109 bool "512KB"
110
111config SPARC64_PAGE_SIZE_4MB
112 bool "4MB"
113
114endchoice
115
David S. Millerbb49bcd2005-07-10 16:49:28 -0700116config SECCOMP
117 bool "Enable seccomp to safely compute untrusted bytecode"
118 depends on PROC_FS
119 default y
120 help
121 This kernel feature is useful for number crunching applications
122 that may need to compute untrusted bytecode during their
123 execution. By using pipes or other transports made available to
124 the process as file descriptors supporting the read/write
125 syscalls, it's possible to isolate those applications in
126 their own address space using seccomp. Once seccomp is
127 enabled via /proc/<pid>/seccomp, it cannot be disabled
128 and the task is only allowed to execute a few safe syscalls
129 defined by each seccomp mode.
130
131 If unsure, say Y. Only embedded should say N here.
132
David S. Millera6524812005-07-08 15:21:51 -0700133source kernel/Kconfig.hz
134
David S. Miller4f0234f2007-07-13 16:03:42 -0700135config HOTPLUG_CPU
136 bool "Support for hot-pluggable CPUs"
137 depends on SMP
138 select HOTPLUG
David S. Miller05d515e2008-04-26 03:07:34 -0700139 help
David S. Miller4f0234f2007-07-13 16:03:42 -0700140 Say Y here to experiment with turning CPUs off and on. CPUs
141 can be controlled through /sys/devices/system/cpu/cpu#.
142 Say N if you want to disable CPU hotplug.
143
David S. Millere18e2a02006-06-20 01:23:32 -0700144config GENERIC_HARDIRQS
145 bool
146 default y
147
David S. Miller112f4872007-03-05 15:28:37 -0800148source "kernel/time/Kconfig"
149
Linus Torvalds1da177e2005-04-16 15:20:36 -0700150config SMP
151 bool "Symmetric multi-processing support"
David S. Miller05d515e2008-04-26 03:07:34 -0700152 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700153 This enables support for systems with more than one CPU. If you have
154 a system with only one CPU, say N. If you have a system with more than
155 one CPU, say Y.
156
157 If you say N here, the kernel will run on single and multiprocessor
158 machines, but will use only one CPU of a multiprocessor machine. If
David S. Miller05d515e2008-04-26 03:07:34 -0700159 you say Y here, the kernel will run on single-processor machines.
160 On a single-processor machine, the kernel will run faster if you say
161 N here.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700162
163 If you don't know what to do here, say N.
164
Linus Torvalds1da177e2005-04-16 15:20:36 -0700165config NR_CPUS
David S. Miller22adb352007-05-26 01:14:43 -0700166 int "Maximum number of CPUs (2-1024)"
167 range 2 1024
Linus Torvalds1da177e2005-04-16 15:20:36 -0700168 depends on SMP
David S. Miller22adb352007-05-26 01:14:43 -0700169 default "64"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700170
171source "drivers/cpufreq/Kconfig"
172
173config US3_FREQ
174 tristate "UltraSPARC-III CPU Frequency driver"
175 depends on CPU_FREQ
176 select CPU_FREQ_TABLE
177 help
178 This adds the CPUFreq driver for UltraSPARC-III processors.
179
180 For details, take a look at <file:Documentation/cpu-freq>.
181
182 If in doubt, say N.
183
184config US2E_FREQ
185 tristate "UltraSPARC-IIe CPU Frequency driver"
186 depends on CPU_FREQ
187 select CPU_FREQ_TABLE
188 help
189 This adds the CPUFreq driver for UltraSPARC-IIe processors.
190
191 For details, take a look at <file:Documentation/cpu-freq>.
192
193 If in doubt, say N.
194
Linus Torvalds1da177e2005-04-16 15:20:36 -0700195# Global things across all Sun machines.
Nick Piggin95c354f2008-01-30 13:31:20 +0100196config GENERIC_LOCKBREAK
197 bool
198 default y
199 depends on SMP && PREEMPT
200
Linus Torvalds1da177e2005-04-16 15:20:36 -0700201config RWSEM_GENERIC_SPINLOCK
202 bool
203
204config RWSEM_XCHGADD_ALGORITHM
205 bool
206 default y
207
Akinobu Mita2d78d4b2006-03-26 01:39:40 -0800208config GENERIC_FIND_NEXT_BIT
209 bool
210 default y
211
212config GENERIC_HWEIGHT
213 bool
214 default y if !ULTRA_HAS_POPULATION_COUNT
215
Linus Torvalds1da177e2005-04-16 15:20:36 -0700216config GENERIC_CALIBRATE_DELAY
217 bool
218 default y
219
220choice
221 prompt "SPARC64 Huge TLB Page Size"
222 depends on HUGETLB_PAGE
223 default HUGETLB_PAGE_SIZE_4MB
224
225config HUGETLB_PAGE_SIZE_4MB
226 bool "4MB"
227
228config HUGETLB_PAGE_SIZE_512K
David S. Millerdcc1e8d2006-03-22 00:49:59 -0800229 depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700230 bool "512K"
231
232config HUGETLB_PAGE_SIZE_64K
Jean-Luc Légerf2a15852006-04-18 16:19:53 -0700233 depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB && !SPARC64_PAGE_SIZE_64KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700234 bool "64K"
235
236endchoice
237
David S. Miller5843e372005-08-30 21:46:19 -0700238endmenu
239
David S. Miller919ee672008-04-23 05:40:25 -0700240config NUMA
241 bool "NUMA support"
242
243config NODES_SHIFT
244 int
245 default "4"
246 depends on NEED_MULTIPLE_NODES
247
248# Some NUMA nodes have memory ranges that span
249# other nodes. Even though a pfn is valid and
250# between a node's start and end pfns, it may not
251# reside on that node. See memmap_init_zone()
252# for details.
253config NODES_SPAN_OTHER_NODES
254 def_bool y
255 depends on NEED_MULTIPLE_NODES
256
257config ARCH_POPULATES_NODE_MAP
258 def_bool y
259
David S. Miller68491d52006-04-06 20:28:11 -0700260config ARCH_SELECT_MEMORY_MODEL
261 def_bool y
262
David S. Millerd1112012006-03-08 02:16:07 -0800263config ARCH_SPARSEMEM_ENABLE
264 def_bool y
David Miller46644c242007-10-16 01:24:16 -0700265 select SPARSEMEM_VMEMMAP_ENABLE
David S. Millerd1112012006-03-08 02:16:07 -0800266
267config ARCH_SPARSEMEM_DEFAULT
268 def_bool y
269
David S. Miller5843e372005-08-30 21:46:19 -0700270source "mm/Kconfig"
271
Linus Torvalds1da177e2005-04-16 15:20:36 -0700272config ISA
273 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700274
275config ISAPNP
276 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700277
278config EISA
279 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700280
281config MCA
282 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700283
284config PCMCIA
285 tristate
David S. Miller05d515e2008-04-26 03:07:34 -0700286 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700287 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
288 computer. These are credit-card size devices such as network cards,
289 modems or hard drives often used with laptops computers. There are
290 actually two varieties of these cards: the older 16 bit PCMCIA cards
291 and the newer 32 bit CardBus cards. If you want to use CardBus
292 cards, you need to say Y here and also to "CardBus support" below.
293
294 To use your PC-cards, you will need supporting software from David
295 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
296 for location). Please also read the PCMCIA-HOWTO, available from
297 <http://www.tldp.org/docs.html#howto>.
298
299 To compile this driver as modules, choose M here: the
300 modules will be called pcmcia_core and ds.
301
302config SBUS
303 bool
304 default y
305
306config SBUSCHAR
307 bool
308 default y
309
310config SUN_AUXIO
311 bool
312 default y
313
314config SUN_IO
315 bool
316 default y
317
David S. Millere53e97c2007-07-09 22:22:44 -0700318config SUN_LDOMS
319 bool "Sun Logical Domains support"
320 help
321 Say Y here is you want to support virtual devices via
322 Logical Domains.
323
Linus Torvalds1da177e2005-04-16 15:20:36 -0700324config PCI
325 bool "PCI support"
Dan Williamsf282b9702007-04-18 18:46:20 +1000326 select ARCH_SUPPORTS_MSI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700327 help
David S. Miller05d515e2008-04-26 03:07:34 -0700328 Find out whether your system includes a PCI bus. PCI is the name of
329 a bus system, i.e. the way the CPU talks to the other stuff inside
330 your box. If you say Y here, the kernel will include drivers and
331 infrastructure code to support PCI bus devices.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700332
Linus Torvalds1da177e2005-04-16 15:20:36 -0700333config PCI_DOMAINS
Matthew Wilcox36e23592007-07-10 10:54:40 -0600334 def_bool PCI
335
336config PCI_SYSCALL
337 def_bool PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700338
Linus Torvalds1da177e2005-04-16 15:20:36 -0700339source "drivers/pci/Kconfig"
340
341config SUN_OPENPROMFS
342 tristate "Openprom tree appears in /proc/openprom"
343 help
344 If you say Y, the OpenPROM device tree will be available as a
345 virtual file system, which you can mount to /proc/openprom by "mount
346 -t openpromfs none /proc/openprom".
347
348 To compile the /proc/openprom support as a module, choose M here: the
349 module will be called openpromfs. If unsure, choose M.
350
David S. Millerec98c6b2008-04-20 02:14:23 -0700351menu "Executable file formats"
352
353source "fs/Kconfig.binfmt"
354
Linus Torvalds1da177e2005-04-16 15:20:36 -0700355config COMPAT
356 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700357 default y
David S. Miller48c946a2008-02-08 00:08:10 -0800358 select COMPAT_BINFMT_ELF
Linus Torvalds1da177e2005-04-16 15:20:36 -0700359
David S. Millerec98c6b2008-04-20 02:14:23 -0700360config SYSVIPC_COMPAT
361 bool
362 depends on COMPAT && SYSVIPC
363 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700364
David S. Miller5843e372005-08-30 21:46:19 -0700365endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -0700366
David S. Miller8935dce2006-03-08 16:09:19 -0800367config SCHED_SMT
368 bool "SMT (Hyperthreading) scheduler support"
369 depends on SMP
370 default y
371 help
372 SMT scheduler support improves the CPU scheduler's decision making
David S. Miller05d515e2008-04-26 03:07:34 -0700373 when dealing with SPARC cpus at a cost of slightly increased overhead
374 in some places. If unsure say N here.
David S. Miller8935dce2006-03-08 16:09:19 -0800375
David S. Millerf78eae22007-06-04 17:01:39 -0700376config SCHED_MC
377 bool "Multi-core scheduler support"
378 depends on SMP
379 default y
380 help
381 Multi-core scheduler support improves the CPU scheduler's decision
382 making when dealing with multi-core CPU chips at a cost of slightly
383 increased overhead in some places. If unsure say N here.
384
David S. Millerdb2f9f62007-03-17 15:23:22 -0700385source "kernel/Kconfig.preempt"
386
Linus Torvalds1da177e2005-04-16 15:20:36 -0700387config CMDLINE_BOOL
388 bool "Default bootloader kernel arguments"
389
390config CMDLINE
391 string "Initial kernel command string"
392 depends on CMDLINE_BOOL
393 default "console=ttyS0,9600 root=/dev/sda1"
394 help
395 Say Y here if you want to be able to pass default arguments to
396 the kernel. This will be overridden by the bootloader, if you
397 use one (such as SILO). This is most useful if you want to boot
398 a kernel from TFTP, and want default options to be available
399 with having them passed on the command line.
400
401 NOTE: This option WILL override the PROM bootargs setting!
402
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700403source "net/Kconfig"
404
David S. Miller5843e372005-08-30 21:46:19 -0700405source "drivers/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700406
407source "drivers/sbus/char/Kconfig"
408
Linus Torvalds1da177e2005-04-16 15:20:36 -0700409source "fs/Kconfig"
410
Linus Torvalds1da177e2005-04-16 15:20:36 -0700411source "arch/sparc64/Kconfig.debug"
412
413source "security/Kconfig"
414
415source "crypto/Kconfig"
416
417source "lib/Kconfig"