Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | # $Id: config.in,v 1.158 2002/01/24 22:14:44 davem Exp $ |
2 | # For a description of the syntax of this configuration file, | |
3 | # see the Configure script. | |
4 | # | |
5 | ||
6 | mainmenu "Linux/UltraSPARC Kernel Configuration" | |
7 | ||
0b57ee9e AB |
8 | config SPARC |
9 | bool | |
10 | default y | |
42d4b839 | 11 | select HAVE_OPROFILE |
3f550096 | 12 | select HAVE_KPROBES |
9edddaa2 | 13 | select HAVE_KRETPROBES |
0b57ee9e | 14 | |
5843e37e DM |
15 | config SPARC64 |
16 | bool | |
17 | default y | |
ec7748b5 | 18 | select HAVE_IDE |
5843e37e DM |
19 | help |
20 | SPARC is a family of RISC microprocessors designed and marketed by | |
21 | Sun Microsystems, incorporated. This port covers the newer 64-bit | |
22 | UltraSPARC. The UltraLinux project maintains both the SPARC32 and | |
23 | SPARC64 ports; its web page is available at | |
24 | <http://www.ultralinux.org/>. | |
25 | ||
112f4871 DM |
26 | config GENERIC_TIME |
27 | bool | |
28 | default y | |
29 | ||
82644459 TG |
30 | config GENERIC_CMOS_UPDATE |
31 | bool | |
32 | default y | |
33 | ||
112f4871 DM |
34 | config GENERIC_CLOCKEVENTS |
35 | bool | |
36 | default y | |
37 | ||
1da177e4 LT |
38 | config 64BIT |
39 | def_bool y | |
40 | ||
41 | config MMU | |
42 | bool | |
43 | default y | |
44 | ||
d284142c DM |
45 | config IOMMU_HELPER |
46 | bool | |
47 | default y | |
48 | ||
3a2cba99 DM |
49 | config QUICKLIST |
50 | bool | |
51 | default y | |
52 | ||
10e26723 DM |
53 | config STACKTRACE_SUPPORT |
54 | bool | |
55 | default y | |
56 | ||
57 | config LOCKDEP_SUPPORT | |
58 | bool | |
59 | default y | |
60 | ||
a08b6b79 Z |
61 | config ARCH_MAY_HAVE_PC_FDC |
62 | bool | |
63 | default y | |
64 | ||
f0d1b0b3 DH |
65 | config ARCH_HAS_ILOG2_U32 |
66 | bool | |
67 | default n | |
68 | ||
69 | config ARCH_HAS_ILOG2_U64 | |
70 | bool | |
71 | default n | |
72 | ||
f6bc0c1c AV |
73 | config AUDIT_ARCH |
74 | bool | |
75 | default y | |
76 | ||
988c388a | 77 | config HAVE_SETUP_PER_CPU_AREA |
b32ef636 | 78 | def_bool y |
79 | ||
0785b9dc SR |
80 | config ARCH_NO_VIRT_TO_BUS |
81 | def_bool y | |
82 | ||
97e873e5 SR |
83 | config OF |
84 | def_bool y | |
85 | ||
8d57d3ad DM |
86 | config GENERIC_HARDIRQS_NO__DO_IRQ |
87 | bool | |
88 | def_bool y | |
89 | ||
b0b933c0 DH |
90 | config ARCH_SUPPORTS_AOUT |
91 | def_bool y | |
92 | ||
1da177e4 LT |
93 | choice |
94 | prompt "Kernel page size" | |
95 | default SPARC64_PAGE_SIZE_8KB | |
96 | ||
97 | config SPARC64_PAGE_SIZE_8KB | |
98 | bool "8KB" | |
99 | help | |
100 | This lets you select the page size of the kernel. | |
101 | ||
102 | 8KB and 64KB work quite well, since Sparc ELF sections | |
103 | provide for up to 64KB alignment. | |
104 | ||
105 | Therefore, 512KB and 4MB are for expert hackers only. | |
106 | ||
107 | If you don't know what to do, choose 8KB. | |
108 | ||
109 | config SPARC64_PAGE_SIZE_64KB | |
110 | bool "64KB" | |
111 | ||
112 | config SPARC64_PAGE_SIZE_512KB | |
113 | bool "512KB" | |
114 | ||
115 | config SPARC64_PAGE_SIZE_4MB | |
116 | bool "4MB" | |
117 | ||
118 | endchoice | |
119 | ||
bb49bcda DM |
120 | config SECCOMP |
121 | bool "Enable seccomp to safely compute untrusted bytecode" | |
122 | depends on PROC_FS | |
123 | default y | |
124 | help | |
125 | This kernel feature is useful for number crunching applications | |
126 | that may need to compute untrusted bytecode during their | |
127 | execution. By using pipes or other transports made available to | |
128 | the process as file descriptors supporting the read/write | |
129 | syscalls, it's possible to isolate those applications in | |
130 | their own address space using seccomp. Once seccomp is | |
131 | enabled via /proc/<pid>/seccomp, it cannot be disabled | |
132 | and the task is only allowed to execute a few safe syscalls | |
133 | defined by each seccomp mode. | |
134 | ||
135 | If unsure, say Y. Only embedded should say N here. | |
136 | ||
a6524813 DM |
137 | source kernel/Kconfig.hz |
138 | ||
4f0234f4 DM |
139 | config HOTPLUG_CPU |
140 | bool "Support for hot-pluggable CPUs" | |
141 | depends on SMP | |
142 | select HOTPLUG | |
143 | ---help--- | |
144 | Say Y here to experiment with turning CPUs off and on. CPUs | |
145 | can be controlled through /sys/devices/system/cpu/cpu#. | |
146 | Say N if you want to disable CPU hotplug. | |
147 | ||
1da177e4 LT |
148 | source "init/Kconfig" |
149 | ||
150 | config SYSVIPC_COMPAT | |
151 | bool | |
152 | depends on COMPAT && SYSVIPC | |
153 | default y | |
154 | ||
e18e2a00 DM |
155 | config GENERIC_HARDIRQS |
156 | bool | |
157 | default y | |
158 | ||
1da177e4 LT |
159 | menu "General machine setup" |
160 | ||
112f4871 DM |
161 | source "kernel/time/Kconfig" |
162 | ||
1da177e4 LT |
163 | config SMP |
164 | bool "Symmetric multi-processing support" | |
165 | ---help--- | |
166 | This enables support for systems with more than one CPU. If you have | |
167 | a system with only one CPU, say N. If you have a system with more than | |
168 | one CPU, say Y. | |
169 | ||
170 | If you say N here, the kernel will run on single and multiprocessor | |
171 | machines, but will use only one CPU of a multiprocessor machine. If | |
172 | you say Y here, the kernel will run on many, but not all, | |
173 | singleprocessor machines. On a singleprocessor machine, the kernel | |
174 | will run faster if you say N here. | |
175 | ||
176 | People using multiprocessor machines who say Y here should also say | |
177 | Y to "Enhanced Real Time Clock Support", below. The "Advanced Power | |
178 | Management" code will be disabled if you say Y here. | |
179 | ||
03502faa AB |
180 | See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO |
181 | available at <http://www.tldp.org/docs.html#howto>. | |
1da177e4 LT |
182 | |
183 | If you don't know what to do here, say N. | |
184 | ||
1da177e4 | 185 | config NR_CPUS |
22adb358 DM |
186 | int "Maximum number of CPUs (2-1024)" |
187 | range 2 1024 | |
1da177e4 | 188 | depends on SMP |
22adb358 | 189 | default "64" |
1da177e4 LT |
190 | |
191 | source "drivers/cpufreq/Kconfig" | |
192 | ||
193 | config US3_FREQ | |
194 | tristate "UltraSPARC-III CPU Frequency driver" | |
195 | depends on CPU_FREQ | |
196 | select CPU_FREQ_TABLE | |
197 | help | |
198 | This adds the CPUFreq driver for UltraSPARC-III processors. | |
199 | ||
200 | For details, take a look at <file:Documentation/cpu-freq>. | |
201 | ||
202 | If in doubt, say N. | |
203 | ||
204 | config US2E_FREQ | |
205 | tristate "UltraSPARC-IIe CPU Frequency driver" | |
206 | depends on CPU_FREQ | |
207 | select CPU_FREQ_TABLE | |
208 | help | |
209 | This adds the CPUFreq driver for UltraSPARC-IIe processors. | |
210 | ||
211 | For details, take a look at <file:Documentation/cpu-freq>. | |
212 | ||
213 | If in doubt, say N. | |
214 | ||
1da177e4 | 215 | # Global things across all Sun machines. |
95c354fe NP |
216 | config GENERIC_LOCKBREAK |
217 | bool | |
218 | default y | |
219 | depends on SMP && PREEMPT | |
220 | ||
1da177e4 LT |
221 | config RWSEM_GENERIC_SPINLOCK |
222 | bool | |
223 | ||
224 | config RWSEM_XCHGADD_ALGORITHM | |
225 | bool | |
226 | default y | |
227 | ||
2d78d4be AM |
228 | config GENERIC_FIND_NEXT_BIT |
229 | bool | |
230 | default y | |
231 | ||
232 | config GENERIC_HWEIGHT | |
233 | bool | |
234 | default y if !ULTRA_HAS_POPULATION_COUNT | |
235 | ||
1da177e4 LT |
236 | config GENERIC_CALIBRATE_DELAY |
237 | bool | |
238 | default y | |
239 | ||
240 | choice | |
241 | prompt "SPARC64 Huge TLB Page Size" | |
242 | depends on HUGETLB_PAGE | |
243 | default HUGETLB_PAGE_SIZE_4MB | |
244 | ||
245 | config HUGETLB_PAGE_SIZE_4MB | |
246 | bool "4MB" | |
247 | ||
248 | config HUGETLB_PAGE_SIZE_512K | |
dcc1e8dd | 249 | depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB |
1da177e4 LT |
250 | bool "512K" |
251 | ||
252 | config HUGETLB_PAGE_SIZE_64K |