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