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