blob: 4e87783c90ad708339a3a869adfa81d75615b27b [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002config ALPHA
3 bool
4 default y
Heiko Carstens96c0a6a2021-02-10 21:51:02 +01005 select ARCH_32BIT_USTAT_F_TINODE
Mark Salter1571ed02013-10-07 19:51:52 -04006 select ARCH_MIGHT_HAVE_PC_PARPORT
Mark Salter77b2d072014-01-01 11:27:31 -08007 select ARCH_MIGHT_HAVE_PC_SERIO
Christoph Hellwig87a4c372018-07-31 13:39:32 +02008 select ARCH_NO_PREEMPT
Christoph Hellwig7c703e52018-11-09 09:51:00 +01009 select ARCH_NO_SG_CHAIN
Matt Turner8f8dcb32015-08-04 14:35:05 -070010 select ARCH_USE_CMPXCHG_LOCKREF
Christoph Hellwig2f9237d2020-07-08 09:30:00 +020011 select DMA_OPS if PCI
Christoph Hellwigeb01d422018-11-15 20:05:32 +010012 select FORCE_PCI if !ALPHA_JENSEN
Christoph Hellwig2eac9c22018-11-15 20:05:33 +010013 select PCI_DOMAINS if PCI
Christoph Hellwig20f1b792018-11-15 20:05:34 +010014 select PCI_SYSCALL if PCI
David Woodhousee17c6d52008-06-17 12:19:34 +010015 select HAVE_AOUT
Masahiro Yamada2ff2b7e2019-08-19 14:54:20 +090016 select HAVE_ASM_MODVERSIONS
Ralf Baechle8761f1a2011-06-01 19:05:09 +010017 select HAVE_PCSPKR_PLATFORM
Michael Creea582e6f2009-12-08 14:27:01 -050018 select HAVE_PERF_EVENTS
Christoph Hellwigf616ab52018-05-09 06:53:49 +020019 select NEED_DMA_MAP_STATE
Christoph Hellwig86596f02018-04-05 09:44:52 +020020 select NEED_SG_DMA_LENGTH
Stephen Rothwell4febd952013-03-07 15:48:16 +110021 select VIRT_TO_BUS
Thomas Gleixnere27ec642011-01-19 20:27:11 +010022 select GENERIC_IRQ_PROBE
Linus Torvalds4fef6112021-09-19 10:37:00 -070023 select GENERIC_PCI_IOMAP
Thomas Gleixnere27ec642011-01-19 20:27:11 +010024 select AUTO_IRQ_AFFINITY if SMP
Thomas Gleixnera6e120e2011-03-25 22:20:51 +010025 select GENERIC_IRQ_SHOW
Will Deaconc1d7e012012-07-30 14:42:46 -070026 select ARCH_WANT_IPC_PARSE_VERSION
Huang Yingdf013ff2011-07-13 13:14:22 +080027 select ARCH_HAVE_NMI_SAFE_CMPXCHG
蔡正龙a9302e82013-12-20 10:04:10 +080028 select AUDIT_ARCH
Michael Cree6fd16ce2018-02-26 22:02:12 +130029 select GENERIC_CPU_VULNERABILITIES
Thomas Gleixner2ec94152012-04-20 13:05:55 +000030 select GENERIC_SMP_IDLE_THREAD
AKASHI Takahiro7a017722014-02-25 18:16:24 +090031 select HAVE_ARCH_AUDITSYSCALL
David Howells786d35d2012-09-28 14:31:03 +093032 select HAVE_MOD_ARCH_SPECIFIC
33 select MODULES_USE_ELF_RELA
Al Viroeaca6ea2012-11-25 23:12:10 -050034 select ODD_RT_SIGACTION
Al Viro302627e2012-12-25 16:30:23 -050035 select OLD_SIGSUSPEND
Zhaoxiu Zengfff7fb02016-05-20 17:03:57 -070036 select CPU_NO_EFFICIENT_FFS if !ALPHA_EV67
Peter Zijlstra6137fed2018-09-04 17:04:07 +020037 select MMU_GATHER_NO_RANGE
Christoph Hellwig5e6e9852020-09-03 16:22:35 +020038 select SET_FS
Mike Rapoport36d40292020-12-14 19:09:28 -080039 select SPARSEMEM_EXTREME if SPARSEMEM
Kefeng Wang63703f32021-06-30 18:52:20 -070040 select ZONE_DMA
Linus Torvalds1da177e2005-04-16 15:20:36 -070041 help
42 The Alpha is a 64-bit general-purpose processor designed and
43 marketed by the Digital Equipment Corporation of blessed memory,
44 now Hewlett-Packard. The Alpha Linux project has a home page at
45 <http://www.alphalinux.org/>.
46
47config 64BIT
48 def_bool y
49
50config MMU
51 bool
52 default y
53
David Howellsf0d1b0b2006-12-08 02:37:49 -080054config ARCH_HAS_ILOG2_U32
55 bool
56 default n
57
58config ARCH_HAS_ILOG2_U64
59 bool
60 default n
61
Linus Torvalds1da177e2005-04-16 15:20:36 -070062config GENERIC_CALIBRATE_DELAY
63 bool
64 default y
65
66config GENERIC_ISA_DMA
67 bool
68 default y
69
Kirill A. Shutemovf5d45472015-04-14 15:45:36 -070070config PGTABLE_LEVELS
71 int
72 default 3
73
蔡正龙a9302e82013-12-20 10:04:10 +080074config AUDIT_ARCH
75 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -070076
77menu "System setup"
78
79choice
80 prompt "Alpha system type"
81 default ALPHA_GENERIC
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090082 help
Linus Torvalds1da177e2005-04-16 15:20:36 -070083 This is the system type of your hardware. A "generic" kernel will
84 run on any supported Alpha system. However, if you configure a
85 kernel for your specific system, it will be faster and smaller.
86
87 To find out what type of Alpha system you have, you may want to
88 check out the Linux/Alpha FAQ, accessible on the WWW from
89 <http://www.alphalinux.org/>. In summary:
90
Jay Estabrookd7083172007-06-01 00:47:05 -070091 Alcor/Alpha-XLT AS 600, AS 500, XL-300, XL-366
Linus Torvalds1da177e2005-04-16 15:20:36 -070092 Alpha-XL XL-233, XL-266
93 AlphaBook1 Alpha laptop
94 Avanti AS 200, AS 205, AS 250, AS 255, AS 300, AS 400
95 Cabriolet AlphaPC64, AlphaPCI64
Jay Estabrookd7083172007-06-01 00:47:05 -070096 DP264 DP264 / DS20 / ES40 / DS10 / DS10L
Linus Torvalds1da177e2005-04-16 15:20:36 -070097 EB164 EB164 21164 evaluation board
98 EB64+ EB64+ 21064 evaluation board
99 EB66 EB66 21066 evaluation board
100 EB66+ EB66+ 21066 evaluation board
Jay Estabrookd7083172007-06-01 00:47:05 -0700101 Jensen DECpc 150, DEC 2000 models 300, 500
Linus Torvalds1da177e2005-04-16 15:20:36 -0700102 LX164 AlphaPC164-LX
103 Lynx AS 2100A
Jay Estabrookd7083172007-06-01 00:47:05 -0700104 Miata Personal Workstation 433/500/600 a/au
Linus Torvalds1da177e2005-04-16 15:20:36 -0700105 Marvel AlphaServer ES47 / ES80 / GS1280
106 Mikasa AS 1000
107 Noname AXPpci33, UDB (Multia)
108 Noritake AS 1000A, AS 600A, AS 800
109 PC164 AlphaPC164
110 Rawhide AS 1200, AS 4000, AS 4100
111 Ruffian RPX164-2, AlphaPC164-UX, AlphaPC164-BX
112 SX164 AlphaPC164-SX
113 Sable AS 2000, AS 2100
Jay Estabrookd7083172007-06-01 00:47:05 -0700114 Shark DS 20L
115 Takara Takara (OEM)
116 Titan AlphaServer ES45 / DS25 / DS15
Linus Torvalds1da177e2005-04-16 15:20:36 -0700117 Wildfire AlphaServer GS 40/80/160/320
118
119 If you don't know what to do, choose "generic".
120
121config ALPHA_GENERIC
122 bool "Generic"
Joe Millenbach4f73bc42013-01-17 22:44:22 -0800123 depends on TTY
Christoph Hellwig6630a8e2018-11-15 20:05:37 +0100124 select HAVE_EISA
Linus Torvalds1da177e2005-04-16 15:20:36 -0700125 help
126 A generic kernel will run on all supported Alpha hardware.
127
128config ALPHA_ALCOR
129 bool "Alcor/Alpha-XLT"
Christoph Hellwig6630a8e2018-11-15 20:05:37 +0100130 select HAVE_EISA
Linus Torvalds1da177e2005-04-16 15:20:36 -0700131 help
132 For systems using the Digital ALCOR chipset: 5 chips (4, 64-bit data
133 slices (Data Switch, DSW) - 208-pin PQFP and 1 control (Control, I/O
134 Address, CIA) - a 383 pin plastic PGA). It provides a DRAM
135 controller (256-bit memory bus) and a PCI interface. It also does
136 all the work required to support an external Bcache and to maintain
137 memory coherence when a PCI device DMAs into (or out of) memory.
138
139config ALPHA_XL
140 bool "Alpha-XL"
141 help
142 XL-233 and XL-266-based Alpha systems.
143
144config ALPHA_BOOK1
145 bool "AlphaBook1"
146 help
147 Dec AlphaBook1/Burns Alpha-based laptops.
148
149config ALPHA_AVANTI_CH
150 bool "Avanti"
151
152config ALPHA_CABRIOLET
153 bool "Cabriolet"
154 help
155 Cabriolet AlphaPC64, AlphaPCI64 systems. Derived from EB64+ but now
156 baby-AT with Flash boot ROM, no on-board SCSI or Ethernet. 3 ISA
157 slots, 4 PCI slots (one pair are on a shared slot), uses plug-in
158 Bcache SIMMs. Requires power supply with 3.3V output.
159
160config ALPHA_DP264
161 bool "DP264"
162 help
163 Various 21264 systems with the tsunami core logic chipset.
164 API Networks: 264DP, UP2000(+), CS20;
165 Compaq: DS10(E,L), XP900, XP1000, DS20(E), ES40.
166
167config ALPHA_EB164
168 bool "EB164"
169 help
170 EB164 21164 evaluation board from DEC. Uses 21164 and ALCOR. Has
171 ISA and PCI expansion (3 ISA slots, 2 64-bit PCI slots (one is
172 shared with an ISA slot) and 2 32-bit PCI slots. Uses plus-in
173 Bcache SIMMs. I/O sub-system provides SuperI/O (2S, 1P, FD), KBD,
174 MOUSE (PS2 style), RTC/NVRAM. Boot ROM is Flash. PC-AT-sized
175 motherboard. Requires power supply with 3.3V output.
176
177config ALPHA_EB64P_CH
178 bool "EB64+"
179
180config ALPHA_EB66
181 bool "EB66"
182 help
183 A Digital DS group board. Uses 21066 or 21066A. I/O sub-system is
184 identical to EB64+. Baby PC-AT size. Runs from standard PC power
185 supply. The EB66 schematic was published as a marketing poster
186 advertising the 21066 as "the first microprocessor in the world with
187 embedded PCI".
188
189config ALPHA_EB66P
190 bool "EB66+"
191 help
192 Later variant of the EB66 board.
193
194config ALPHA_EIGER
195 bool "Eiger"
196 help
197 Apparently an obscure OEM single-board computer based on the
198 Typhoon/Tsunami chipset family. Information on it is scanty.
199
200config ALPHA_JENSEN
201 bool "Jensen"
Christoph Hellwig6630a8e2018-11-15 20:05:37 +0100202 select HAVE_EISA
Linus Torvalds1da177e2005-04-16 15:20:36 -0700203 help
204 DEC PC 150 AXP (aka Jensen): This is a very old Digital system - one
205 of the first-generation Alpha systems. A number of these systems
206 seem to be available on the second- hand market. The Jensen is a
207 floor-standing tower system which originally used a 150MHz 21064 It
208 used programmable logic to interface a 486 EISA I/O bridge to the
209 CPU.
210
211config ALPHA_LX164
212 bool "LX164"
213 help
214 A technical overview of this board is available at
215 <http://www.unix-ag.org/Linux-Alpha/Architectures/LX164.html>.
216
217config ALPHA_LYNX
218 bool "Lynx"
Christoph Hellwig6630a8e2018-11-15 20:05:37 +0100219 select HAVE_EISA
Linus Torvalds1da177e2005-04-16 15:20:36 -0700220 help
221 AlphaServer 2100A-based systems.
222
223config ALPHA_MARVEL
224 bool "Marvel"
225 help
226 AlphaServer ES47 / ES80 / GS1280 based on EV7.
227
228config ALPHA_MIATA
229 bool "Miata"
Christoph Hellwig6630a8e2018-11-15 20:05:37 +0100230 select HAVE_EISA
Linus Torvalds1da177e2005-04-16 15:20:36 -0700231 help
232 The Digital PersonalWorkStation (PWS 433a, 433au, 500a, 500au, 600a,
Adrian Bunkffc32d62008-10-15 22:01:19 -0700233 or 600au).
Linus Torvalds1da177e2005-04-16 15:20:36 -0700234
235config ALPHA_MIKASA
236 bool "Mikasa"
237 help
238 AlphaServer 1000-based Alpha systems.
239
240config ALPHA_NAUTILUS
241 bool "Nautilus"
242 help
243 Alpha systems based on the AMD 751 & ALI 1543C chipsets.
244
245config ALPHA_NONAME_CH
246 bool "Noname"
247
248config ALPHA_NORITAKE
249 bool "Noritake"
Christoph Hellwig6630a8e2018-11-15 20:05:37 +0100250 select HAVE_EISA
Linus Torvalds1da177e2005-04-16 15:20:36 -0700251 help
252 AlphaServer 1000A, AlphaServer 600A, and AlphaServer 800-based
253 systems.
254
255config ALPHA_PC164
256 bool "PC164"
257
258config ALPHA_P2K
259 bool "Platform2000"
260
261config ALPHA_RAWHIDE
262 bool "Rawhide"
Christoph Hellwig6630a8e2018-11-15 20:05:37 +0100263 select HAVE_EISA
Linus Torvalds1da177e2005-04-16 15:20:36 -0700264 help
265 AlphaServer 1200, AlphaServer 4000 and AlphaServer 4100 machines.
266 See HOWTO at
267 <http://www.alphalinux.org/docs/rawhide/4100_install.shtml>.
268
269config ALPHA_RUFFIAN
270 bool "Ruffian"
271 help
272 Samsung APC164UX. There is a page on known problems and workarounds
273 at <http://www.alphalinux.org/faq/FAQ-11.html>.
274
275config ALPHA_RX164
276 bool "RX164"
277
278config ALPHA_SX164
279 bool "SX164"
280
281config ALPHA_SABLE
282 bool "Sable"
Christoph Hellwig6630a8e2018-11-15 20:05:37 +0100283 select HAVE_EISA
Linus Torvalds1da177e2005-04-16 15:20:36 -0700284 help
285 Digital AlphaServer 2000 and 2100-based systems.
286
287config ALPHA_SHARK
288 bool "Shark"
289
290config ALPHA_TAKARA
291 bool "Takara"
292 help
293 Alpha 11164-based OEM single-board computer.
294
295config ALPHA_TITAN
296 bool "Titan"
297 help
298 AlphaServer ES45/DS25 SMP based on EV68 and Titan chipset.
299
300config ALPHA_WILDFIRE
301 bool "Wildfire"
302 help
303 AlphaServer GS 40/80/160/320 SMP based on the EV67 core.
304
305endchoice
306
307# clear all implied options (don't want default values for those):
308# Most of these machines have ISA slots; not exactly sure which don't,
309# and this doesn't activate hordes of code, so do it always.
310config ISA
311 bool
312 default y
313 help
314 Find out whether you have ISA slots on your motherboard. ISA is the
315 name of a bus system, i.e. the way the CPU talks to the other stuff
316 inside your box. Other bus systems are PCI, EISA, MicroChannel
317 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
318 newer boards don't support it. If you have ISA, say Y, otherwise N.
319
Al Viro5cae841b2005-05-04 05:39:22 +0100320config ISA_DMA_API
321 bool
322 default y
323
Linus Torvalds1da177e2005-04-16 15:20:36 -0700324config ALPHA_NONAME
325 bool
326 depends on ALPHA_BOOK1 || ALPHA_NONAME_CH
327 default y
328 help
329 The AXPpci33 (aka NoName), is based on the EB66 (includes the Multia
330 UDB). This design was produced by Digital's Technical OEM (TOEM)
331 group. It uses the 21066 processor running at 166MHz or 233MHz. It
332 is a baby-AT size, and runs from a standard PC power supply. It has
333 5 ISA slots and 3 PCI slots (one pair are a shared slot). There are
334 2 versions, with either PS/2 or large DIN connectors for the
335 keyboard.
336
337config ALPHA_EV4
338 bool
339 depends on ALPHA_JENSEN || (ALPHA_SABLE && !ALPHA_GAMMA) || ALPHA_LYNX || ALPHA_NORITAKE && !ALPHA_PRIMO || ALPHA_MIKASA && !ALPHA_PRIMO || ALPHA_CABRIOLET || ALPHA_AVANTI_CH || ALPHA_EB64P_CH || ALPHA_XL || ALPHA_NONAME || ALPHA_EB66 || ALPHA_EB66P || ALPHA_P2K
340 default y if !ALPHA_LYNX
341
342config ALPHA_LCA
343 bool
344 depends on ALPHA_NONAME || ALPHA_EB66 || ALPHA_EB66P || ALPHA_P2K
345 default y
346
347config ALPHA_APECS
348 bool
349 depends on !ALPHA_PRIMO && (ALPHA_NORITAKE || ALPHA_MIKASA) || ALPHA_CABRIOLET || ALPHA_AVANTI_CH || ALPHA_EB64P_CH || ALPHA_XL
350 default y
351
352config ALPHA_EB64P
353 bool
354 depends on ALPHA_CABRIOLET || ALPHA_EB64P_CH
355 default y
356 help
357 Uses 21064 or 21064A and APECs. Has ISA and PCI expansion (3 ISA,
358 2 PCI, one pair are on a shared slot). Supports 36-bit DRAM SIMs.
359 ISA bus generated by Intel SaturnI/O PCI-ISA bridge. On-board SCSI
360 (NCR 810 on PCI) Ethernet (Digital 21040), KBD, MOUSE (PS2 style),
361 SuperI/O (2S, 1P, FD), RTC/NVRAM. Boot ROM is EPROM. PC-AT size.
362 Runs from standard PC power supply.
363
364config ALPHA_EV5
365 bool "EV5 CPU(s) (model 5/xxx)?" if ALPHA_LYNX
366 default y if ALPHA_RX164 || ALPHA_RAWHIDE || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN || ALPHA_SABLE && ALPHA_GAMMA || ALPHA_NORITAKE && ALPHA_PRIMO || ALPHA_MIKASA && ALPHA_PRIMO || ALPHA_PC164 || ALPHA_TAKARA || ALPHA_EB164 || ALPHA_ALCOR
367
368config ALPHA_EV4
369 bool
370 default y if ALPHA_LYNX && !ALPHA_EV5
371
372config ALPHA_CIA
373 bool
374 depends on ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN || ALPHA_NORITAKE && ALPHA_PRIMO || ALPHA_MIKASA && ALPHA_PRIMO || ALPHA_PC164 || ALPHA_TAKARA || ALPHA_EB164 || ALPHA_ALCOR
375 default y
376
377config ALPHA_EV56
378 bool "EV56 CPU (speed >= 366MHz)?" if ALPHA_ALCOR
379 default y if ALPHA_RX164 || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN || ALPHA_PC164 || ALPHA_TAKARA
380
381config ALPHA_EV56
382 prompt "EV56 CPU (speed >= 333MHz)?"
Fernando J. Pereda060ec3d2006-09-25 23:32:37 -0700383 depends on ALPHA_NORITAKE || ALPHA_PRIMO
Linus Torvalds1da177e2005-04-16 15:20:36 -0700384
385config ALPHA_EV56
386 prompt "EV56 CPU (speed >= 400MHz)?"
387 depends on ALPHA_RAWHIDE
388
389config ALPHA_PRIMO
390 bool "EV5 CPU daughtercard (model 5/xxx)?"
391 depends on ALPHA_NORITAKE || ALPHA_MIKASA
392 help
393 Say Y if you have an AS 1000 5/xxx or an AS 1000A 5/xxx.
394
395config ALPHA_GAMMA
396 bool "EV5 CPU(s) (model 5/xxx)?"
397 depends on ALPHA_SABLE
398 help
399 Say Y if you have an AS 2000 5/xxx or an AS 2100 5/xxx.
400
401config ALPHA_GAMMA
402 bool
403 depends on ALPHA_LYNX
404 default y
405
406config ALPHA_T2
407 bool
408 depends on ALPHA_SABLE || ALPHA_LYNX
409 default y
410
411config ALPHA_PYXIS
412 bool
413 depends on ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN
414 default y
415
416config ALPHA_EV6
417 bool
418 depends on ALPHA_NAUTILUS || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_DP264 || ALPHA_EIGER || ALPHA_MARVEL
419 default y
420
421config ALPHA_TSUNAMI
422 bool
423 depends on ALPHA_SHARK || ALPHA_DP264 || ALPHA_EIGER
424 default y
425
426config ALPHA_EV67
427 bool "EV67 (or later) CPU (speed > 600MHz)?" if ALPHA_DP264 || ALPHA_EIGER
428 default y if ALPHA_NAUTILUS || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_MARVEL
429 help
430 Is this a machine based on the EV67 core? If in doubt, select N here
431 and the machine will be treated as an EV6.
432
Linus Torvalds1da177e2005-04-16 15:20:36 -0700433config ALPHA_MCPCIA
434 bool
435 depends on ALPHA_RAWHIDE
436 default y
437
438config ALPHA_POLARIS
439 bool
440 depends on ALPHA_RX164
441 default y
442
443config ALPHA_IRONGATE
444 bool
445 depends on ALPHA_NAUTILUS
446 default y
447
Akinobu Mitaf7c29672006-03-26 01:39:18 -0800448config GENERIC_HWEIGHT
449 bool
Randy Dunlap5e625b02006-06-12 15:13:40 -0700450 default y if !ALPHA_EV67
Akinobu Mitaf7c29672006-03-26 01:39:18 -0800451
Linus Torvalds1da177e2005-04-16 15:20:36 -0700452config ALPHA_AVANTI
453 bool
454 depends on ALPHA_XL || ALPHA_AVANTI_CH
455 default y
456 help
457 Avanti AS 200, AS 205, AS 250, AS 255, AS 300, and AS 400-based
458 Alphas. Info at
459 <http://www.unix-ag.org/Linux-Alpha/Architectures/Avanti.html>.
460
461config ALPHA_BROKEN_IRQ_MASK
462 bool
463 depends on ALPHA_GENERIC || ALPHA_PC164
464 default y
465
Jay Estabrook025a2212007-06-01 00:47:03 -0700466config VGA_HOSE
467 bool
Matt Turnerdd7f1fe2012-05-01 21:28:59 -0400468 depends on VGA_CONSOLE && (ALPHA_GENERIC || ALPHA_TITAN || ALPHA_MARVEL || ALPHA_TSUNAMI)
Jay Estabrook025a2212007-06-01 00:47:03 -0700469 default y
470 help
471 Support VGA on an arbitrary hose; needed for several platforms
472 which always have multiple hoses, and whose consoles support it.
473
474
Richard Henderson994dcf72011-04-28 07:29:27 -0700475config ALPHA_QEMU
476 bool "Run under QEMU emulation"
477 depends on !ALPHA_GENERIC
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900478 help
Richard Henderson994dcf72011-04-28 07:29:27 -0700479 Assume the presence of special features supported by QEMU PALcode
480 that reduce the overhead of system emulation.
481
482 Generic kernels will auto-detect QEMU. But when building a
483 system-specific kernel, the assumption is that we want to
Masanari Iida83fc61a2017-09-26 12:47:59 +0900484 eliminate as many runtime tests as possible.
Richard Henderson994dcf72011-04-28 07:29:27 -0700485
486 If unsure, say N.
487
488
Linus Torvalds1da177e2005-04-16 15:20:36 -0700489config ALPHA_SRM
490 bool "Use SRM as bootloader" if ALPHA_CABRIOLET || ALPHA_AVANTI_CH || ALPHA_EB64P || ALPHA_PC164 || ALPHA_TAKARA || ALPHA_EB164 || ALPHA_ALCOR || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_NAUTILUS || ALPHA_NONAME
Joe Millenbach4f73bc42013-01-17 22:44:22 -0800491 depends on TTY
Linus Torvalds1da177e2005-04-16 15:20:36 -0700492 default y if ALPHA_JENSEN || ALPHA_MIKASA || ALPHA_SABLE || ALPHA_LYNX || ALPHA_NORITAKE || ALPHA_DP264 || ALPHA_RAWHIDE || ALPHA_EIGER || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_MARVEL
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900493 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700494 There are two different types of booting firmware on Alphas: SRM,
495 which is command line driven, and ARC, which uses menus and arrow
496 keys. Details about the Linux/Alpha booting process are contained in
497 the Linux/Alpha FAQ, accessible on the WWW from
498 <http://www.alphalinux.org/>.
499
500 The usual way to load Linux on an Alpha machine is to use MILO
501 (a bootloader that lets you pass command line parameters to the
502 kernel just like lilo does for the x86 architecture) which can be
503 loaded either from ARC or can be installed directly as a permanent
504 firmware replacement from floppy (which requires changing a certain
505 jumper on the motherboard). If you want to do either of these, say N
506 here. If MILO doesn't work on your system (true for Jensen
507 motherboards), you can bypass it altogether and boot Linux directly
508 from an SRM console; say Y here in order to do that. Note that you
509 won't be able to boot from an IDE disk using SRM.
510
511 If unsure, say N.
512
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +0100513config ARCH_MAY_HAVE_PC_FDC
514 def_bool y
515
Linus Torvalds1da177e2005-04-16 15:20:36 -0700516config SMP
517 bool "Symmetric multi-processing support"
518 depends on ALPHA_SABLE || ALPHA_LYNX || ALPHA_RAWHIDE || ALPHA_DP264 || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_GENERIC || ALPHA_SHARK || ALPHA_MARVEL
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900519 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700520 This enables support for systems with more than one CPU. If you have
Robert Graffham4a474152014-01-23 15:55:29 -0800521 a system with only one CPU, say N. If you have a system with more
522 than one CPU, say Y.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700523
Robert Graffham4a474152014-01-23 15:55:29 -0800524 If you say N here, the kernel will run on uni- and multiprocessor
Linus Torvalds1da177e2005-04-16 15:20:36 -0700525 machines, but will use only one CPU of a multiprocessor machine. If
526 you say Y here, the kernel will run on many, but not all,
Robert Graffham4a474152014-01-23 15:55:29 -0800527 uniprocessor machines. On a uniprocessor machine, the kernel
Linus Torvalds1da177e2005-04-16 15:20:36 -0700528 will run faster if you say N here.
529
Adrian Bunk03502fa2008-02-03 15:50:21 +0200530 See also the SMP-HOWTO available at
Alexander A. Klimova09c33c2020-07-13 11:43:41 +0200531 <https://www.tldp.org/docs.html#howto>.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700532
533 If you don't know what to do here, say N.
534
Linus Torvalds1da177e2005-04-16 15:20:36 -0700535config NR_CPUS
Jay Estabrookd7083172007-06-01 00:47:05 -0700536 int "Maximum number of CPUs (2-32)"
537 range 2 32
Linus Torvalds1da177e2005-04-16 15:20:36 -0700538 depends on SMP
Jay Estabrookd7083172007-06-01 00:47:05 -0700539 default "32" if ALPHA_GENERIC || ALPHA_MARVEL
540 default "4" if !ALPHA_GENERIC && !ALPHA_MARVEL
541 help
542 MARVEL support can handle a maximum of 32 CPUs, all the others
Enrico Weigelt, metux IT consult8b3ebda2019-03-11 14:42:08 +0100543 with working support have a maximum of 4 CPUs.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700544
Mike Rapoport36d40292020-12-14 19:09:28 -0800545config ARCH_SPARSEMEM_ENABLE
546 bool "Sparse Memory Support"
547 help
548 Say Y to support efficient handling of discontiguous physical memory,
549 for systems that have huge holes in the physical address space.
550
Richard Henderson7f3bbb82013-07-12 09:36:21 -0700551config ALPHA_WTINT
552 bool "Use WTINT" if ALPHA_SRM || ALPHA_GENERIC
553 default y if ALPHA_QEMU
554 default n if ALPHA_EV5 || ALPHA_EV56 || (ALPHA_EV4 && !ALPHA_LCA)
555 default n if !ALPHA_SRM && !ALPHA_GENERIC
556 default y if SMP
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900557 help
Richard Henderson7f3bbb82013-07-12 09:36:21 -0700558 The Wait for Interrupt (WTINT) PALcall attempts to place the CPU
559 to sleep until the next interrupt. This may reduce the power
560 consumed, and the heat produced by the computer. However, it has
561 the side effect of making the cycle counter unreliable as a timing
562 device across the sleep.
563
564 For emulation under QEMU, definitely say Y here, as we have other
565 mechanisms for measuring time than the cycle counter.
566
567 For EV4 (but not LCA), EV5 and EV56 systems, or for systems running
568 MILO, sleep mode is not supported so you might as well say N here.
569
570 For SMP systems we cannot use the cycle counter for timing anyway,
571 so you might as well say Y here.
572
573 If unsure, say N.
574
Linus Torvalds1da177e2005-04-16 15:20:36 -0700575# LARGE_VMALLOC is racy, if you *really* need it then fix it first
576config ALPHA_LARGE_VMALLOC
577 bool
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900578 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700579 Process creation and other aspects of virtual memory management can
580 be streamlined if we restrict the kernel to one PGD for all vmalloc
581 allocations. This equates to about 8GB.
582
583 Under normal circumstances, this is so far and above what is needed
584 as to be laughable. However, there are certain applications (such
585 as benchmark-grade in-kernel web serving) that can make use of as
586 much vmalloc space as is available.
587
588 Say N unless you know you need gobs and gobs of vmalloc space.
589
590config VERBOSE_MCHECK
591 bool "Verbose Machine Checks"
592
593config VERBOSE_MCHECK_ON
594 int "Verbose Printing Mode (0=off, 1=on, 2=all)"
595 depends on VERBOSE_MCHECK
596 default 1
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900597 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700598 This option allows the default printing mode to be set, and then
599 possibly overridden by a boot command argument.
600
601 For example, if one wanted the option of printing verbose
602 machine checks, but wanted the default to be as if verbose
603 machine check printing was turned off, then one would choose
604 the printing mode to be 0. Then, upon reboot, one could add
605 the boot command line "verbose_mcheck=1" to get the normal
606 verbose machine check printing, or "verbose_mcheck=2" to get
607 the maximum information available.
608
609 Take the default (1) unless you want more control or more info.
610
Richard Hendersonfddd87d2013-07-12 16:15:56 -0700611choice
612 prompt "Timer interrupt frequency (HZ)?"
613 default HZ_128 if ALPHA_QEMU
614 default HZ_1200 if ALPHA_RAWHIDE
615 default HZ_1024
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900616 help
Richard Hendersonfddd87d2013-07-12 16:15:56 -0700617 The frequency at which timer interrupts occur. A high frequency
618 minimizes latency, whereas a low frequency minimizes overhead of
619 process accounting. The later effect is especially significant
620 when being run under QEMU.
621
622 Note that some Alpha hardware cannot change the interrupt frequency
623 of the timer. If unsure, say 1024 (or 1200 for Rawhide).
624
625 config HZ_32
626 bool "32 Hz"
627 config HZ_64
628 bool "64 Hz"
629 config HZ_128
630 bool "128 Hz"
631 config HZ_256
632 bool "256 Hz"
633 config HZ_1024
634 bool "1024 Hz"
635 config HZ_1200
636 bool "1200 Hz"
637endchoice
638
H. Peter Anvinbdc80782008-02-08 04:21:26 -0800639config HZ
Enrico Weigelt, metux IT consult8b3ebda2019-03-11 14:42:08 +0100640 int
Richard Hendersonfddd87d2013-07-12 16:15:56 -0700641 default 32 if HZ_32
642 default 64 if HZ_64
643 default 128 if HZ_128
644 default 256 if HZ_256
645 default 1200 if HZ_1200
H. Peter Anvinbdc80782008-02-08 04:21:26 -0800646 default 1024
647
Linus Torvalds1da177e2005-04-16 15:20:36 -0700648config SRM_ENV
649 tristate "SRM environment through procfs"
650 depends on PROC_FS
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900651 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700652 If you enable this option, a subdirectory inside /proc called
653 /proc/srm_environment will give you access to the all important
654 SRM environment variables (those which have a name) and also
655 to all others (by their internal number).
656
657 SRM is something like a BIOS for Alpha machines. There are some
658 other such BIOSes, like AlphaBIOS, which this driver cannot
659 support (hey, that's not SRM!).
660
661 Despite the fact that this driver doesn't work on all Alphas (but
662 only on those which have SRM as their firmware), it's save to
663 build it even if your particular machine doesn't know about SRM
664 (or if you intend to compile a generic kernel). It will simply
665 not create those subdirectory in /proc (and give you some warning,
666 of course).
667
668 This driver is also available as a module and will be called
669 srm_env then.
670
Linus Torvalds1da177e2005-04-16 15:20:36 -0700671endmenu
672
Jay Estabrook025a2212007-06-01 00:47:03 -0700673# DUMMY_CONSOLE may be defined in drivers/video/console/Kconfig
674# but we also need it if VGA_HOSE is set
675config DUMMY_CONSOLE
676 bool
677 depends on VGA_HOSE
678 default y