]> bbs.cooldavid.org Git - net-next-2.6.git/blame - arch/sparc64/Kconfig
sparc64: Add generic interface for registering a dimm printing handler.
[net-next-2.6.git] / arch / sparc64 / Kconfig
CommitLineData
05d515ef
DM
1# sparc64 configuration
2mainmenu "Linux Kernel Configuration for 64-bit SPARC"
1da177e4 3
0b57ee9e
AB
4config SPARC
5 bool
6 default y
42d4b839 7 select HAVE_OPROFILE
3f550096 8 select HAVE_KPROBES
9edddaa2 9 select HAVE_KRETPROBES
0b57ee9e 10
5843e37e
DM
11config SPARC64
12 bool
13 default y
677aa9f7 14 select HAVE_DYNAMIC_FTRACE
d05f5f99 15 select HAVE_FTRACE
ec7748b5 16 select HAVE_IDE
d9b2b2a2 17 select HAVE_LMB
e2fdd7fd 18 select HAVE_ARCH_KGDB
d172ad18 19 select USE_GENERIC_SMP_HELPERS if SMP
76822586 20 select HAVE_ARCH_TRACEHOOK
15df0f33 21 select ARCH_WANT_OPTIONAL_GPIOLIB
5843e37e 22
112f4871
DM
23config GENERIC_TIME
24 bool
25 default y
26
82644459
TG
27config GENERIC_CMOS_UPDATE
28 bool
29 default y
30
112f4871
DM
31config GENERIC_CLOCKEVENTS
32 bool
33 default y
34
15df0f33
DM
35config GENERIC_GPIO
36 bool
37 help
38 Generic GPIO API support
39
1da177e4
LT
40config 64BIT
41 def_bool y
42
43config MMU
44 bool
45 default y
46
d284142c
DM
47config IOMMU_HELPER
48 bool
49 default y
50
3a2cba99
DM
51config QUICKLIST
52 bool
53 default y
54
10e26723
DM
55config STACKTRACE_SUPPORT
56 bool
57 default y
58
59config LOCKDEP_SUPPORT
60 bool
61 default y
62
a08b6b79
AV
63config ARCH_MAY_HAVE_PC_FDC
64 bool
65 default y
66
f0d1b0b3
DH
67config ARCH_HAS_ILOG2_U32
68 bool
69 default n
70
71config ARCH_HAS_ILOG2_U64
72 bool
73 default n
74
f6bc0c1c
AV
75config AUDIT_ARCH
76 bool
77 default y
78
988c388a 79config HAVE_SETUP_PER_CPU_AREA
b32ef636 80 def_bool y
81
0785b9dc
SR
82config ARCH_NO_VIRT_TO_BUS
83 def_bool y
84
97e873e5
SR
85config OF
86 def_bool y
87
8d57d3ad
DM
88config GENERIC_HARDIRQS_NO__DO_IRQ
89 bool
90 def_bool y
91
932d0613
RD
92source "init/Kconfig"
93
94menu "Processor type and features"
95
1da177e4
LT
96choice
97 prompt "Kernel page size"
98 default SPARC64_PAGE_SIZE_8KB
99
100config SPARC64_PAGE_SIZE_8KB
101 bool "8KB"
102 help
103 This lets you select the page size of the kernel.
104
05d515ef 105 8KB and 64KB work quite well, since SPARC ELF sections
1da177e4
LT
106 provide for up to 64KB alignment.
107
1da177e4
LT
108 If you don't know what to do, choose 8KB.
109
110config SPARC64_PAGE_SIZE_64KB
111 bool "64KB"
112
1da177e4
LT
113endchoice
114
bb49bcda
DM
115config SECCOMP
116 bool "Enable seccomp to safely compute untrusted bytecode"
117 depends on PROC_FS
118 default y
119 help
120 This kernel feature is useful for number crunching applications
121 that may need to compute untrusted bytecode during their
122 execution. By using pipes or other transports made available to
123 the process as file descriptors supporting the read/write
124 syscalls, it's possible to isolate those applications in
125 their own address space using seccomp. Once seccomp is
126 enabled via /proc/<pid>/seccomp, it cannot be disabled
127 and the task is only allowed to execute a few safe syscalls
128 defined by each seccomp mode.
129
130 If unsure, say Y. Only embedded should say N here.
131
a6524813
DM
132source kernel/Kconfig.hz
133
4f0234f4
DM
134config HOTPLUG_CPU
135 bool "Support for hot-pluggable CPUs"
136 depends on SMP
137 select HOTPLUG
05d515ef 138 help
4f0234f4
DM
139 Say Y here to experiment with turning CPUs off and on. CPUs
140 can be controlled through /sys/devices/system/cpu/cpu#.
141 Say N if you want to disable CPU hotplug.
142
e18e2a00
DM
143config GENERIC_HARDIRQS
144 bool
145 default y
146
112f4871
DM
147source "kernel/time/Kconfig"
148
1da177e4
LT
149config SMP
150 bool "Symmetric multi-processing support"
05d515ef 151 help
1da177e4
LT
152 This enables support for systems with more than one CPU. If you have
153 a system with only one CPU, say N. If you have a system with more than
154 one CPU, say Y.
155
156 If you say N here, the kernel will run on single and multiprocessor
157 machines, but will use only one CPU of a multiprocessor machine. If
05d515ef
DM
158 you say Y here, the kernel will run on single-processor machines.
159 On a single-processor machine, the kernel will run faster if you say
160 N here.
1da177e4
LT
161
162 If you don't know what to do here, say N.
163
1da177e4 164config NR_CPUS
22adb358
DM
165 int "Maximum number of CPUs (2-1024)"
166 range 2 1024
1da177e4 167 depends on SMP
22adb358 168 default "64"
1da177e4
LT
169
170source "drivers/cpufreq/Kconfig"
171
172config US3_FREQ
173 tristate "UltraSPARC-III CPU Frequency driver"
174 depends on CPU_FREQ
175 select CPU_FREQ_TABLE
176 help
177 This adds the CPUFreq driver for UltraSPARC-III processors.
178
179 For details, take a look at <file:Documentation/cpu-freq>.
180
181 If in doubt, say N.
182
183config US2E_FREQ
184 tristate "UltraSPARC-IIe CPU Frequency driver"
185 depends on CPU_FREQ
186 select CPU_FREQ_TABLE
187 help
188 This adds the CPUFreq driver for UltraSPARC-IIe processors.
189
190 For details, take a look at <file:Documentation/cpu-freq>.
191
192 If in doubt, say N.
193
1da177e4 194# Global things across all Sun machines.
95c354fe
NP
195config GENERIC_LOCKBREAK
196 bool
197 default y
198 depends on SMP && PREEMPT
199
1da177e4
LT
200config RWSEM_GENERIC_SPINLOCK
201 bool
202
203config RWSEM_XCHGADD_ALGORITHM
204 bool
205 default y
206
2d78d4be
AM
207config GENERIC_FIND_NEXT_BIT
208 bool
209 default y
210
211config GENERIC_HWEIGHT
212 bool
213 default y if !ULTRA_HAS_POPULATION_COUNT
214
1da177e4
LT
215config GENERIC_CALIBRATE_DELAY
216 bool
217 default y
218
219choice
220 prompt "SPARC64 Huge TLB Page Size"
221 depends on HUGETLB_PAGE
222 default HUGETLB_PAGE_SIZE_4MB
223
224config HUGETLB_PAGE_SIZE_4MB
225 bool "4MB"
226
227config HUGETLB_PAGE_SIZE_512K
1da177e4
LT
228 bool "512K"
229
230config HUGETLB_PAGE_SIZE_64K
f7fe9334 231 depends on !SPARC64_PAGE_SIZE_64KB
1da177e4
LT
232 bool "64K"
233
234endchoice
235
5843e37e
DM
236endmenu
237
919ee677
DM
238config NUMA
239 bool "NUMA support"
240
241config NODES_SHIFT
242 int
243 default "4"
244 depends on NEED_MULTIPLE_NODES
245
246# Some NUMA nodes have memory ranges that span
247# other nodes. Even though a pfn is valid and
248# between a node's start and end pfns, it may not
249# reside on that node. See memmap_init_zone()
250# for details.
251config NODES_SPAN_OTHER_NODES
252 def_bool y
253 depends on NEED_MULTIPLE_NODES
254
255config ARCH_POPULATES_NODE_MAP
256 def_bool y
257
68491d58
DM
258config ARCH_SELECT_MEMORY_MODEL
259 def_bool y
260
d1112018
DM
261config ARCH_SPARSEMEM_ENABLE
262 def_bool y
46644c24 263 select SPARSEMEM_VMEMMAP_ENABLE
d1112018
DM
264
265config ARCH_SPARSEMEM_DEFAULT
266 def_bool y
267
5843e37e
DM
268source "mm/Kconfig"
269
1da177e4
LT
270config ISA
271 bool
1da177e4
LT
272
273config ISAPNP
274 bool
1da177e4
LT
275
276config EISA
277 bool
1da177e4
LT
278
279config MCA
280 bool
1da177e4
LT
281
282config PCMCIA
283 tristate
05d515ef 284 help
1da177e4
LT
285 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
286 computer. These are credit-card size devices such as network cards,
287 modems or hard drives often used with laptops computers. There are
288 actually two varieties of these cards: the older 16 bit PCMCIA cards
289 and the newer 32 bit CardBus cards. If you want to use CardBus
290 cards, you need to say Y here and also to "CardBus support" below.
291
292 To use your PC-cards, you will need supporting software from David
293 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
294 for location). Please also read the PCMCIA-HOWTO, available from
295 <http://www.tldp.org/docs.html#howto>.
296
297 To compile this driver as modules, choose M here: the
298 modules will be called pcmcia_core and ds.
299
300config SBUS
301 bool
302 default y
303
304config SBUSCHAR
305 bool
306 default y
307
308config SUN_AUXIO
309 bool
310 default y
311
312config SUN_IO
313 bool
314 default y
315
e53e97ce
DM
316config SUN_LDOMS
317 bool "Sun Logical Domains support"
318 help
319 Say Y here is you want to support virtual devices via
320 Logical Domains.
321
1da177e4
LT
322config PCI
323 bool "PCI support"
f282b970 324 select ARCH_SUPPORTS_MSI
1da177e4 325 help
05d515ef
DM
326 Find out whether your system includes a PCI bus. PCI is the name of
327 a bus system, i.e. the way the CPU talks to the other stuff inside
328 your box. If you say Y here, the kernel will include drivers and
329 infrastructure code to support PCI bus devices.
1da177e4 330
1da177e4 331config PCI_DOMAINS
36e23590
MW
332 def_bool PCI
333
334config PCI_SYSCALL
335 def_bool PCI
1da177e4 336
1da177e4
LT
337source "drivers/pci/Kconfig"
338
339config SUN_OPENPROMFS
340 tristate "Openprom tree appears in /proc/openprom"
341 help
342 If you say Y, the OpenPROM device tree will be available as a
343 virtual file system, which you can mount to /proc/openprom by "mount
344 -t openpromfs none /proc/openprom".
345
346 To compile the /proc/openprom support as a module, choose M here: the
347 module will be called openpromfs. If unsure, choose M.
348
ec98c6b9
DM
349menu "Executable file formats"
350
351source "fs/Kconfig.binfmt"
352
1da177e4
LT
353config COMPAT
354 bool
1da177e4 355 default y
48c946a4 356 select COMPAT_BINFMT_ELF
1da177e4 357
ec98c6b9
DM
358config SYSVIPC_COMPAT
359 bool
360 depends on COMPAT && SYSVIPC
361 default y
1da177e4 362
5843e37e 363endmenu
1da177e4 364
8935dced
DM
365config SCHED_SMT
366 bool "SMT (Hyperthreading) scheduler support"
367 depends on SMP
368 default y
369 help
370 SMT scheduler support improves the CPU scheduler's decision making
05d515ef
DM
371 when dealing with SPARC cpus at a cost of slightly increased overhead
372 in some places. If unsure say N here.
8935dced 373
f78eae2e
DM
374config SCHED_MC
375 bool "Multi-core scheduler support"
376 depends on SMP
377 default y
378 help
379 Multi-core scheduler support improves the CPU scheduler's decision
380 making when dealing with multi-core CPU chips at a cost of slightly
381 increased overhead in some places. If unsure say N here.
382
db2f9f6d
DM
383source "kernel/Kconfig.preempt"
384
1da177e4
LT
385config CMDLINE_BOOL
386 bool "Default bootloader kernel arguments"
387
388config CMDLINE
389 string "Initial kernel command string"
390 depends on CMDLINE_BOOL
391 default "console=ttyS0,9600 root=/dev/sda1"
392 help
393 Say Y here if you want to be able to pass default arguments to
394 the kernel. This will be overridden by the bootloader, if you
395 use one (such as SILO). This is most useful if you want to boot
396 a kernel from TFTP, and want default options to be available
397 with having them passed on the command line.
398
399 NOTE: This option WILL override the PROM bootargs setting!
400
d5950b43
SR
401source "net/Kconfig"
402
5843e37e 403source "drivers/Kconfig"
1da177e4
LT
404
405source "drivers/sbus/char/Kconfig"
406
1da177e4
LT
407source "fs/Kconfig"
408
1da177e4
LT
409source "arch/sparc64/Kconfig.debug"
410
411source "security/Kconfig"
412
413source "crypto/Kconfig"
414
415source "lib/Kconfig"