xref: /linux/arch/parisc/Kconfig (revision 5148fa52a12fa1b97c730b2fe321f2aad7ea041c)
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 GENERIC_PCI_IOMAP
18	select IRQ_PER_CPU
19	select ARCH_HAVE_NMI_SAFE_CMPXCHG
20	select GENERIC_SMP_IDLE_THREAD
21
22	help
23	  The PA-RISC microprocessor is designed by Hewlett-Packard and used
24	  in many of their workstations & servers (HP9000 700 and 800 series,
25	  and later HP3000 series).  The PA-RISC Linux project home page is
26	  at <http://www.parisc-linux.org/>.
27
28config MMU
29	def_bool y
30
31config STACK_GROWSUP
32	def_bool y
33
34config GENERIC_LOCKBREAK
35	bool
36	default y
37	depends on SMP && PREEMPT
38
39config RWSEM_GENERIC_SPINLOCK
40	def_bool y
41
42config RWSEM_XCHGADD_ALGORITHM
43	bool
44
45config ARCH_HAS_ILOG2_U32
46	bool
47	default n
48
49config ARCH_HAS_ILOG2_U64
50	bool
51	default n
52
53config GENERIC_BUG
54	bool
55	default y
56	depends on BUG
57
58config GENERIC_HWEIGHT
59	bool
60	default y
61
62config GENERIC_CALIBRATE_DELAY
63	bool
64	default y
65
66config TIME_LOW_RES
67	bool
68	depends on SMP
69	default y
70
71config HAVE_LATENCYTOP_SUPPORT
72        def_bool y
73
74# unless you want to implement ACPI on PA-RISC ... ;-)
75config PM
76	bool
77
78config STACKTRACE_SUPPORT
79	def_bool y
80
81config NEED_DMA_MAP_STATE
82	def_bool y
83
84config NEED_SG_DMA_LENGTH
85	def_bool y
86
87config ISA_DMA_API
88	bool
89
90config ARCH_MAY_HAVE_PC_FDC
91	bool
92	depends on BROKEN
93	default y
94
95source "init/Kconfig"
96
97source "kernel/Kconfig.freezer"
98
99
100menu "Processor type and features"
101
102choice
103	prompt "Processor type"
104	default PA7000
105
106config PA7000
107	bool "PA7000/PA7100"
108	---help---
109	  This is the processor type of your CPU.  This information is
110	  used for optimizing purposes.  In order to compile a kernel
111	  that can run on all 32-bit PA CPUs (albeit not optimally fast),
112	  you can specify "PA7000" here.
113
114	  Specifying "PA8000" here will allow you to select a 64-bit kernel
115	  which is required on some machines.
116
117config PA7100LC
118	bool "PA7100LC"
119	help
120	  Select this option for the PCX-L processor, as used in the
121	  712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
122	  D200, D210, D300, D310 and E-class
123
124config PA7200
125	bool "PA7200"
126	help
127	  Select this option for the PCX-T' processor, as used in the
128	  C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
129	  K100, K200, K210, K220, K400, K410 and K420
130
131config PA7300LC
132	bool "PA7300LC"
133	help
134	  Select this option for the PCX-L2 processor, as used in the
135	  744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
136	  D220, D230, D320 and D330.
137
138config PA8X00
139	bool "PA8000 and up"
140	help
141	  Select this option for PCX-U to PCX-W2 processors.
142
143endchoice
144
145# Define implied options from the CPU selection here
146
147config PA20
148	def_bool y
149	depends on PA8X00
150
151config PA11
152	def_bool y
153	depends on PA7000 || PA7100LC || PA7200 || PA7300LC
154
155config PREFETCH
156	def_bool y
157	depends on PA8X00 || PA7200
158
159config 64BIT
160	bool "64-bit kernel"
161	depends on PA8X00
162	help
163	  Enable this if you want to support 64bit kernel on PA-RISC platform.
164
165	  At the moment, only people willing to use more than 2GB of RAM,
166	  or having a 64bit-only capable PA-RISC machine should say Y here.
167
168	  Since there is no 64bit userland on PA-RISC, there is no point to
169	  enable this option otherwise. The 64bit kernel is significantly bigger
170	  and slower than the 32bit one.
171
172choice
173	prompt "Kernel page size"
174	default PARISC_PAGE_SIZE_4KB
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