Merge commit 'ccbf62d8a284cf181ac28c8e8407dd077d90dd4b' into for-next
[deliverable/linux.git] / arch / parisc / Kconfig
CommitLineData
1da177e4
LT
1config PARISC
2 def_bool y
446f24d1 3 select ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS
4a24fb2f 4 select ARCH_MIGHT_HAVE_PC_PARPORT
ec7748b5 5 select HAVE_IDE
42d4b839 6 select HAVE_OPROFILE
d75f054a
HD
7 select HAVE_FUNCTION_TRACER if 64BIT
8 select HAVE_FUNCTION_GRAPH_TRACER if 64BIT
9 select HAVE_FUNCTION_TRACE_MCOUNT_TEST if 64BIT
4530c49e 10 select ARCH_WANT_FRAME_POINTERS
9eb16864 11 select RTC_CLASS
3afe6d04 12 select RTC_DRV_GENERIC
98a79d6a 13 select INIT_ALL_POSSIBLE
f67d3c83 14 select BUG
cdd6c482 15 select HAVE_PERF_EVENTS
64daa443 16 select GENERIC_ATOMIC64 if !64BIT
f21dda02 17 select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
754b7b63 18 select BROKEN_RODATA
72e73af1 19 select GENERIC_IRQ_PROBE
629a8581 20 select GENERIC_PCI_IOMAP
df013ffb 21 select ARCH_HAVE_NMI_SAFE_CMPXCHG
9a134723 22 select GENERIC_SMP_IDLE_THREAD
b1195c0e 23 select GENERIC_STRNCPY_FROM_USER
bf14e3b9 24 select SYSCTL_ARCH_UNALIGN_ALLOW
fef47e2a 25 select SYSCTL_EXCEPTION_TRACE
786d35d4 26 select HAVE_MOD_ARCH_SPECIFIC
4febd95a 27 select VIRT_TO_BUS
786d35d4 28 select MODULES_USE_ELF_RELA
415bfae9 29 select CLONE_BACKWARDS
4f73bc4d 30 select TTY # Needed for pdc_cons.c
d1a1dc0b 31 select HAVE_DEBUG_STACKOVERFLOW
7a017721 32 select HAVE_ARCH_AUDITSYSCALL
72e73af1 33
1da177e4
LT
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
40config MMU
41 def_bool y
42
43config STACK_GROWSUP
44 def_bool y
45
95c354fe
NP
46config GENERIC_LOCKBREAK
47 bool
48 default y
49 depends on SMP && PREEMPT
50
1da177e4
LT
51config RWSEM_GENERIC_SPINLOCK
52 def_bool y
53
54config RWSEM_XCHGADD_ALGORITHM
55 bool
56
f0d1b0b3
DH
57config ARCH_HAS_ILOG2_U32
58 bool
59 default n
60
61config ARCH_HAS_ILOG2_U64
62 bool
63 default n
64
6891f8a1
HD
65config GENERIC_BUG
66 bool
67 default y
68 depends on BUG
69
59e18a2e
AM
70config GENERIC_HWEIGHT
71 bool
72 default y
73
1da177e4
LT
74config GENERIC_CALIBRATE_DELAY
75 bool
76 default y
77
06027bdd
IM
78config TIME_LOW_RES
79 bool
80 depends on SMP
81 default y
82
548f1176
HD
83config HAVE_LATENCYTOP_SUPPORT
84 def_bool y
85
1da177e4
LT
86# unless you want to implement ACPI on PA-RISC ... ;-)
87config PM
88 bool
89
548f1176
HD
90config STACKTRACE_SUPPORT
91 def_bool y
92
74a0bd66
FT
93config NEED_DMA_MAP_STATE
94 def_bool y
95
f6ae31c2
FT
96config NEED_SG_DMA_LENGTH
97 def_bool y
98
5cae841b
AV
99config ISA_DMA_API
100 bool
5cae841b 101
a08b6b79
Z
102config ARCH_MAY_HAVE_PC_FDC
103 bool
8b631342 104 depends on BROKEN
a08b6b79
Z
105 default y
106
1da177e4
LT
107source "init/Kconfig"
108
dc52ddc0
MH
109source "kernel/Kconfig.freezer"
110
1da177e4
LT
111
112menu "Processor type and features"
113
114choice
115 prompt "Processor type"
116 default PA7000
117
118config 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
129config 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
136config 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
143config 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
150config PA8X00
151 bool "PA8000 and up"
152 help
153 Select this option for PCX-U to PCX-W2 processors.
154
155endchoice
156
157# Define implied options from the CPU selection here
158
159config PA20
160 def_bool y
161 depends on PA8X00
162
163config PA11
164 def_bool y
165 depends on PA7000 || PA7100LC || PA7200 || PA7300LC
166
167config PREFETCH
168 def_bool y
32104b29 169 depends on PA8X00 || PA7200
1da177e4 170
ec758f98
HD
171config 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
1da177e4
LT
188config 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
2fd83038
HD
201choice
202 prompt "Kernel page size"
1c5f873d 203 default PARISC_PAGE_SIZE_4KB
2fd83038
HD
204
205config 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
220config PARISC_PAGE_SIZE_16KB
daef22cf
KC
221 bool "16KB"
222 depends on PA8X00
2fd83038
HD
223
224config PARISC_PAGE_SIZE_64KB
daef22cf
KC
225 bool "64KB"
226 depends on PA8X00
2fd83038
HD
227
228endchoice
229
1da177e4
LT
230config SMP
231 bool "Symmetric multi-processing support"
232 ---help---
233 This enables support for systems with more than one CPU. If you have
4a474157
RG
234 a system with only one CPU, say N. If you have a system with more
235 than one CPU, say Y.
1da177e4 236
4a474157 237 If you say N here, the kernel will run on uni- and multiprocessor
1da177e4
LT
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,
4a474157 240 uniprocessor machines. On a uniprocessor machine, the kernel
1da177e4
LT
241 will run faster if you say N here.
242
03502faa
AB
243 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
244 available at <http://www.tldp.org/docs.html#howto>.
1da177e4
LT
245
246 If you don't know what to do here, say N.
200c8804
HD
247
248config IRQSTACKS
249 bool "Use separate kernel stacks when processing interrupts"
416821d3 250 default y
200c8804
HD
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.
1da177e4
LT
255
256config HOTPLUG_CPU
257 bool
258 default y if SMP
1da177e4 259
a2ba82cd
KM
260config ARCH_SELECT_MEMORY_MODEL
261 def_bool y
262 depends on 64BIT
263
3f22ab27 264config ARCH_DISCONTIGMEM_ENABLE
a2ba82cd
KM
265 def_bool y
266 depends on 64BIT
267
268config ARCH_FLATMEM_ENABLE
269 def_bool y
270
271config ARCH_DISCONTIGMEM_DEFAULT
272 def_bool y
273 depends on ARCH_DISCONTIGMEM_ENABLE
1da177e4 274
c80d79d7
YG
275config NODES_SHIFT
276 int
277 default "3"
278 depends on NEED_MULTIPLE_NODES
279
50a34dbd 280source "kernel/Kconfig.preempt"
8b631342 281source "kernel/Kconfig.hz"
3f22ab27
DH
282source "mm/Kconfig"
283
1da177e4
LT
284config COMPAT
285 def_bool y
286 depends on 64BIT
287
bf581e15
HD
288config SYSVIPC_COMPAT
289 def_bool y
290 depends on COMPAT && SYSVIPC
291
527973c8
HD
292config AUDIT_ARCH
293 def_bool y
294
1da177e4
LT
295config HPUX
296 bool "Support for HP-UX binaries"
297 depends on !64BIT
298
299config NR_CPUS
300 int "Maximum number of CPUs (2-32)"
301 range 2 32
302 depends on SMP
303 default "32"
304
305endmenu
306
307
308source "drivers/parisc/Kconfig"
309
310
311menu "Executable file formats"
312
313source "fs/Kconfig.binfmt"
314
315endmenu
316
d5950b43
SR
317source "net/Kconfig"
318
1da177e4
LT
319source "drivers/Kconfig"
320
321source "fs/Kconfig"
322
1da177e4
LT
323source "arch/parisc/Kconfig.debug"
324
325source "security/Kconfig"
326
327source "crypto/Kconfig"
328
329source "lib/Kconfig"
This page took 0.759144 seconds and 5 git commands to generate.