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