1 # SPDX-License-Identifier: GPL-2.0
5 select ARCH_32BIT_USTAT_F_TINODE
6 select ARCH_HAS_CURRENT_STACK_POINTER
7 select ARCH_MIGHT_HAVE_PC_PARPORT
8 select ARCH_MIGHT_HAVE_PC_SERIO
10 select ARCH_NO_SG_CHAIN
11 select ARCH_USE_CMPXCHG_LOCKREF
14 select PCI_DOMAINS if PCI
15 select PCI_SYSCALL if PCI
16 select HAVE_ASM_MODVERSIONS
17 select HAVE_PAGE_SIZE_8KB
18 select HAVE_PCSPKR_PLATFORM
19 select HAVE_PERF_EVENTS
20 select NEED_DMA_MAP_STATE
21 select NEED_SG_DMA_LENGTH
22 select GENERIC_IRQ_PROBE
23 select GENERIC_PCI_IOMAP
24 select AUTO_IRQ_AFFINITY if SMP
25 select GENERIC_IRQ_SHOW
26 select ARCH_WANT_IPC_PARSE_VERSION
27 select ARCH_HAVE_NMI_SAFE_CMPXCHG
29 select GENERIC_CPU_VULNERABILITIES
30 select GENERIC_SMP_IDLE_THREAD
32 select HAVE_ARCH_AUDITSYSCALL
33 select HAVE_MOD_ARCH_SPECIFIC
34 select LOCK_MM_AND_FIND_VMA
35 select MODULES_USE_ELF_RELA
36 select ODD_RT_SIGACTION
38 select CPU_NO_EFFICIENT_FFS if !ALPHA_EV67
39 select MMU_GATHER_NO_RANGE
40 select SPARSEMEM_EXTREME if SPARSEMEM
43 The Alpha is a 64-bit general-purpose processor designed and
44 marketed by the Digital Equipment Corporation of blessed memory,
45 now Hewlett-Packard. The Alpha Linux project has a home page at
46 <http://www.alphalinux.org/>.
55 config ARCH_HAS_ILOG2_U32
59 config ARCH_HAS_ILOG2_U64
63 config GENERIC_CALIBRATE_DELAY
67 config GENERIC_ISA_DMA
81 prompt "Alpha system type"
84 This is the system type of your hardware. A "generic" kernel will
85 run on any supported Alpha system. However, if you configure a
86 kernel for your specific system, it will be faster and smaller.
88 To find out what type of Alpha system you have, you may want to
89 check out the Linux/Alpha FAQ, accessible on the WWW from
90 <http://www.alphalinux.org/>. In summary:
92 Alcor/Alpha-XLT AS 600, AS 500, XL-300, XL-366
93 DP264 DP264 / DS20 / ES40 / DS10 / DS10L
95 Miata Personal Workstation 433/500/600 a/au
96 Marvel AlphaServer ES47 / ES80 / GS1280
98 Noritake AS 1000A, AS 600A, AS 800
100 Rawhide AS 1200, AS 4000, AS 4100
101 Ruffian RPX164-2, AlphaPC164-UX, AlphaPC164-BX
103 Sable AS 2000, AS 2100
106 Titan AlphaServer ES45 / DS25 / DS15
107 Wildfire AlphaServer GS 40/80/160/320
109 If you don't know what to do, choose "generic".
116 A generic kernel will run on all supported Alpha hardware.
119 bool "Alcor/Alpha-XLT"
122 For systems using the Digital ALCOR chipset: 5 chips (4, 64-bit data
123 slices (Data Switch, DSW) - 208-pin PQFP and 1 control (Control, I/O
124 Address, CIA) - a 383 pin plastic PGA). It provides a DRAM
125 controller (256-bit memory bus) and a PCI interface. It also does
126 all the work required to support an external Bcache and to maintain
127 memory coherence when a PCI device DMAs into (or out of) memory.
132 Various 21264 systems with the tsunami core logic chipset.
133 API Networks: 264DP, UP2000(+), CS20;
134 Compaq: DS10(E,L), XP900, XP1000, DS20(E), ES40.
139 Apparently an obscure OEM single-board computer based on the
140 Typhoon/Tsunami chipset family. Information on it is scanty.
145 A technical overview of this board is available at
146 <http://www.unix-ag.org/Linux-Alpha/Architectures/LX164.html>.
151 AlphaServer ES47 / ES80 / GS1280 based on EV7.
157 The Digital PersonalWorkStation (PWS 433a, 433au, 500a, 500au, 600a,
163 AlphaServer 1000-based Alpha systems.
165 config ALPHA_NAUTILUS
168 Alpha systems based on the AMD 751 & ALI 1543C chipsets.
170 config ALPHA_NORITAKE
174 AlphaServer 1000A, AlphaServer 600A, and AlphaServer 800-based
184 AlphaServer 1200, AlphaServer 4000 and AlphaServer 4100 machines.
186 <http://www.alphalinux.org/docs/rawhide/4100_install.shtml>.
191 Samsung APC164UX. There is a page on known problems and workarounds
192 at <http://www.alphalinux.org/faq/FAQ-11.html>.
204 Digital AlphaServer 2000 and 2100-based systems.
212 Alpha 11164-based OEM single-board computer.
217 AlphaServer ES45/DS25 SMP based on EV68 and Titan chipset.
219 config ALPHA_WILDFIRE
222 AlphaServer GS 40/80/160/320 SMP based on the EV67 core.
226 # clear all implied options (don't want default values for those):
227 # Most of these machines have ISA slots; not exactly sure which don't,
228 # and this doesn't activate hordes of code, so do it always.
233 Find out whether you have ISA slots on your motherboard. ISA is the
234 name of a bus system, i.e. the way the CPU talks to the other stuff
235 inside your box. Other bus systems are PCI, EISA, MicroChannel
236 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
237 newer boards don't support it. If you have ISA, say Y, otherwise N.
245 depends on ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN || ALPHA_NORITAKE || ALPHA_MIKASA || ALPHA_PC164 || ALPHA_TAKARA || ALPHA_ALCOR
250 default y if ALPHA_ALCOR || ALPHA_RX164 || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN || ALPHA_PC164 || ALPHA_TAKARA || ALPHA_NORITAKE || ALPHA_MIKASA || ALPHA_RAWHIDE || ALPHA_SABLE
254 depends on ALPHA_SABLE
259 depends on ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN
264 depends on ALPHA_NAUTILUS || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_DP264 || ALPHA_EIGER || ALPHA_MARVEL
269 depends on ALPHA_SHARK || ALPHA_DP264 || ALPHA_EIGER
273 bool "EV67 (or later) CPU (speed > 600MHz)?" if ALPHA_DP264 || ALPHA_EIGER
274 default y if ALPHA_NAUTILUS || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_MARVEL
276 Is this a machine based on the EV67 core? If in doubt, select N here
277 and the machine will be treated as an EV6.
281 depends on ALPHA_RAWHIDE
286 depends on ALPHA_RX164
289 config ALPHA_IRONGATE
291 depends on ALPHA_NAUTILUS
294 config GENERIC_HWEIGHT
296 default y if !ALPHA_EV67
298 config ALPHA_BROKEN_IRQ_MASK
300 depends on ALPHA_GENERIC || ALPHA_PC164
305 depends on VGA_CONSOLE && (ALPHA_GENERIC || ALPHA_TITAN || ALPHA_MARVEL || ALPHA_TSUNAMI)
308 Support VGA on an arbitrary hose; needed for several platforms
309 which always have multiple hoses, and whose consoles support it.
313 bool "Run under QEMU emulation"
314 depends on !ALPHA_GENERIC
316 Assume the presence of special features supported by QEMU PALcode
317 that reduce the overhead of system emulation.
319 Generic kernels will auto-detect QEMU. But when building a
320 system-specific kernel, the assumption is that we want to
321 eliminate as many runtime tests as possible.
327 bool "Use SRM as bootloader" if ALPHA_PC164 || ALPHA_TAKARA || ALPHA_ALCOR || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_NAUTILUS
329 default y if ALPHA_MIKASA || ALPHA_SABLE || ALPHA_NORITAKE || ALPHA_DP264 || ALPHA_RAWHIDE || ALPHA_EIGER || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_MARVEL
331 There are two different types of booting firmware on Alphas: SRM,
332 which is command line driven, and ARC, which uses menus and arrow
333 keys. Details about the Linux/Alpha booting process are contained in
334 the Linux/Alpha FAQ, accessible on the WWW from
335 <http://www.alphalinux.org/>.
337 The usual way to load Linux on an Alpha machine is to use MILO
338 (a bootloader that lets you pass command line parameters to the
339 kernel just like lilo does for the x86 architecture) which can be
340 loaded either from ARC or can be installed directly as a permanent
341 firmware replacement from floppy (which requires changing a certain
342 jumper on the motherboard). If you want to do either of these, say N
343 here. If MILO doesn't work on your system (true for Jensen
344 motherboards), you can bypass it altogether and boot Linux directly
345 from an SRM console; say Y here in order to do that. Note that you
346 won't be able to boot from an IDE disk using SRM.
350 config ARCH_MAY_HAVE_PC_FDC
354 bool "Symmetric multi-processing support"
355 depends on ALPHA_SABLE || ALPHA_RAWHIDE || ALPHA_DP264 || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_GENERIC || ALPHA_SHARK || ALPHA_MARVEL
357 This enables support for systems with more than one CPU. If you have
358 a system with only one CPU, say N. If you have a system with more
361 If you say N here, the kernel will run on uni- and multiprocessor
362 machines, but will use only one CPU of a multiprocessor machine. If
363 you say Y here, the kernel will run on many, but not all,
364 uniprocessor machines. On a uniprocessor machine, the kernel
365 will run faster if you say N here.
367 See also the SMP-HOWTO available at
368 <https://www.tldp.org/docs.html#howto>.
370 If you don't know what to do here, say N.
373 int "Maximum number of CPUs (2-32)"
376 default "32" if ALPHA_GENERIC || ALPHA_MARVEL
377 default "4" if !ALPHA_GENERIC && !ALPHA_MARVEL
379 MARVEL support can handle a maximum of 32 CPUs, all the others
380 with working support have a maximum of 4 CPUs.
382 config ARCH_SPARSEMEM_ENABLE
383 bool "Sparse Memory Support"
385 Say Y to support efficient handling of discontiguous physical memory,
386 for systems that have huge holes in the physical address space.
389 bool "Use WTINT" if ALPHA_SRM || ALPHA_GENERIC
390 default y if ALPHA_QEMU
391 default n if ALPHA_EV56
392 default n if !ALPHA_SRM && !ALPHA_GENERIC
395 The Wait for Interrupt (WTINT) PALcall attempts to place the CPU
396 to sleep until the next interrupt. This may reduce the power
397 consumed, and the heat produced by the computer. However, it has
398 the side effect of making the cycle counter unreliable as a timing
399 device across the sleep.
401 For emulation under QEMU, definitely say Y here, as we have other
402 mechanisms for measuring time than the cycle counter.
404 For EV4 (but not LCA), EV5 and EV56 systems, or for systems running
405 MILO, sleep mode is not supported so you might as well say N here.
407 For SMP systems we cannot use the cycle counter for timing anyway,
408 so you might as well say Y here.
412 # LARGE_VMALLOC is racy, if you *really* need it then fix it first
413 config ALPHA_LARGE_VMALLOC
416 Process creation and other aspects of virtual memory management can
417 be streamlined if we restrict the kernel to one PGD for all vmalloc
418 allocations. This equates to about 8GB.
420 Under normal circumstances, this is so far and above what is needed
421 as to be laughable. However, there are certain applications (such
422 as benchmark-grade in-kernel web serving) that can make use of as
423 much vmalloc space as is available.
425 Say N unless you know you need gobs and gobs of vmalloc space.
427 config VERBOSE_MCHECK
428 bool "Verbose Machine Checks"
430 config VERBOSE_MCHECK_ON
431 int "Verbose Printing Mode (0=off, 1=on, 2=all)"
432 depends on VERBOSE_MCHECK
435 This option allows the default printing mode to be set, and then
436 possibly overridden by a boot command argument.
438 For example, if one wanted the option of printing verbose
439 machine checks, but wanted the default to be as if verbose
440 machine check printing was turned off, then one would choose
441 the printing mode to be 0. Then, upon reboot, one could add
442 the boot command line "verbose_mcheck=1" to get the normal
443 verbose machine check printing, or "verbose_mcheck=2" to get
444 the maximum information available.
446 Take the default (1) unless you want more control or more info.
449 prompt "Timer interrupt frequency (HZ)?"
450 default HZ_128 if ALPHA_QEMU
451 default HZ_1200 if ALPHA_RAWHIDE
454 The frequency at which timer interrupts occur. A high frequency
455 minimizes latency, whereas a low frequency minimizes overhead of
456 process accounting. The later effect is especially significant
457 when being run under QEMU.
459 Note that some Alpha hardware cannot change the interrupt frequency
460 of the timer. If unsure, say 1024 (or 1200 for Rawhide).
480 default 128 if HZ_128
481 default 256 if HZ_256
482 default 1200 if HZ_1200
486 tristate "SRM environment through procfs"
489 If you enable this option, a subdirectory inside /proc called
490 /proc/srm_environment will give you access to the all important
491 SRM environment variables (those which have a name) and also
492 to all others (by their internal number).
494 SRM is something like a BIOS for Alpha machines. There are some
495 other such BIOSes, like AlphaBIOS, which this driver cannot
496 support (hey, that's not SRM!).
498 Despite the fact that this driver doesn't work on all Alphas (but
499 only on those which have SRM as their firmware), it's save to
500 build it even if your particular machine doesn't know about SRM
501 (or if you intend to compile a generic kernel). It will simply
502 not create those subdirectory in /proc (and give you some warning,
505 This driver is also available as a module and will be called
510 # DUMMY_CONSOLE may be defined in drivers/video/console/Kconfig
511 # but we also need it if VGA_HOSE is set