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