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