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