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