1 # SPDX-License-Identifier: GPL-2.0
5 select ARCH_MIGHT_HAVE_PC_PARPORT
6 select ARCH_MIGHT_HAVE_PC_SERIO
7 select ARCH_USE_CMPXCHG_LOCKREF
11 select HAVE_PCSPKR_PLATFORM
12 select HAVE_PERF_EVENTS
14 select GENERIC_IRQ_PROBE
15 select AUTO_IRQ_AFFINITY if SMP
16 select GENERIC_IRQ_SHOW
17 select ARCH_WANT_IPC_PARSE_VERSION
18 select ARCH_HAVE_NMI_SAFE_CMPXCHG
20 select GENERIC_CLOCKEVENTS
21 select GENERIC_SMP_IDLE_THREAD
22 select GENERIC_STRNCPY_FROM_USER
23 select GENERIC_STRNLEN_USER
24 select HAVE_ARCH_AUDITSYSCALL
25 select HAVE_MOD_ARCH_SPECIFIC
26 select MODULES_USE_ELF_RELA
27 select ODD_RT_SIGACTION
29 select CPU_NO_EFFICIENT_FFS if !ALPHA_EV67
31 The Alpha is a 64-bit general-purpose processor designed and
32 marketed by the Digital Equipment Corporation of blessed memory,
33 now Hewlett-Packard. The Alpha Linux project has a home page at
34 <http://www.alphalinux.org/>.
43 config RWSEM_GENERIC_SPINLOCK
46 config RWSEM_XCHGADD_ALGORITHM
50 config ARCH_HAS_ILOG2_U32
54 config ARCH_HAS_ILOG2_U64
58 config GENERIC_CALIBRATE_DELAY
66 config ARCH_DMA_ADDR_T_64BIT
69 config NEED_DMA_MAP_STATE
72 config NEED_SG_DMA_LENGTH
75 config GENERIC_ISA_DMA
84 source "kernel/Kconfig.freezer"
92 prompt "Alpha system type"
95 This is the system type of your hardware. A "generic" kernel will
96 run on any supported Alpha system. However, if you configure a
97 kernel for your specific system, it will be faster and smaller.
99 To find out what type of Alpha system you have, you may want to
100 check out the Linux/Alpha FAQ, accessible on the WWW from
101 <http://www.alphalinux.org/>. In summary:
103 Alcor/Alpha-XLT AS 600, AS 500, XL-300, XL-366
104 Alpha-XL XL-233, XL-266
105 AlphaBook1 Alpha laptop
106 Avanti AS 200, AS 205, AS 250, AS 255, AS 300, AS 400
107 Cabriolet AlphaPC64, AlphaPCI64
108 DP264 DP264 / DS20 / ES40 / DS10 / DS10L
109 EB164 EB164 21164 evaluation board
110 EB64+ EB64+ 21064 evaluation board
111 EB66 EB66 21066 evaluation board
112 EB66+ EB66+ 21066 evaluation board
113 Jensen DECpc 150, DEC 2000 models 300, 500
116 Miata Personal Workstation 433/500/600 a/au
117 Marvel AlphaServer ES47 / ES80 / GS1280
119 Noname AXPpci33, UDB (Multia)
120 Noritake AS 1000A, AS 600A, AS 800
122 Rawhide AS 1200, AS 4000, AS 4100
123 Ruffian RPX164-2, AlphaPC164-UX, AlphaPC164-BX
125 Sable AS 2000, AS 2100
128 Titan AlphaServer ES45 / DS25 / DS15
129 Wildfire AlphaServer GS 40/80/160/320
131 If you don't know what to do, choose "generic".
137 A generic kernel will run on all supported Alpha hardware.
140 bool "Alcor/Alpha-XLT"
142 For systems using the Digital ALCOR chipset: 5 chips (4, 64-bit data
143 slices (Data Switch, DSW) - 208-pin PQFP and 1 control (Control, I/O
144 Address, CIA) - a 383 pin plastic PGA). It provides a DRAM
145 controller (256-bit memory bus) and a PCI interface. It also does
146 all the work required to support an external Bcache and to maintain
147 memory coherence when a PCI device DMAs into (or out of) memory.
152 XL-233 and XL-266-based Alpha systems.
157 Dec AlphaBook1/Burns Alpha-based laptops.
159 config ALPHA_AVANTI_CH
162 config ALPHA_CABRIOLET
165 Cabriolet AlphaPC64, AlphaPCI64 systems. Derived from EB64+ but now
166 baby-AT with Flash boot ROM, no on-board SCSI or Ethernet. 3 ISA
167 slots, 4 PCI slots (one pair are on a shared slot), uses plug-in
168 Bcache SIMMs. Requires power supply with 3.3V output.
173 Various 21264 systems with the tsunami core logic chipset.
174 API Networks: 264DP, UP2000(+), CS20;
175 Compaq: DS10(E,L), XP900, XP1000, DS20(E), ES40.
180 EB164 21164 evaluation board from DEC. Uses 21164 and ALCOR. Has
181 ISA and PCI expansion (3 ISA slots, 2 64-bit PCI slots (one is
182 shared with an ISA slot) and 2 32-bit PCI slots. Uses plus-in
183 Bcache SIMMs. I/O sub-system provides SuperI/O (2S, 1P, FD), KBD,
184 MOUSE (PS2 style), RTC/NVRAM. Boot ROM is Flash. PC-AT-sized
185 motherboard. Requires power supply with 3.3V output.
187 config ALPHA_EB64P_CH
193 A Digital DS group board. Uses 21066 or 21066A. I/O sub-system is
194 identical to EB64+. Baby PC-AT size. Runs from standard PC power
195 supply. The EB66 schematic was published as a marketing poster
196 advertising the 21066 as "the first microprocessor in the world with
202 Later variant of the EB66 board.
207 Apparently an obscure OEM single-board computer based on the
208 Typhoon/Tsunami chipset family. Information on it is scanty.
214 DEC PC 150 AXP (aka Jensen): This is a very old Digital system - one
215 of the first-generation Alpha systems. A number of these systems
216 seem to be available on the second- hand market. The Jensen is a
217 floor-standing tower system which originally used a 150MHz 21064 It
218 used programmable logic to interface a 486 EISA I/O bridge to the
224 A technical overview of this board is available at
225 <http://www.unix-ag.org/Linux-Alpha/Architectures/LX164.html>.
230 AlphaServer 2100A-based systems.
235 AlphaServer ES47 / ES80 / GS1280 based on EV7.
240 The Digital PersonalWorkStation (PWS 433a, 433au, 500a, 500au, 600a,
246 AlphaServer 1000-based Alpha systems.
248 config ALPHA_NAUTILUS
251 Alpha systems based on the AMD 751 & ALI 1543C chipsets.
253 config ALPHA_NONAME_CH
256 config ALPHA_NORITAKE
259 AlphaServer 1000A, AlphaServer 600A, and AlphaServer 800-based
271 AlphaServer 1200, AlphaServer 4000 and AlphaServer 4100 machines.
273 <http://www.alphalinux.org/docs/rawhide/4100_install.shtml>.
278 Samsung APC164UX. There is a page on known problems and workarounds
279 at <http://www.alphalinux.org/faq/FAQ-11.html>.
290 Digital AlphaServer 2000 and 2100-based systems.
298 Alpha 11164-based OEM single-board computer.
303 AlphaServer ES45/DS25 SMP based on EV68 and Titan chipset.
305 config ALPHA_WILDFIRE
308 AlphaServer GS 40/80/160/320 SMP based on the EV67 core.
312 # clear all implied options (don't want default values for those):
313 # Most of these machines have ISA slots; not exactly sure which don't,
314 # and this doesn't activate hordes of code, so do it always.
319 Find out whether you have ISA slots on your motherboard. ISA is the
320 name of a bus system, i.e. the way the CPU talks to the other stuff
321 inside your box. Other bus systems are PCI, EISA, MicroChannel
322 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
323 newer boards don't support it. If you have ISA, say Y, otherwise N.
331 depends on !ALPHA_JENSEN
332 select GENERIC_PCI_IOMAP
335 Find out whether you have a PCI motherboard. PCI is the name of a
336 bus system, i.e. the way the CPU talks to the other stuff inside
337 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
338 VESA. If you have PCI, say Y, otherwise N.
352 depends on ALPHA_BOOK1 || ALPHA_NONAME_CH
355 The AXPpci33 (aka NoName), is based on the EB66 (includes the Multia
356 UDB). This design was produced by Digital's Technical OEM (TOEM)
357 group. It uses the 21066 processor running at 166MHz or 233MHz. It
358 is a baby-AT size, and runs from a standard PC power supply. It has
359 5 ISA slots and 3 PCI slots (one pair are a shared slot). There are
360 2 versions, with either PS/2 or large DIN connectors for the
365 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
366 default y if !ALPHA_LYNX
370 depends on ALPHA_NONAME || ALPHA_EB66 || ALPHA_EB66P || ALPHA_P2K
375 depends on !ALPHA_PRIMO && (ALPHA_NORITAKE || ALPHA_MIKASA) || ALPHA_CABRIOLET || ALPHA_AVANTI_CH || ALPHA_EB64P_CH || ALPHA_XL
380 depends on ALPHA_CABRIOLET || ALPHA_EB64P_CH
383 Uses 21064 or 21064A and APECs. Has ISA and PCI expansion (3 ISA,
384 2 PCI, one pair are on a shared slot). Supports 36-bit DRAM SIMs.
385 ISA bus generated by Intel SaturnI/O PCI-ISA bridge. On-board SCSI
386 (NCR 810 on PCI) Ethernet (Digital 21040), KBD, MOUSE (PS2 style),
387 SuperI/O (2S, 1P, FD), RTC/NVRAM. Boot ROM is EPROM. PC-AT size.
388 Runs from standard PC power supply.
391 bool "EV5 CPU(s) (model 5/xxx)?" if ALPHA_LYNX
392 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
396 default y if ALPHA_LYNX && !ALPHA_EV5
400 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
404 bool "EV56 CPU (speed >= 366MHz)?" if ALPHA_ALCOR
405 default y if ALPHA_RX164 || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN || ALPHA_PC164 || ALPHA_TAKARA
408 prompt "EV56 CPU (speed >= 333MHz)?"
409 depends on ALPHA_NORITAKE || ALPHA_PRIMO
412 prompt "EV56 CPU (speed >= 400MHz)?"
413 depends on ALPHA_RAWHIDE
416 bool "EV5 CPU daughtercard (model 5/xxx)?"
417 depends on ALPHA_NORITAKE || ALPHA_MIKASA
419 Say Y if you have an AS 1000 5/xxx or an AS 1000A 5/xxx.
422 bool "EV5 CPU(s) (model 5/xxx)?"
423 depends on ALPHA_SABLE
425 Say Y if you have an AS 2000 5/xxx or an AS 2100 5/xxx.
429 depends on ALPHA_LYNX
434 depends on ALPHA_SABLE || ALPHA_LYNX
439 depends on ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN
444 depends on ALPHA_NAUTILUS || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_DP264 || ALPHA_EIGER || ALPHA_MARVEL
449 depends on ALPHA_SHARK || ALPHA_DP264 || ALPHA_EIGER
453 bool "EV67 (or later) CPU (speed > 600MHz)?" if ALPHA_DP264 || ALPHA_EIGER
454 default y if ALPHA_NAUTILUS || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_MARVEL
456 Is this a machine based on the EV67 core? If in doubt, select N here
457 and the machine will be treated as an EV6.
461 depends on ALPHA_RAWHIDE
466 depends on ALPHA_RX164
469 config ALPHA_IRONGATE
471 depends on ALPHA_NAUTILUS
474 config GENERIC_HWEIGHT
476 default y if !ALPHA_EV67
480 depends on ALPHA_XL || ALPHA_AVANTI_CH
483 Avanti AS 200, AS 205, AS 250, AS 255, AS 300, and AS 400-based
485 <http://www.unix-ag.org/Linux-Alpha/Architectures/Avanti.html>.
487 config ALPHA_BROKEN_IRQ_MASK
489 depends on ALPHA_GENERIC || ALPHA_PC164
494 depends on VGA_CONSOLE && (ALPHA_GENERIC || ALPHA_TITAN || ALPHA_MARVEL || ALPHA_TSUNAMI)
497 Support VGA on an arbitrary hose; needed for several platforms
498 which always have multiple hoses, and whose consoles support it.
502 bool "Run under QEMU emulation"
503 depends on !ALPHA_GENERIC
505 Assume the presence of special features supported by QEMU PALcode
506 that reduce the overhead of system emulation.
508 Generic kernels will auto-detect QEMU. But when building a
509 system-specific kernel, the assumption is that we want to
510 eliminate as many runtime tests as possible.
516 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
518 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
520 There are two different types of booting firmware on Alphas: SRM,
521 which is command line driven, and ARC, which uses menus and arrow
522 keys. Details about the Linux/Alpha booting process are contained in
523 the Linux/Alpha FAQ, accessible on the WWW from
524 <http://www.alphalinux.org/>.
526 The usual way to load Linux on an Alpha machine is to use MILO
527 (a bootloader that lets you pass command line parameters to the
528 kernel just like lilo does for the x86 architecture) which can be
529 loaded either from ARC or can be installed directly as a permanent
530 firmware replacement from floppy (which requires changing a certain
531 jumper on the motherboard). If you want to do either of these, say N
532 here. If MILO doesn't work on your system (true for Jensen
533 motherboards), you can bypass it altogether and boot Linux directly
534 from an SRM console; say Y here in order to do that. Note that you
535 won't be able to boot from an IDE disk using SRM.
541 depends on ALPHA_GENERIC || ALPHA_JENSEN || ALPHA_ALCOR || ALPHA_MIKASA || ALPHA_SABLE || ALPHA_LYNX || ALPHA_NORITAKE || ALPHA_RAWHIDE
544 config ARCH_MAY_HAVE_PC_FDC
548 bool "Symmetric multi-processing support"
549 depends on ALPHA_SABLE || ALPHA_LYNX || ALPHA_RAWHIDE || ALPHA_DP264 || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_GENERIC || ALPHA_SHARK || ALPHA_MARVEL
551 This enables support for systems with more than one CPU. If you have
552 a system with only one CPU, say N. If you have a system with more
555 If you say N here, the kernel will run on uni- and multiprocessor
556 machines, but will use only one CPU of a multiprocessor machine. If
557 you say Y here, the kernel will run on many, but not all,
558 uniprocessor machines. On a uniprocessor machine, the kernel
559 will run faster if you say N here.
561 See also the SMP-HOWTO available at
562 <http://www.tldp.org/docs.html#howto>.
564 If you don't know what to do here, say N.
572 int "Maximum number of CPUs (2-32)"
575 default "32" if ALPHA_GENERIC || ALPHA_MARVEL
576 default "4" if !ALPHA_GENERIC && !ALPHA_MARVEL
578 MARVEL support can handle a maximum of 32 CPUs, all the others
579 with working support have a maximum of 4 CPUs.
581 config ARCH_DISCONTIGMEM_ENABLE
582 bool "Discontiguous Memory Support"
584 Say Y to support efficient handling of discontiguous physical memory,
585 for architectures which are either NUMA (Non-Uniform Memory Access)
586 or have huge holes in the physical address space for other reasons.
587 See <file:Documentation/vm/numa> for more.
592 bool "NUMA Support (EXPERIMENTAL)"
593 depends on DISCONTIGMEM && BROKEN
595 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
596 Access). This option is for configuring high-end multiprocessor
597 server machines. If in doubt, say N.
600 bool "Use WTINT" if ALPHA_SRM || ALPHA_GENERIC
601 default y if ALPHA_QEMU
602 default n if ALPHA_EV5 || ALPHA_EV56 || (ALPHA_EV4 && !ALPHA_LCA)
603 default n if !ALPHA_SRM && !ALPHA_GENERIC
606 The Wait for Interrupt (WTINT) PALcall attempts to place the CPU
607 to sleep until the next interrupt. This may reduce the power
608 consumed, and the heat produced by the computer. However, it has
609 the side effect of making the cycle counter unreliable as a timing
610 device across the sleep.
612 For emulation under QEMU, definitely say Y here, as we have other
613 mechanisms for measuring time than the cycle counter.
615 For EV4 (but not LCA), EV5 and EV56 systems, or for systems running
616 MILO, sleep mode is not supported so you might as well say N here.
618 For SMP systems we cannot use the cycle counter for timing anyway,
619 so you might as well say Y here.
626 depends on NEED_MULTIPLE_NODES
628 # LARGE_VMALLOC is racy, if you *really* need it then fix it first
629 config ALPHA_LARGE_VMALLOC
632 Process creation and other aspects of virtual memory management can
633 be streamlined if we restrict the kernel to one PGD for all vmalloc
634 allocations. This equates to about 8GB.
636 Under normal circumstances, this is so far and above what is needed
637 as to be laughable. However, there are certain applications (such
638 as benchmark-grade in-kernel web serving) that can make use of as
639 much vmalloc space as is available.
641 Say N unless you know you need gobs and gobs of vmalloc space.
643 config VERBOSE_MCHECK
644 bool "Verbose Machine Checks"
646 config VERBOSE_MCHECK_ON
647 int "Verbose Printing Mode (0=off, 1=on, 2=all)"
648 depends on VERBOSE_MCHECK
651 This option allows the default printing mode to be set, and then
652 possibly overridden by a boot command argument.
654 For example, if one wanted the option of printing verbose
655 machine checks, but wanted the default to be as if verbose
656 machine check printing was turned off, then one would choose
657 the printing mode to be 0. Then, upon reboot, one could add
658 the boot command line "verbose_mcheck=1" to get the normal
659 verbose machine check printing, or "verbose_mcheck=2" to get
660 the maximum information available.
662 Take the default (1) unless you want more control or more info.
665 prompt "Timer interrupt frequency (HZ)?"
666 default HZ_128 if ALPHA_QEMU
667 default HZ_1200 if ALPHA_RAWHIDE
670 The frequency at which timer interrupts occur. A high frequency
671 minimizes latency, whereas a low frequency minimizes overhead of
672 process accounting. The later effect is especially significant
673 when being run under QEMU.
675 Note that some Alpha hardware cannot change the interrupt frequency
676 of the timer. If unsure, say 1024 (or 1200 for Rawhide).
696 default 128 if HZ_128
697 default 256 if HZ_256
698 default 1200 if HZ_1200
701 source "drivers/pci/Kconfig"
702 source "drivers/eisa/Kconfig"
704 source "drivers/pcmcia/Kconfig"
707 tristate "SRM environment through procfs"
710 If you enable this option, a subdirectory inside /proc called
711 /proc/srm_environment will give you access to the all important
712 SRM environment variables (those which have a name) and also
713 to all others (by their internal number).
715 SRM is something like a BIOS for Alpha machines. There are some
716 other such BIOSes, like AlphaBIOS, which this driver cannot
717 support (hey, that's not SRM!).
719 Despite the fact that this driver doesn't work on all Alphas (but
720 only on those which have SRM as their firmware), it's save to
721 build it even if your particular machine doesn't know about SRM
722 (or if you intend to compile a generic kernel). It will simply
723 not create those subdirectory in /proc (and give you some warning,
726 This driver is also available as a module and will be called
729 source "fs/Kconfig.binfmt"
735 source "drivers/Kconfig"
739 source "arch/alpha/Kconfig.debug"
741 # DUMMY_CONSOLE may be defined in drivers/video/console/Kconfig
742 # but we also need it if VGA_HOSE is set
748 source "security/Kconfig"
750 source "crypto/Kconfig"