]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/parisc/Kconfig
kernel: remove CONFIG_USE_GENERIC_SMP_HELPERS
[mirror_ubuntu-bionic-kernel.git] / arch / parisc / Kconfig
CommitLineData
1da177e4
LT
1config PARISC
2 def_bool y
446f24d1 3 select ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS
ec7748b5 4 select HAVE_IDE
42d4b839 5 select HAVE_OPROFILE
d75f054a
HD
6 select HAVE_FUNCTION_TRACER if 64BIT
7 select HAVE_FUNCTION_GRAPH_TRACER if 64BIT
8 select HAVE_FUNCTION_TRACE_MCOUNT_TEST if 64BIT
4530c49e 9 select ARCH_WANT_FRAME_POINTERS
9eb16864 10 select RTC_CLASS
3afe6d04 11 select RTC_DRV_GENERIC
98a79d6a 12 select INIT_ALL_POSSIBLE
f67d3c83 13 select BUG
cdd6c482 14 select HAVE_PERF_EVENTS
64daa443 15 select GENERIC_ATOMIC64 if !64BIT
f21dda02 16 select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
754b7b63 17 select BROKEN_RODATA
72e73af1 18 select GENERIC_IRQ_PROBE
629a8581 19 select GENERIC_PCI_IOMAP
df013ffb 20 select ARCH_HAVE_NMI_SAFE_CMPXCHG
9a134723 21 select GENERIC_SMP_IDLE_THREAD
b1195c0e 22 select GENERIC_STRNCPY_FROM_USER
bf14e3b9 23 select SYSCTL_ARCH_UNALIGN_ALLOW
786d35d4 24 select HAVE_MOD_ARCH_SPECIFIC
4febd95a 25 select VIRT_TO_BUS
786d35d4 26 select MODULES_USE_ELF_RELA
415bfae9 27 select CLONE_BACKWARDS
4f73bc4d 28 select TTY # Needed for pdc_cons.c
d1a1dc0b 29 select HAVE_DEBUG_STACKOVERFLOW
72e73af1 30
1da177e4
LT
31 help
32 The PA-RISC microprocessor is designed by Hewlett-Packard and used
33 in many of their workstations & servers (HP9000 700 and 800 series,
34 and later HP3000 series). The PA-RISC Linux project home page is
35 at <http://www.parisc-linux.org/>.
36
37config MMU
38 def_bool y
39
40config STACK_GROWSUP
41 def_bool y
42
95c354fe
NP
43config GENERIC_LOCKBREAK
44 bool
45 default y
46 depends on SMP && PREEMPT
47
1da177e4
LT
48config RWSEM_GENERIC_SPINLOCK
49 def_bool y
50
51config RWSEM_XCHGADD_ALGORITHM
52 bool
53
f0d1b0b3
DH
54config ARCH_HAS_ILOG2_U32
55 bool
56 default n
57
58config ARCH_HAS_ILOG2_U64
59 bool
60 default n
61
6891f8a1
HD
62config GENERIC_BUG
63 bool
64 default y
65 depends on BUG
66
59e18a2e
AM
67config GENERIC_HWEIGHT
68 bool
69 default y
70
1da177e4
LT
71config GENERIC_CALIBRATE_DELAY
72 bool
73 default y
74
06027bdd
IM
75config TIME_LOW_RES
76 bool
77 depends on SMP
78 default y
79
548f1176
HD
80config HAVE_LATENCYTOP_SUPPORT
81 def_bool y
82
1da177e4
LT
83# unless you want to implement ACPI on PA-RISC ... ;-)
84config PM
85 bool
86
548f1176
HD
87config STACKTRACE_SUPPORT
88 def_bool y
89
74a0bd66
FT
90config NEED_DMA_MAP_STATE
91 def_bool y
92
f6ae31c2
FT
93config NEED_SG_DMA_LENGTH
94 def_bool y
95
5cae841b
AV
96config ISA_DMA_API
97 bool
5cae841b 98
a08b6b79
AV
99config ARCH_MAY_HAVE_PC_FDC
100 bool
8b631342 101 depends on BROKEN
a08b6b79
AV
102 default y
103
1da177e4
LT
104source "init/Kconfig"
105
dc52ddc0
MH
106source "kernel/Kconfig.freezer"
107
1da177e4
LT
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
32104b29 166 depends on PA8X00 || PA7200
1da177e4 167
ec758f98
HD
168config MLONGCALLS
169 bool "Enable the -mlong-calls compiler option for big kernels"
170 def_bool y if (!MODULES)
171 depends on PA8X00
172 help
173 If you configure the kernel to include many drivers built-in instead
174 as modules, the kernel executable may become too big, so that the
175 linker will not be able to resolve some long branches and fails to link
176 your vmlinux kernel. In that case enabling this option will help you
177 to overcome this limit by using the -mlong-calls compiler option.
178
179 Usually you want to say N here, unless you e.g. want to build
180 a kernel which includes all necessary drivers built-in and which can
181 be used for TFTP booting without the need to have an initrd ramdisk.
182
183 Enabling this option will probably slow down your kernel.
184
1da177e4
LT
185config 64BIT
186 bool "64-bit kernel"
187 depends on PA8X00
188 help
189 Enable this if you want to support 64bit kernel on PA-RISC platform.
190
191 At the moment, only people willing to use more than 2GB of RAM,
192 or having a 64bit-only capable PA-RISC machine should say Y here.
193
194 Since there is no 64bit userland on PA-RISC, there is no point to
195 enable this option otherwise. The 64bit kernel is significantly bigger
196 and slower than the 32bit one.
197
2fd83038
HD
198choice
199 prompt "Kernel page size"
1c5f873d 200 default PARISC_PAGE_SIZE_4KB
2fd83038
HD
201
202config PARISC_PAGE_SIZE_4KB
203 bool "4KB"
204 help
205 This lets you select the page size of the kernel. For best
206 performance, a page size of 16KB is recommended. For best
207 compatibility with 32bit applications, a page size of 4KB should be
208 selected (the vast majority of 32bit binaries work perfectly fine
209 with a larger page size).
210
211 4KB For best 32bit compatibility
212 16KB For best performance
213 64KB For best performance, might give more overhead.
214
215 If you don't know what to do, choose 4KB.
216
217config PARISC_PAGE_SIZE_16KB
daef22cf
KC
218 bool "16KB"
219 depends on PA8X00
2fd83038
HD
220
221config PARISC_PAGE_SIZE_64KB
daef22cf
KC
222 bool "64KB"
223 depends on PA8X00
2fd83038
HD
224
225endchoice
226
1da177e4
LT
227config SMP
228 bool "Symmetric multi-processing support"
229 ---help---
230 This enables support for systems with more than one CPU. If you have
231 a system with only one CPU, like most personal computers, say N. If
232 you have a system with more than one CPU, say Y.
233
234 If you say N here, the kernel will run on single and multiprocessor
235 machines, but will use only one CPU of a multiprocessor machine. If
236 you say Y here, the kernel will run on many, but not all,
237 singleprocessor machines. On a singleprocessor machine, the kernel
238 will run faster if you say N here.
239
03502faa
AB
240 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
241 available at <http://www.tldp.org/docs.html#howto>.
1da177e4
LT
242
243 If you don't know what to do here, say N.
200c8804
HD
244
245config IRQSTACKS
246 bool "Use separate kernel stacks when processing interrupts"
416821d3 247 default y
200c8804
HD
248 help
249 If you say Y here the kernel will use separate kernel stacks
250 for handling hard and soft interrupts. This can help avoid
251 overflowing the process kernel stacks.
1da177e4
LT
252
253config HOTPLUG_CPU
254 bool
255 default y if SMP
1da177e4 256
a2ba82cd
KM
257config ARCH_SELECT_MEMORY_MODEL
258 def_bool y
259 depends on 64BIT
260
3f22ab27 261config ARCH_DISCONTIGMEM_ENABLE
a2ba82cd
KM
262 def_bool y
263 depends on 64BIT
264
265config ARCH_FLATMEM_ENABLE
266 def_bool y
267
268config ARCH_DISCONTIGMEM_DEFAULT
269 def_bool y
270 depends on ARCH_DISCONTIGMEM_ENABLE
1da177e4 271
c80d79d7
YG
272config NODES_SHIFT
273 int
274 default "3"
275 depends on NEED_MULTIPLE_NODES
276
50a34dbd 277source "kernel/Kconfig.preempt"
8b631342 278source "kernel/Kconfig.hz"
3f22ab27
DH
279source "mm/Kconfig"
280
1da177e4
LT
281config COMPAT
282 def_bool y
283 depends on 64BIT
284
bf581e15
HD
285config SYSVIPC_COMPAT
286 def_bool y
287 depends on COMPAT && SYSVIPC
288
527973c8
HD
289config AUDIT_ARCH
290 def_bool y
291
1da177e4
LT
292config HPUX
293 bool "Support for HP-UX binaries"
294 depends on !64BIT
295
296config NR_CPUS
297 int "Maximum number of CPUs (2-32)"
298 range 2 32
299 depends on SMP
300 default "32"
301
302endmenu
303
304
305source "drivers/parisc/Kconfig"
306
307
308menu "Executable file formats"
309
310source "fs/Kconfig.binfmt"
311
312endmenu
313
d5950b43
SR
314source "net/Kconfig"
315
1da177e4
LT
316source "drivers/Kconfig"
317
318source "fs/Kconfig"
319
1da177e4
LT
320source "arch/parisc/Kconfig.debug"
321
322source "security/Kconfig"
323
324source "crypto/Kconfig"
325
326source "lib/Kconfig"