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