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