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 | |
11 | ||
5843e37e DM |
12 | config SPARC64 |
13 | bool | |
14 | default y | |
15 | help | |
16 | SPARC is a family of RISC microprocessors designed and marketed by | |
17 | Sun Microsystems, incorporated. This port covers the newer 64-bit | |
18 | UltraSPARC. The UltraLinux project maintains both the SPARC32 and | |
19 | SPARC64 ports; its web page is available at | |
20 | <http://www.ultralinux.org/>. | |
21 | ||
112f4871 DM |
22 | config GENERIC_TIME |
23 | bool | |
24 | default y | |
25 | ||
82644459 TG |
26 | config GENERIC_CMOS_UPDATE |
27 | bool | |
28 | default y | |
29 | ||
112f4871 DM |
30 | config GENERIC_CLOCKEVENTS |
31 | bool | |
32 | default y | |
33 | ||
1da177e4 LT |
34 | config 64BIT |
35 | def_bool y | |
36 | ||
37 | config MMU | |
38 | bool | |
39 | default y | |
40 | ||
3a2cba99 DM |
41 | config QUICKLIST |
42 | bool | |
43 | default y | |
44 | ||
10e26723 DM |
45 | config STACKTRACE_SUPPORT |
46 | bool | |
47 | default y | |
48 | ||
49 | config LOCKDEP_SUPPORT | |
50 | bool | |
51 | default y | |
52 | ||
a08b6b79 AV |
53 | config ARCH_MAY_HAVE_PC_FDC |
54 | bool | |
55 | default y | |
56 | ||
f0d1b0b3 DH |
57 | config ARCH_HAS_ILOG2_U32 |
58 | bool | |
59 | default n | |
60 | ||
61 | config ARCH_HAS_ILOG2_U64 | |
62 | bool | |
63 | default n | |
64 | ||
f6bc0c1c AV |
65 | config AUDIT_ARCH |
66 | bool | |
67 | default y | |
68 | ||
988c388a | 69 | config HAVE_SETUP_PER_CPU_AREA |
b32ef636 | 70 | def_bool y |
71 | ||
0785b9dc SR |
72 | config ARCH_NO_VIRT_TO_BUS |
73 | def_bool y | |
74 | ||
97e873e5 SR |
75 | config OF |
76 | def_bool y | |
77 | ||
8d57d3ad DM |
78 | config GENERIC_HARDIRQS_NO__DO_IRQ |
79 | bool | |
80 | def_bool y | |
81 | ||
1da177e4 LT |
82 | choice |
83 | prompt "Kernel page size" | |
84 | default SPARC64_PAGE_SIZE_8KB | |
85 | ||
86 | config SPARC64_PAGE_SIZE_8KB | |
87 | bool "8KB" | |
88 | help | |
89 | This lets you select the page size of the kernel. | |
90 | ||
91 | 8KB and 64KB work quite well, since Sparc ELF sections | |
92 | provide for up to 64KB alignment. | |
93 | ||
94 | Therefore, 512KB and 4MB are for expert hackers only. | |
95 | ||
96 | If you don't know what to do, choose 8KB. | |
97 | ||
98 | config SPARC64_PAGE_SIZE_64KB | |
99 | bool "64KB" | |
100 | ||
101 | config SPARC64_PAGE_SIZE_512KB | |
102 | bool "512KB" | |
103 | ||
104 | config SPARC64_PAGE_SIZE_4MB | |
105 | bool "4MB" | |
106 | ||
107 | endchoice | |
108 | ||
bb49bcda DM |
109 | config 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 |
126 | source kernel/Kconfig.hz |
127 | ||
4f0234f4 DM |
128 | config HOTPLUG_CPU |
129 | bool "Support for hot-pluggable CPUs" | |
130 | depends on SMP | |
131 | select HOTPLUG | |
132 | ---help--- | |
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 | ||
1da177e4 LT |
137 | source "init/Kconfig" |
138 | ||
139 | config SYSVIPC_COMPAT | |
140 | bool | |
141 | depends on COMPAT && SYSVIPC | |
142 | default y | |
143 | ||
e18e2a00 DM |
144 | config GENERIC_HARDIRQS |
145 | bool | |
146 | default y | |
147 | ||
1da177e4 LT |
148 | menu "General machine setup" |
149 | ||
112f4871 DM |
150 | source "kernel/time/Kconfig" |
151 | ||
1da177e4 LT |
152 | config SMP |
153 | bool "Symmetric multi-processing support" | |
154 | ---help--- | |
155 | This enables support for systems with more than one CPU. If you have | |
156 | a system with only one CPU, say N. If you have a system with more than | |
157 | one CPU, say Y. | |
158 | ||
159 | If you say N here, the kernel will run on single and multiprocessor | |
160 | machines, but will use only one CPU of a multiprocessor machine. If | |
161 | you say Y here, the kernel will run on many, but not all, | |
162 | singleprocessor machines. On a singleprocessor machine, the kernel | |
163 | will run faster if you say N here. | |
164 | ||
165 | People using multiprocessor machines who say Y here should also say | |
166 | Y to "Enhanced Real Time Clock Support", below. The "Advanced Power | |
167 | Management" code will be disabled if you say Y here. | |
168 | ||
03502faa AB |
169 | See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO |
170 | available at <http://www.tldp.org/docs.html#howto>. | |
1da177e4 LT |
171 | |
172 | If you don't know what to do here, say N. | |
173 | ||
1da177e4 | 174 | config NR_CPUS |
22adb358 DM |
175 | int "Maximum number of CPUs (2-1024)" |
176 | range 2 1024 | |
1da177e4 | 177 | depends on SMP |
22adb358 | 178 | default "64" |
1da177e4 LT |
179 | |
180 | source "drivers/cpufreq/Kconfig" | |
181 | ||
182 | config US3_FREQ | |
183 | tristate "UltraSPARC-III CPU Frequency driver" | |
184 | depends on CPU_FREQ | |
185 | select CPU_FREQ_TABLE | |
186 | help | |
187 | This adds the CPUFreq driver for UltraSPARC-III processors. | |
188 | ||
189 | For details, take a look at <file:Documentation/cpu-freq>. | |
190 | ||
191 | If in doubt, say N. | |
192 | ||
193 | config US2E_FREQ | |
194 | tristate "UltraSPARC-IIe CPU Frequency driver" | |
195 | depends on CPU_FREQ | |
196 | select CPU_FREQ_TABLE | |
197 | help | |
198 | This adds the CPUFreq driver for UltraSPARC-IIe processors. | |
199 | ||
200 | For details, take a look at <file:Documentation/cpu-freq>. | |
201 | ||
202 | If in doubt, say N. | |
203 | ||
1da177e4 | 204 | # Global things across all Sun machines. |
95c354fe NP |
205 | config GENERIC_LOCKBREAK |
206 | bool | |
207 | default y | |
208 | depends on SMP && PREEMPT | |
209 | ||
1da177e4 LT |
210 | config RWSEM_GENERIC_SPINLOCK |
211 | bool | |
212 | ||
213 | config RWSEM_XCHGADD_ALGORITHM | |
214 | bool | |
215 | default y | |
216 | ||
2d78d4be AM |
217 | config GENERIC_FIND_NEXT_BIT |
218 | bool | |
219 | default y | |
220 | ||
221 | config GENERIC_HWEIGHT | |
222 | bool | |
223 | default y if !ULTRA_HAS_POPULATION_COUNT | |
224 | ||
1da177e4 LT |
225 | config GENERIC_CALIBRATE_DELAY |
226 | bool | |
227 | default y | |
228 | ||
229 | choice | |
230 | prompt "SPARC64 Huge TLB Page Size" | |
231 | depends on HUGETLB_PAGE | |
232 | default HUGETLB_PAGE_SIZE_4MB | |
233 | ||
234 | config HUGETLB_PAGE_SIZE_4MB | |
235 | bool "4MB" | |
236 | ||
237 | config HUGETLB_PAGE_SIZE_512K | |
dcc1e8dd | 238 | depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB |
1da177e4 LT |
239 | bool "512K" |
240 | ||
241 | config HUGETLB_PAGE_SIZE_64K | |