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