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