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