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