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_CPU_VULNERABILITIES
22 select GENERIC_SMP_IDLE_THREAD
23 select GENERIC_STRNCPY_FROM_USER
24 select GENERIC_STRNLEN_USER
25 select HAVE_ARCH_AUDITSYSCALL
26 select HAVE_MOD_ARCH_SPECIFIC
27 select MODULES_USE_ELF_RELA
28 select ODD_RT_SIGACTION
30 select CPU_NO_EFFICIENT_FFS if !ALPHA_EV67
32 The Alpha is a 64-bit general-purpose processor designed and
33 marketed by the Digital Equipment Corporation of blessed memory,
34 now Hewlett-Packard. The Alpha Linux project has a home page at
35 <http://www.alphalinux.org/>.
44 config RWSEM_GENERIC_SPINLOCK
47 config RWSEM_XCHGADD_ALGORITHM
51 config ARCH_HAS_ILOG2_U32
55 config ARCH_HAS_ILOG2_U64
59 config GENERIC_CALIBRATE_DELAY
67 config ARCH_DMA_ADDR_T_64BIT
70 config NEED_DMA_MAP_STATE
73 config NEED_SG_DMA_LENGTH
76 config GENERIC_ISA_DMA
85 source "kernel/Kconfig.freezer"
93 prompt "Alpha system type"
96 This is the system type of your hardware. A "generic" kernel will
97 run on any supported Alpha system. However, if you configure a
98 kernel for your specific system, it will be faster and smaller.
100 To find out what type of Alpha system you have, you may want to
101 check out the Linux/Alpha FAQ, accessible on the WWW from
102 <http://www.alphalinux.org/>. In summary:
104 Alcor/Alpha-XLT AS 600, AS 500, XL-300, XL-366
105 Alpha-XL XL-233, XL-266
106 AlphaBook1 Alpha laptop
107 Avanti AS 200, AS 205, AS 250, AS 255, AS 300, AS 400
108 Cabriolet AlphaPC64, AlphaPCI64
109 DP264 DP264 / DS20 / ES40 / DS10 / DS10L
110 EB164 EB164 21164 evaluation board
111 EB64+ EB64+ 21064 evaluation board
112 EB66 EB66 21066 evaluation board
113 EB66+ EB66+ 21066 evaluation board
114 Jensen DECpc 150, DEC 2000 models 300, 500
117 Miata Personal Workstation 433/500/600 a/au
118 Marvel AlphaServer ES47 / ES80 / GS1280
120 Noname AXPpci33, UDB (Multia)
121 Noritake AS 1000A, AS 600A, AS 800
123 Rawhide AS 1200, AS 4000, AS 4100
124 Ruffian RPX164-2, AlphaPC164-UX, AlphaPC164-BX
126 Sable AS 2000, AS 2100
129 Titan AlphaServer ES45 / DS25 / DS15
130 Wildfire AlphaServer GS 40/80/160/320
132 If you don't know what to do, choose "generic".
138 A generic kernel will run on all supported Alpha hardware.
141 bool "Alcor/Alpha-XLT"
143 For systems using the Digital ALCOR chipset: 5 chips (4, 64-bit data
144 slices (Data Switch, DSW) - 208-pin PQFP and 1 control (Control, I/O
145 Address, CIA) - a 383 pin plastic PGA). It provides a DRAM
146 controller (256-bit memory bus) and a PCI interface. It also does
147 all the work required to support an external Bcache and to maintain
148 memory coherence when a PCI device DMAs into (or out of) memory.
153 XL-233 and XL-266-based Alpha systems.
158 Dec AlphaBook1/Burns Alpha-based laptops.
160 config ALPHA_AVANTI_CH
163 config ALPHA_CABRIOLET
166 Cabriolet AlphaPC64, AlphaPCI64 systems. Derived from EB64+ but now
167 baby-AT with Flash boot ROM, no on-board SCSI or Ethernet. 3 ISA
168 slots, 4 PCI slots (one pair are on a shared slot), uses plug-in
169 Bcache SIMMs. Requires power supply with 3.3V output.
174 Various 21264 systems with the tsunami core logic chipset.
175 API Networks: 264DP, UP2000(+), CS20;
176 Compaq: DS10(E,L), XP900, XP1000, DS20(E), ES40.
181 EB164 21164 evaluation board from DEC. Uses 21164 and ALCOR. Has
182 ISA and PCI expansion (3 ISA slots, 2 64-bit PCI slots (one is
183 shared with an ISA slot) and 2 32-bit PCI slots. Uses plus-in
184 Bcache SIMMs. I/O sub-system provides SuperI/O (2S, 1P, FD), KBD,
185 MOUSE (PS2 style), RTC/NVRAM. Boot ROM is Flash. PC-AT-sized
186 motherboard. Requires power supply with 3.3V output.
188 config ALPHA_EB64P_CH
194 A Digital DS group board. Uses 21066 or 21066A. I/O sub-system is
195 identical to EB64+. Baby PC-AT size. Runs from standard PC power
196 supply. The EB66 schematic was published as a marketing poster
197 advertising the 21066 as "the first microprocessor in the world with
203 Later variant of the EB66 board.
208 Apparently an obscure OEM single-board computer based on the
209 Typhoon/Tsunami chipset family. Information on it is scanty.
215 DEC PC 150 AXP (aka Jensen): This is a very old Digital system - one
216 of the first-generation Alpha systems. A number of these systems
217 seem to be available on the second- hand market. The Jensen is a
218 floor-standing tower system which originally used a 150MHz 21064 It
219 used programmable logic to interface a 486 EISA I/O bridge to the
225 A technical overview of this board is available at
226 <http://www.unix-ag.org/Linux-Alpha/Architectures/LX164.html>.
231 AlphaServer 2100A-based systems.
236 AlphaServer ES47 / ES80 / GS1280 based on EV7.
241 The Digital PersonalWorkStation (PWS 433a, 433au, 500a, 500au, 600a,
247 AlphaServer 1000-based Alpha systems.
249 config ALPHA_NAUTILUS
252 Alpha systems based on the AMD 751 & ALI 1543C chipsets.
254 config ALPHA_NONAME_CH
257 config ALPHA_NORITAKE
260 AlphaServer 1000A, AlphaServer 600A, and AlphaServer 800-based
272 AlphaServer 1200, AlphaServer 4000 and AlphaServer 4100 machines.
274 <http://www.alphalinux.org/docs/rawhide/4100_install.shtml>.
279 Samsung APC164UX. There is a page on known problems and workarounds
280 at <http://www.alphalinux.org/faq/FAQ-11.html>.
291 Digital AlphaServer 2000 and 2100-based systems.
299 Alpha 11164-based OEM single-board computer.
304 AlphaServer ES45/DS25 SMP based on EV68 and Titan chipset.
306 config ALPHA_WILDFIRE
309 AlphaServer GS 40/80/160/320 SMP based on the EV67 core.
313 # clear all implied options (don't want default values for those):
314 # Most of these machines have ISA slots; not exactly sure which don't,
315 # and this doesn't activate hordes of code, so do it always.
320 Find out whether you have ISA slots on your motherboard. ISA is the
321 name of a bus system, i.e. the way the CPU talks to the other stuff
322 inside your box. Other bus systems are PCI, EISA, MicroChannel
323 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
324 newer boards don't support it. If you have ISA, say Y, otherwise N.
332 depends on !ALPHA_JENSEN
333 select GENERIC_PCI_IOMAP
336 Find out whether you have a PCI motherboard. PCI is the name of a
337 bus system, i.e. the way the CPU talks to the other stuff inside
338 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
339 VESA. If you have PCI, say Y, otherwise N.
353 depends on ALPHA_BOOK1 || ALPHA_NONAME_CH
356 The AXPpci33 (aka NoName), is based on the EB66 (includes the Multia
357 UDB). This design was produced by Digital's Technical OEM (TOEM)
358 group. It uses the 21066 processor running at 166MHz or 233MHz. It
359 is a baby-AT size, and runs from a standard PC power supply. It has
360 5 ISA slots and 3 PCI slots (one pair are a shared slot). There are
361 2 versions, with either PS/2 or large DIN connectors for the
366 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
367 default y if !ALPHA_LYNX
371 depends on ALPHA_NONAME || ALPHA_EB66 || ALPHA_EB66P || ALPHA_P2K
376 depends on !ALPHA_PRIMO && (ALPHA_NORITAKE || ALPHA_MIKASA) || ALPHA_CABRIOLET || ALPHA_AVANTI_CH || ALPHA_EB64P_CH || ALPHA_XL
381 depends on ALPHA_CABRIOLET || ALPHA_EB64P_CH
384 Uses 21064 or 21064A and APECs. Has ISA and PCI expansion (3 ISA,
385 2 PCI, one pair are on a shared slot). Supports 36-bit DRAM SIMs.
386 ISA bus generated by Intel SaturnI/O PCI-ISA bridge. On-board SCSI
387 (NCR 810 on PCI) Ethernet (Digital 21040), KBD, MOUSE (PS2 style),
388 SuperI/O (2S, 1P, FD), RTC/NVRAM. Boot ROM is EPROM. PC-AT size.
389 Runs from standard PC power supply.
392 bool "EV5 CPU(s) (model 5/xxx)?" if ALPHA_LYNX
393 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
397 default y if ALPHA_LYNX && !ALPHA_EV5
401 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
405 bool "EV56 CPU (speed >= 366MHz)?" if ALPHA_ALCOR
406 default y if ALPHA_RX164 || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN || ALPHA_PC164 || ALPHA_TAKARA
409 prompt "EV56 CPU (speed >= 333MHz)?"
410 depends on ALPHA_NORITAKE || ALPHA_PRIMO
413 prompt "EV56 CPU (speed >= 400MHz)?"
414 depends on ALPHA_RAWHIDE
417 bool "EV5 CPU daughtercard (model 5/xxx)?"
418 depends on ALPHA_NORITAKE || ALPHA_MIKASA
420 Say Y if you have an AS 1000 5/xxx or an AS 1000A 5/xxx.
423 bool "EV5 CPU(s) (model 5/xxx)?"
424 depends on ALPHA_SABLE
426 Say Y if you have an AS 2000 5/xxx or an AS 2100 5/xxx.
430 depends on ALPHA_LYNX
435 depends on ALPHA_SABLE || ALPHA_LYNX
440 depends on ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN
445 depends on ALPHA_NAUTILUS || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_DP264 || ALPHA_EIGER || ALPHA_MARVEL
450 depends on ALPHA_SHARK || ALPHA_DP264 || ALPHA_EIGER
454 bool "EV67 (or later) CPU (speed > 600MHz)?" if ALPHA_DP264 || ALPHA_EIGER
455 default y if ALPHA_NAUTILUS || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_MARVEL
457 Is this a machine based on the EV67 core? If in doubt, select N here
458 and the machine will be treated as an EV6.
462 depends on ALPHA_RAWHIDE
467 depends on ALPHA_RX164
470 config ALPHA_IRONGATE
472 depends on ALPHA_NAUTILUS
475 config GENERIC_HWEIGHT
477 default y if !ALPHA_EV67
481 depends on ALPHA_XL || ALPHA_AVANTI_CH
484 Avanti AS 200, AS 205, AS 250, AS 255, AS 300, and AS 400-based
486 <http://www.unix-ag.org/Linux-Alpha/Architectures/Avanti.html>.
488 config ALPHA_BROKEN_IRQ_MASK
490 depends on ALPHA_GENERIC || ALPHA_PC164
495 depends on VGA_CONSOLE && (ALPHA_GENERIC || ALPHA_TITAN || ALPHA_MARVEL || ALPHA_TSUNAMI)
498 Support VGA on an arbitrary hose; needed for several platforms
499 which always have multiple hoses, and whose consoles support it.
503 bool "Run under QEMU emulation"
504 depends on !ALPHA_GENERIC
506 Assume the presence of special features supported by QEMU PALcode
507 that reduce the overhead of system emulation.
509 Generic kernels will auto-detect QEMU. But when building a
510 system-specific kernel, the assumption is that we want to
511 eliminate as many runtime tests as possible.
517 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
519 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
521 There are two different types of booting firmware on Alphas: SRM,
522 which is command line driven, and ARC, which uses menus and arrow
523 keys. Details about the Linux/Alpha booting process are contained in
524 the Linux/Alpha FAQ, accessible on the WWW from
525 <http://www.alphalinux.org/>.
527 The usual way to load Linux on an Alpha machine is to use MILO
528 (a bootloader that lets you pass command line parameters to the
529 kernel just like lilo does for the x86 architecture) which can be
530 loaded either from ARC or can be installed directly as a permanent
531 firmware replacement from floppy (which requires changing a certain
532 jumper on the motherboard). If you want to do either of these, say N
533 here. If MILO doesn't work on your system (true for Jensen
534 motherboards), you can bypass it altogether and boot Linux directly
535 from an SRM console; say Y here in order to do that. Note that you
536 won't be able to boot from an IDE disk using SRM.
542 depends on ALPHA_GENERIC || ALPHA_JENSEN || ALPHA_ALCOR || ALPHA_MIKASA || ALPHA_SABLE || ALPHA_LYNX || ALPHA_NORITAKE || ALPHA_RAWHIDE
545 config ARCH_MAY_HAVE_PC_FDC
549 bool "Symmetric multi-processing support"
550 depends on ALPHA_SABLE || ALPHA_LYNX || ALPHA_RAWHIDE || ALPHA_DP264 || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_GENERIC || ALPHA_SHARK || ALPHA_MARVEL
552 This enables support for systems with more than one CPU. If you have
553 a system with only one CPU, say N. If you have a system with more
556 If you say N here, the kernel will run on uni- and multiprocessor
557 machines, but will use only one CPU of a multiprocessor machine. If
558 you say Y here, the kernel will run on many, but not all,
559 uniprocessor machines. On a uniprocessor machine, the kernel
560 will run faster if you say N here.
562 See also the SMP-HOWTO available at
563 <http://www.tldp.org/docs.html#howto>.
565 If you don't know what to do here, say N.
573 int "Maximum number of CPUs (2-32)"
576 default "32" if ALPHA_GENERIC || ALPHA_MARVEL
577 default "4" if !ALPHA_GENERIC && !ALPHA_MARVEL
579 MARVEL support can handle a maximum of 32 CPUs, all the others
580 with working support have a maximum of 4 CPUs.
582 config ARCH_DISCONTIGMEM_ENABLE
583 bool "Discontiguous Memory Support"
585 Say Y to support efficient handling of discontiguous physical memory,
586 for architectures which are either NUMA (Non-Uniform Memory Access)
587 or have huge holes in the physical address space for other reasons.
588 See <file:Documentation/vm/numa> for more.
593 bool "NUMA Support (EXPERIMENTAL)"
594 depends on DISCONTIGMEM && BROKEN
596 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
597 Access). This option is for configuring high-end multiprocessor
598 server machines. If in doubt, say N.
601 bool "Use WTINT" if ALPHA_SRM || ALPHA_GENERIC
602 default y if ALPHA_QEMU
603 default n if ALPHA_EV5 || ALPHA_EV56 || (ALPHA_EV4 && !ALPHA_LCA)
604 default n if !ALPHA_SRM && !ALPHA_GENERIC
607 The Wait for Interrupt (WTINT) PALcall attempts to place the CPU
608 to sleep until the next interrupt. This may reduce the power
609 consumed, and the heat produced by the computer. However, it has
610 the side effect of making the cycle counter unreliable as a timing
611 device across the sleep.
613 For emulation under QEMU, definitely say Y here, as we have other
614 mechanisms for measuring time than the cycle counter.
616 For EV4 (but not LCA), EV5 and EV56 systems, or for systems running
617 MILO, sleep mode is not supported so you might as well say N here.
619 For SMP systems we cannot use the cycle counter for timing anyway,
620 so you might as well say Y here.
627 depends on NEED_MULTIPLE_NODES
629 # LARGE_VMALLOC is racy, if you *really* need it then fix it first
630 config ALPHA_LARGE_VMALLOC
633 Process creation and other aspects of virtual memory management can
634 be streamlined if we restrict the kernel to one PGD for all vmalloc
635 allocations. This equates to about 8GB.
637 Under normal circumstances, this is so far and above what is needed
638 as to be laughable. However, there are certain applications (such
639 as benchmark-grade in-kernel web serving) that can make use of as
640 much vmalloc space as is available.
642 Say N unless you know you need gobs and gobs of vmalloc space.
644 config VERBOSE_MCHECK
645 bool "Verbose Machine Checks"
647 config VERBOSE_MCHECK_ON
648 int "Verbose Printing Mode (0=off, 1=on, 2=all)"
649 depends on VERBOSE_MCHECK
652 This option allows the default printing mode to be set, and then
653 possibly overridden by a boot command argument.
655 For example, if one wanted the option of printing verbose
656 machine checks, but wanted the default to be as if verbose
657 machine check printing was turned off, then one would choose
658 the printing mode to be 0. Then, upon reboot, one could add
659 the boot command line "verbose_mcheck=1" to get the normal
660 verbose machine check printing, or "verbose_mcheck=2" to get
661 the maximum information available.
663 Take the default (1) unless you want more control or more info.
666 prompt "Timer interrupt frequency (HZ)?"
667 default HZ_128 if ALPHA_QEMU
668 default HZ_1200 if ALPHA_RAWHIDE
671 The frequency at which timer interrupts occur. A high frequency
672 minimizes latency, whereas a low frequency minimizes overhead of
673 process accounting. The later effect is especially significant
674 when being run under QEMU.
676 Note that some Alpha hardware cannot change the interrupt frequency
677 of the timer. If unsure, say 1024 (or 1200 for Rawhide).
697 default 128 if HZ_128
698 default 256 if HZ_256
699 default 1200 if HZ_1200
702 source "drivers/pci/Kconfig"
703 source "drivers/eisa/Kconfig"
705 source "drivers/pcmcia/Kconfig"
708 tristate "SRM environment through procfs"
711 If you enable this option, a subdirectory inside /proc called
712 /proc/srm_environment will give you access to the all important
713 SRM environment variables (those which have a name) and also
714 to all others (by their internal number).
716 SRM is something like a BIOS for Alpha machines. There are some
717 other such BIOSes, like AlphaBIOS, which this driver cannot
718 support (hey, that's not SRM!).
720 Despite the fact that this driver doesn't work on all Alphas (but
721 only on those which have SRM as their firmware), it's save to
722 build it even if your particular machine doesn't know about SRM
723 (or if you intend to compile a generic kernel). It will simply
724 not create those subdirectory in /proc (and give you some warning,
727 This driver is also available as a module and will be called
730 source "fs/Kconfig.binfmt"
736 source "drivers/Kconfig"
740 source "arch/alpha/Kconfig.debug"
742 # DUMMY_CONSOLE may be defined in drivers/video/console/Kconfig
743 # but we also need it if VGA_HOSE is set
749 source "security/Kconfig"
751 source "crypto/Kconfig"