blob: 4a90809b40fb75ed46a6496140668a6a9a6fcd5e [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. Miller29b503f2008-08-28 21:54:34 -070025 select RTC_DRV_BQ4802
David S. Miller84d6bd52008-08-29 01:34:27 -070026 select RTC_DRV_SUN4V
David S. Millerf2be6de2008-08-29 01:35:19 -070027 select RTC_DRV_STARFIRE
David S. Miller5843e372005-08-30 21:46:19 -070028
David S. Miller112f4872007-03-05 15:28:37 -080029config GENERIC_TIME
30 bool
31 default y
32
Thomas Gleixner82644452007-07-21 04:37:37 -070033config GENERIC_CMOS_UPDATE
34 bool
35 default y
36
David S. Miller112f4872007-03-05 15:28:37 -080037config GENERIC_CLOCKEVENTS
38 bool
39 default y
40
David S. Miller15df0f32008-08-20 23:03:24 -070041config GENERIC_GPIO
42 bool
43 help
44 Generic GPIO API support
45
Linus Torvalds1da177e2005-04-16 15:20:36 -070046config 64BIT
47 def_bool y
48
49config MMU
50 bool
51 default y
52
David S. Millerd2841422008-02-08 18:05:46 -080053config IOMMU_HELPER
54 bool
55 default y
56
David Miller3a2cba92007-05-06 14:49:51 -070057config QUICKLIST
58 bool
59 default y
60
David S. Miller10e26722006-11-16 13:38:57 -080061config STACKTRACE_SUPPORT
62 bool
63 default y
64
65config LOCKDEP_SUPPORT
66 bool
67 default y
68
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010069config ARCH_MAY_HAVE_PC_FDC
70 bool
71 default y
72
David Howellsf0d1b0b2006-12-08 02:37:49 -080073config ARCH_HAS_ILOG2_U32
74 bool
75 default n
76
77config ARCH_HAS_ILOG2_U64
78 bool
79 default n
80
Al Virof6bc0c12006-09-12 02:59:45 -040081config AUDIT_ARCH
82 bool
83 default y
84
travis@sgi.com988c3882008-01-30 23:27:58 +010085config HAVE_SETUP_PER_CPU_AREA
travis@sgi.comb32ef632008-01-30 13:32:51 +010086 def_bool y
87
Stephen Rothwell0785b9d2007-07-18 00:09:30 -070088config ARCH_NO_VIRT_TO_BUS
89 def_bool y
90
Stephen Rothwell97e873e2007-05-01 16:26:07 +100091config OF
92 def_bool y
93
David S. Miller8d57d3a2007-10-22 02:16:45 -070094config GENERIC_HARDIRQS_NO__DO_IRQ
95 bool
96 def_bool y
97
Randy Dunlap932d0612008-07-14 22:46:33 -070098source "init/Kconfig"
99
100menu "Processor type and features"
101
Linus Torvalds1da177e2005-04-16 15:20:36 -0700102choice
103 prompt "Kernel page size"
104 default SPARC64_PAGE_SIZE_8KB
105
106config SPARC64_PAGE_SIZE_8KB
107 bool "8KB"
108 help
109 This lets you select the page size of the kernel.
110
David S. Miller05d515e2008-04-26 03:07:34 -0700111 8KB and 64KB work quite well, since SPARC ELF sections
Linus Torvalds1da177e2005-04-16 15:20:36 -0700112 provide for up to 64KB alignment.
113
Linus Torvalds1da177e2005-04-16 15:20:36 -0700114 If you don't know what to do, choose 8KB.
115
116config SPARC64_PAGE_SIZE_64KB
117 bool "64KB"
118
Linus Torvalds1da177e2005-04-16 15:20:36 -0700119endchoice
120
David S. Millerbb49bcd2005-07-10 16:49:28 -0700121config SECCOMP
122 bool "Enable seccomp to safely compute untrusted bytecode"
123 depends on PROC_FS
124 default y
125 help
126 This kernel feature is useful for number crunching applications
127 that may need to compute untrusted bytecode during their
128 execution. By using pipes or other transports made available to
129 the process as file descriptors supporting the read/write
130 syscalls, it's possible to isolate those applications in
131 their own address space using seccomp. Once seccomp is
132 enabled via /proc/<pid>/seccomp, it cannot be disabled
133 and the task is only allowed to execute a few safe syscalls
134 defined by each seccomp mode.
135
136 If unsure, say Y. Only embedded should say N here.
137
David S. Millera6524812005-07-08 15:21:51 -0700138source kernel/Kconfig.hz
139
David S. Miller4f0234f2007-07-13 16:03:42 -0700140config HOTPLUG_CPU
141 bool "Support for hot-pluggable CPUs"
142 depends on SMP
143 select HOTPLUG
David S. Miller05d515e2008-04-26 03:07:34 -0700144 help
David S. Miller4f0234f2007-07-13 16:03:42 -0700145 Say Y here to experiment with turning CPUs off and on. CPUs
146 can be controlled through /sys/devices/system/cpu/cpu#.
147 Say N if you want to disable CPU hotplug.
148
David S. Millere18e2a02006-06-20 01:23:32 -0700149config GENERIC_HARDIRQS
150 bool
151 default y
152
David S. Miller112f4872007-03-05 15:28:37 -0800153source "kernel/time/Kconfig"
154
Linus Torvalds1da177e2005-04-16 15:20:36 -0700155config SMP
156 bool "Symmetric multi-processing support"
David S. Miller05d515e2008-04-26 03:07:34 -0700157 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700158 This enables support for systems with more than one CPU. If you have
159 a system with only one CPU, say N. If you have a system with more than
160 one CPU, say Y.
161
162 If you say N here, the kernel will run on single and multiprocessor
163 machines, but will use only one CPU of a multiprocessor machine. If
David S. Miller05d515e2008-04-26 03:07:34 -0700164 you say Y here, the kernel will run on single-processor machines.
165 On a single-processor machine, the kernel will run faster if you say
166 N here.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700167
168 If you don't know what to do here, say N.
169
Linus Torvalds1da177e2005-04-16 15:20:36 -0700170config NR_CPUS
David S. Miller22adb352007-05-26 01:14:43 -0700171 int "Maximum number of CPUs (2-1024)"
172 range 2 1024
Linus Torvalds1da177e2005-04-16 15:20:36 -0700173 depends on SMP
David S. Miller22adb352007-05-26 01:14:43 -0700174 default "64"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700175
176source "drivers/cpufreq/Kconfig"
177
178config US3_FREQ
179 tristate "UltraSPARC-III CPU Frequency driver"
180 depends on CPU_FREQ
181 select CPU_FREQ_TABLE
182 help
183 This adds the CPUFreq driver for UltraSPARC-III processors.
184
185 For details, take a look at <file:Documentation/cpu-freq>.
186
187 If in doubt, say N.
188
189config US2E_FREQ
190 tristate "UltraSPARC-IIe CPU Frequency driver"
191 depends on CPU_FREQ
192 select CPU_FREQ_TABLE
193 help
194 This adds the CPUFreq driver for UltraSPARC-IIe processors.
195
196 For details, take a look at <file:Documentation/cpu-freq>.
197
198 If in doubt, say N.
199
David S. Miller41660e92008-08-24 22:17:29 -0700200config US3_MC
201 tristate "UltraSPARC-III Memory Controller driver"
202 default y
203 help
204 This adds a driver for the UltraSPARC-III memory controller.
205 Loading this driver allows exact mnemonic strings to be
206 printed in the event of a memory error, so that the faulty DIMM
207 on the motherboard can be matched to the error.
208
209 If in doubt, say Y, as this information can be very useful.
210
Linus Torvalds1da177e2005-04-16 15:20:36 -0700211# Global things across all Sun machines.
Nick Piggin95c354f2008-01-30 13:31:20 +0100212config GENERIC_LOCKBREAK
213 bool
214 default y
215 depends on SMP && PREEMPT
216
Linus Torvalds1da177e2005-04-16 15:20:36 -0700217config RWSEM_GENERIC_SPINLOCK
218 bool
219
220config RWSEM_XCHGADD_ALGORITHM
221 bool
222 default y
223
Akinobu Mita2d78d4b2006-03-26 01:39:40 -0800224config GENERIC_FIND_NEXT_BIT
225 bool
226 default y
227
228config GENERIC_HWEIGHT
229 bool
230 default y if !ULTRA_HAS_POPULATION_COUNT
231
Linus Torvalds1da177e2005-04-16 15:20:36 -0700232config GENERIC_CALIBRATE_DELAY
233 bool
234 default y
235
236choice
237 prompt "SPARC64 Huge TLB Page Size"
238 depends on HUGETLB_PAGE
239 default HUGETLB_PAGE_SIZE_4MB
240
241config HUGETLB_PAGE_SIZE_4MB
242 bool "4MB"
243
244config HUGETLB_PAGE_SIZE_512K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700245 bool "512K"
246
247config HUGETLB_PAGE_SIZE_64K
David S. Millerf7fe9332008-07-17 23:43:55 -0700248 depends on !SPARC64_PAGE_SIZE_64KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700249 bool "64K"
250
251endchoice
252
David S. Miller5843e372005-08-30 21:46:19 -0700253endmenu
254
David S. Miller919ee672008-04-23 05:40:25 -0700255config NUMA
256 bool "NUMA support"
257
258config NODES_SHIFT
259 int
260 default "4"
261 depends on NEED_MULTIPLE_NODES
262
263# Some NUMA nodes have memory ranges that span
264# other nodes. Even though a pfn is valid and
265# between a node's start and end pfns, it may not
266# reside on that node. See memmap_init_zone()
267# for details.
268config NODES_SPAN_OTHER_NODES
269 def_bool y
270 depends on NEED_MULTIPLE_NODES
271
272config ARCH_POPULATES_NODE_MAP
273 def_bool y
274
David S. Miller68491d52006-04-06 20:28:11 -0700275config ARCH_SELECT_MEMORY_MODEL
276 def_bool y
277
David S. Millerd1112012006-03-08 02:16:07 -0800278config ARCH_SPARSEMEM_ENABLE
279 def_bool y
David Miller46644c242007-10-16 01:24:16 -0700280 select SPARSEMEM_VMEMMAP_ENABLE
David S. Millerd1112012006-03-08 02:16:07 -0800281
282config ARCH_SPARSEMEM_DEFAULT
283 def_bool y
284
David S. Miller5843e372005-08-30 21:46:19 -0700285source "mm/Kconfig"
286
Linus Torvalds1da177e2005-04-16 15:20:36 -0700287config ISA
288 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700289
290config ISAPNP
291 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700292
293config EISA
294 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700295
296config MCA
297 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700298
299config PCMCIA
300 tristate
David S. Miller05d515e2008-04-26 03:07:34 -0700301 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700302 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
303 computer. These are credit-card size devices such as network cards,
304 modems or hard drives often used with laptops computers. There are
305 actually two varieties of these cards: the older 16 bit PCMCIA cards
306 and the newer 32 bit CardBus cards. If you want to use CardBus
307 cards, you need to say Y here and also to "CardBus support" below.
308
309 To use your PC-cards, you will need supporting software from David
310 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
311 for location). Please also read the PCMCIA-HOWTO, available from
312 <http://www.tldp.org/docs.html#howto>.
313
314 To compile this driver as modules, choose M here: the
315 modules will be called pcmcia_core and ds.
316
317config SBUS
318 bool
319 default y
320
321config SBUSCHAR
322 bool
323 default y
324
325config SUN_AUXIO
326 bool
327 default y
328
329config SUN_IO
330 bool
331 default y
332
David S. Millere53e97c2007-07-09 22:22:44 -0700333config SUN_LDOMS
334 bool "Sun Logical Domains support"
335 help
336 Say Y here is you want to support virtual devices via
337 Logical Domains.
338
Linus Torvalds1da177e2005-04-16 15:20:36 -0700339config PCI
340 bool "PCI support"
Dan Williamsf282b9702007-04-18 18:46:20 +1000341 select ARCH_SUPPORTS_MSI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700342 help
David S. Miller05d515e2008-04-26 03:07:34 -0700343 Find out whether your system includes a PCI bus. PCI is the name of
344 a bus system, i.e. the way the CPU talks to the other stuff inside
345 your box. If you say Y here, the kernel will include drivers and
346 infrastructure code to support PCI bus devices.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700347
Linus Torvalds1da177e2005-04-16 15:20:36 -0700348config PCI_DOMAINS
Matthew Wilcox36e23592007-07-10 10:54:40 -0600349 def_bool PCI
350
351config PCI_SYSCALL
352 def_bool PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700353
Linus Torvalds1da177e2005-04-16 15:20:36 -0700354source "drivers/pci/Kconfig"
355
356config SUN_OPENPROMFS
357 tristate "Openprom tree appears in /proc/openprom"
358 help
359 If you say Y, the OpenPROM device tree will be available as a
360 virtual file system, which you can mount to /proc/openprom by "mount
361 -t openpromfs none /proc/openprom".
362
363 To compile the /proc/openprom support as a module, choose M here: the
364 module will be called openpromfs. If unsure, choose M.
365
David S. Millerec98c6b2008-04-20 02:14:23 -0700366menu "Executable file formats"
367
368source "fs/Kconfig.binfmt"
369
Linus Torvalds1da177e2005-04-16 15:20:36 -0700370config COMPAT
371 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700372 default y
David S. Miller48c946a2008-02-08 00:08:10 -0800373 select COMPAT_BINFMT_ELF
Linus Torvalds1da177e2005-04-16 15:20:36 -0700374
David S. Millerec98c6b2008-04-20 02:14:23 -0700375config SYSVIPC_COMPAT
376 bool
377 depends on COMPAT && SYSVIPC
378 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700379
David S. Miller5843e372005-08-30 21:46:19 -0700380endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -0700381
David S. Miller8935dce2006-03-08 16:09:19 -0800382config SCHED_SMT
383 bool "SMT (Hyperthreading) scheduler support"
384 depends on SMP
385 default y
386 help
387 SMT scheduler support improves the CPU scheduler's decision making
David S. Miller05d515e2008-04-26 03:07:34 -0700388 when dealing with SPARC cpus at a cost of slightly increased overhead
389 in some places. If unsure say N here.
David S. Miller8935dce2006-03-08 16:09:19 -0800390
David S. Millerf78eae22007-06-04 17:01:39 -0700391config SCHED_MC
392 bool "Multi-core scheduler support"
393 depends on SMP
394 default y
395 help
396 Multi-core scheduler support improves the CPU scheduler's decision
397 making when dealing with multi-core CPU chips at a cost of slightly
398 increased overhead in some places. If unsure say N here.
399
David S. Millerdb2f9f62007-03-17 15:23:22 -0700400source "kernel/Kconfig.preempt"
401
Linus Torvalds1da177e2005-04-16 15:20:36 -0700402config CMDLINE_BOOL
403 bool "Default bootloader kernel arguments"
404
405config CMDLINE
406 string "Initial kernel command string"
407 depends on CMDLINE_BOOL
408 default "console=ttyS0,9600 root=/dev/sda1"
409 help
410 Say Y here if you want to be able to pass default arguments to
411 the kernel. This will be overridden by the bootloader, if you
412 use one (such as SILO). This is most useful if you want to boot
413 a kernel from TFTP, and want default options to be available
414 with having them passed on the command line.
415
416 NOTE: This option WILL override the PROM bootargs setting!
417
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700418source "net/Kconfig"
419
David S. Miller5843e372005-08-30 21:46:19 -0700420source "drivers/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700421
422source "drivers/sbus/char/Kconfig"
423
Linus Torvalds1da177e2005-04-16 15:20:36 -0700424source "fs/Kconfig"
425
Linus Torvalds1da177e2005-04-16 15:20:36 -0700426source "arch/sparc64/Kconfig.debug"
427
428source "security/Kconfig"
429
430source "crypto/Kconfig"
431
432source "lib/Kconfig"