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