Blame view

arch/parisc/Kconfig 8.88 KB
b24413180   Greg Kroah-Hartman   License cleanup: ...
1
  # SPDX-License-Identifier: GPL-2.0
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2
3
  config PARISC
  	def_bool y
4a24fb2f3   Mark Salter   parisc: select AR...
4
  	select ARCH_MIGHT_HAVE_PC_PARPORT
ec7748b59   Sam Ravnborg   ide: introduce HA...
5
  	select HAVE_IDE
42d4b839c   Mathieu Desnoyers   Add HAVE_OPROFILE
6
  	select HAVE_OPROFILE
366dd4ea9   Helge Deller   parisc: Fix ftrac...
7
8
  	select HAVE_FUNCTION_TRACER
  	select HAVE_FUNCTION_GRAPH_TRACER
fc79168a7   Helge Deller   parisc: Add sysca...
9
  	select HAVE_SYSCALL_TRACEPOINTS
4530c49e6   Helge Deller   parisc: select AR...
10
  	select ARCH_WANT_FRAME_POINTERS
18d98a793   Helge Deller   parisc: Enable KASLR
11
  	select ARCH_HAS_ELF_RANDOMIZE
ad21fc4fa   Laura Abbott   arch: Move CONFIG...
12
  	select ARCH_HAS_STRICT_KERNEL_RWX
e35a2ce69   Helge Deller   parisc: Enable UB...
13
14
  	select ARCH_HAS_UBSAN_SANITIZE_ALL
  	select ARCH_WANTS_UBSAN_NO_NULL
54ac8fcbd   Helge Deller   parisc: PDT: Add ...
15
  	select ARCH_SUPPORTS_MEMORY_FAILURE
9eb168642   Kyle McMartin   parisc: add rtc p...
16
  	select RTC_CLASS
3afe6d046   Geert Uytterhoeven   parisc: rtc: Rena...
17
  	select RTC_DRV_GENERIC
98a79d6a5   Rusty Russell   cpumask: centrali...
18
  	select INIT_ALL_POSSIBLE
4fe9e1d95   Helge Deller   parisc: Drop boot...
19
20
  	select HAVE_MEMBLOCK
  	select NO_BOOTMEM
f67d3c83f   Kyle McMartin   parisc: select BU...
21
  	select BUG
0de798584   Helge Deller   parisc: Use gener...
22
  	select BUILDTIME_EXTABLE_SORT
cdd6c482c   Ingo Molnar   perf: Do the big ...
23
  	select HAVE_PERF_EVENTS
b6adc16e0   Helge Deller   parisc: Wire up s...
24
25
26
27
28
29
  	select HAVE_KERNEL_BZIP2
  	select HAVE_KERNEL_GZIP
  	select HAVE_KERNEL_LZ4
  	select HAVE_KERNEL_LZMA
  	select HAVE_KERNEL_LZO
  	select HAVE_KERNEL_XZ
64daa4435   Kyle McMartin   parisc: use gener...
30
  	select GENERIC_ATOMIC64 if !64BIT
72e73af1f   Thomas Gleixner   parisc: Use gener...
31
  	select GENERIC_IRQ_PROBE
629a85816   Michael S. Tsirkin   parisc: switch to...
32
  	select GENERIC_PCI_IOMAP
df013ffb8   Huang Ying   Add Kconfig optio...
33
  	select ARCH_HAVE_NMI_SAFE_CMPXCHG
9a1347237   Thomas Gleixner   parisc: Use gener...
34
  	select GENERIC_SMP_IDLE_THREAD
b1195c0e3   James Bottomley   [PARISC] update p...
35
  	select GENERIC_STRNCPY_FROM_USER
bf14e3b97   Vineet Gupta   sysctl: Enable PA...
36
  	select SYSCTL_ARCH_UNALIGN_ALLOW
fef47e2a2   Helge Deller   parisc: ratelimit...
37
  	select SYSCTL_EXCEPTION_TRACE
786d35d45   David Howells   Make most arch as...
38
  	select HAVE_MOD_ARCH_SPECIFIC
4febd95a8   Stephen Rothwell   Select VIRT_TO_BU...
39
  	select VIRT_TO_BUS
786d35d45   David Howells   Make most arch as...
40
  	select MODULES_USE_ELF_RELA
415bfae9e   Al Viro   parisc: switch to...
41
  	select CLONE_BACKWARDS
4f73bc4dd   Joe Millenbach   tty: Added a CONF...
42
  	select TTY # Needed for pdc_cons.c
d1a1dc0be   Dave Hansen   consolidate per-a...
43
  	select HAVE_DEBUG_STACKOVERFLOW
7a0177212   AKASHI Takahiro   audit: Add CONFIG...
44
  	select HAVE_ARCH_AUDITSYSCALL
