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