parisc: add ftrace (function and graph tracer) functionality
[deliverable/linux.git] / arch / parisc / Kconfig
1 #
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
4 #
5
6 mainmenu "Linux/PA-RISC Kernel Configuration"
7
8 config PARISC
9 def_bool y
10 select HAVE_IDE
11 select HAVE_OPROFILE
12 select HAVE_FUNCTION_TRACER if 64BIT
13 select HAVE_FUNCTION_GRAPH_TRACER if 64BIT
14 select HAVE_FUNCTION_TRACE_MCOUNT_TEST if 64BIT
15 select RTC_CLASS
16 select RTC_DRV_PARISC
17 select INIT_ALL_POSSIBLE
18 help
19 The PA-RISC microprocessor is designed by Hewlett-Packard and used
20 in many of their workstations & servers (HP9000 700 and 800 series,
21 and later HP3000 series). The PA-RISC Linux project home page is
22 at <http://www.parisc-linux.org/>.
23
24 config MMU
25 def_bool y
26
27 config STACK_GROWSUP
28 def_bool y
29
30 config GENERIC_LOCKBREAK
31 bool
32 default y
33 depends on SMP && PREEMPT
34
35 config RWSEM_GENERIC_SPINLOCK
36 def_bool y
37
38 config RWSEM_XCHGADD_ALGORITHM
39 bool
40
41 config ARCH_HAS_ILOG2_U32
42 bool
43 default n
44
45 config ARCH_HAS_ILOG2_U64
46 bool
47 default n
48
49 config GENERIC_FIND_NEXT_BIT
50 bool
51 default y
52
53 config GENERIC_BUG
54 bool
55 default y
56 depends on BUG
57
58 config GENERIC_HWEIGHT
59 bool
60 default y
61
62 config GENERIC_CALIBRATE_DELAY
63 bool
64 default y
65
66 config GENERIC_TIME
67 bool
68 default y
69
70 config TIME_LOW_RES
71 bool
72 depends on SMP
73 default y
74
75 config GENERIC_HARDIRQS
76 def_bool y
77
78 config GENERIC_IRQ_PROBE
79 def_bool y
80
81 config HAVE_LATENCYTOP_SUPPORT
82 def_bool y
83
84 config IRQ_PER_CPU
85 bool
86 default y
87
88 # unless you want to implement ACPI on PA-RISC ... ;-)
89 config PM
90 bool
91
92 config STACKTRACE_SUPPORT
93 def_bool y
94
95 config ISA_DMA_API
96 bool
97
98 config ARCH_MAY_HAVE_PC_FDC
99 bool
100 depends on BROKEN
101 default y
102
103 source "init/Kconfig"
104
105 source "kernel/Kconfig.freezer"
106
107
108 menu "Processor type and features"
109
110 choice
111 prompt "Processor type"
112 default PA7000
113
114 config PA7000
115 bool "PA7000/PA7100"
116 ---help---
117 This is the processor type of your CPU. This information is
118 used for optimizing purposes. In order to compile a kernel
119 that can run on all 32-bit PA CPUs (albeit not optimally fast),
120 you can specify "PA7000" here.
121
122 Specifying "PA8000" here will allow you to select a 64-bit kernel
123 which is required on some machines.
124
125 config PA7100LC
126 bool "PA7100LC"
127 help
128 Select this option for the PCX-L processor, as used in the
129 712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
130 D200, D210, D300, D310 and E-class
131
132 config PA7200
133 bool "PA7200"
134 help
135 Select this option for the PCX-T' processor, as used in the
136 C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
137 K100, K200, K210, K220, K400, K410 and K420
138
139 config PA7300LC
140 bool "PA7300LC"
141 help
142 Select this option for the PCX-L2 processor, as used in the
143 744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
144 D220, D230, D320 and D330.
145
146 config PA8X00
147 bool "PA8000 and up"
148 help
149 Select this option for PCX-U to PCX-W2 processors.
150
151 endchoice
152
153 # Define implied options from the CPU selection here
154
155 config PA20
156 def_bool y
157 depends on PA8X00
158
159 config PA11
160 def_bool y
161 depends on PA7000 || PA7100LC || PA7200 || PA7300LC
162
163 config PREFETCH
164 def_bool y
165 depends on PA8X00 || PA7200
166
167 config 64BIT
168 bool "64-bit kernel"
169 depends on PA8X00
170 help
171 Enable this if you want to support 64bit kernel on PA-RISC platform.
172
173 At the moment, only people willing to use more than 2GB of RAM,
174 or having a 64bit-only capable PA-RISC machine should say Y here.
175
176 Since there is no 64bit userland on PA-RISC, there is no point to
177 enable this option otherwise. The 64bit kernel is significantly bigger
178 and slower than the 32bit one.
179
180 choice
181 prompt "Kernel page size"
182 default PARISC_PAGE_SIZE_4KB if !64BIT
183 default PARISC_PAGE_SIZE_4KB if 64BIT
184 # default PARISC_PAGE_SIZE_16KB if 64BIT
185
186 config PARISC_PAGE_SIZE_4KB
187 bool "4KB"
188 help
189 This lets you select the page size of the kernel. For best
190 performance, a page size of 16KB is recommended. For best
191 compatibility with 32bit applications, a page size of 4KB should be
192 selected (the vast majority of 32bit binaries work perfectly fine
193 with a larger page size).
194
195 4KB For best 32bit compatibility
196 16KB For best performance
197 64KB For best performance, might give more overhead.
198
199 If you don't know what to do, choose 4KB.
200
201 config PARISC_PAGE_SIZE_16KB
202 bool "16KB (EXPERIMENTAL)"
203 depends on PA8X00 && EXPERIMENTAL
204
205 config PARISC_PAGE_SIZE_64KB
206 bool "64KB (EXPERIMENTAL)"
207 depends on PA8X00 && EXPERIMENTAL
208
209 endchoice
210
211 config SMP
212 bool "Symmetric multi-processing support"
213 select USE_GENERIC_SMP_HELPERS
214 ---help---
215 This enables support for systems with more than one CPU. If you have
216 a system with only one CPU, like most personal computers, say N. If
217 you have a system with more than one CPU, say Y.
218
219 If you say N here, the kernel will run on single and multiprocessor
220 machines, but will use only one CPU of a multiprocessor machine. If
221 you say Y here, the kernel will run on many, but not all,
222 singleprocessor machines. On a singleprocessor machine, the kernel
223 will run faster if you say N here.
224
225 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
226 available at <http://www.tldp.org/docs.html#howto>.
227
228 If you don't know what to do here, say N.
229
230 config HOTPLUG_CPU
231 bool
232 default y if SMP
233 select HOTPLUG
234
235 config ARCH_SELECT_MEMORY_MODEL
236 def_bool y
237 depends on 64BIT
238
239 config ARCH_DISCONTIGMEM_ENABLE
240 def_bool y
241 depends on 64BIT
242
243 config ARCH_FLATMEM_ENABLE
244 def_bool y
245
246 config ARCH_DISCONTIGMEM_DEFAULT
247 def_bool y
248 depends on ARCH_DISCONTIGMEM_ENABLE
249
250 config NODES_SHIFT
251 int
252 default "3"
253 depends on NEED_MULTIPLE_NODES
254
255 source "kernel/Kconfig.preempt"
256 source "kernel/Kconfig.hz"
257 source "mm/Kconfig"
258
259 config COMPAT
260 def_bool y
261 depends on 64BIT
262
263 config HPUX
264 bool "Support for HP-UX binaries"
265 depends on !64BIT
266
267 config NR_CPUS
268 int "Maximum number of CPUs (2-32)"
269 range 2 32
270 depends on SMP
271 default "32"
272
273 endmenu
274
275
276 source "drivers/parisc/Kconfig"
277
278
279 menu "Executable file formats"
280
281 source "fs/Kconfig.binfmt"
282
283 endmenu
284
285 source "net/Kconfig"
286
287 source "drivers/Kconfig"
288
289 source "fs/Kconfig"
290
291 source "arch/parisc/Kconfig.debug"
292
293 source "security/Kconfig"
294
295 source "crypto/Kconfig"
296
297 source "lib/Kconfig"
This page took 0.052286 seconds and 5 git commands to generate.