773e1c5fa   George Spelvin   parisc: Add <asm/...
45
  	select HAVE_ARCH_HASH
910cd32e5   Helge Deller   parisc: Fix and e...
46
  	select HAVE_ARCH_SECCOMP_FILTER
64e2a42bc   Helge Deller   parisc: Add ARCH_...
47
  	select HAVE_ARCH_TRACEHOOK
43b1f6abd   Helge Deller   parisc: Switch to...
48
49
50
  	select GENERIC_SCHED_CLOCK
  	select HAVE_UNSTABLE_SCHED_CLOCK if SMP
  	select GENERIC_CLOCKEVENTS
79387179e   Christoph Hellwig   parisc: convert t...
51
  	select ARCH_NO_COHERENT_DMA_MMAP
fff7fb0b2   Zhaoxiu Zeng   lib/GCD.c: use bi...
52
  	select CPU_NO_EFFICIENT_FFS
72e73af1f   Thomas Gleixner   parisc: Use gener...
53

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
54
55
56
57
58
  	help
  	  The PA-RISC microprocessor is designed by Hewlett-Packard and used
  	  in many of their workstations & servers (HP9000 700 and 800 series,
  	  and later HP3000 series).  The PA-RISC Linux project home page is
  	  at <http://www.parisc-linux.org/>.
74ad3d28a   Babu Moger   parisc: Define CO...
59
60
  config CPU_BIG_ENDIAN
  	def_bool y
4c97a0c8f   Babu Moger   arch: define CPU_...
61
62
  config CPU_BIG_ENDIAN
  	def_bool y
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
63
64
65
66
67
  config MMU
  	def_bool y
  
  config STACK_GROWSUP
  	def_bool y
95c354fe9   Nick Piggin   spinlock: lockbre...
68
69
70
71
  config GENERIC_LOCKBREAK
  	bool
  	default y
  	depends on SMP && PREEMPT
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
72
73
74
75
76
  config RWSEM_GENERIC_SPINLOCK
  	def_bool y
  
  config RWSEM_XCHGADD_ALGORITHM
  	bool
f0d1b0b30   David Howells   [PATCH] LOG2: Imp...
77
78
79
80
81
82
83
  config ARCH_HAS_ILOG2_U32
  	bool
  	default n
  
  config ARCH_HAS_ILOG2_U64
  	bool
  	default n
6891f8a11   Helge Deller   [PARISC] Generic BUG
84
85
86
87
  config GENERIC_BUG
  	bool
  	default y
  	depends on BUG
59e18a2e1   Akinobu Mita   [PATCH] bitops: p...
88
89
90
  config GENERIC_HWEIGHT
  	bool
  	default y
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
91
92
93
  config GENERIC_CALIBRATE_DELAY
  	bool
  	default y
06027bdd2   Ingo Molnar   [PATCH] hrtimer: ...
94
95
96
97
  config TIME_LOW_RES
  	bool
  	depends on SMP
  	default y
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
98
99
100
  # unless you want to implement ACPI on PA-RISC ... ;-)
  config PM
  	bool
548f1176f   Helge Deller   parisc: add LATEN...
101
102
  config STACKTRACE_SUPPORT
  	def_bool y
74a0bd66a   FUJITA Tomonori   pci-dma: parisc: ...
103
104
  config NEED_DMA_MAP_STATE
  	def_bool y
f6ae31c23   FUJITA Tomonori   parisc: use asm-g...
105
106
  config NEED_SG_DMA_LENGTH
  	def_bool y
5cae841b1   Al Viro   [PATCH] ISA DMA K...
107
108
  config ISA_DMA_API
  	bool
5cae841b1   Al Viro   [PATCH] ISA DMA K...
109

a08b6b796   Al Viro   [PATCH] Kconfig f...
110
111
  config ARCH_MAY_HAVE_PC_FDC
  	bool
8b631342d   Grant Grundler   [PARISC] Update K...
112
  	depends on BROKEN
a08b6b796   Al Viro   [PATCH] Kconfig f...
113
  	default y
f24ffde43   Kirill A. Shutemov   parisc: expose nu...
114
115
116
117
  config PGTABLE_LEVELS
  	int
  	default 3 if 64BIT && PARISC_PAGE_SIZE_4KB
  	default 2
736d21693   Helge Deller   parisc: Add Huge ...
118
119
  config SYS_SUPPORTS_HUGETLBFS
  	def_bool y if PA20
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
120
  source "init/Kconfig"
