]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/parisc/Kconfig
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal
[karo-tx-linux.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         select HAVE_GENERIC_HARDIRQS
15         select BROKEN_RODATA
16         select GENERIC_IRQ_PROBE
17         select GENERIC_PCI_IOMAP
18         select ARCH_HAVE_NMI_SAFE_CMPXCHG
19         select GENERIC_SMP_IDLE_THREAD
20         select GENERIC_STRNCPY_FROM_USER
21         select SYSCTL_ARCH_UNALIGN_ALLOW
22         select HAVE_MOD_ARCH_SPECIFIC
23         select HAVE_VIRT_TO_BUS
24         select MODULES_USE_ELF_RELA
25         select CLONE_BACKWARDS
26         select TTY # Needed for pdc_cons.c
27
28         help
29           The PA-RISC microprocessor is designed by Hewlett-Packard and used
30           in many of their workstations & servers (HP9000 700 and 800 series,
31           and later HP3000 series).  The PA-RISC Linux project home page is
32           at <http://www.parisc-linux.org/>.
33
34 config MMU
35         def_bool y
36
37 config STACK_GROWSUP
38         def_bool y
39
40 config GENERIC_LOCKBREAK
41         bool
42         default y
43         depends on SMP && PREEMPT
44
45 config RWSEM_GENERIC_SPINLOCK
46         def_bool y
47
48 config RWSEM_XCHGADD_ALGORITHM
49         bool
50
51 config ARCH_HAS_ILOG2_U32
52         bool
53         default n
54
55 config ARCH_HAS_ILOG2_U64
56         bool
57         default n
58
59 config GENERIC_BUG
60         bool
61         default y
62         depends on BUG
63
64 config GENERIC_HWEIGHT
65         bool
66         default y
67
68 config GENERIC_CALIBRATE_DELAY
69         bool
70         default y
71
72 config TIME_LOW_RES
73         bool
74         depends on SMP
75         default y
76
77 config HAVE_LATENCYTOP_SUPPORT
78         def_bool 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 MLONGCALLS
166         bool "Enable the -mlong-calls compiler option for big kernels"
167         def_bool y if (!MODULES)
168         depends on PA8X00
169         help
170           If you configure the kernel to include many drivers built-in instead
171           as modules, the kernel executable may become too big, so that the
172           linker will not be able to resolve some long branches and fails to link
173           your vmlinux kernel. In that case enabling this option will help you
174           to overcome this limit by using the -mlong-calls compiler option.
175
176           Usually you want to say N here, unless you e.g. want to build
177           a kernel which includes all necessary drivers built-in and which can
178           be used for TFTP booting without the need to have an initrd ramdisk.
179
180           Enabling this option will probably slow down your kernel.
181
182 config 64BIT
183         bool "64-bit kernel"
184         depends on PA8X00
185         help
186           Enable this if you want to support 64bit kernel on PA-RISC platform.
187
188           At the moment, only people willing to use more than 2GB of RAM,
189           or having a 64bit-only capable PA-RISC machine should say Y here.
190
191           Since there is no 64bit userland on PA-RISC, there is no point to
192           enable this option otherwise. The 64bit kernel is significantly bigger
193           and slower than the 32bit one.
194
195 choice
196         prompt "Kernel page size"
197         default PARISC_PAGE_SIZE_4KB
198
199 config PARISC_PAGE_SIZE_4KB
200         bool "4KB"
201         help
202           This lets you select the page size of the kernel.  For best
203           performance, a page size of 16KB is recommended.  For best
204           compatibility with 32bit applications, a page size of 4KB should be
205           selected (the vast majority of 32bit binaries work perfectly fine
206           with a larger page size).
207
208           4KB                For best 32bit compatibility
209           16KB               For best performance
210           64KB               For best performance, might give more overhead.
211
212           If you don't know what to do, choose 4KB.
213
214 config PARISC_PAGE_SIZE_16KB
215         bool "16KB"
216         depends on PA8X00
217
218 config PARISC_PAGE_SIZE_64KB
219         bool "64KB"
220         depends on PA8X00
221
222 endchoice
223
224 config SMP
225         bool "Symmetric multi-processing support"
226         select USE_GENERIC_SMP_HELPERS
227         ---help---
228           This enables support for systems with more than one CPU. If you have
229           a system with only one CPU, like most personal computers, say N. If
230           you have a system with more than one CPU, say Y.
231
232           If you say N here, the kernel will run on single and multiprocessor
233           machines, but will use only one CPU of a multiprocessor machine. If
234           you say Y here, the kernel will run on many, but not all,
235           singleprocessor machines. On a singleprocessor machine, the kernel
236           will run faster if you say N here.
237
238           See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
239           available at <http://www.tldp.org/docs.html#howto>.
240
241           If you don't know what to do here, say N.
242
243 config HOTPLUG_CPU
244         bool
245         default y if SMP
246         select HOTPLUG
247
248 config ARCH_SELECT_MEMORY_MODEL
249         def_bool y
250         depends on 64BIT
251
252 config ARCH_DISCONTIGMEM_ENABLE
253         def_bool y
254         depends on 64BIT
255
256 config ARCH_FLATMEM_ENABLE
257         def_bool y
258
259 config ARCH_DISCONTIGMEM_DEFAULT
260         def_bool y
261         depends on ARCH_DISCONTIGMEM_ENABLE
262
263 config NODES_SHIFT
264         int
265         default "3"
266         depends on NEED_MULTIPLE_NODES
267
268 source "kernel/Kconfig.preempt"
269 source "kernel/Kconfig.hz"
270 source "mm/Kconfig"
271
272 config COMPAT
273         def_bool y
274         depends on 64BIT
275
276 config SYSVIPC_COMPAT
277         def_bool y
278         depends on COMPAT && SYSVIPC
279
280 config HPUX
281         bool "Support for HP-UX binaries"
282         depends on !64BIT
283
284 config NR_CPUS
285         int "Maximum number of CPUs (2-32)"
286         range 2 32
287         depends on SMP
288         default "32"
289
290 endmenu
291
292
293 source "drivers/parisc/Kconfig"
294
295
296 menu "Executable file formats"
297
298 source "fs/Kconfig.binfmt"
299
300 endmenu
301
302 source "net/Kconfig"
303
304 source "drivers/Kconfig"
305
306 source "fs/Kconfig"
307
308 source "arch/parisc/Kconfig.debug"
309
310 source "security/Kconfig"
311
312 source "crypto/Kconfig"
313
314 source "lib/Kconfig"