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
13 select FORCE_PCI if !ALPHA_JENSEN
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 Alpha-XL XL-233, XL-266
94 AlphaBook1 Alpha laptop
95 Avanti AS 200, AS 205, AS 250, AS 255, AS 300, AS 400
96 Cabriolet AlphaPC64, AlphaPCI64
97 DP264 DP264 / DS20 / ES40 / DS10 / DS10L
98 EB164 EB164 21164 evaluation board
99 EB64+ EB64+ 21064 evaluation board
100 EB66 EB66 21066 evaluation board
101 EB66+ EB66+ 21066 evaluation board
102 Jensen DECpc 150, DEC 2000 models 300, 500
105 Miata Personal Workstation 433/500/600 a/au
106 Marvel AlphaServer ES47 / ES80 / GS1280
108 Noname AXPpci33, UDB (Multia)
109 Noritake AS 1000A, AS 600A, AS 800
111 Rawhide AS 1200, AS 4000, AS 4100
112 Ruffian RPX164-2, AlphaPC164-UX, AlphaPC164-BX
114 Sable AS 2000, AS 2100
117 Titan AlphaServer ES45 / DS25 / DS15
118 Wildfire AlphaServer GS 40/80/160/320
120 If you don't know what to do, choose "generic".
127 A generic kernel will run on all supported Alpha hardware.
130 bool "Alcor/Alpha-XLT"
133 For systems using the Digital ALCOR chipset: 5 chips (4, 64-bit data
134 slices (Data Switch, DSW) - 208-pin PQFP and 1 control (Control, I/O
135 Address, CIA) - a 383 pin plastic PGA). It provides a DRAM
136 controller (256-bit memory bus) and a PCI interface. It also does
137 all the work required to support an external Bcache and to maintain
138 memory coherence when a PCI device DMAs into (or out of) memory.
143 XL-233 and XL-266-based Alpha systems.
148 Dec AlphaBook1/Burns Alpha-based laptops.
150 config ALPHA_AVANTI_CH
153 config ALPHA_CABRIOLET
156 Cabriolet AlphaPC64, AlphaPCI64 systems. Derived from EB64+ but now
157 baby-AT with Flash boot ROM, no on-board SCSI or Ethernet. 3 ISA
158 slots, 4 PCI slots (one pair are on a shared slot), uses plug-in
159 Bcache SIMMs. Requires power supply with 3.3V output.
164 Various 21264 systems with the tsunami core logic chipset.
165 API Networks: 264DP, UP2000(+), CS20;
166 Compaq: DS10(E,L), XP900, XP1000, DS20(E), ES40.
171 EB164 21164 evaluation board from DEC. Uses 21164 and ALCOR. Has
172 ISA and PCI expansion (3 ISA slots, 2 64-bit PCI slots (one is
173 shared with an ISA slot) and 2 32-bit PCI slots. Uses plus-in
174 Bcache SIMMs. I/O sub-system provides SuperI/O (2S, 1P, FD), KBD,
175 MOUSE (PS2 style), RTC/NVRAM. Boot ROM is Flash. PC-AT-sized
176 motherboard. Requires power supply with 3.3V output.
178 config ALPHA_EB64P_CH
184 A Digital DS group board. Uses 21066 or 21066A. I/O sub-system is
185 identical to EB64+. Baby PC-AT size. Runs from standard PC power
186 supply. The EB66 schematic was published as a marketing poster
187 advertising the 21066 as "the first microprocessor in the world with
193 Later variant of the EB66 board.
198 Apparently an obscure OEM single-board computer based on the
199 Typhoon/Tsunami chipset family. Information on it is scanty.
205 DEC PC 150 AXP (aka Jensen): This is a very old Digital system - one
206 of the first-generation Alpha systems. A number of these systems
207 seem to be available on the second- hand market. The Jensen is a
208 floor-standing tower system which originally used a 150MHz 21064 It
209 used programmable logic to interface a 486 EISA I/O bridge to the
215 A technical overview of this board is available at
216 <http://www.unix-ag.org/Linux-Alpha/Architectures/LX164.html>.
222 AlphaServer 2100A-based systems.
227 AlphaServer ES47 / ES80 / GS1280 based on EV7.
233 The Digital PersonalWorkStation (PWS 433a, 433au, 500a, 500au, 600a,
239 AlphaServer 1000-based Alpha systems.
241 config ALPHA_NAUTILUS
244 Alpha systems based on the AMD 751 & ALI 1543C chipsets.
246 config ALPHA_NONAME_CH
249 config ALPHA_NORITAKE
253 AlphaServer 1000A, AlphaServer 600A, and AlphaServer 800-based
266 AlphaServer 1200, AlphaServer 4000 and AlphaServer 4100 machines.
268 <http://www.alphalinux.org/docs/rawhide/4100_install.shtml>.
273 Samsung APC164UX. There is a page on known problems and workarounds
274 at <http://www.alphalinux.org/faq/FAQ-11.html>.
286 Digital AlphaServer 2000 and 2100-based systems.
294 Alpha 11164-based OEM single-board computer.
299 AlphaServer ES45/DS25 SMP based on EV68 and Titan chipset.
301 config ALPHA_WILDFIRE
304 AlphaServer GS 40/80/160/320 SMP based on the EV67 core.
308 # clear all implied options (don't want default values for those):
309 # Most of these machines have ISA slots; not exactly sure which don't,
310 # and this doesn't activate hordes of code, so do it always.
315 Find out whether you have ISA slots on your motherboard. ISA is the
316 name of a bus system, i.e. the way the CPU talks to the other stuff
317 inside your box. Other bus systems are PCI, EISA, MicroChannel
318 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
319 newer boards don't support it. If you have ISA, say Y, otherwise N.
327 depends on ALPHA_BOOK1 || ALPHA_NONAME_CH
330 The AXPpci33 (aka NoName), is based on the EB66 (includes the Multia
331 UDB). This design was produced by Digital's Technical OEM (TOEM)
332 group. It uses the 21066 processor running at 166MHz or 233MHz. It
333 is a baby-AT size, and runs from a standard PC power supply. It has
334 5 ISA slots and 3 PCI slots (one pair are a shared slot). There are
335 2 versions, with either PS/2 or large DIN connectors for the
340 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
341 default y if !ALPHA_LYNX
342 default y if !ALPHA_EV5
346 depends on ALPHA_NONAME || ALPHA_EB66 || ALPHA_EB66P || ALPHA_P2K
351 depends on !ALPHA_PRIMO && (ALPHA_NORITAKE || ALPHA_MIKASA) || ALPHA_CABRIOLET || ALPHA_AVANTI_CH || ALPHA_EB64P_CH || ALPHA_XL
356 depends on ALPHA_CABRIOLET || ALPHA_EB64P_CH
359 Uses 21064 or 21064A and APECs. Has ISA and PCI expansion (3 ISA,
360 2 PCI, one pair are on a shared slot). Supports 36-bit DRAM SIMs.
361 ISA bus generated by Intel SaturnI/O PCI-ISA bridge. On-board SCSI
362 (NCR 810 on PCI) Ethernet (Digital 21040), KBD, MOUSE (PS2 style),
363 SuperI/O (2S, 1P, FD), RTC/NVRAM. Boot ROM is EPROM. PC-AT size.
364 Runs from standard PC power supply.
367 bool "EV5 CPU(s) (model 5/xxx)?" if ALPHA_LYNX
368 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
372 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
376 bool "EV56 CPU (speed >= 366MHz)?" if ALPHA_ALCOR
377 default y if ALPHA_RX164 || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN || ALPHA_PC164 || ALPHA_TAKARA
380 prompt "EV56 CPU (speed >= 333MHz)?"
381 depends on ALPHA_NORITAKE || ALPHA_PRIMO
384 prompt "EV56 CPU (speed >= 400MHz)?"
385 depends on ALPHA_RAWHIDE
388 bool "EV5 CPU daughtercard (model 5/xxx)?"
389 depends on ALPHA_NORITAKE || ALPHA_MIKASA
391 Say Y if you have an AS 1000 5/xxx or an AS 1000A 5/xxx.
394 bool "EV5 CPU(s) (model 5/xxx)?" if ALPHA_SABLE
395 depends on ALPHA_SABLE || ALPHA_LYNX
398 Say Y if you have an AS 2000 5/xxx or an AS 2100 5/xxx.
402 depends on ALPHA_SABLE || ALPHA_LYNX
407 depends on ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN
412 depends on ALPHA_NAUTILUS || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_DP264 || ALPHA_EIGER || ALPHA_MARVEL
417 depends on ALPHA_SHARK || ALPHA_DP264 || ALPHA_EIGER
421 bool "EV67 (or later) CPU (speed > 600MHz)?" if ALPHA_DP264 || ALPHA_EIGER
422 default y if ALPHA_NAUTILUS || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_MARVEL
424 Is this a machine based on the EV67 core? If in doubt, select N here
425 and the machine will be treated as an EV6.
429 depends on ALPHA_RAWHIDE
434 depends on ALPHA_RX164
437 config ALPHA_IRONGATE
439 depends on ALPHA_NAUTILUS
442 config GENERIC_HWEIGHT
444 default y if !ALPHA_EV67
448 depends on ALPHA_XL || ALPHA_AVANTI_CH
451 Avanti AS 200, AS 205, AS 250, AS 255, AS 300, and AS 400-based
453 <http://www.unix-ag.org/Linux-Alpha/Architectures/Avanti.html>.
455 config ALPHA_BROKEN_IRQ_MASK
457 depends on ALPHA_GENERIC || ALPHA_PC164
462 depends on VGA_CONSOLE && (ALPHA_GENERIC || ALPHA_TITAN || ALPHA_MARVEL || ALPHA_TSUNAMI)
465 Support VGA on an arbitrary hose; needed for several platforms
466 which always have multiple hoses, and whose consoles support it.
470 bool "Run under QEMU emulation"
471 depends on !ALPHA_GENERIC
473 Assume the presence of special features supported by QEMU PALcode
474 that reduce the overhead of system emulation.
476 Generic kernels will auto-detect QEMU. But when building a
477 system-specific kernel, the assumption is that we want to
478 eliminate as many runtime tests as possible.
484 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
486 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
488 There are two different types of booting firmware on Alphas: SRM,
489 which is command line driven, and ARC, which uses menus and arrow
490 keys. Details about the Linux/Alpha booting process are contained in
491 the Linux/Alpha FAQ, accessible on the WWW from
492 <http://www.alphalinux.org/>.
494 The usual way to load Linux on an Alpha machine is to use MILO
495 (a bootloader that lets you pass command line parameters to the
496 kernel just like lilo does for the x86 architecture) which can be
497 loaded either from ARC or can be installed directly as a permanent
498 firmware replacement from floppy (which requires changing a certain
499 jumper on the motherboard). If you want to do either of these, say N
500 here. If MILO doesn't work on your system (true for Jensen
501 motherboards), you can bypass it altogether and boot Linux directly
502 from an SRM console; say Y here in order to do that. Note that you
503 won't be able to boot from an IDE disk using SRM.
507 config ARCH_MAY_HAVE_PC_FDC
511 bool "Symmetric multi-processing support"
512 depends on ALPHA_SABLE || ALPHA_LYNX || ALPHA_RAWHIDE || ALPHA_DP264 || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_GENERIC || ALPHA_SHARK || ALPHA_MARVEL
514 This enables support for systems with more than one CPU. If you have
515 a system with only one CPU, say N. If you have a system with more
518 If you say N here, the kernel will run on uni- and multiprocessor
519 machines, but will use only one CPU of a multiprocessor machine. If
520 you say Y here, the kernel will run on many, but not all,
521 uniprocessor machines. On a uniprocessor machine, the kernel
522 will run faster if you say N here.
524 See also the SMP-HOWTO available at
525 <https://www.tldp.org/docs.html#howto>.
527 If you don't know what to do here, say N.
530 int "Maximum number of CPUs (2-32)"
533 default "32" if ALPHA_GENERIC || ALPHA_MARVEL
534 default "4" if !ALPHA_GENERIC && !ALPHA_MARVEL
536 MARVEL support can handle a maximum of 32 CPUs, all the others
537 with working support have a maximum of 4 CPUs.
539 config ARCH_SPARSEMEM_ENABLE
540 bool "Sparse Memory Support"
542 Say Y to support efficient handling of discontiguous physical memory,
543 for systems that have huge holes in the physical address space.
546 bool "Use WTINT" if ALPHA_SRM || ALPHA_GENERIC
547 default y if ALPHA_QEMU
548 default n if ALPHA_EV5 || ALPHA_EV56 || (ALPHA_EV4 && !ALPHA_LCA)
549 default n if !ALPHA_SRM && !ALPHA_GENERIC
552 The Wait for Interrupt (WTINT) PALcall attempts to place the CPU
553 to sleep until the next interrupt. This may reduce the power
554 consumed, and the heat produced by the computer. However, it has
555 the side effect of making the cycle counter unreliable as a timing
556 device across the sleep.
558 For emulation under QEMU, definitely say Y here, as we have other
559 mechanisms for measuring time than the cycle counter.
561 For EV4 (but not LCA), EV5 and EV56 systems, or for systems running
562 MILO, sleep mode is not supported so you might as well say N here.
564 For SMP systems we cannot use the cycle counter for timing anyway,
565 so you might as well say Y here.
569 # LARGE_VMALLOC is racy, if you *really* need it then fix it first
570 config ALPHA_LARGE_VMALLOC
573 Process creation and other aspects of virtual memory management can
574 be streamlined if we restrict the kernel to one PGD for all vmalloc
575 allocations. This equates to about 8GB.
577 Under normal circumstances, this is so far and above what is needed
578 as to be laughable. However, there are certain applications (such
579 as benchmark-grade in-kernel web serving) that can make use of as
580 much vmalloc space as is available.
582 Say N unless you know you need gobs and gobs of vmalloc space.
584 config VERBOSE_MCHECK
585 bool "Verbose Machine Checks"
587 config VERBOSE_MCHECK_ON
588 int "Verbose Printing Mode (0=off, 1=on, 2=all)"
589 depends on VERBOSE_MCHECK
592 This option allows the default printing mode to be set, and then
593 possibly overridden by a boot command argument.
595 For example, if one wanted the option of printing verbose
596 machine checks, but wanted the default to be as if verbose
597 machine check printing was turned off, then one would choose
598 the printing mode to be 0. Then, upon reboot, one could add
599 the boot command line "verbose_mcheck=1" to get the normal
600 verbose machine check printing, or "verbose_mcheck=2" to get
601 the maximum information available.
603 Take the default (1) unless you want more control or more info.
606 prompt "Timer interrupt frequency (HZ)?"
607 default HZ_128 if ALPHA_QEMU
608 default HZ_1200 if ALPHA_RAWHIDE
611 The frequency at which timer interrupts occur. A high frequency
612 minimizes latency, whereas a low frequency minimizes overhead of
613 process accounting. The later effect is especially significant
614 when being run under QEMU.
616 Note that some Alpha hardware cannot change the interrupt frequency
617 of the timer. If unsure, say 1024 (or 1200 for Rawhide).
637 default 128 if HZ_128
638 default 256 if HZ_256
639 default 1200 if HZ_1200
643 tristate "SRM environment through procfs"
646 If you enable this option, a subdirectory inside /proc called
647 /proc/srm_environment will give you access to the all important
648 SRM environment variables (those which have a name) and also
649 to all others (by their internal number).
651 SRM is something like a BIOS for Alpha machines. There are some
652 other such BIOSes, like AlphaBIOS, which this driver cannot
653 support (hey, that's not SRM!).
655 Despite the fact that this driver doesn't work on all Alphas (but
656 only on those which have SRM as their firmware), it's save to
657 build it even if your particular machine doesn't know about SRM
658 (or if you intend to compile a generic kernel). It will simply
659 not create those subdirectory in /proc (and give you some warning,
662 This driver is also available as a module and will be called
667 # DUMMY_CONSOLE may be defined in drivers/video/console/Kconfig
668 # but we also need it if VGA_HOSE is set