xref: /linux/arch/alpha/Kconfig (revision a4184174)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvaldsconfig ALPHA
31da177e4SLinus Torvalds	bool
41da177e4SLinus Torvalds	default y
596c0a6a7SHeiko Carstens	select ARCH_32BIT_USTAT_F_TINODE
6bd1912deSKees Cook	select ARCH_HAS_CURRENT_STACK_POINTER
71571ed0cSMark Salter	select ARCH_MIGHT_HAVE_PC_PARPORT
877b2d07aSMark Salter	select ARCH_MIGHT_HAVE_PC_SERIO
987a4c375SChristoph Hellwig	select ARCH_NO_PREEMPT
107c703e54SChristoph Hellwig	select ARCH_NO_SG_CHAIN
118f8dcb3fSMatt Turner	select ARCH_USE_CMPXCHG_LOCKREF
122f9237d4SChristoph Hellwig	select DMA_OPS if PCI
13f81f335aSArnd Bergmann	select FORCE_PCI
142eac9c2dSChristoph Hellwig	select PCI_DOMAINS if PCI
1520f1b79dSChristoph Hellwig	select PCI_SYSCALL if PCI
162ff2b7ecSMasahiro Yamada	select HAVE_ASM_MODVERSIONS
175394f1e9SArnd Bergmann	select HAVE_PAGE_SIZE_8KB
188761f1abSRalf Baechle	select HAVE_PCSPKR_PLATFORM
19a582e6f0SMichael Cree	select HAVE_PERF_EVENTS
20f616ab59SChristoph Hellwig	select NEED_DMA_MAP_STATE
2186596f0aSChristoph Hellwig	select NEED_SG_DMA_LENGTH
22e27ec649SThomas Gleixner	select GENERIC_IRQ_PROBE
234fef6115SLinus Torvalds	select GENERIC_PCI_IOMAP
24e27ec649SThomas Gleixner	select AUTO_IRQ_AFFINITY if SMP
25a6e120edSThomas Gleixner	select GENERIC_IRQ_SHOW
26c1d7e01dSWill Deacon	select ARCH_WANT_IPC_PARSE_VERSION
27df013ffbSHuang Ying	select ARCH_HAVE_NMI_SAFE_CMPXCHG
28a9302e84S蔡正龙	select AUDIT_ARCH
296fd16ce5SMichael Cree	select GENERIC_CPU_VULNERABILITIES
302ec9415cSThomas Gleixner	select GENERIC_SMP_IDLE_THREAD
31fcbfe812SNiklas Schnelle	select HAS_IOPORT
327a017721SAKASHI Takahiro	select HAVE_ARCH_AUDITSYSCALL
33786d35d4SDavid Howells	select HAVE_MOD_ARCH_SPECIFIC
34a050ba1eSLinus Torvalds	select LOCK_MM_AND_FIND_VMA
35786d35d4SDavid Howells	select MODULES_USE_ELF_RELA
36eaca6eaeSAl Viro	select ODD_RT_SIGACTION
37302627e9SAl Viro	select OLD_SIGSUSPEND
38fff7fb0bSZhaoxiu Zeng	select CPU_NO_EFFICIENT_FFS if !ALPHA_EV67
396137fed0SPeter Zijlstra	select MMU_GATHER_NO_RANGE
4036d40290SMike Rapoport	select SPARSEMEM_EXTREME if SPARSEMEM
4163703f37SKefeng Wang	select ZONE_DMA
421da177e4SLinus Torvalds	help
431da177e4SLinus Torvalds	  The Alpha is a 64-bit general-purpose processor designed and
441da177e4SLinus Torvalds	  marketed by the Digital Equipment Corporation of blessed memory,
451da177e4SLinus Torvalds	  now Hewlett-Packard.  The Alpha Linux project has a home page at
461da177e4SLinus Torvalds	  <http://www.alphalinux.org/>.
471da177e4SLinus Torvalds
481da177e4SLinus Torvaldsconfig 64BIT
491da177e4SLinus Torvalds	def_bool y
501da177e4SLinus Torvalds
511da177e4SLinus Torvaldsconfig MMU
521da177e4SLinus Torvalds	bool
531da177e4SLinus Torvalds	default y
541da177e4SLinus Torvalds
55f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
56f0d1b0b3SDavid Howells	bool
57f0d1b0b3SDavid Howells	default n
58f0d1b0b3SDavid Howells
59f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
60f0d1b0b3SDavid Howells	bool
61f0d1b0b3SDavid Howells	default n
62f0d1b0b3SDavid Howells
631da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
641da177e4SLinus Torvalds	bool
651da177e4SLinus Torvalds	default y
661da177e4SLinus Torvalds
671da177e4SLinus Torvaldsconfig GENERIC_ISA_DMA
681da177e4SLinus Torvalds	bool
691da177e4SLinus Torvalds	default y
701da177e4SLinus Torvalds
71f5d4547aSKirill A. Shutemovconfig PGTABLE_LEVELS
72f5d4547aSKirill A. Shutemov	int
73f5d4547aSKirill A. Shutemov	default 3
74f5d4547aSKirill A. Shutemov
75a9302e84S蔡正龙config AUDIT_ARCH
76a9302e84S蔡正龙	bool
771da177e4SLinus Torvalds
781da177e4SLinus Torvaldsmenu "System setup"
791da177e4SLinus Torvalds
801da177e4SLinus Torvaldschoice
811da177e4SLinus Torvalds	prompt "Alpha system type"
821da177e4SLinus Torvalds	default ALPHA_GENERIC
83a7f7f624SMasahiro Yamada	help
841da177e4SLinus Torvalds	  This is the system type of your hardware.  A "generic" kernel will
851da177e4SLinus Torvalds	  run on any supported Alpha system. However, if you configure a
861da177e4SLinus Torvalds	  kernel for your specific system, it will be faster and smaller.
871da177e4SLinus Torvalds
881da177e4SLinus Torvalds	  To find out what type of Alpha system you have, you may want to
891da177e4SLinus Torvalds	  check out the Linux/Alpha FAQ, accessible on the WWW from
901da177e4SLinus Torvalds	  <http://www.alphalinux.org/>. In summary:
911da177e4SLinus Torvalds
92d7083174SJay Estabrook	  Alcor/Alpha-XLT     AS 600, AS 500, XL-300, XL-366
93d7083174SJay Estabrook	  DP264               DP264 / DS20 / ES40 / DS10 / DS10L
941da177e4SLinus Torvalds	  LX164               AlphaPC164-LX
95d7083174SJay Estabrook	  Miata               Personal Workstation 433/500/600 a/au
961da177e4SLinus Torvalds	  Marvel              AlphaServer ES47 / ES80 / GS1280
971da177e4SLinus Torvalds	  Mikasa              AS 1000
981da177e4SLinus Torvalds	  Noritake            AS 1000A, AS 600A, AS 800
991da177e4SLinus Torvalds	  PC164               AlphaPC164
1001da177e4SLinus Torvalds	  Rawhide             AS 1200, AS 4000, AS 4100
1011da177e4SLinus Torvalds	  Ruffian             RPX164-2, AlphaPC164-UX, AlphaPC164-BX
1021da177e4SLinus Torvalds	  SX164               AlphaPC164-SX
1031da177e4SLinus Torvalds	  Sable               AS 2000, AS 2100
1041da177e4SLinus Torvalds	  Shark               DS 20L
105d7083174SJay Estabrook	  Takara              Takara (OEM)
106d7083174SJay Estabrook	  Titan               AlphaServer ES45 / DS25 / DS15
1071da177e4SLinus Torvalds	  Wildfire            AlphaServer GS 40/80/160/320
1081da177e4SLinus Torvalds
1091da177e4SLinus Torvalds	  If you don't know what to do, choose "generic".
1101da177e4SLinus Torvalds
1111da177e4SLinus Torvaldsconfig ALPHA_GENERIC
1121da177e4SLinus Torvalds	bool "Generic"
1134f73bc4dSJoe Millenbach	depends on TTY
1146630a8e5SChristoph Hellwig	select HAVE_EISA
1151da177e4SLinus Torvalds	help
1161da177e4SLinus Torvalds	  A generic kernel will run on all supported Alpha hardware.
1171da177e4SLinus Torvalds
1181da177e4SLinus Torvaldsconfig ALPHA_ALCOR
1191da177e4SLinus Torvalds	bool "Alcor/Alpha-XLT"
1206630a8e5SChristoph Hellwig	select HAVE_EISA
1211da177e4SLinus Torvalds	help
1221da177e4SLinus Torvalds	  For systems using the Digital ALCOR chipset: 5 chips (4, 64-bit data
1231da177e4SLinus Torvalds	  slices (Data Switch, DSW) - 208-pin PQFP and 1 control (Control, I/O
1241da177e4SLinus Torvalds	  Address, CIA) - a 383 pin plastic PGA).  It provides a DRAM
1251da177e4SLinus Torvalds	  controller (256-bit memory bus) and a PCI interface.  It also does
1261da177e4SLinus Torvalds	  all the work required to support an external Bcache and to maintain
1271da177e4SLinus Torvalds	  memory coherence when a PCI device DMAs into (or out of) memory.
1281da177e4SLinus Torvalds
1291da177e4SLinus Torvaldsconfig ALPHA_DP264
1301da177e4SLinus Torvalds	bool "DP264"
1311da177e4SLinus Torvalds	help
1321da177e4SLinus Torvalds	  Various 21264 systems with the tsunami core logic chipset.
1331da177e4SLinus Torvalds	  API Networks: 264DP, UP2000(+), CS20;
1341da177e4SLinus Torvalds	  Compaq: DS10(E,L), XP900, XP1000, DS20(E), ES40.
1351da177e4SLinus Torvalds
1361da177e4SLinus Torvaldsconfig ALPHA_EIGER
1371da177e4SLinus Torvalds	bool "Eiger"
1381da177e4SLinus Torvalds	help
1391da177e4SLinus Torvalds	  Apparently an obscure OEM single-board computer based on the
1401da177e4SLinus Torvalds	  Typhoon/Tsunami chipset family. Information on it is scanty.
1411da177e4SLinus Torvalds
1421da177e4SLinus Torvaldsconfig ALPHA_LX164
1431da177e4SLinus Torvalds	bool "LX164"
1441da177e4SLinus Torvalds	help
1451da177e4SLinus Torvalds	  A technical overview of this board is available at
1461da177e4SLinus Torvalds	  <http://www.unix-ag.org/Linux-Alpha/Architectures/LX164.html>.
1471da177e4SLinus Torvalds
1481da177e4SLinus Torvaldsconfig ALPHA_MARVEL
1491da177e4SLinus Torvalds	bool "Marvel"
1501da177e4SLinus Torvalds	help
1511da177e4SLinus Torvalds	  AlphaServer ES47 / ES80 / GS1280 based on EV7.
1521da177e4SLinus Torvalds
1531da177e4SLinus Torvaldsconfig ALPHA_MIATA
1541da177e4SLinus Torvalds	bool "Miata"
1556630a8e5SChristoph Hellwig	select HAVE_EISA
1561da177e4SLinus Torvalds	help
1571da177e4SLinus Torvalds	  The Digital PersonalWorkStation (PWS 433a, 433au, 500a, 500au, 600a,
158ffc32d67SAdrian Bunk	  or 600au).
1591da177e4SLinus Torvalds
1601da177e4SLinus Torvaldsconfig ALPHA_MIKASA
1611da177e4SLinus Torvalds	bool "Mikasa"
1621da177e4SLinus Torvalds	help
1631da177e4SLinus Torvalds	  AlphaServer 1000-based Alpha systems.
1641da177e4SLinus Torvalds
1651da177e4SLinus Torvaldsconfig ALPHA_NAUTILUS
1661da177e4SLinus Torvalds	bool "Nautilus"
1671da177e4SLinus Torvalds	help
1681da177e4SLinus Torvalds	  Alpha systems based on the AMD 751 & ALI 1543C chipsets.
1691da177e4SLinus Torvalds
1701da177e4SLinus Torvaldsconfig ALPHA_NORITAKE
1711da177e4SLinus Torvalds	bool "Noritake"
1726630a8e5SChristoph Hellwig	select HAVE_EISA
1731da177e4SLinus Torvalds	help
1741da177e4SLinus Torvalds	  AlphaServer 1000A, AlphaServer 600A, and AlphaServer 800-based
1751da177e4SLinus Torvalds	  systems.
1761da177e4SLinus Torvalds
1771da177e4SLinus Torvaldsconfig ALPHA_PC164
1781da177e4SLinus Torvalds	bool "PC164"
1791da177e4SLinus Torvalds
1801da177e4SLinus Torvaldsconfig ALPHA_RAWHIDE
1811da177e4SLinus Torvalds	bool "Rawhide"
1826630a8e5SChristoph Hellwig	select HAVE_EISA
1831da177e4SLinus Torvalds	help
1841da177e4SLinus Torvalds	  AlphaServer 1200, AlphaServer 4000 and AlphaServer 4100 machines.
1851da177e4SLinus Torvalds	  See HOWTO at
1861da177e4SLinus Torvalds	  <http://www.alphalinux.org/docs/rawhide/4100_install.shtml>.
1871da177e4SLinus Torvalds
1881da177e4SLinus Torvaldsconfig ALPHA_RUFFIAN
1891da177e4SLinus Torvalds	bool "Ruffian"
1901da177e4SLinus Torvalds	help
1911da177e4SLinus Torvalds	  Samsung APC164UX.  There is a page on known problems and workarounds
1921da177e4SLinus Torvalds	  at <http://www.alphalinux.org/faq/FAQ-11.html>.
1931da177e4SLinus Torvalds
1941da177e4SLinus Torvaldsconfig ALPHA_RX164
1951da177e4SLinus Torvalds	bool "RX164"
1961da177e4SLinus Torvalds
1971da177e4SLinus Torvaldsconfig ALPHA_SX164
1981da177e4SLinus Torvalds	bool "SX164"
1991da177e4SLinus Torvalds
2001da177e4SLinus Torvaldsconfig ALPHA_SABLE
2011da177e4SLinus Torvalds	bool "Sable"
2026630a8e5SChristoph Hellwig	select HAVE_EISA
2031da177e4SLinus Torvalds	help
2041da177e4SLinus Torvalds	  Digital AlphaServer 2000 and 2100-based systems.
2051da177e4SLinus Torvalds
2061da177e4SLinus Torvaldsconfig ALPHA_SHARK
2071da177e4SLinus Torvalds	bool "Shark"
2081da177e4SLinus Torvalds
2091da177e4SLinus Torvaldsconfig ALPHA_TAKARA
2101da177e4SLinus Torvalds	bool "Takara"
2111da177e4SLinus Torvalds	help
2121da177e4SLinus Torvalds	  Alpha 11164-based OEM single-board computer.
2131da177e4SLinus Torvalds
2141da177e4SLinus Torvaldsconfig ALPHA_TITAN
2151da177e4SLinus Torvalds	bool "Titan"
2161da177e4SLinus Torvalds	help
2171da177e4SLinus Torvalds	  AlphaServer ES45/DS25 SMP based on EV68 and Titan chipset.
2181da177e4SLinus Torvalds
2191da177e4SLinus Torvaldsconfig ALPHA_WILDFIRE
2201da177e4SLinus Torvalds	bool "Wildfire"
2211da177e4SLinus Torvalds	help
2221da177e4SLinus Torvalds	  AlphaServer GS 40/80/160/320 SMP based on the EV67 core.
2231da177e4SLinus Torvalds
2241da177e4SLinus Torvaldsendchoice
2251da177e4SLinus Torvalds
2261da177e4SLinus Torvalds# clear all implied options (don't want default values for those):
2271da177e4SLinus Torvalds# Most of these machines have ISA slots; not exactly sure which don't,
2281da177e4SLinus Torvalds# and this doesn't activate hordes of code, so do it always.
2291da177e4SLinus Torvaldsconfig ISA
2301da177e4SLinus Torvalds	bool
2311da177e4SLinus Torvalds	default y
2321da177e4SLinus Torvalds	help
2331da177e4SLinus Torvalds	  Find out whether you have ISA slots on your motherboard.  ISA is the
2341da177e4SLinus Torvalds	  name of a bus system, i.e. the way the CPU talks to the other stuff
2351da177e4SLinus Torvalds	  inside your box.  Other bus systems are PCI, EISA, MicroChannel
2361da177e4SLinus Torvalds	  (MCA) or VESA.  ISA is an older system, now being displaced by PCI;
2371da177e4SLinus Torvalds	  newer boards don't support it.  If you have ISA, say Y, otherwise N.
2381da177e4SLinus Torvalds
2395cae841bSAl Viroconfig ISA_DMA_API
2405cae841bSAl Viro	bool
2415cae841bSAl Viro	default y
2425cae841bSAl Viro
2431da177e4SLinus Torvaldsconfig ALPHA_CIA
2441da177e4SLinus Torvalds	bool
2454bf85907SArnd Bergmann	depends on ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN || ALPHA_NORITAKE || ALPHA_MIKASA || ALPHA_PC164 || ALPHA_TAKARA || ALPHA_ALCOR
2461da177e4SLinus Torvalds	default y
2471da177e4SLinus Torvalds
2481da177e4SLinus Torvaldsconfig ALPHA_EV56
249*a4184174SArnd Bergmann	bool
250*a4184174SArnd Bergmann	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
2511da177e4SLinus Torvalds
2521da177e4SLinus Torvaldsconfig ALPHA_T2
2531da177e4SLinus Torvalds	bool
254d2b1e353SArnd Bergmann	depends on ALPHA_SABLE
2551da177e4SLinus Torvalds	default y
2561da177e4SLinus Torvalds
2571da177e4SLinus Torvaldsconfig ALPHA_PYXIS
2581da177e4SLinus Torvalds	bool
2591da177e4SLinus Torvalds	depends on ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN
2601da177e4SLinus Torvalds	default y
2611da177e4SLinus Torvalds
2621da177e4SLinus Torvaldsconfig ALPHA_EV6
2631da177e4SLinus Torvalds	bool
2641da177e4SLinus Torvalds	depends on ALPHA_NAUTILUS || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_DP264 || ALPHA_EIGER || ALPHA_MARVEL
2651da177e4SLinus Torvalds	default y
2661da177e4SLinus Torvalds
2671da177e4SLinus Torvaldsconfig ALPHA_TSUNAMI
2681da177e4SLinus Torvalds	bool
2691da177e4SLinus Torvalds	depends on ALPHA_SHARK || ALPHA_DP264 || ALPHA_EIGER
2701da177e4SLinus Torvalds	default y
2711da177e4SLinus Torvalds
2721da177e4SLinus Torvaldsconfig ALPHA_EV67
2731da177e4SLinus Torvalds	bool "EV67 (or later) CPU (speed > 600MHz)?" if ALPHA_DP264 || ALPHA_EIGER
2741da177e4SLinus Torvalds	default y if ALPHA_NAUTILUS || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_MARVEL
2751da177e4SLinus Torvalds	help
2761da177e4SLinus Torvalds	  Is this a machine based on the EV67 core?  If in doubt, select N here
2771da177e4SLinus Torvalds	  and the machine will be treated as an EV6.
2781da177e4SLinus Torvalds
2791da177e4SLinus Torvaldsconfig ALPHA_MCPCIA
2801da177e4SLinus Torvalds	bool
2811da177e4SLinus Torvalds	depends on ALPHA_RAWHIDE
2821da177e4SLinus Torvalds	default y
2831da177e4SLinus Torvalds
2841da177e4SLinus Torvaldsconfig ALPHA_POLARIS
2851da177e4SLinus Torvalds	bool
2861da177e4SLinus Torvalds	depends on ALPHA_RX164
2871da177e4SLinus Torvalds	default y
2881da177e4SLinus Torvalds
2891da177e4SLinus Torvaldsconfig ALPHA_IRONGATE
2901da177e4SLinus Torvalds	bool
2911da177e4SLinus Torvalds	depends on ALPHA_NAUTILUS
2921da177e4SLinus Torvalds	default y
2931da177e4SLinus Torvalds
294f7c29678SAkinobu Mitaconfig GENERIC_HWEIGHT
295f7c29678SAkinobu Mita	bool
2965e625b08SRandy Dunlap	default y if !ALPHA_EV67
297f7c29678SAkinobu Mita
2981da177e4SLinus Torvaldsconfig ALPHA_BROKEN_IRQ_MASK
2991da177e4SLinus Torvalds	bool
3001da177e4SLinus Torvalds	depends on ALPHA_GENERIC || ALPHA_PC164
3011da177e4SLinus Torvalds	default y
3021da177e4SLinus Torvalds
303025a2215SJay Estabrookconfig VGA_HOSE
304025a2215SJay Estabrook	bool
305dd7f1fe1SMatt Turner	depends on VGA_CONSOLE && (ALPHA_GENERIC || ALPHA_TITAN || ALPHA_MARVEL || ALPHA_TSUNAMI)
306025a2215SJay Estabrook	default y
307025a2215SJay Estabrook	help
308025a2215SJay Estabrook	  Support VGA on an arbitrary hose; needed for several platforms
309025a2215SJay Estabrook	  which always have multiple hoses, and whose consoles support it.
310025a2215SJay Estabrook
311025a2215SJay Estabrook
312994dcf70SRichard Hendersonconfig ALPHA_QEMU
313994dcf70SRichard Henderson	bool "Run under QEMU emulation"
314994dcf70SRichard Henderson	depends on !ALPHA_GENERIC
315a7f7f624SMasahiro Yamada	help
316994dcf70SRichard Henderson	  Assume the presence of special features supported by QEMU PALcode
317994dcf70SRichard Henderson	  that reduce the overhead of system emulation.
318994dcf70SRichard Henderson
319994dcf70SRichard Henderson	  Generic kernels will auto-detect QEMU.  But when building a
320994dcf70SRichard Henderson	  system-specific kernel, the assumption is that we want to
32183fc61a5SMasanari Iida	  eliminate as many runtime tests as possible.
322994dcf70SRichard Henderson
323994dcf70SRichard Henderson	  If unsure, say N.
324994dcf70SRichard Henderson
325994dcf70SRichard Henderson
3261da177e4SLinus Torvaldsconfig ALPHA_SRM
3274bf85907SArnd Bergmann	bool "Use SRM as bootloader" if ALPHA_PC164 || ALPHA_TAKARA || ALPHA_ALCOR || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_NAUTILUS
3284f73bc4dSJoe Millenbach	depends on TTY
329d2b1e353SArnd Bergmann	default y if ALPHA_MIKASA || ALPHA_SABLE || ALPHA_NORITAKE || ALPHA_DP264 || ALPHA_RAWHIDE || ALPHA_EIGER || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_MARVEL
330a7f7f624SMasahiro Yamada	help
3311da177e4SLinus Torvalds	  There are two different types of booting firmware on Alphas: SRM,
3321da177e4SLinus Torvalds	  which is command line driven, and ARC, which uses menus and arrow
3331da177e4SLinus Torvalds	  keys. Details about the Linux/Alpha booting process are contained in
3341da177e4SLinus Torvalds	  the Linux/Alpha FAQ, accessible on the WWW from
3351da177e4SLinus Torvalds	  <http://www.alphalinux.org/>.
3361da177e4SLinus Torvalds
3371da177e4SLinus Torvalds	  The usual way to load Linux on an Alpha machine is to use MILO
3381da177e4SLinus Torvalds	  (a bootloader that lets you pass command line parameters to the
3391da177e4SLinus Torvalds	  kernel just like lilo does for the x86 architecture) which can be
3401da177e4SLinus Torvalds	  loaded either from ARC or can be installed directly as a permanent
3411da177e4SLinus Torvalds	  firmware replacement from floppy (which requires changing a certain
3421da177e4SLinus Torvalds	  jumper on the motherboard). If you want to do either of these, say N
3431da177e4SLinus Torvalds	  here. If MILO doesn't work on your system (true for Jensen
3441da177e4SLinus Torvalds	  motherboards), you can bypass it altogether and boot Linux directly
3451da177e4SLinus Torvalds	  from an SRM console; say Y here in order to do that. Note that you
3461da177e4SLinus Torvalds	  won't be able to boot from an IDE disk using SRM.
3471da177e4SLinus Torvalds
3481da177e4SLinus Torvalds	  If unsure, say N.
3491da177e4SLinus Torvalds
350a08b6b79Sviro@ZenIV.linux.org.ukconfig ARCH_MAY_HAVE_PC_FDC
351a08b6b79Sviro@ZenIV.linux.org.uk	def_bool y
352a08b6b79Sviro@ZenIV.linux.org.uk
3531da177e4SLinus Torvaldsconfig SMP
3541da177e4SLinus Torvalds	bool "Symmetric multi-processing support"
355d2b1e353SArnd Bergmann	depends on ALPHA_SABLE || ALPHA_RAWHIDE || ALPHA_DP264 || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_GENERIC || ALPHA_SHARK || ALPHA_MARVEL
356a7f7f624SMasahiro Yamada	help
3571da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
3584a474157SRobert Graffham	  a system with only one CPU, say N. If you have a system with more
3594a474157SRobert Graffham	  than one CPU, say Y.
3601da177e4SLinus Torvalds
3614a474157SRobert Graffham	  If you say N here, the kernel will run on uni- and multiprocessor
3621da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
3631da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
3644a474157SRobert Graffham	  uniprocessor machines. On a uniprocessor machine, the kernel
3651da177e4SLinus Torvalds	  will run faster if you say N here.
3661da177e4SLinus Torvalds
36703502faaSAdrian Bunk	  See also the SMP-HOWTO available at
368a09c33cbSAlexander A. Klimov	  <https://www.tldp.org/docs.html#howto>.
3691da177e4SLinus Torvalds
3701da177e4SLinus Torvalds	  If you don't know what to do here, say N.
3711da177e4SLinus Torvalds
3721da177e4SLinus Torvaldsconfig NR_CPUS
373d7083174SJay Estabrook	int "Maximum number of CPUs (2-32)"
374d7083174SJay Estabrook	range 2 32
3751da177e4SLinus Torvalds	depends on SMP
376d7083174SJay Estabrook	default "32" if ALPHA_GENERIC || ALPHA_MARVEL
377d7083174SJay Estabrook	default "4" if !ALPHA_GENERIC && !ALPHA_MARVEL
378d7083174SJay Estabrook	help
379d7083174SJay Estabrook	  MARVEL support can handle a maximum of 32 CPUs, all the others
380d7083174SJay Estabrook	  with working support have a maximum of 4 CPUs.
3811da177e4SLinus Torvalds
38236d40290SMike Rapoportconfig ARCH_SPARSEMEM_ENABLE
38336d40290SMike Rapoport	bool "Sparse Memory Support"
38436d40290SMike Rapoport	help
38536d40290SMike Rapoport	  Say Y to support efficient handling of discontiguous physical memory,
38636d40290SMike Rapoport	  for systems that have huge holes in the physical address space.
38736d40290SMike Rapoport
3887f3bbb82SRichard Hendersonconfig ALPHA_WTINT
3897f3bbb82SRichard Henderson	bool "Use WTINT" if ALPHA_SRM || ALPHA_GENERIC
3907f3bbb82SRichard Henderson	default y if ALPHA_QEMU
391*a4184174SArnd Bergmann	default n if ALPHA_EV56
3927f3bbb82SRichard Henderson	default n if !ALPHA_SRM && !ALPHA_GENERIC
3937f3bbb82SRichard Henderson	default y if SMP
394a7f7f624SMasahiro Yamada	help
3957f3bbb82SRichard Henderson	  The Wait for Interrupt (WTINT) PALcall attempts to place the CPU
3967f3bbb82SRichard Henderson	  to sleep until the next interrupt.  This may reduce the power
3977f3bbb82SRichard Henderson	  consumed, and the heat produced by the computer.  However, it has
3987f3bbb82SRichard Henderson	  the side effect of making the cycle counter unreliable as a timing
3997f3bbb82SRichard Henderson	  device across the sleep.
4007f3bbb82SRichard Henderson
4017f3bbb82SRichard Henderson	  For emulation under QEMU, definitely say Y here, as we have other
4027f3bbb82SRichard Henderson	  mechanisms for measuring time than the cycle counter.
4037f3bbb82SRichard Henderson
4047f3bbb82SRichard Henderson	  For EV4 (but not LCA), EV5 and EV56 systems, or for systems running
4057f3bbb82SRichard Henderson	  MILO, sleep mode is not supported so you might as well say N here.
4067f3bbb82SRichard Henderson
4077f3bbb82SRichard Henderson	  For SMP systems we cannot use the cycle counter for timing anyway,
4087f3bbb82SRichard Henderson	  so you might as well say Y here.
4097f3bbb82SRichard Henderson
4107f3bbb82SRichard Henderson	  If unsure, say N.
4117f3bbb82SRichard Henderson
4121da177e4SLinus Torvalds# LARGE_VMALLOC is racy, if you *really* need it then fix it first
4131da177e4SLinus Torvaldsconfig ALPHA_LARGE_VMALLOC
4141da177e4SLinus Torvalds	bool
415a7f7f624SMasahiro Yamada	help
4161da177e4SLinus Torvalds	  Process creation and other aspects of virtual memory management can
4171da177e4SLinus Torvalds	  be streamlined if we restrict the kernel to one PGD for all vmalloc
4181da177e4SLinus Torvalds	  allocations.  This equates to about 8GB.
4191da177e4SLinus Torvalds
4201da177e4SLinus Torvalds	  Under normal circumstances, this is so far and above what is needed
4211da177e4SLinus Torvalds	  as to be laughable.  However, there are certain applications (such
4221da177e4SLinus Torvalds	  as benchmark-grade in-kernel web serving) that can make use of as
4231da177e4SLinus Torvalds	  much vmalloc space as is available.
4241da177e4SLinus Torvalds
4251da177e4SLinus Torvalds	  Say N unless you know you need gobs and gobs of vmalloc space.
4261da177e4SLinus Torvalds
4271da177e4SLinus Torvaldsconfig VERBOSE_MCHECK
4281da177e4SLinus Torvalds	bool "Verbose Machine Checks"
4291da177e4SLinus Torvalds
4301da177e4SLinus Torvaldsconfig VERBOSE_MCHECK_ON
4311da177e4SLinus Torvalds	int "Verbose Printing Mode (0=off, 1=on, 2=all)"
4321da177e4SLinus Torvalds	depends on VERBOSE_MCHECK
4331da177e4SLinus Torvalds	default 1
434a7f7f624SMasahiro Yamada	help
4351da177e4SLinus Torvalds	  This option allows the default printing mode to be set, and then
4361da177e4SLinus Torvalds	  possibly overridden by a boot command argument.
4371da177e4SLinus Torvalds
4381da177e4SLinus Torvalds	  For example, if one wanted the option of printing verbose
4391da177e4SLinus Torvalds	  machine checks, but wanted the default to be as if verbose
4401da177e4SLinus Torvalds	  machine check printing was turned off, then one would choose
4411da177e4SLinus Torvalds	  the printing mode to be 0. Then, upon reboot, one could add
4421da177e4SLinus Torvalds	  the boot command line "verbose_mcheck=1" to get the normal
4431da177e4SLinus Torvalds	  verbose machine check printing, or "verbose_mcheck=2" to get
4441da177e4SLinus Torvalds	  the maximum information available.
4451da177e4SLinus Torvalds
4461da177e4SLinus Torvalds	  Take the default (1) unless you want more control or more info.
4471da177e4SLinus Torvalds
448fddd87d6SRichard Hendersonchoice
449fddd87d6SRichard Henderson	prompt "Timer interrupt frequency (HZ)?"
450fddd87d6SRichard Henderson	default HZ_128 if ALPHA_QEMU
451fddd87d6SRichard Henderson	default HZ_1200 if ALPHA_RAWHIDE
452fddd87d6SRichard Henderson	default HZ_1024
453a7f7f624SMasahiro Yamada	help
454fddd87d6SRichard Henderson	  The frequency at which timer interrupts occur.  A high frequency
455fddd87d6SRichard Henderson	  minimizes latency, whereas a low frequency minimizes overhead of
456fddd87d6SRichard Henderson	  process accounting.  The later effect is especially significant
457fddd87d6SRichard Henderson	  when being run under QEMU.
458fddd87d6SRichard Henderson
459fddd87d6SRichard Henderson	  Note that some Alpha hardware cannot change the interrupt frequency
460fddd87d6SRichard Henderson	  of the timer.  If unsure, say 1024 (or 1200 for Rawhide).
461fddd87d6SRichard Henderson
462fddd87d6SRichard Henderson	config HZ_32
463fddd87d6SRichard Henderson		bool "32 Hz"
464fddd87d6SRichard Henderson	config HZ_64
465fddd87d6SRichard Henderson		bool "64 Hz"
466fddd87d6SRichard Henderson	config HZ_128
467fddd87d6SRichard Henderson		bool "128 Hz"
468fddd87d6SRichard Henderson	config HZ_256
469fddd87d6SRichard Henderson		bool "256 Hz"
470fddd87d6SRichard Henderson	config HZ_1024
471fddd87d6SRichard Henderson		bool "1024 Hz"
472fddd87d6SRichard Henderson	config HZ_1200
473fddd87d6SRichard Henderson		bool "1200 Hz"
474fddd87d6SRichard Hendersonendchoice
475fddd87d6SRichard Henderson
476bdc80787SH. Peter Anvinconfig HZ
477bdc80787SH. Peter Anvin	int
478fddd87d6SRichard Henderson	default 32 if HZ_32
479fddd87d6SRichard Henderson	default 64 if HZ_64
480fddd87d6SRichard Henderson	default 128 if HZ_128
481fddd87d6SRichard Henderson	default 256 if HZ_256
482fddd87d6SRichard Henderson	default 1200 if HZ_1200
483bdc80787SH. Peter Anvin	default 1024
484bdc80787SH. Peter Anvin
4851da177e4SLinus Torvaldsconfig SRM_ENV
4861da177e4SLinus Torvalds	tristate "SRM environment through procfs"
4871da177e4SLinus Torvalds	depends on PROC_FS
488a7f7f624SMasahiro Yamada	help
4891da177e4SLinus Torvalds	  If you enable this option, a subdirectory inside /proc called
4901da177e4SLinus Torvalds	  /proc/srm_environment will give you access to the all important
4911da177e4SLinus Torvalds	  SRM environment variables (those which have a name) and also
4921da177e4SLinus Torvalds	  to all others (by their internal number).
4931da177e4SLinus Torvalds
4941da177e4SLinus Torvalds	  SRM is something like a BIOS for Alpha machines. There are some
4951da177e4SLinus Torvalds	  other such BIOSes, like AlphaBIOS, which this driver cannot
4961da177e4SLinus Torvalds	  support (hey, that's not SRM!).
4971da177e4SLinus Torvalds
4981da177e4SLinus Torvalds	  Despite the fact that this driver doesn't work on all Alphas (but
4991da177e4SLinus Torvalds	  only on those which have SRM as their firmware), it's save to
5001da177e4SLinus Torvalds	  build it even if your particular machine doesn't know about SRM
5011da177e4SLinus Torvalds	  (or if you intend to compile a generic kernel). It will simply
5021da177e4SLinus Torvalds	  not create those subdirectory in /proc (and give you some warning,
5031da177e4SLinus Torvalds	  of course).
5041da177e4SLinus Torvalds
5051da177e4SLinus Torvalds	  This driver is also available as a module and will be called
5061da177e4SLinus Torvalds	  srm_env then.
5071da177e4SLinus Torvalds
5081da177e4SLinus Torvaldsendmenu
5091da177e4SLinus Torvalds
510025a2215SJay Estabrook# DUMMY_CONSOLE may be defined in drivers/video/console/Kconfig
511025a2215SJay Estabrook# but we also need it if VGA_HOSE is set
512025a2215SJay Estabrookconfig DUMMY_CONSOLE
513025a2215SJay Estabrook	bool
514025a2215SJay Estabrook	depends on VGA_HOSE
515025a2215SJay Estabrook	default y
516