xref: /linux/arch/parisc/Kconfig (revision 498d319bb512992ef0784c278fa03679f2f5649d)
1config 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
37config MMU
38	def_bool y
39
40config STACK_GROWSUP
41	def_bool y
42
43config GENERIC_LOCKBREAK
44	bool
45	default y
46	depends on SMP && PREEMPT
47
48config RWSEM_GENERIC_SPINLOCK
49	def_bool y
50
51config RWSEM_XCHGADD_ALGORITHM
52	bool
53
54config ARCH_HAS_ILOG2_U32
55	bool
56	default n
57
58config ARCH_HAS_ILOG2_U64
59	bool
60	default n
61
62config GENERIC_BUG
63	bool
64	default y
65	depends on BUG
66
67config GENERIC_HWEIGHT
68	bool
69	default y
70
71config GENERIC_CALIBRATE_DELAY
72	bool
73	default y
74
75config TIME_LOW_RES
76	bool
77	depends on SMP
78	default y
79
80config HAVE_LATENCYTOP_SUPPORT
81        def_bool y
82
83# unless you want to implement ACPI on PA-RISC ... ;-)
84config PM
85	bool
86
87config STACKTRACE_SUPPORT
88	def_bool y
89
90config NEED_DMA_MAP_STATE
91	def_bool y
92
93config NEED_SG_DMA_LENGTH
94	def_bool y
95
96config ISA_DMA_API
97	bool
98
99config ARCH_MAY_HAVE_PC_FDC
100	bool
101	depends on BROKEN
102	default y
103
104source "init/Kconfig"
105
106source "kernel/Kconfig.freezer"
107
108
109menu "Processor type and features"
110
111choice
112	prompt "Processor type"
113	default PA7000
114
115config 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
126config 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
133config 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
140config 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
147config PA8X00
148	bool "PA8000 and up"
149	help
150	  Select this option for PCX-U to PCX-W2 processors.
151
152endchoice
153
154# Define implied options from the CPU selection here
155
156config PA20
157	def_bool y
158	depends on PA8X00
159
160config PA11
161	def_bool y
162	depends on PA7000 || PA7100LC || PA7200 || PA7300LC
163
164config PREFETCH
165	def_bool y
166	depends on PA8X00 || PA7200
167
168config 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
185config 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
198choice
199	prompt "Kernel page size"
200	default PARISC_PAGE_SIZE_4KB
201
202config 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
217config PARISC_PAGE_SIZE_16KB
218	bool "16KB"
219	depends on PA8X00
220
221config PARISC_PAGE_SIZE_64KB
222	bool "64KB"
223	depends on PA8X00
224
225endchoice
226
227config 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
245config 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
253config HOTPLUG_CPU
254	bool
255	default y if SMP
256
257config ARCH_SELECT_MEMORY_MODEL
258	def_bool y
259	depends on 64BIT
260
261config ARCH_DISCONTIGMEM_ENABLE
262	def_bool y
263	depends on 64BIT
264
265config ARCH_FLATMEM_ENABLE
266	def_bool y
267
268config ARCH_DISCONTIGMEM_DEFAULT
269	def_bool y
270	depends on ARCH_DISCONTIGMEM_ENABLE
271
272config NODES_SHIFT
273	int
274	default "3"
275	depends on NEED_MULTIPLE_NODES
276
277source "kernel/Kconfig.preempt"
278source "kernel/Kconfig.hz"
279source "mm/Kconfig"
280
281config COMPAT
282	def_bool y
283	depends on 64BIT
284
285config SYSVIPC_COMPAT
286	def_bool y
287	depends on COMPAT && SYSVIPC
288
289config AUDIT_ARCH
290	def_bool y
291
292config HPUX
293	bool "Support for HP-UX binaries"
294	depends on !64BIT
295
296config NR_CPUS
297	int "Maximum number of CPUs (2-32)"
298	range 2 32
299	depends on SMP
300	default "32"
301
302endmenu
303
304
305source "drivers/parisc/Kconfig"
306
307
308menu "Executable file formats"
309
310source "fs/Kconfig.binfmt"
311
312endmenu
313
314source "net/Kconfig"
315
316source "drivers/Kconfig"
317
318source "fs/Kconfig"
319
320source "arch/parisc/Kconfig.debug"
321
322source "security/Kconfig"
323
324source "crypto/Kconfig"
325
326source "lib/Kconfig"
327