]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/parisc/Kconfig
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
[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
4a24fb2f 4 select ARCH_MIGHT_HAVE_PC_PARPORT
ec7748b5 5 select HAVE_IDE
42d4b839 6 select HAVE_OPROFILE
d75f054a
HD
7 select HAVE_FUNCTION_TRACER if 64BIT
8 select HAVE_FUNCTION_GRAPH_TRACER 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
fef47e2a 24 select SYSCTL_EXCEPTION_TRACE
786d35d4 25 select HAVE_MOD_ARCH_SPECIFIC
4febd95a 26 select VIRT_TO_BUS
786d35d4 27 select MODULES_USE_ELF_RELA
415bfae9 28 select CLONE_BACKWARDS
4f73bc4d 29 select TTY # Needed for pdc_cons.c
d1a1dc0b 30 select HAVE_DEBUG_STACKOVERFLOW
7a017721 31 select HAVE_ARCH_AUDITSYSCALL
79387179 32 select ARCH_NO_COHERENT_DMA_MMAP
72e73af1 33
1da177e4
LT
34 help
35 The PA-RISC microprocessor is designed by Hewlett-Packard and used
36 in many of their workstations & servers (HP9000 700 and 800 series,
37 and later HP3000 series). The PA-RISC Linux project home page is
38 at <http://www.parisc-linux.org/>.
39
40config MMU
41 def_bool y
42
43config STACK_GROWSUP
44 def_bool y
45
95c354fe
NP
46config GENERIC_LOCKBREAK
47 bool
48 default y
49 depends on SMP && PREEMPT
50
1da177e4
LT
51config RWSEM_GENERIC_SPINLOCK
52 def_bool y
53
54config RWSEM_XCHGADD_ALGORITHM
55 bool
56
f0d1b0b3
DH
57config ARCH_HAS_ILOG2_U32
58 bool
59 default n
60
61config ARCH_HAS_ILOG2_U64
62 bool
63 default n
64
6891f8a1
HD
65config GENERIC_BUG
66 bool
67 default y
68 depends on BUG
69
59e18a2e
AM
70config GENERIC_HWEIGHT
71 bool
72 default y
73
1da177e4
LT
74config GENERIC_CALIBRATE_DELAY
75 bool
76 default y
77
06027bdd
IM
78config TIME_LOW_RES
79 bool
80 depends on SMP
81 default 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
f24ffde4
KS
104config PGTABLE_LEVELS
105 int
106 default 3 if 64BIT && PARISC_PAGE_SIZE_4KB
107 default 2
108
736d2169
HD
109config SYS_SUPPORTS_HUGETLBFS
110 def_bool y if PA20
111
1da177e4
LT
112source "init/Kconfig"
113
dc52ddc0
MH
114source "kernel/Kconfig.freezer"
115
1da177e4
LT
116
117menu "Processor type and features"
118
119choice
120 prompt "Processor type"
121 default PA7000
122
123config PA7000
124 bool "PA7000/PA7100"
125 ---help---
126 This is the processor type of your CPU. This information is
127 used for optimizing purposes. In order to compile a kernel
128 that can run on all 32-bit PA CPUs (albeit not optimally fast),
129 you can specify "PA7000" here.
130
131 Specifying "PA8000" here will allow you to select a 64-bit kernel
132 which is required on some machines.
133
134config PA7100LC
135 bool "PA7100LC"
136 help
137 Select this option for the PCX-L processor, as used in the
138 712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
139 D200, D210, D300, D310 and E-class
140
141config PA7200
142 bool "PA7200"
143 help
144 Select this option for the PCX-T' processor, as used in the
145 C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
146 K100, K200, K210, K220, K400, K410 and K420
147
148config PA7300LC
149 bool "PA7300LC"
150 help
151 Select this option for the PCX-L2 processor, as used in the
152 744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
153 D220, D230, D320 and D330.
154
155config PA8X00
156 bool "PA8000 and up"
157 help
158 Select this option for PCX-U to PCX-W2 processors.
159
160endchoice
161
162# Define implied options from the CPU selection here
163
164config PA20
165 def_bool y
166 depends on PA8X00
167
168config PA11
169 def_bool y
170 depends on PA7000 || PA7100LC || PA7200 || PA7300LC
171
172config PREFETCH
173 def_bool y
32104b29 174 depends on PA8X00 || PA7200
1da177e4 175
ec758f98
HD
176config MLONGCALLS
177 bool "Enable the -mlong-calls compiler option for big kernels"
178 def_bool y if (!MODULES)
179 depends on PA8X00
180 help
181 If you configure the kernel to include many drivers built-in instead
182 as modules, the kernel executable may become too big, so that the
183 linker will not be able to resolve some long branches and fails to link
184 your vmlinux kernel. In that case enabling this option will help you
185 to overcome this limit by using the -mlong-calls compiler option.
186
187 Usually you want to say N here, unless you e.g. want to build
188 a kernel which includes all necessary drivers built-in and which can
189 be used for TFTP booting without the need to have an initrd ramdisk.
190
191 Enabling this option will probably slow down your kernel.
192
1da177e4
LT
193config 64BIT
194 bool "64-bit kernel"
195 depends on PA8X00
196 help
197 Enable this if you want to support 64bit kernel on PA-RISC platform.
198
199 At the moment, only people willing to use more than 2GB of RAM,
200 or having a 64bit-only capable PA-RISC machine should say Y here.
201
202 Since there is no 64bit userland on PA-RISC, there is no point to
203 enable this option otherwise. The 64bit kernel is significantly bigger
204 and slower than the 32bit one.
205
2fd83038
HD
206choice
207 prompt "Kernel page size"
1c5f873d 208 default PARISC_PAGE_SIZE_4KB
2fd83038
HD
209
210config PARISC_PAGE_SIZE_4KB
211 bool "4KB"
212 help
213 This lets you select the page size of the kernel. For best
214 performance, a page size of 16KB is recommended. For best
215 compatibility with 32bit applications, a page size of 4KB should be
216 selected (the vast majority of 32bit binaries work perfectly fine
217 with a larger page size).
218
219 4KB For best 32bit compatibility
220 16KB For best performance
221 64KB For best performance, might give more overhead.
222
223 If you don't know what to do, choose 4KB.
224
225config PARISC_PAGE_SIZE_16KB
daef22cf
KC
226 bool "16KB"
227 depends on PA8X00
2fd83038
HD
228
229config PARISC_PAGE_SIZE_64KB
daef22cf
KC
230 bool "64KB"
231 depends on PA8X00
2fd83038
HD
232
233endchoice
234
1da177e4
LT
235config SMP
236 bool "Symmetric multi-processing support"
237 ---help---
238 This enables support for systems with more than one CPU. If you have
4a474157
RG
239 a system with only one CPU, say N. If you have a system with more
240 than one CPU, say Y.
1da177e4 241
4a474157 242 If you say N here, the kernel will run on uni- and multiprocessor
1da177e4
LT
243 machines, but will use only one CPU of a multiprocessor machine. If
244 you say Y here, the kernel will run on many, but not all,
4a474157 245 uniprocessor machines. On a uniprocessor machine, the kernel
1da177e4
LT
246 will run faster if you say N here.
247
03502faa
AB
248 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
249 available at <http://www.tldp.org/docs.html#howto>.
1da177e4
LT
250
251 If you don't know what to do here, say N.
200c8804
HD
252
253config IRQSTACKS
254 bool "Use separate kernel stacks when processing interrupts"
416821d3 255 default y
200c8804
HD
256 help
257 If you say Y here the kernel will use separate kernel stacks
258 for handling hard and soft interrupts. This can help avoid
259 overflowing the process kernel stacks.
1da177e4
LT
260
261config HOTPLUG_CPU
262 bool
263 default y if SMP
1da177e4 264
a2ba82cd
KM
265config ARCH_SELECT_MEMORY_MODEL
266 def_bool y
267 depends on 64BIT
268
3f22ab27 269config ARCH_DISCONTIGMEM_ENABLE
a2ba82cd
KM
270 def_bool y
271 depends on 64BIT
272
273config ARCH_FLATMEM_ENABLE
274 def_bool y
275
276config ARCH_DISCONTIGMEM_DEFAULT
277 def_bool y
278 depends on ARCH_DISCONTIGMEM_ENABLE
1da177e4 279
c80d79d7
YG
280config NODES_SHIFT
281 int
282 default "3"
283 depends on NEED_MULTIPLE_NODES
284
50a34dbd 285source "kernel/Kconfig.preempt"
8b631342 286source "kernel/Kconfig.hz"
3f22ab27
DH
287source "mm/Kconfig"
288
1da177e4
LT
289config COMPAT
290 def_bool y
291 depends on 64BIT
292
bf581e15
HD
293config SYSVIPC_COMPAT
294 def_bool y
295 depends on COMPAT && SYSVIPC
296
527973c8
HD
297config AUDIT_ARCH
298 def_bool y
299
1da177e4
LT
300config NR_CPUS
301 int "Maximum number of CPUs (2-32)"
302 range 2 32
303 depends on SMP
304 default "32"
305
306endmenu
307
308
309source "drivers/parisc/Kconfig"
310
311
312menu "Executable file formats"
313
314source "fs/Kconfig.binfmt"
315
316endmenu
317
d5950b43
SR
318source "net/Kconfig"
319
1da177e4
LT
320source "drivers/Kconfig"
321
322source "fs/Kconfig"
323
1da177e4
LT
324source "arch/parisc/Kconfig.debug"
325
c90f0694
HD
326config SECCOMP
327 def_bool y
328 prompt "Enable seccomp to safely compute untrusted bytecode"
329 ---help---
330 This kernel feature is useful for number crunching applications
331 that may need to compute untrusted bytecode during their
332 execution. By using pipes or other transports made available to
333 the process as file descriptors supporting the read/write
334 syscalls, it's possible to isolate those applications in
335 their own address space using seccomp. Once seccomp is
336 enabled via prctl(PR_SET_SECCOMP), it cannot be disabled
337 and the task is only allowed to execute a few safe syscalls
338 defined by each seccomp mode.
339
340 If unsure, say Y. Only embedded should say N here.
341
1da177e4
LT
342source "security/Kconfig"
343
344source "crypto/Kconfig"
345
346source "lib/Kconfig"