]> git.karo-electronics.de Git - linux-beck.git/blob - arch/parisc/Kconfig
Merge tag 'stable/for-linus-3.13-rc0-tag' of git://git.kernel.org/pub/scm/linux/kerne...
[linux-beck.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 BROKEN_RODATA
18         select GENERIC_IRQ_PROBE
19         select GENERIC_PCI_IOMAP
20         select ARCH_HAVE_NMI_SAFE_CMPXCHG
21         select GENERIC_SMP_IDLE_THREAD
22         select GENERIC_STRNCPY_FROM_USER
23         select SYSCTL_ARCH_UNALIGN_ALLOW
24         select HAVE_MOD_ARCH_SPECIFIC
25         select VIRT_TO_BUS
26         select MODULES_USE_ELF_RELA
27         select CLONE_BACKWARDS
28         select TTY # Needed for pdc_cons.c
29         select HAVE_DEBUG_STACKOVERFLOW
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         ---help---
230           This enables support for systems with more than one CPU. If you have
231           a system with only one CPU, like most personal computers, say N. If
232           you have a system with more than one CPU, say Y.
233
234           If you say N here, the kernel will run on single and multiprocessor
235           machines, but will use only one CPU of a multiprocessor machine. If
236           you say Y here, the kernel will run on many, but not all,
237           singleprocessor machines. On a singleprocessor machine, the kernel
238           will run faster if you say N here.
239
240           See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
241           available at <http://www.tldp.org/docs.html#howto>.
242
243           If you don't know what to do here, say N.
244
245 config IRQSTACKS
246         bool "Use separate kernel stacks when processing interrupts"
247         default y
248         help
249           If you say Y here the kernel will use separate kernel stacks
250           for handling hard and soft interrupts.  This can help avoid
251           overflowing the process kernel stacks.
252
253 config HOTPLUG_CPU
254         bool
255         default y if SMP
256
257 config ARCH_SELECT_MEMORY_MODEL
258         def_bool y
259         depends on 64BIT
260
261 config ARCH_DISCONTIGMEM_ENABLE
262         def_bool y
263         depends on 64BIT
264
265 config ARCH_FLATMEM_ENABLE
266         def_bool y
267
268 config ARCH_DISCONTIGMEM_DEFAULT
269         def_bool y
270         depends on ARCH_DISCONTIGMEM_ENABLE
271
272 config NODES_SHIFT
273         int
274         default "3"
275         depends on NEED_MULTIPLE_NODES
276
277 source "kernel/Kconfig.preempt"
278 source "kernel/Kconfig.hz"
279 source "mm/Kconfig"
280
281 config COMPAT
282         def_bool y
283         depends on 64BIT
284
285 config SYSVIPC_COMPAT
286         def_bool y
287         depends on COMPAT && SYSVIPC
288
289 config AUDIT_ARCH
290         def_bool y
291
292 config HPUX
293         bool "Support for HP-UX binaries"
294         depends on !64BIT
295
296 config NR_CPUS
297         int "Maximum number of CPUs (2-32)"
298         range 2 32
299         depends on SMP
300         default "32"
301
302 endmenu
303
304
305 source "drivers/parisc/Kconfig"
306
307
308 menu "Executable file formats"
309
310 source "fs/Kconfig.binfmt"
311
312 endmenu
313
314 source "net/Kconfig"
315
316 source "drivers/Kconfig"
317
318 source "fs/Kconfig"
319
320 source "arch/parisc/Kconfig.debug"
321
322 source "security/Kconfig"
323
324 source "crypto/Kconfig"
325
326 source "lib/Kconfig"