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