dc52ddc0e   Matt Helsley   container freezer...
121
  source "kernel/Kconfig.freezer"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
  
  menu "Processor type and features"
  
  choice
  	prompt "Processor type"
  	default PA7000
  
  config PA7000
  	bool "PA7000/PA7100"
  	---help---
  	  This is the processor type of your CPU.  This information is
  	  used for optimizing purposes.  In order to compile a kernel
  	  that can run on all 32-bit PA CPUs (albeit not optimally fast),
  	  you can specify "PA7000" here.
  
  	  Specifying "PA8000" here will allow you to select a 64-bit kernel
  	  which is required on some machines.
  
  config PA7100LC
  	bool "PA7100LC"
  	help
  	  Select this option for the PCX-L processor, as used in the
  	  712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
  	  D200, D210, D300, D310 and E-class
  
  config PA7200
  	bool "PA7200"
  	help
  	  Select this option for the PCX-T' processor, as used in the
  	  C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
  	  K100, K200, K210, K220, K400, K410 and K420
  
  config PA7300LC
  	bool "PA7300LC"
  	help
  	  Select this option for the PCX-L2 processor, as used in the
  	  744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
  	  D220, D230, D320 and D330.
  
  config PA8X00
  	bool "PA8000 and up"
  	help
  	  Select this option for PCX-U to PCX-W2 processors.
  
  endchoice
  
  # Define implied options from the CPU selection here
  
  config PA20
  	def_bool y
  	depends on PA8X00
  
  config PA11
  	def_bool y
  	depends on PA7000 || PA7100LC || PA7200 || PA7300LC
  
  config PREFETCH
  	def_bool y
32104b29c   Kyle McMartin   [PARISC] PA7200 a...
180
  	depends on PA8X00 || PA7200
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
181

ec758f983   Helge Deller   parisc: add CONFI...
182
183
  config MLONGCALLS
  	bool "Enable the -mlong-calls compiler option for big kernels"
9ffedb101   Helge Deller   parisc: Enable CO...
184
  	default y
ec758f983   Helge Deller   parisc: add CONFI...
185
186
187
188
189
190
191
192
193
194
195
196
197
  	depends on PA8X00
  	help
  	  If you configure the kernel to include many drivers built-in instead
  	  as modules, the kernel executable may become too big, so that the
  	  linker will not be able to resolve some long branches and fails to link
  	  your vmlinux kernel. In that case enabling this option will help you
  	  to overcome this limit by using the -mlong-calls compiler option.
  
  	  Usually you want to say N here, unless you e.g. want to build
  	  a kernel which includes all necessary drivers built-in and which can
  	  be used for TFTP booting without the need to have an initrd ramdisk.
  
  	  Enabling this option will probably slow down your kernel.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
198
199
200
201
202
203
204
205
206
207
208
209
  config 64BIT
  	bool "64-bit kernel"
  	depends on PA8X00
  	help
  	  Enable this if you want to support 64bit kernel on PA-RISC platform.
  
  	  At the moment, only people willing to use more than 2GB of RAM,
  	  or having a 64bit-only capable PA-RISC machine should say Y here.
  
  	  Since there is no 64bit userland on PA-RISC, there is no point to
  	  enable this option otherwise. The 64bit kernel is significantly bigger
  	  and slower than the 32bit one.
2fd830381   Helge Deller   [PARISC] Further ...
210
211
  choice
  	prompt "Kernel page size"
1c5f873d1   Paul Bolle   parisc: Kconfig: ...
212
  	default PARISC_PAGE_SIZE_4KB
2fd830381   Helge Deller   [PARISC] Further ...
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
  
  config PARISC_PAGE_SIZE_4KB
  	bool "4KB"
  	help
  	  This lets you select the page size of the kernel.  For best
  	  performance, a page size of 16KB is recommended.  For best
  	  compatibility with 32bit applications, a page size of 4KB should be
  	  selected (the vast majority of 32bit binaries work perfectly fine
  	  with a larger page size).
  
  	  4KB                For best 32bit compatibility
  	  16KB               For best performance
  	  64KB               For best performance, might give more overhead.
  
  	  If you don't know what to do, choose 4KB.
  
  config PARISC_PAGE_SIZE_16KB
daef22cf0   Kees Cook   arch/parisc: remo...
230
231
  	bool "16KB"
  	depends on PA8X00
2fd830381   Helge Deller   [PARISC] Further ...
232
233
  
  config PARISC_PAGE_SIZE_64KB
daef22cf0   Kees Cook   arch/parisc: remo...
234
235
  	bool "64KB"
  	depends on PA8X00
2fd830381   Helge Deller   [PARISC] Further ...
236
237
  
  endchoice
af21b01d1   Helge Deller   parisc: Reintrodu...
238
239
240
241
242
243
244
245
246
247
248
  config PARISC_SELF_EXTRACT
  	bool "Build kernel as self-extracting executable"
  	default y
  	help
  	  Say Y if you want to build the parisc kernel as a kind of
  	  self-extracting executable.
  
  	  If you say N here, the kernel will be compressed with gzip
  	  which can be loaded by the palo bootloader directly too.
  
  	  If you don't know what to do here, say Y.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
