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