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 Z |
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 | ||
0785b9dc SR |
69 | config ARCH_NO_VIRT_TO_BUS |
70 | def_bool y | |
71 | ||
97e873e5 SR |
72 | config OF |
73 | def_bool y | |
74 | ||
1da177e4 LT |
75 | choice |
76 | prompt "Kernel page size" | |
77 | default SPARC64_PAGE_SIZE_8KB | |
78 | ||
79 | config SPARC64_PAGE_SIZE_8KB | |
80 | bool "8KB" | |
81 | help | |
82 | This lets you select the page size of the kernel. | |
83 | ||
84 | 8KB and 64KB work quite well, since Sparc ELF sections | |
85 | provide for up to 64KB alignment. | |
86 | ||
87 | Therefore, 512KB and 4MB are for expert hackers only. | |
88 | ||
89 | If you don't know what to do, choose 8KB. | |
90 | ||
91 | config SPARC64_PAGE_SIZE_64KB | |
92 | bool "64KB" | |
93 | ||
94 | config SPARC64_PAGE_SIZE_512KB | |
95 | bool "512KB" | |
96 | ||
97 | config SPARC64_PAGE_SIZE_4MB | |
98 | bool "4MB" | |
99 | ||
100 | endchoice | |
101 | ||
bb49bcda DM |
102 | config SECCOMP |
103 | bool "Enable seccomp to safely compute untrusted bytecode" | |
104 | depends on PROC_FS | |
105 | default y | |
106 | help | |
107 | This kernel feature is useful for number crunching applications | |
108 | that may need to compute untrusted bytecode during their | |
109 | execution. By using pipes or other transports made available to | |
110 | the process as file descriptors supporting the read/write | |
111 | syscalls, it's possible to isolate those applications in | |
112 | their own address space using seccomp. Once seccomp is | |
113 | enabled via /proc/<pid>/seccomp, it cannot be disabled | |
114 | and the task is only allowed to execute a few safe syscalls | |
115 | defined by each seccomp mode. | |
116 | ||
117 | If unsure, say Y. Only embedded should say N here. | |
118 | ||
a6524813 DM |
119 | source kernel/Kconfig.hz |
120 | ||
4f0234f4 DM |
121 | config HOTPLUG_CPU |
122 | bool "Support for hot-pluggable CPUs" | |
123 | depends on SMP | |
124 | select HOTPLUG | |
125 | ---help--- | |
126 | Say Y here to experiment with turning CPUs off and on. CPUs | |
127 | can be controlled through /sys/devices/system/cpu/cpu#. | |
128 | Say N if you want to disable CPU hotplug. | |
129 | ||
1da177e4 LT |
130 | source "init/Kconfig" |
131 | ||
132 | config SYSVIPC_COMPAT | |
133 | bool | |
134 | depends on COMPAT && SYSVIPC | |
135 | default y | |
136 | ||
e18e2a00 DM |
137 | config GENERIC_HARDIRQS |
138 | bool | |
139 | default y | |
140 | ||
1da177e4 LT |
141 | menu "General machine setup" |
142 | ||
112f4871 DM |
143 | source "kernel/time/Kconfig" |
144 | ||
1da177e4 LT |
145 | config SMP |
146 | bool "Symmetric multi-processing support" | |
147 | ---help--- | |
148 | This enables support for systems with more than one CPU. If you have | |
149 | a system with only one CPU, say N. If you have a system with more than | |
150 | one CPU, say Y. | |
151 | ||
152 | If you say N here, the kernel will run on single and multiprocessor | |
153 | machines, but will use only one CPU of a multiprocessor machine. If | |
154 | you say Y here, the kernel will run on many, but not all, | |
155 | singleprocessor machines. On a singleprocessor machine, the kernel | |
156 | will run faster if you say N here. | |
157 | ||
158 | People using multiprocessor machines who say Y here should also say | |
159 | Y to "Enhanced Real Time Clock Support", below. The "Advanced Power | |
160 | Management" code will be disabled if you say Y here. | |
161 | ||
162 | See also the <file:Documentation/smp.txt>, | |
163 | <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at | |
164 | <http://www.tldp.org/docs.html#howto>. | |
165 | ||
166 | If you don't know what to do here, say N. | |
167 | ||
1da177e4 | 168 | config NR_CPUS |
22adb358 DM |
169 | int "Maximum number of CPUs (2-1024)" |
170 | range 2 1024 | |
1da177e4 | 171 | depends on SMP |
22adb358 | 172 | default "64" |
1da177e4 LT |
173 | |
174 | source "drivers/cpufreq/Kconfig" | |
175 | ||
176 | config US3_FREQ | |
177 | tristate "UltraSPARC-III CPU Frequency driver" | |
178 | depends on CPU_FREQ | |
179 | select CPU_FREQ_TABLE | |
180 | help | |
181 | This adds the CPUFreq driver for UltraSPARC-III processors. | |
182 | ||
183 | For details, take a look at <file:Documentation/cpu-freq>. | |
184 | ||
185 | If in doubt, say N. | |
186 | ||
187 | config US2E_FREQ | |
188 | tristate "UltraSPARC-IIe CPU Frequency driver" | |
189 | depends on CPU_FREQ | |
190 | select CPU_FREQ_TABLE | |
191 | help | |
192 | This adds the CPUFreq driver for UltraSPARC-IIe processors. | |
193 | ||
194 | For details, take a look at <file:Documentation/cpu-freq>. | |
195 | ||
196 | If in doubt, say N. | |
197 | ||
1da177e4 LT |
198 | # Global things across all Sun machines. |
199 | config RWSEM_GENERIC_SPINLOCK | |
200 | bool | |
201 | ||
202 | config RWSEM_XCHGADD_ALGORITHM | |
203 | bool | |
204 | default y | |
205 | ||
2d78d4be AM |
206 | config GENERIC_FIND_NEXT_BIT |
207 | bool | |
208 | default y | |
209 | ||
210 | config GENERIC_HWEIGHT | |
211 | bool | |
212 | default y if !ULTRA_HAS_POPULATION_COUNT | |
213 | ||
1da177e4 LT |
214 | config GENERIC_CALIBRATE_DELAY |
215 | bool | |
216 | default y | |
217 | ||
218 | choice | |
219 | prompt "SPARC64 Huge TLB Page Size" | |
220 | depends on HUGETLB_PAGE | |
221 | default HUGETLB_PAGE_SIZE_4MB | |
222 | ||
223 | config HUGETLB_PAGE_SIZE_4MB | |
224 | bool "4MB" | |
225 | ||
226 | config HUGETLB_PAGE_SIZE_512K | |
dcc1e8dd | 227 | depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB |
1da177e4 LT |
228 | bool "512K" |
229 | ||
230 | config HUGETLB_PAGE_SIZE_64K |