1 # SPDX-License-Identifier: GPL-2.0
5 select ARCH_MIGHT_HAVE_PC_PARPORT
6 select ARCH_MIGHT_HAVE_PC_SERIO
8 select ARCH_USE_CMPXCHG_LOCKREF
12 select HAVE_PCSPKR_PLATFORM
13 select HAVE_PERF_EVENTS
14 select NEED_DMA_MAP_STATE
15 select NEED_SG_DMA_LENGTH
17 select GENERIC_IRQ_PROBE
18 select AUTO_IRQ_AFFINITY if SMP
19 select GENERIC_IRQ_SHOW
20 select ARCH_WANT_IPC_PARSE_VERSION
21 select ARCH_HAVE_NMI_SAFE_CMPXCHG
23 select GENERIC_CLOCKEVENTS
24 select GENERIC_CPU_VULNERABILITIES
25 select GENERIC_SMP_IDLE_THREAD
26 select GENERIC_STRNCPY_FROM_USER
27 select GENERIC_STRNLEN_USER
28 select HAVE_ARCH_AUDITSYSCALL
29 select HAVE_MOD_ARCH_SPECIFIC
30 select MODULES_USE_ELF_RELA
31 select ODD_RT_SIGACTION
33 select CPU_NO_EFFICIENT_FFS if !ALPHA_EV67
35 The Alpha is a 64-bit general-purpose processor designed and
36 marketed by the Digital Equipment Corporation of blessed memory,
37 now Hewlett-Packard. The Alpha Linux project has a home page at
38 <http://www.alphalinux.org/>.
47 config RWSEM_GENERIC_SPINLOCK
50 config RWSEM_XCHGADD_ALGORITHM
54 config ARCH_HAS_ILOG2_U32
58 config ARCH_HAS_ILOG2_U64
62 config GENERIC_CALIBRATE_DELAY
70 config GENERIC_ISA_DMA
84 prompt "Alpha system type"
87 This is the system type of your hardware. A "generic" kernel will
88 run on any supported Alpha system. However, if you configure a
89 kernel for your specific system, it will be faster and smaller.
91 To find out what type of Alpha system you have, you may want to
92 check out the Linux/Alpha FAQ, accessible on the WWW from
93 <http://www.alphalinux.org/>. In summary:
95 Alcor/Alpha-XLT AS 600, AS 500, XL-300, XL-366
96 Alpha-XL XL-233, XL-266
97 AlphaBook1 Alpha laptop
98 Avanti AS 200, AS 205, AS 250, AS 255, AS 300, AS 400
99 Cabriolet AlphaPC64, AlphaPCI64
100 DP264 DP264 / DS20 / ES40 / DS10 / DS10L
101 EB164 EB164 21164 evaluation board
102 EB64+ EB64+ 21064 evaluation board
103 EB66 EB66 21066 evaluation board
104 EB66+ EB66+ 21066 evaluation board
105 Jensen DECpc 150, DEC 2000 models 300, 500
108 Miata Personal Workstation 433/500/600 a/au
109 Marvel AlphaServer ES47 / ES80 / GS1280
111 Noname AXPpci33, UDB (Multia)
112 Noritake AS 1000A, AS 600A, AS 800
114 Rawhide AS 1200, AS 4000, AS 4100
115 Ruffian RPX164-2, AlphaPC164-UX, AlphaPC164-BX
117 Sable AS 2000, AS 2100
120 Titan AlphaServer ES45 / DS25 / DS15
121 Wildfire AlphaServer GS 40/80/160/320
123 If you don't know what to do, choose "generic".
129 A generic kernel will run on all supported Alpha hardware.
132 bool "Alcor/Alpha-XLT"
134 For systems using the Digital ALCOR chipset: 5 chips (4, 64-bit data
135 slices (Data Switch, DSW) - 208-pin PQFP and 1 control (Control, I/O
136 Address, CIA) - a 383 pin plastic PGA). It provides a DRAM
137 controller (256-bit memory bus) and a PCI interface. It also does
138 all the work required to support an external Bcache and to maintain
139 memory coherence when a PCI device DMAs into (or out of) memory.
144 XL-233 and XL-266-based Alpha systems.
149 Dec AlphaBook1/Burns Alpha-based laptops.
151 config ALPHA_AVANTI_CH
154 config ALPHA_CABRIOLET
157 Cabriolet AlphaPC64, AlphaPCI64 systems. Derived from EB64+ but now
158 baby-AT with Flash boot ROM, no on-board SCSI or Ethernet. 3 ISA
159 slots, 4 PCI slots (one pair are on a shared slot), uses plug-in
160 Bcache SIMMs. Requires power supply with 3.3V output.
165 Various 21264 systems with the tsunami core logic chipset.
166 API Networks: 264DP, UP2000(+), CS20;
167 Compaq: DS10(E,L), XP900, XP1000, DS20(E), ES40.
172 EB164 21164 evaluation board from DEC. Uses 21164 and ALCOR. Has
173 ISA and PCI expansion (3 ISA slots, 2 64-bit PCI slots (one is
174 shared with an ISA slot) and 2 32-bit PCI slots. Uses plus-in
175 Bcache SIMMs. I/O sub-system provides SuperI/O (2S, 1P, FD), KBD,
176 MOUSE (PS2 style), RTC/NVRAM. Boot ROM is Flash. PC-AT-sized
177 motherboard. Requires power supply with 3.3V output.
179 config ALPHA_EB64P_CH
185 A Digital DS group board. Uses 21066 or 21066A. I/O sub-system is
186 identical to EB64+. Baby PC-AT size. Runs from standard PC power
187 supply. The EB66 schematic was published as a marketing poster
188 advertising the 21066 as "the first microprocessor in the world with
194 Later variant of the EB66 board.
199 Apparently an obscure OEM single-board computer based on the
200 Typhoon/Tsunami chipset family. Information on it is scanty.
205 select DMA_DIRECT_OPS
207 DEC PC 150 AXP (aka Jensen): This is a very old Digital system - one
208 of the first-generation Alpha systems. A number of these systems
209 seem to be available on the second- hand market. The Jensen is a
210 floor-standing tower system which originally used a 150MHz 21064 It
211 used programmable logic to interface a 486 EISA I/O bridge to the
217 A technical overview of this board is available at
218 <http://www.unix-ag.org/Linux-Alpha/Architectures/LX164.html>.
223 AlphaServer 2100A-based systems.
228 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
252 AlphaServer 1000A, AlphaServer 600A, and AlphaServer 800-based
264 AlphaServer 1200, AlphaServer 4000 and AlphaServer 4100 machines.
266 <http://www.alphalinux.org/docs/rawhide/4100_install.shtml>.
271 Samsung APC164UX. There is a page on known problems and workarounds
272 at <http://www.alphalinux.org/faq/FAQ-11.html>.
283 Digital AlphaServer 2000 and 2100-based systems.
291 Alpha 11164-based OEM single-board computer.
296 AlphaServer ES45/DS25 SMP based on EV68 and Titan chipset.
298 config ALPHA_WILDFIRE
301 AlphaServer GS 40/80/160/320 SMP based on the EV67 core.
305 # clear all implied options (don't want default values for those):
306 # Most of these machines have ISA slots; not exactly sure which don't,
307 # and this doesn't activate hordes of code, so do it always.
312 Find out whether you have ISA slots on your motherboard. ISA is the
313 name of a bus system, i.e. the way the CPU talks to the other stuff
314 inside your box. Other bus systems are PCI, EISA, MicroChannel
315 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
316 newer boards don't support it. If you have ISA, say Y, otherwise N.
324 depends on !ALPHA_JENSEN
325 select GENERIC_PCI_IOMAP
328 Find out whether you have a PCI motherboard. PCI is the name of a
329 bus system, i.e. the way the CPU talks to the other stuff inside
330 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
331 VESA. If you have PCI, say Y, otherwise N.
342 depends on ALPHA_BOOK1 || ALPHA_NONAME_CH
345 The AXPpci33 (aka NoName), is based on the EB66 (includes the Multia
346 UDB). This design was produced by Digital's Technical OEM (TOEM)
347 group. It uses the 21066 processor running at 166MHz or 233MHz. It
348 is a baby-AT size, and runs from a standard PC power supply. It has
349 5 ISA slots and 3 PCI slots (one pair are a shared slot). There are
350 2 versions, with either PS/2 or large DIN connectors for the
355 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
356 default y if !ALPHA_LYNX
360 depends on ALPHA_NONAME || ALPHA_EB66 || ALPHA_EB66P || ALPHA_P2K
365 depends on !ALPHA_PRIMO && (ALPHA_NORITAKE || ALPHA_MIKASA) || ALPHA_CABRIOLET || ALPHA_AVANTI_CH || ALPHA_EB64P_CH || ALPHA_XL
370 depends on ALPHA_CABRIOLET || ALPHA_EB64P_CH
373 Uses 21064 or 21064A and APECs. Has ISA and PCI expansion (3 ISA,
374 2 PCI, one pair are on a shared slot). Supports 36-bit DRAM SIMs.
375 ISA bus generated by Intel SaturnI/O PCI-ISA bridge. On-board SCSI
376 (NCR 810 on PCI) Ethernet (Digital 21040), KBD, MOUSE (PS2 style),
377 SuperI/O (2S, 1P, FD), RTC/NVRAM. Boot ROM is EPROM. PC-AT size.
378 Runs from standard PC power supply.
381 bool "EV5 CPU(s) (model 5/xxx)?" if ALPHA_LYNX
382 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
386 default y if ALPHA_LYNX && !ALPHA_EV5
390 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
394 bool "EV56 CPU (speed >= 366MHz)?" if ALPHA_ALCOR
395 default y if ALPHA_RX164 || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN || ALPHA_PC164 || ALPHA_TAKARA
398 prompt "EV56 CPU (speed >= 333MHz)?"
399 depends on ALPHA_NORITAKE || ALPHA_PRIMO
402 prompt "EV56 CPU (speed >= 400MHz)?"
403 depends on ALPHA_RAWHIDE
406 bool "EV5 CPU daughtercard (model 5/xxx)?"
407 depends on ALPHA_NORITAKE || ALPHA_MIKASA
409 Say Y if you have an AS 1000 5/xxx or an AS 1000A 5/xxx.
412 bool "EV5 CPU(s) (model 5/xxx)?"
413 depends on ALPHA_SABLE
415 Say Y if you have an AS 2000 5/xxx or an AS 2100 5/xxx.
419 depends on ALPHA_LYNX
424 depends on ALPHA_SABLE || ALPHA_LYNX
429 depends on ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN
434 depends on ALPHA_NAUTILUS || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_DP264 || ALPHA_EIGER || ALPHA_MARVEL
439 depends on ALPHA_SHARK || ALPHA_DP264 || ALPHA_EIGER
443 bool "EV67 (or later) CPU (speed > 600MHz)?" if ALPHA_DP264 || ALPHA_EIGER
444 default y if ALPHA_NAUTILUS || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_MARVEL
446 Is this a machine based on the EV67 core? If in doubt, select N here
447 and the machine will be treated as an EV6.
451 depends on ALPHA_RAWHIDE
456 depends on ALPHA_RX164
459 config ALPHA_IRONGATE
461 depends on ALPHA_NAUTILUS
464 config GENERIC_HWEIGHT
466 default y if !ALPHA_EV67
470 depends on ALPHA_XL || ALPHA_AVANTI_CH
473 Avanti AS 200, AS 205, AS 250, AS 255, AS 300, and AS 400-based
475 <http://www.unix-ag.org/Linux-Alpha/Architectures/Avanti.html>.
477 config ALPHA_BROKEN_IRQ_MASK
479 depends on ALPHA_GENERIC || ALPHA_PC164
484 depends on VGA_CONSOLE && (ALPHA_GENERIC || ALPHA_TITAN || ALPHA_MARVEL || ALPHA_TSUNAMI)
487 Support VGA on an arbitrary hose; needed for several platforms
488 which always have multiple hoses, and whose consoles support it.
492 bool "Run under QEMU emulation"
493 depends on !ALPHA_GENERIC
495 Assume the presence of special features supported by QEMU PALcode
496 that reduce the overhead of system emulation.
498 Generic kernels will auto-detect QEMU. But when building a
499 system-specific kernel, the assumption is that we want to
500 eliminate as many runtime tests as possible.
506 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
508 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
510 There are two different types of booting firmware on Alphas: SRM,
511 which is command line driven, and ARC, which uses menus and arrow
512 keys. Details about the Linux/Alpha booting process are contained in
513 the Linux/Alpha FAQ, accessible on the WWW from
514 <http://www.alphalinux.org/>.
516 The usual way to load Linux on an Alpha machine is to use MILO
517 (a bootloader that lets you pass command line parameters to the
518 kernel just like lilo does for the x86 architecture) which can be
519 loaded either from ARC or can be installed directly as a permanent
520 firmware replacement from floppy (which requires changing a certain
521 jumper on the motherboard). If you want to do either of these, say N
522 here. If MILO doesn't work on your system (true for Jensen
523 motherboards), you can bypass it altogether and boot Linux directly
524 from an SRM console; say Y here in order to do that. Note that you
525 won't be able to boot from an IDE disk using SRM.
531 depends on ALPHA_GENERIC || ALPHA_JENSEN || ALPHA_ALCOR || ALPHA_MIKASA || ALPHA_SABLE || ALPHA_LYNX || ALPHA_NORITAKE || ALPHA_RAWHIDE
534 config ARCH_MAY_HAVE_PC_FDC
538 bool "Symmetric multi-processing support"
539 depends on ALPHA_SABLE || ALPHA_LYNX || ALPHA_RAWHIDE || ALPHA_DP264 || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_GENERIC || ALPHA_SHARK || ALPHA_MARVEL
541 This enables support for systems with more than one CPU. If you have
542 a system with only one CPU, say N. If you have a system with more
545 If you say N here, the kernel will run on uni- and multiprocessor
546 machines, but will use only one CPU of a multiprocessor machine. If
547 you say Y here, the kernel will run on many, but not all,
548 uniprocessor machines. On a uniprocessor machine, the kernel
549 will run faster if you say N here.
551 See also the SMP-HOWTO available at
552 <http://www.tldp.org/docs.html#howto>.
554 If you don't know what to do here, say N.
557 int "Maximum number of CPUs (2-32)"
560 default "32" if ALPHA_GENERIC || ALPHA_MARVEL
561 default "4" if !ALPHA_GENERIC && !ALPHA_MARVEL
563 MARVEL support can handle a maximum of 32 CPUs, all the others
564 with working support have a maximum of 4 CPUs.
566 config ARCH_DISCONTIGMEM_ENABLE
567 bool "Discontiguous Memory Support"
569 Say Y to support efficient handling of discontiguous physical memory,
570 for architectures which are either NUMA (Non-Uniform Memory Access)
571 or have huge holes in the physical address space for other reasons.
572 See <file:Documentation/vm/numa.rst> for more.
575 bool "NUMA Support (EXPERIMENTAL)"
576 depends on DISCONTIGMEM && BROKEN
578 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
579 Access). This option is for configuring high-end multiprocessor
580 server machines. If in doubt, say N.
583 bool "Use WTINT" if ALPHA_SRM || ALPHA_GENERIC
584 default y if ALPHA_QEMU
585 default n if ALPHA_EV5 || ALPHA_EV56 || (ALPHA_EV4 && !ALPHA_LCA)
586 default n if !ALPHA_SRM && !ALPHA_GENERIC
589 The Wait for Interrupt (WTINT) PALcall attempts to place the CPU
590 to sleep until the next interrupt. This may reduce the power
591 consumed, and the heat produced by the computer. However, it has
592 the side effect of making the cycle counter unreliable as a timing
593 device across the sleep.
595 For emulation under QEMU, definitely say Y here, as we have other
596 mechanisms for measuring time than the cycle counter.
598 For EV4 (but not LCA), EV5 and EV56 systems, or for systems running
599 MILO, sleep mode is not supported so you might as well say N here.
601 For SMP systems we cannot use the cycle counter for timing anyway,
602 so you might as well say Y here.
609 depends on NEED_MULTIPLE_NODES
611 # LARGE_VMALLOC is racy, if you *really* need it then fix it first
612 config ALPHA_LARGE_VMALLOC
615 Process creation and other aspects of virtual memory management can
616 be streamlined if we restrict the kernel to one PGD for all vmalloc
617 allocations. This equates to about 8GB.
619 Under normal circumstances, this is so far and above what is needed
620 as to be laughable. However, there are certain applications (such
621 as benchmark-grade in-kernel web serving) that can make use of as
622 much vmalloc space as is available.
624 Say N unless you know you need gobs and gobs of vmalloc space.
626 config VERBOSE_MCHECK
627 bool "Verbose Machine Checks"
629 config VERBOSE_MCHECK_ON
630 int "Verbose Printing Mode (0=off, 1=on, 2=all)"
631 depends on VERBOSE_MCHECK
634 This option allows the default printing mode to be set, and then
635 possibly overridden by a boot command argument.
637 For example, if one wanted the option of printing verbose
638 machine checks, but wanted the default to be as if verbose
639 machine check printing was turned off, then one would choose
640 the printing mode to be 0. Then, upon reboot, one could add
641 the boot command line "verbose_mcheck=1" to get the normal
642 verbose machine check printing, or "verbose_mcheck=2" to get
643 the maximum information available.
645 Take the default (1) unless you want more control or more info.
648 prompt "Timer interrupt frequency (HZ)?"
649 default HZ_128 if ALPHA_QEMU
650 default HZ_1200 if ALPHA_RAWHIDE
653 The frequency at which timer interrupts occur. A high frequency
654 minimizes latency, whereas a low frequency minimizes overhead of
655 process accounting. The later effect is especially significant
656 when being run under QEMU.
658 Note that some Alpha hardware cannot change the interrupt frequency
659 of the timer. If unsure, say 1024 (or 1200 for Rawhide).
679 default 128 if HZ_128
680 default 256 if HZ_256
681 default 1200 if HZ_1200
684 source "drivers/pci/Kconfig"
685 source "drivers/eisa/Kconfig"
687 source "drivers/pcmcia/Kconfig"
690 tristate "SRM environment through procfs"
693 If you enable this option, a subdirectory inside /proc called
694 /proc/srm_environment will give you access to the all important
695 SRM environment variables (those which have a name) and also
696 to all others (by their internal number).
698 SRM is something like a BIOS for Alpha machines. There are some
699 other such BIOSes, like AlphaBIOS, which this driver cannot
700 support (hey, that's not SRM!).
702 Despite the fact that this driver doesn't work on all Alphas (but
703 only on those which have SRM as their firmware), it's save to
704 build it even if your particular machine doesn't know about SRM
705 (or if you intend to compile a generic kernel). It will simply
706 not create those subdirectory in /proc (and give you some warning,
709 This driver is also available as a module and will be called
714 # DUMMY_CONSOLE may be defined in drivers/video/console/Kconfig
715 # but we also need it if VGA_HOSE is set