]> bbs.cooldavid.org Git - net-next-2.6.git/blame - arch/sparc64/Kconfig
sparc: Implement irq_of_parse_and_map() and irq_dispose_mapping().
[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
5843e37e 21
112f4871
DM
22config GENERIC_TIME
23 bool
24 default y
25
82644459
TG
26config GENERIC_CMOS_UPDATE
27 bool
28 default y
29
112f4871
DM
30config GENERIC_CLOCKEVENTS
31 bool
32 default y
33
1da177e4
LT
34config 64BIT
35 def_bool y
36
37config MMU
38 bool
39 default y
40
d284142c
DM
41config IOMMU_HELPER
42 bool
43 default y
44
3a2cba99
DM
45config QUICKLIST
46 bool
47 default y
48
10e26723
DM
49config STACKTRACE_SUPPORT
50 bool
51 default y
52
53config LOCKDEP_SUPPORT
54 bool
55 default y
56
a08b6b79
AV
57config ARCH_MAY_HAVE_PC_FDC
58 bool
59 default y
60
f0d1b0b3
DH
61config ARCH_HAS_ILOG2_U32
62 bool
63 default n
64
65config ARCH_HAS_ILOG2_U64
66 bool
67 default n
68
f6bc0c1c
AV
69config AUDIT_ARCH
70 bool
71 default y
72
988c388a 73config HAVE_SETUP_PER_CPU_AREA
b32ef636 74 def_bool y
75
0785b9dc
SR
76config ARCH_NO_VIRT_TO_BUS
77 def_bool y
78
97e873e5
SR
79config OF
80 def_bool y
81
8d57d3ad
DM
82config GENERIC_HARDIRQS_NO__DO_IRQ
83 bool
84 def_bool y
85
932d0613
RD
86source "init/Kconfig"
87
88menu "Processor type and features"
89
1da177e4
LT
90choice
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
05d515ef 99 8KB and 64KB work quite well, since SPARC ELF sections
1da177e4
LT
100 provide for up to 64KB alignment.
101
1da177e4
LT
102 If you don't know what to do, choose 8KB.
103
104config SPARC64_PAGE_SIZE_64KB
105 bool "64KB"
106
1da177e4
LT
107endchoice
108
bb49bcda
DM
109config 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
a6524813
DM
126source kernel/Kconfig.hz
127
4f0234f4
DM
128config HOTPLUG_CPU
129 bool "Support for hot-pluggable CPUs"
130 depends on SMP
131 select HOTPLUG
05d515ef 132 help
4f0234f4
DM
133 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
e18e2a00
DM
137config GENERIC_HARDIRQS
138 bool
139 default y
140
112f4871
DM
141source "kernel/time/Kconfig"
142
1da177e4
LT
143config SMP
144 bool "Symmetric multi-processing support"
05d515ef 145 help
1da177e4
LT
146 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
05d515ef
DM
152 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.
1da177e4
LT
155
156 If you don't know what to do here, say N.
157
1da177e4 158config NR_CPUS
22adb358
DM
159 int "Maximum number of CPUs (2-1024)"
160 range 2 1024
1da177e4 161 depends on SMP
22adb358 162 default "64"
1da177e4
LT
163
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
1da177e4 188# Global things across all Sun machines.
95c354fe
NP
189config GENERIC_LOCKBREAK
190 bool
191 default y
192 depends on SMP && PREEMPT
193
1da177e4
LT
194config RWSEM_GENERIC_SPINLOCK
195 bool
196
197config RWSEM_XCHGADD_ALGORITHM
198 bool
199 default y
200
2d78d4be
AM
201config GENERIC_FIND_NEXT_BIT
202 bool
203 default y
204
205config GENERIC_HWEIGHT
206 bool
207 default y if !ULTRA_HAS_POPULATION_COUNT
208
1da177e4
LT
209config 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
1da177e4
LT
222 bool "512K"
223
224config HUGETLB_PAGE_SIZE_64K
f7fe9334 225 depends on !SPARC64_PAGE_SIZE_64KB
1da177e4
LT
226 bool "64K"
227
228endchoice
229
5843e37e
DM
230endmenu
231
919ee677
DM
232config 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
68491d58
DM
252config ARCH_SELECT_MEMORY_MODEL
253 def_bool y
254
d1112018
DM
255config ARCH_SPARSEMEM_ENABLE
256 def_bool y
46644c24 257 select SPARSEMEM_VMEMMAP_ENABLE
d1112018
DM
258
259config ARCH_SPARSEMEM_DEFAULT
260 def_bool y
261
5843e37e
DM
262source "mm/Kconfig"
263
1da177e4
LT
264config ISA
265 bool
1da177e4
LT
266
267config ISAPNP
268 bool
1da177e4
LT
269
270config EISA
271 bool
1da177e4
LT
272
273config MCA
274 bool
1da177e4
LT
275
276config PCMCIA
277 tristate
05d515ef 278 help
1da177e4
LT
279 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
e53e97ce
DM
310config 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
1da177e4
LT
316config PCI
317 bool "PCI support"
f282b970 318 select ARCH_SUPPORTS_MSI
1da177e4 319 help
05d515ef
DM
320 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.
1da177e4 324
1da177e4 325config PCI_DOMAINS
36e23590
MW
326 def_bool PCI
327
328config PCI_SYSCALL
329 def_bool PCI
1da177e4 330
1da177e4
LT
331source "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
ec98c6b9
DM
343menu "Executable file formats"
344
345source "fs/Kconfig.binfmt"
346
1da177e4
LT
347config COMPAT
348 bool
1da177e4 349 default y
48c946a4 350 select COMPAT_BINFMT_ELF
1da177e4 351
ec98c6b9
DM
352config SYSVIPC_COMPAT
353 bool
354 depends on COMPAT && SYSVIPC
355 default y
1da177e4 356
5843e37e 357endmenu
1da177e4 358
8935dced
DM
359config 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
05d515ef
DM
365 when dealing with SPARC cpus at a cost of slightly increased overhead
366 in some places. If unsure say N here.
8935dced 367
f78eae2e
DM
368config 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
db2f9f6d
DM
377source "kernel/Kconfig.preempt"
378
1da177e4
LT
379config 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
d5950b43
SR
395source "net/Kconfig"
396
5843e37e 397source "drivers/Kconfig"
1da177e4
LT
398
399source "drivers/sbus/char/Kconfig"
400
1da177e4
LT
401source "fs/Kconfig"
402
1da177e4
LT
403source "arch/sparc64/Kconfig.debug"
404
405source "security/Kconfig"
406
407source "crypto/Kconfig"
408
409source "lib/Kconfig"