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