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