xref: /openbmc/linux/arch/parisc/Kconfig (revision 171f1bc7)
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
173
174config PARISC_PAGE_SIZE_4KB
175	bool "4KB"
176	help
177	  This lets you select the page size of the kernel.  For best
178	  performance, a page size of 16KB is recommended.  For best
179	  compatibility with 32bit applications, a page size of 4KB should be
180	  selected (the vast majority of 32bit binaries work perfectly fine
181	  with a larger page size).
182
183	  4KB                For best 32bit compatibility
184	  16KB               For best performance
185	  64KB               For best performance, might give more overhead.
186
187	  If you don't know what to do, choose 4KB.
188
189config PARISC_PAGE_SIZE_16KB
190	bool "16KB (EXPERIMENTAL)"
191	depends on PA8X00 && EXPERIMENTAL
192
193config PARISC_PAGE_SIZE_64KB
194	bool "64KB (EXPERIMENTAL)"
195	depends on PA8X00 && EXPERIMENTAL
196
197endchoice
198
199config SMP
200	bool "Symmetric multi-processing support"
201	select USE_GENERIC_SMP_HELPERS
202	---help---
203	  This enables support for systems with more than one CPU. If you have
204	  a system with only one CPU, like most personal computers, say N. If
205	  you have a system with more than one CPU, say Y.
206
207	  If you say N here, the kernel will run on single and multiprocessor
208	  machines, but will use only one CPU of a multiprocessor machine. If
209	  you say Y here, the kernel will run on many, but not all,
210	  singleprocessor machines. On a singleprocessor machine, the kernel
211	  will run faster if you say N here.
212
213	  See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
214	  available at <http://www.tldp.org/docs.html#howto>.
215
216	  If you don't know what to do here, say N.
217
218config HOTPLUG_CPU
219	bool
220	default y if SMP
221	select HOTPLUG
222
223config ARCH_SELECT_MEMORY_MODEL
224	def_bool y
225	depends on 64BIT
226
227config ARCH_DISCONTIGMEM_ENABLE
228	def_bool y
229	depends on 64BIT
230
231config ARCH_FLATMEM_ENABLE
232	def_bool y
233
234config ARCH_DISCONTIGMEM_DEFAULT
235	def_bool y
236	depends on ARCH_DISCONTIGMEM_ENABLE
237
238config NODES_SHIFT
239	int
240	default "3"
241	depends on NEED_MULTIPLE_NODES
242
243source "kernel/Kconfig.preempt"
244source "kernel/Kconfig.hz"
245source "mm/Kconfig"
246
247config COMPAT
248	def_bool y
249	depends on 64BIT
250
251config HPUX
252	bool "Support for HP-UX binaries"
253	depends on !64BIT
254
255config NR_CPUS
256	int "Maximum number of CPUs (2-32)"
257	range 2 32
258	depends on SMP
259	default "32"
260
261endmenu
262
263
264source "drivers/parisc/Kconfig"
265
266
267menu "Executable file formats"
268
269source "fs/Kconfig.binfmt"
270
271endmenu
272
273source "net/Kconfig"
274
275source "drivers/Kconfig"
276
277source "fs/Kconfig"
278
279source "arch/parisc/Kconfig.debug"
280
281source "security/Kconfig"
282
283source "crypto/Kconfig"
284
285source "lib/Kconfig"
286