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