249
250
251
252
  config SMP
  	bool "Symmetric multi-processing support"
  	---help---
  	  This enables support for systems with more than one CPU. If you have
4a4741577   Robert Graffham   Kconfig: update f...
253
254
  	  a system with only one CPU, say N. If you have a system with more
  	  than one CPU, say Y.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
255

4a4741577   Robert Graffham   Kconfig: update f...
256
  	  If you say N here, the kernel will run on uni- and multiprocessor
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
257
258
  	  machines, but will use only one CPU of a multiprocessor machine. If
  	  you say Y here, the kernel will run on many, but not all,
4a4741577   Robert Graffham   Kconfig: update f...
259
  	  uniprocessor machines. On a uniprocessor machine, the kernel
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
260
  	  will run faster if you say N here.
03502faa2   Adrian Bunk   remove Documentat...
261
262
  	  See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
  	  available at <http://www.tldp.org/docs.html#howto>.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
263
264
  
  	  If you don't know what to do here, say N.
200c88042   Helge Deller   parisc: implement...
265
266
267
  
  config IRQSTACKS
  	bool "Use separate kernel stacks when processing interrupts"
416821d3d   Helge Deller   parisc: implement...
268
  	default y
200c88042   Helge Deller   parisc: implement...
269
270
271
272
  	help
  	  If you say Y here the kernel will use separate kernel stacks
  	  for handling hard and soft interrupts.  This can help avoid
  	  overflowing the process kernel stacks.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
273
274
275
276
  
  config HOTPLUG_CPU
  	bool
  	default y if SMP
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
277

a2ba82cd7   Kyle McMartin   [PARISC] Simplify...
278
279
280
  config ARCH_SELECT_MEMORY_MODEL
  	def_bool y
  	depends on 64BIT
3f22ab276   Dave Hansen   [PATCH] make each...
281
  config ARCH_DISCONTIGMEM_ENABLE
a2ba82cd7   Kyle McMartin   [PARISC] Simplify...
282
283
284
285
286
287
288
289
290
  	def_bool y
  	depends on 64BIT
  
  config ARCH_FLATMEM_ENABLE
  	def_bool y
  
  config ARCH_DISCONTIGMEM_DEFAULT
  	def_bool y
  	depends on ARCH_DISCONTIGMEM_ENABLE
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
291

c80d79d74   Yasunori Goto   [PATCH] Configura...
292
293
294
295
  config NODES_SHIFT
  	int
  	default "3"
  	depends on NEED_MULTIPLE_NODES
50a34dbd6   Kyle McMartin   [PARISC] Add PREE...
296
  source "kernel/Kconfig.preempt"
8b631342d   Grant Grundler   [PARISC] Update K...
297
  source "kernel/Kconfig.hz"
3f22ab276   Dave Hansen   [PATCH] make each...
298
  source "mm/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
299
300
301
  config COMPAT
  	def_bool y
  	depends on 64BIT
bf581e15a   Helge Deller   parisc: convert m...
302
303
304
  config SYSVIPC_COMPAT
  	def_bool y
  	depends on COMPAT && SYSVIPC
527973c84   Helge Deller   parisc: add kerne...
305
306
  config AUDIT_ARCH
  	def_bool y
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
  config NR_CPUS
  	int "Maximum number of CPUs (2-32)"
  	range 2 32
  	depends on SMP
  	default "32"
  
  endmenu
  
  
  source "drivers/parisc/Kconfig"
  
  
  menu "Executable file formats"
  
  source "fs/Kconfig.binfmt"
  
  endmenu
d5950b435   Sam Ravnborg   [NET]: add a top-...
324
  source "net/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
325
326
327
  source "drivers/Kconfig"
  
  source "fs/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
328
  source "arch/parisc/Kconfig.debug"
c90f06943   Helge Deller   parisc: Wire up s...
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
  config SECCOMP
  	def_bool y
  	prompt "Enable seccomp to safely compute untrusted bytecode"
  	---help---
  	  This kernel feature is useful for number crunching applications
  	  that may need to compute untrusted bytecode during their
  	  execution. By using pipes or other transports made available to
  	  the process as file descriptors supporting the read/write
  	  syscalls, it's possible to isolate those applications in
  	  their own address space using seccomp. Once seccomp is
  	  enabled via prctl(PR_SET_SECCOMP), it cannot be disabled
  	  and the task is only allowed to execute a few safe syscalls
  	  defined by each seccomp mode.
  
  	  If unsure, say Y. Only embedded should say N here.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
344
345
346
347
348
  source "security/Kconfig"
  
  source "crypto/Kconfig"
  
  source "lib/Kconfig"