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