blob: 923a98959fa7349930efa343a4ab1febd4d5b05f [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. Miller5843e372005-08-30 21:46:19 -070021
David S. Miller112f4872007-03-05 15:28:37 -080022config GENERIC_TIME
23 bool
24 default y
25
Thomas Gleixner82644452007-07-21 04:37:37 -070026config GENERIC_CMOS_UPDATE
27 bool
28 default y
29
David S. Miller112f4872007-03-05 15:28:37 -080030config GENERIC_CLOCKEVENTS
31 bool
32 default y
33
Linus Torvalds1da177e2005-04-16 15:20:36 -070034config 64BIT
35 def_bool y
36
37config MMU
38 bool
39 default y
40
David S. Millerd2841422008-02-08 18:05:46 -080041config IOMMU_HELPER
42 bool
43 default y
44
David Miller3a2cba92007-05-06 14:49:51 -070045config QUICKLIST
46 bool
47 default y
48
David S. Miller10e26722006-11-16 13:38:57 -080049config STACKTRACE_SUPPORT
50 bool
51 default y
52
53config LOCKDEP_SUPPORT
54 bool
55 default y
56
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010057config ARCH_MAY_HAVE_PC_FDC
58 bool
59 default y
60
David Howellsf0d1b0b2006-12-08 02:37:49 -080061config ARCH_HAS_ILOG2_U32
62 bool
63 default n
64
65config ARCH_HAS_ILOG2_U64
66 bool
67 default n
68
Al Virof6bc0c12006-09-12 02:59:45 -040069config AUDIT_ARCH
70 bool
71 default y
72
travis@sgi.com988c3882008-01-30 23:27:58 +010073config HAVE_SETUP_PER_CPU_AREA
travis@sgi.comb32ef632008-01-30 13:32:51 +010074 def_bool y
75
Stephen Rothwell0785b9d2007-07-18 00:09:30 -070076config ARCH_NO_VIRT_TO_BUS
77 def_bool y
78
Stephen Rothwell97e873e2007-05-01 16:26:07 +100079config OF
80 def_bool y
81
David S. Miller8d57d3a2007-10-22 02:16:45 -070082config GENERIC_HARDIRQS_NO__DO_IRQ
83 bool
84 def_bool y
85
Randy Dunlap932d0612008-07-14 22:46:33 -070086source "init/Kconfig"
87
88menu "Processor type and features"
89
Linus Torvalds1da177e2005-04-16 15:20:36 -070090choice
91 prompt "Kernel page size"
92 default SPARC64_PAGE_SIZE_8KB
93
94config SPARC64_PAGE_SIZE_8KB
95 bool "8KB"
96 help
97 This lets you select the page size of the kernel.
98
David S. Miller05d515e2008-04-26 03:07:34 -070099 8KB and 64KB work quite well, since SPARC ELF sections
Linus Torvalds1da177e2005-04-16 15:20:36 -0700100 provide for up to 64KB alignment.
101
Linus Torvalds1da177e2005-04-16 15:20:36 -0700102 If you don't know what to do, choose 8KB.
103
104config SPARC64_PAGE_SIZE_64KB
105 bool "64KB"
106
Linus Torvalds1da177e2005-04-16 15:20:36 -0700107endchoice
108
David S. Millerbb49bcd2005-07-10 16:49:28 -0700109config SECCOMP
110 bool "Enable seccomp to safely compute untrusted bytecode"
111 depends on PROC_FS
112 default y
113 help
114 This kernel feature is useful for number crunching applications
115 that may need to compute untrusted bytecode during their
116 execution. By using pipes or other transports made available to
117 the process as file descriptors supporting the read/write
118 syscalls, it's possible to isolate those applications in
119 their own address space using seccomp. Once seccomp is
120 enabled via /proc/<pid>/seccomp, it cannot be disabled
121 and the task is only allowed to execute a few safe syscalls
122 defined by each seccomp mode.
123
124 If unsure, say Y. Only embedded should say N here.
125
David S. Millera6524812005-07-08 15:21:51 -0700126source kernel/Kconfig.hz
127
David S. Miller4f0234f2007-07-13 16:03:42 -0700128config HOTPLUG_CPU
129 bool "Support for hot-pluggable CPUs"
130 depends on SMP
131 select HOTPLUG
David S. Miller05d515e2008-04-26 03:07:34 -0700132 help
David S. Miller4f0234f2007-07-13 16:03:42 -0700133 Say Y here to experiment with turning CPUs off and on. CPUs
134 can be controlled through /sys/devices/system/cpu/cpu#.
135 Say N if you want to disable CPU hotplug.
136
David S. Millere18e2a02006-06-20 01:23:32 -0700137config GENERIC_HARDIRQS
138 bool
139 default y
140
David S. Miller112f4872007-03-05 15:28:37 -0800141source "kernel/time/Kconfig"
142
Linus Torvalds1da177e2005-04-16 15:20:36 -0700143config SMP
144 bool "Symmetric multi-processing support"
David S. Miller05d515e2008-04-26 03:07:34 -0700145 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700146 This enables support for systems with more than one CPU. If you have
147 a system with only one CPU, say N. If you have a system with more than
148 one CPU, say Y.
149
150 If you say N here, the kernel will run on single and multiprocessor
151 machines, but will use only one CPU of a multiprocessor machine. If
David S. Miller05d515e2008-04-26 03:07:34 -0700152 you say Y here, the kernel will run on single-processor machines.
153 On a single-processor machine, the kernel will run faster if you say
154 N here.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700155
156 If you don't know what to do here, say N.
157
Linus Torvalds1da177e2005-04-16 15:20:36 -0700158config NR_CPUS
David S. Miller22adb352007-05-26 01:14:43 -0700159 int "Maximum number of CPUs (2-1024)"
160 range 2 1024
Linus Torvalds1da177e2005-04-16 15:20:36 -0700161 depends on SMP
David S. Miller22adb352007-05-26 01:14:43 -0700162 default "64"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700163
164source "drivers/cpufreq/Kconfig"
165
166config US3_FREQ
167 tristate "UltraSPARC-III CPU Frequency driver"
168 depends on CPU_FREQ
169 select CPU_FREQ_TABLE
170 help
171 This adds the CPUFreq driver for UltraSPARC-III processors.
172
173 For details, take a look at <file:Documentation/cpu-freq>.
174
175 If in doubt, say N.
176
177config US2E_FREQ
178 tristate "UltraSPARC-IIe CPU Frequency driver"
179 depends on CPU_FREQ
180 select CPU_FREQ_TABLE
181 help
182 This adds the CPUFreq driver for UltraSPARC-IIe processors.
183
184 For details, take a look at <file:Documentation/cpu-freq>.
185
186 If in doubt, say N.
187
Linus Torvalds1da177e2005-04-16 15:20:36 -0700188# Global things across all Sun machines.
Nick Piggin95c354f2008-01-30 13:31:20 +0100189config GENERIC_LOCKBREAK
190 bool
191 default y
192 depends on SMP && PREEMPT
193
Linus Torvalds1da177e2005-04-16 15:20:36 -0700194config RWSEM_GENERIC_SPINLOCK
195 bool
196
197config RWSEM_XCHGADD_ALGORITHM
198 bool
199 default y
200
Akinobu Mita2d78d4b2006-03-26 01:39:40 -0800201config GENERIC_FIND_NEXT_BIT
202 bool
203 default y
204
205config GENERIC_HWEIGHT
206 bool
207 default y if !ULTRA_HAS_POPULATION_COUNT
208
Linus Torvalds1da177e2005-04-16 15:20:36 -0700209config GENERIC_CALIBRATE_DELAY
210 bool
211 default y
212
213choice
214 prompt "SPARC64 Huge TLB Page Size"
215 depends on HUGETLB_PAGE
216 default HUGETLB_PAGE_SIZE_4MB
217
218config HUGETLB_PAGE_SIZE_4MB
219 bool "4MB"
220
221config HUGETLB_PAGE_SIZE_512K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700222 bool "512K"
223
224config HUGETLB_PAGE_SIZE_64K
David S. Millerf7fe9332008-07-17 23:43:55 -0700225 depends on !SPARC64_PAGE_SIZE_64KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700226 bool "64K"
227
228endchoice
229
David S. Miller5843e372005-08-30 21:46:19 -0700230endmenu
231
David S. Miller919ee672008-04-23 05:40:25 -0700232config NUMA
233 bool "NUMA support"
234
235config NODES_SHIFT
236 int
237 default "4"
238 depends on NEED_MULTIPLE_NODES
239
240# Some NUMA nodes have memory ranges that span
241# other nodes. Even though a pfn is valid and
242# between a node's start and end pfns, it may not
243# reside on that node. See memmap_init_zone()
244# for details.
245config NODES_SPAN_OTHER_NODES
246 def_bool y
247 depends on NEED_MULTIPLE_NODES
248
249config ARCH_POPULATES_NODE_MAP
250 def_bool y
251
David S. Miller68491d52006-04-06 20:28:11 -0700252config ARCH_SELECT_MEMORY_MODEL
253 def_bool y
254
David S. Millerd1112012006-03-08 02:16:07 -0800255config ARCH_SPARSEMEM_ENABLE
256 def_bool y
David Miller46644c22007-10-16 01:24:16 -0700257 select SPARSEMEM_VMEMMAP_ENABLE
David S. Millerd1112012006-03-08 02:16:07 -0800258
259config ARCH_SPARSEMEM_DEFAULT
260 def_bool y
261
David S. Miller5843e372005-08-30 21:46:19 -0700262source "mm/Kconfig"
263
Linus Torvalds1da177e2005-04-16 15:20:36 -0700264config ISA
265 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700266
267config ISAPNP
268 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700269
270config EISA
271 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700272
273config MCA
274 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700275
276config PCMCIA
277 tristate
David S. Miller05d515e2008-04-26 03:07:34 -0700278 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700279 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
280 computer. These are credit-card size devices such as network cards,
281 modems or hard drives often used with laptops computers. There are
282 actually two varieties of these cards: the older 16 bit PCMCIA cards
283 and the newer 32 bit CardBus cards. If you want to use CardBus
284 cards, you need to say Y here and also to "CardBus support" below.
285
286 To use your PC-cards, you will need supporting software from David
287 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
288 for location). Please also read the PCMCIA-HOWTO, available from
289 <http://www.tldp.org/docs.html#howto>.
290
291 To compile this driver as modules, choose M here: the
292 modules will be called pcmcia_core and ds.
293
294config SBUS
295 bool
296 default y
297
298config SBUSCHAR
299 bool
300 default y
301
302config SUN_AUXIO
303 bool
304 default y
305
306config SUN_IO
307 bool
308 default y
309
David S. Millere53e97c2007-07-09 22:22:44 -0700310config SUN_LDOMS
311 bool "Sun Logical Domains support"
312 help
313 Say Y here is you want to support virtual devices via
314 Logical Domains.
315
Linus Torvalds1da177e2005-04-16 15:20:36 -0700316config PCI
317 bool "PCI support"
Dan Williamsf282b972007-04-18 18:46:20 +1000318 select ARCH_SUPPORTS_MSI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700319 help
David S. Miller05d515e2008-04-26 03:07:34 -0700320 Find out whether your system includes a PCI bus. PCI is the name of
321 a bus system, i.e. the way the CPU talks to the other stuff inside
322 your box. If you say Y here, the kernel will include drivers and
323 infrastructure code to support PCI bus devices.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700324
Linus Torvalds1da177e2005-04-16 15:20:36 -0700325config PCI_DOMAINS
Matthew Wilcox36e23592007-07-10 10:54:40 -0600326 def_bool PCI
327
328config PCI_SYSCALL
329 def_bool PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700330
Linus Torvalds1da177e2005-04-16 15:20:36 -0700331source "drivers/pci/Kconfig"
332
333config SUN_OPENPROMFS
334 tristate "Openprom tree appears in /proc/openprom"
335 help
336 If you say Y, the OpenPROM device tree will be available as a
337 virtual file system, which you can mount to /proc/openprom by "mount
338 -t openpromfs none /proc/openprom".
339
340 To compile the /proc/openprom support as a module, choose M here: the
341 module will be called openpromfs. If unsure, choose M.
342
David S. Millerec98c6b2008-04-20 02:14:23 -0700343menu "Executable file formats"
344
345source "fs/Kconfig.binfmt"
346
Linus Torvalds1da177e2005-04-16 15:20:36 -0700347config COMPAT
348 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700349 default y
David S. Miller48c946a2008-02-08 00:08:10 -0800350 select COMPAT_BINFMT_ELF
Linus Torvalds1da177e2005-04-16 15:20:36 -0700351
David S. Millerec98c6b2008-04-20 02:14:23 -0700352config SYSVIPC_COMPAT
353 bool
354 depends on COMPAT && SYSVIPC
355 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700356
David S. Miller5843e372005-08-30 21:46:19 -0700357endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -0700358
David S. Miller8935dce2006-03-08 16:09:19 -0800359config SCHED_SMT
360 bool "SMT (Hyperthreading) scheduler support"
361 depends on SMP
362 default y
363 help
364 SMT scheduler support improves the CPU scheduler's decision making
David S. Miller05d515e2008-04-26 03:07:34 -0700365 when dealing with SPARC cpus at a cost of slightly increased overhead
366 in some places. If unsure say N here.
David S. Miller8935dce2006-03-08 16:09:19 -0800367
David S. Millerf78eae22007-06-04 17:01:39 -0700368config SCHED_MC
369 bool "Multi-core scheduler support"
370 depends on SMP
371 default y
372 help
373 Multi-core scheduler support improves the CPU scheduler's decision
374 making when dealing with multi-core CPU chips at a cost of slightly
375 increased overhead in some places. If unsure say N here.
376
David S. Millerdb2f9f62007-03-17 15:23:22 -0700377source "kernel/Kconfig.preempt"
378
Linus Torvalds1da177e2005-04-16 15:20:36 -0700379config CMDLINE_BOOL
380 bool "Default bootloader kernel arguments"
381
382config CMDLINE
383 string "Initial kernel command string"
384 depends on CMDLINE_BOOL
385 default "console=ttyS0,9600 root=/dev/sda1"
386 help
387 Say Y here if you want to be able to pass default arguments to
388 the kernel. This will be overridden by the bootloader, if you
389 use one (such as SILO). This is most useful if you want to boot
390 a kernel from TFTP, and want default options to be available
391 with having them passed on the command line.
392
393 NOTE: This option WILL override the PROM bootargs setting!
394
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700395source "net/Kconfig"
396
David S. Miller5843e372005-08-30 21:46:19 -0700397source "drivers/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700398
399source "drivers/sbus/char/Kconfig"
400
Linus Torvalds1da177e2005-04-16 15:20:36 -0700401source "fs/Kconfig"
402
Linus Torvalds1da177e2005-04-16 15:20:36 -0700403source "arch/sparc64/Kconfig.debug"
404
405source "security/Kconfig"
406
407source "crypto/Kconfig"
408
409source "lib/Kconfig"