]>
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 | ||
26 | config GENERIC_CLOCKEVENTS | |
27 | bool | |
28 | default y | |
29 | ||
1da177e4 LT |
30 | config 64BIT |
31 | def_bool y | |
32 | ||
33 | config MMU | |
34 | bool | |
35 | default y | |
36 | ||
10e26723 DM |
37 | config STACKTRACE_SUPPORT |
38 | bool | |
39 | default y | |
40 | ||
41 | config LOCKDEP_SUPPORT | |
42 | bool | |
43 | default y | |
44 | ||
a08b6b79 AV |
45 | config ARCH_MAY_HAVE_PC_FDC |
46 | bool | |
47 | default y | |
48 | ||
f0d1b0b3 DH |
49 | config ARCH_HAS_ILOG2_U32 |
50 | bool | |
51 | default n | |
52 | ||
53 | config ARCH_HAS_ILOG2_U64 | |
54 | bool | |
55 | default n | |
56 | ||
f6bc0c1c AV |
57 | config AUDIT_ARCH |
58 | bool | |
59 | default y | |
60 | ||
1da177e4 LT |
61 | choice |
62 | prompt "Kernel page size" | |
63 | default SPARC64_PAGE_SIZE_8KB | |
64 | ||
65 | config SPARC64_PAGE_SIZE_8KB | |
66 | bool "8KB" | |
67 | help | |
68 | This lets you select the page size of the kernel. | |
69 | ||
70 | 8KB and 64KB work quite well, since Sparc ELF sections | |
71 | provide for up to 64KB alignment. | |
72 | ||
73 | Therefore, 512KB and 4MB are for expert hackers only. | |
74 | ||
75 | If you don't know what to do, choose 8KB. | |
76 | ||
77 | config SPARC64_PAGE_SIZE_64KB | |
78 | bool "64KB" | |
79 | ||
80 | config SPARC64_PAGE_SIZE_512KB | |
81 | bool "512KB" | |
82 | ||
83 | config SPARC64_PAGE_SIZE_4MB | |
84 | bool "4MB" | |
85 | ||
86 | endchoice | |
87 | ||
bb49bcda DM |
88 | config SECCOMP |
89 | bool "Enable seccomp to safely compute untrusted bytecode" | |
90 | depends on PROC_FS | |
91 | default y | |
92 | help | |
93 | This kernel feature is useful for number crunching applications | |
94 | that may need to compute untrusted bytecode during their | |
95 | execution. By using pipes or other transports made available to | |
96 | the process as file descriptors supporting the read/write | |
97 | syscalls, it's possible to isolate those applications in | |
98 | their own address space using seccomp. Once seccomp is | |
99 | enabled via /proc/<pid>/seccomp, it cannot be disabled | |
100 | and the task is only allowed to execute a few safe syscalls | |
101 | defined by each seccomp mode. | |
102 | ||
103 | If unsure, say Y. Only embedded should say N here. | |
104 | ||
a6524813 DM |
105 | source kernel/Kconfig.hz |
106 | ||
1da177e4 LT |
107 | source "init/Kconfig" |
108 | ||
109 | config SYSVIPC_COMPAT | |
110 | bool | |
111 | depends on COMPAT && SYSVIPC | |
112 | default y | |
113 | ||
e18e2a00 DM |
114 | config GENERIC_HARDIRQS |
115 | bool | |
116 | default y | |
117 | ||
1da177e4 LT |
118 | menu "General machine setup" |
119 | ||
112f4871 DM |
120 | source "kernel/time/Kconfig" |
121 | ||
1da177e4 LT |
122 | config SMP |
123 | bool "Symmetric multi-processing support" | |
124 | ---help--- | |
125 | This enables support for systems with more than one CPU. If you have | |
126 | a system with only one CPU, say N. If you have a system with more than | |
127 | one CPU, say Y. | |
128 | ||
129 | If you say N here, the kernel will run on single and multiprocessor | |
130 | machines, but will use only one CPU of a multiprocessor machine. If | |
131 | you say Y here, the kernel will run on many, but not all, | |
132 | singleprocessor machines. On a singleprocessor machine, the kernel | |
133 | will run faster if you say N here. | |
134 | ||
135 | People using multiprocessor machines who say Y here should also say | |
136 | Y to "Enhanced Real Time Clock Support", below. The "Advanced Power | |
137 | Management" code will be disabled if you say Y here. | |
138 | ||
139 | See also the <file:Documentation/smp.txt>, | |
140 | <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at | |
141 | <http://www.tldp.org/docs.html#howto>. | |
142 | ||
143 | If you don't know what to do here, say N. | |
144 | ||
1da177e4 LT |
145 | config NR_CPUS |
146 | int "Maximum number of CPUs (2-64)" | |
147 | range 2 64 | |
148 | depends on SMP | |
149 | default "32" | |
150 | ||
151 | source "drivers/cpufreq/Kconfig" | |
152 | ||
153 | config US3_FREQ | |
154 | tristate "UltraSPARC-III CPU Frequency driver" | |
155 | depends on CPU_FREQ | |
156 | select CPU_FREQ_TABLE | |
157 | help | |
158 | This adds the CPUFreq driver for UltraSPARC-III processors. | |
159 | ||
160 | For details, take a look at <file:Documentation/cpu-freq>. | |
161 | ||
162 | If in doubt, say N. | |
163 | ||
164 | config US2E_FREQ | |
165 | tristate "UltraSPARC-IIe CPU Frequency driver" | |
166 | depends on CPU_FREQ | |
167 | select CPU_FREQ_TABLE | |
168 | help | |
169 | This adds the CPUFreq driver for UltraSPARC-IIe processors. | |
170 | ||
171 | For details, take a look at <file:Documentation/cpu-freq>. | |
172 | ||
173 | If in doubt, say N. | |
174 | ||
1da177e4 LT |
175 | # Global things across all Sun machines. |
176 | config RWSEM_GENERIC_SPINLOCK | |
177 | bool | |
178 | ||
179 | config RWSEM_XCHGADD_ALGORITHM | |
180 | bool | |
181 | default y | |
182 | ||
2d78d4be AM |
183 | config GENERIC_FIND_NEXT_BIT |
184 | bool | |
185 | default y | |
186 | ||
187 | config GENERIC_HWEIGHT | |
188 | bool | |
189 | default y if !ULTRA_HAS_POPULATION_COUNT | |
190 | ||
1da177e4 LT |
191 | config GENERIC_CALIBRATE_DELAY |
192 | bool | |
193 | default y | |
194 | ||
195 | choice | |
196 | prompt "SPARC64 Huge TLB Page Size" | |
197 | depends on HUGETLB_PAGE | |
198 | default HUGETLB_PAGE_SIZE_4MB | |
199 | ||
200 | config HUGETLB_PAGE_SIZE_4MB | |
201 | bool "4MB" | |
202 | ||
203 | config HUGETLB_PAGE_SIZE_512K | |
dcc1e8dd | 204 | depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB |
1da177e4 LT |
205 | bool "512K" |
206 | ||
207 | config HUGETLB_PAGE_SIZE_64K | |