1# SPDX-License-Identifier: GPL-2.0 2config ALPHA 3 bool 4 default y 5 select ARCH_32BIT_USTAT_F_TINODE 6 select ARCH_HAS_CURRENT_STACK_POINTER 7 select ARCH_MIGHT_HAVE_PC_PARPORT 8 select ARCH_MIGHT_HAVE_PC_SERIO 9 select ARCH_NO_PREEMPT 10 select ARCH_NO_SG_CHAIN 11 select ARCH_USE_CMPXCHG_LOCKREF 12 select DMA_OPS if PCI 13 select FORCE_PCI 14 select PCI_DOMAINS if PCI 15 select PCI_SYSCALL if PCI 16 select HAVE_ASM_MODVERSIONS 17 select HAVE_PAGE_SIZE_8KB 18 select HAVE_PCSPKR_PLATFORM 19 select HAVE_PERF_EVENTS 20 select NEED_DMA_MAP_STATE 21 select NEED_SG_DMA_LENGTH 22 select GENERIC_IRQ_PROBE 23 select GENERIC_PCI_IOMAP 24 select AUTO_IRQ_AFFINITY if SMP 25 select GENERIC_IRQ_SHOW 26 select ARCH_WANT_IPC_PARSE_VERSION 27 select ARCH_HAVE_NMI_SAFE_CMPXCHG 28 select AUDIT_ARCH 29 select GENERIC_CPU_VULNERABILITIES 30 select GENERIC_SMP_IDLE_THREAD 31 select HAS_IOPORT 32 select HAVE_ARCH_AUDITSYSCALL 33 select HAVE_MOD_ARCH_SPECIFIC 34 select LOCK_MM_AND_FIND_VMA 35 select MODULES_USE_ELF_RELA 36 select ODD_RT_SIGACTION 37 select OLD_SIGSUSPEND 38 select CPU_NO_EFFICIENT_FFS if !ALPHA_EV67 39 select MMU_GATHER_NO_RANGE 40 select SPARSEMEM_EXTREME if SPARSEMEM 41 select ZONE_DMA 42 help 43 The Alpha is a 64-bit general-purpose processor designed and 44 marketed by the Digital Equipment Corporation of blessed memory, 45 now Hewlett-Packard. The Alpha Linux project has a home page at 46 <http://www.alphalinux.org/>. 47 48config 64BIT 49 def_bool y 50 51config MMU 52 bool 53 default y 54 55config ARCH_HAS_ILOG2_U32 56 bool 57 default n 58 59config ARCH_HAS_ILOG2_U64 60 bool 61 default n 62 63config GENERIC_CALIBRATE_DELAY 64 bool 65 default y 66 67config GENERIC_ISA_DMA 68 bool 69 default y 70 71config PGTABLE_LEVELS 72 int 73 default 3 74 75config AUDIT_ARCH 76 bool 77 78menu "System setup" 79 80choice 81 prompt "Alpha system type" 82 default ALPHA_GENERIC 83 help 84 This is the system type of your hardware. A "generic" kernel will 85 run on any supported Alpha system. However, if you configure a 86 kernel for your specific system, it will be faster and smaller. 87 88 To find out what type of Alpha system you have, you may want to 89 check out the Linux/Alpha FAQ, accessible on the WWW from 90 <http://www.alphalinux.org/>. In summary: 91 92 Alcor/Alpha-XLT AS 600, AS 500, XL-300, XL-366 93 DP264 DP264 / DS20 / ES40 / DS10 / DS10L 94 LX164 AlphaPC164-LX 95 Miata Personal Workstation 433/500/600 a/au 96 Marvel AlphaServer ES47 / ES80 / GS1280 97 Mikasa AS 1000 98 Noritake AS 1000A, AS 600A, AS 800 99 PC164 AlphaPC164 100 Rawhide AS 1200, AS 4000, AS 4100 101 Ruffian RPX164-2, AlphaPC164-UX, AlphaPC164-BX 102 SX164 AlphaPC164-SX 103 Sable AS 2000, AS 2100 104 Shark DS 20L 105 Takara Takara (OEM) 106 Titan AlphaServer ES45 / DS25 / DS15 107 Wildfire AlphaServer GS 40/80/160/320 108 109 If you don't know what to do, choose "generic". 110 111config ALPHA_GENERIC 112 bool "Generic" 113 depends on TTY 114 select HAVE_EISA 115 help 116 A generic kernel will run on all supported Alpha hardware. 117 118config ALPHA_ALCOR 119 bool "Alcor/Alpha-XLT" 120 select HAVE_EISA 121 help 122 For systems using the Digital ALCOR chipset: 5 chips (4, 64-bit data 123 slices (Data Switch, DSW) - 208-pin PQFP and 1 control (Control, I/O 124 Address, CIA) - a 383 pin plastic PGA). It provides a DRAM 125 controller (256-bit memory bus) and a PCI interface. It also does 126 all the work required to support an external Bcache and to maintain 127 memory coherence when a PCI device DMAs into (or out of) memory. 128 129config ALPHA_DP264 130 bool "DP264" 131 help 132 Various 21264 systems with the tsunami core logic chipset. 133 API Networks: 264DP, UP2000(+), CS20; 134 Compaq: DS10(E,L), XP900, XP1000, DS20(E), ES40. 135 136config ALPHA_EIGER 137 bool "Eiger" 138 help 139 Apparently an obscure OEM single-board computer based on the 140 Typhoon/Tsunami chipset family. Information on it is scanty. 141 142config ALPHA_LX164 143 bool "LX164" 144 help 145 A technical overview of this board is available at 146 <http://www.unix-ag.org/Linux-Alpha/Architectures/LX164.html>. 147 148config ALPHA_MARVEL 149 bool "Marvel" 150 help 151 AlphaServer ES47 / ES80 / GS1280 based on EV7. 152 153config ALPHA_MIATA 154 bool "Miata" 155 select HAVE_EISA 156 help 157 The Digital PersonalWorkStation (PWS 433a, 433au, 500a, 500au, 600a, 158 or 600au). 159 160config ALPHA_MIKASA 161 bool "Mikasa" 162 help 163 AlphaServer 1000-based Alpha systems. 164 165config ALPHA_NAUTILUS 166 bool "Nautilus" 167 help 168 Alpha systems based on the AMD 751 & ALI 1543C chipsets. 169 170config ALPHA_NORITAKE 171 bool "Noritake" 172 select HAVE_EISA 173 help 174 AlphaServer 1000A, AlphaServer 600A, and AlphaServer 800-based 175 systems. 176 177config ALPHA_PC164 178 bool "PC164" 179 180config ALPHA_RAWHIDE 181 bool "Rawhide" 182 select HAVE_EISA 183 help 184 AlphaServer 1200, AlphaServer 4000 and AlphaServer 4100 machines. 185 See HOWTO at 186 <http://www.alphalinux.org/docs/rawhide/4100_install.shtml>. 187 188config ALPHA_RUFFIAN 189 bool "Ruffian" 190 help 191 Samsung APC164UX. There is a page on known problems and workarounds 192 at <http://www.alphalinux.org/faq/FAQ-11.html>. 193 194config ALPHA_RX164 195 bool "RX164" 196 197config ALPHA_SX164 198 bool "SX164" 199 200config ALPHA_SABLE 201 bool "Sable" 202 select HAVE_EISA 203 help 204 Digital AlphaServer 2000 and 2100-based systems. 205 206config ALPHA_SHARK 207 bool "Shark" 208 209config ALPHA_TAKARA 210 bool "Takara" 211 help 212 Alpha 11164-based OEM single-board computer. 213 214config ALPHA_TITAN 215 bool "Titan" 216 help 217 AlphaServer ES45/DS25 SMP based on EV68 and Titan chipset. 218 219config ALPHA_WILDFIRE 220 bool "Wildfire" 221 help 222 AlphaServer GS 40/80/160/320 SMP based on the EV67 core. 223 224endchoice 225 226# clear all implied options (don't want default values for those): 227# Most of these machines have ISA slots; not exactly sure which don't, 228# and this doesn't activate hordes of code, so do it always. 229config ISA 230 bool 231 default y 232 help 233 Find out whether you have ISA slots on your motherboard. ISA is the 234 name of a bus system, i.e. the way the CPU talks to the other stuff 235 inside your box. Other bus systems are PCI, EISA, MicroChannel 236 (MCA) or VESA. ISA is an older system, now being displaced by PCI; 237 newer boards don't support it. If you have ISA, say Y, otherwise N. 238 239config ISA_DMA_API 240 bool 241 default y 242 243config ALPHA_EV4 244 bool 245 246config ALPHA_EV5 247 bool 248 default y if ALPHA_RX164 || ALPHA_RAWHIDE || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN || ALPHA_SABLE || ALPHA_NORITAKE || ALPHA_MIKASA || ALPHA_PC164 || ALPHA_TAKARA || ALPHA_EB164 || ALPHA_ALCOR 249 250config ALPHA_CIA 251 bool 252 depends on ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN || ALPHA_NORITAKE || ALPHA_MIKASA || ALPHA_PC164 || ALPHA_TAKARA || ALPHA_ALCOR 253 default y 254 255config ALPHA_EV56 256 bool "EV56 CPU (speed >= 366MHz)?" if ALPHA_ALCOR 257 default y if ALPHA_RX164 || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN || ALPHA_PC164 || ALPHA_TAKARA 258 259config ALPHA_EV56 260 prompt "EV56 CPU (speed >= 333MHz)?" 261 depends on ALPHA_NORITAKE || ALPHA_MIKASA 262 263config ALPHA_EV56 264 prompt "EV56 CPU (speed >= 400MHz)?" 265 depends on ALPHA_RAWHIDE 266 267config ALPHA_T2 268 bool 269 depends on ALPHA_SABLE 270 default y 271 272config ALPHA_PYXIS 273 bool 274 depends on ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN 275 default y 276 277config ALPHA_EV6 278 bool 279 depends on ALPHA_NAUTILUS || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_DP264 || ALPHA_EIGER || ALPHA_MARVEL 280 default y 281 282config ALPHA_TSUNAMI 283 bool 284 depends on ALPHA_SHARK || ALPHA_DP264 || ALPHA_EIGER 285 default y 286 287config ALPHA_EV67 288 bool "EV67 (or later) CPU (speed > 600MHz)?" if ALPHA_DP264 || ALPHA_EIGER 289 default y if ALPHA_NAUTILUS || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_MARVEL 290 help 291 Is this a machine based on the EV67 core? If in doubt, select N here 292 and the machine will be treated as an EV6. 293 294config ALPHA_MCPCIA 295 bool 296 depends on ALPHA_RAWHIDE 297 default y 298 299config ALPHA_POLARIS 300 bool 301 depends on ALPHA_RX164 302 default y 303 304config ALPHA_IRONGATE 305 bool 306 depends on ALPHA_NAUTILUS 307 default y 308 309config GENERIC_HWEIGHT 310 bool 311 default y if !ALPHA_EV67 312 313config ALPHA_BROKEN_IRQ_MASK 314 bool 315 depends on ALPHA_GENERIC || ALPHA_PC164 316 default y 317 318config VGA_HOSE 319 bool 320 depends on VGA_CONSOLE && (ALPHA_GENERIC || ALPHA_TITAN || ALPHA_MARVEL || ALPHA_TSUNAMI) 321 default y 322 help 323 Support VGA on an arbitrary hose; needed for several platforms 324 which always have multiple hoses, and whose consoles support it. 325 326 327config ALPHA_QEMU 328 bool "Run under QEMU emulation" 329 depends on !ALPHA_GENERIC 330 help 331 Assume the presence of special features supported by QEMU PALcode 332 that reduce the overhead of system emulation. 333 334 Generic kernels will auto-detect QEMU. But when building a 335 system-specific kernel, the assumption is that we want to 336 eliminate as many runtime tests as possible. 337 338 If unsure, say N. 339 340 341config ALPHA_SRM 342 bool "Use SRM as bootloader" if ALPHA_PC164 || ALPHA_TAKARA || ALPHA_ALCOR || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_NAUTILUS 343 depends on TTY 344 default y if ALPHA_MIKASA || ALPHA_SABLE || ALPHA_NORITAKE || ALPHA_DP264 || ALPHA_RAWHIDE || ALPHA_EIGER || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_MARVEL 345 help 346 There are two different types of booting firmware on Alphas: SRM, 347 which is command line driven, and ARC, which uses menus and arrow 348 keys. Details about the Linux/Alpha booting process are contained in 349 the Linux/Alpha FAQ, accessible on the WWW from 350 <http://www.alphalinux.org/>. 351 352 The usual way to load Linux on an Alpha machine is to use MILO 353 (a bootloader that lets you pass command line parameters to the 354 kernel just like lilo does for the x86 architecture) which can be 355 loaded either from ARC or can be installed directly as a permanent 356 firmware replacement from floppy (which requires changing a certain 357 jumper on the motherboard). If you want to do either of these, say N 358 here. If MILO doesn't work on your system (true for Jensen 359 motherboards), you can bypass it altogether and boot Linux directly 360 from an SRM console; say Y here in order to do that. Note that you 361 won't be able to boot from an IDE disk using SRM. 362 363 If unsure, say N. 364 365config ARCH_MAY_HAVE_PC_FDC 366 def_bool y 367 368config SMP 369 bool "Symmetric multi-processing support" 370 depends on ALPHA_SABLE || ALPHA_RAWHIDE || ALPHA_DP264 || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_GENERIC || ALPHA_SHARK || ALPHA_MARVEL 371 help 372 This enables support for systems with more than one CPU. If you have 373 a system with only one CPU, say N. If you have a system with more 374 than one CPU, say Y. 375 376 If you say N here, the kernel will run on uni- and multiprocessor 377 machines, but will use only one CPU of a multiprocessor machine. If 378 you say Y here, the kernel will run on many, but not all, 379 uniprocessor machines. On a uniprocessor machine, the kernel 380 will run faster if you say N here. 381 382 See also the SMP-HOWTO available at 383 <https://www.tldp.org/docs.html#howto>. 384 385 If you don't know what to do here, say N. 386 387config NR_CPUS 388 int "Maximum number of CPUs (2-32)" 389 range 2 32 390 depends on SMP 391 default "32" if ALPHA_GENERIC || ALPHA_MARVEL 392 default "4" if !ALPHA_GENERIC && !ALPHA_MARVEL 393 help 394 MARVEL support can handle a maximum of 32 CPUs, all the others 395 with working support have a maximum of 4 CPUs. 396 397config ARCH_SPARSEMEM_ENABLE 398 bool "Sparse Memory Support" 399 help 400 Say Y to support efficient handling of discontiguous physical memory, 401 for systems that have huge holes in the physical address space. 402 403config ALPHA_WTINT 404 bool "Use WTINT" if ALPHA_SRM || ALPHA_GENERIC 405 default y if ALPHA_QEMU 406 default n if ALPHA_EV5 || ALPHA_EV56 407 default n if !ALPHA_SRM && !ALPHA_GENERIC 408 default y if SMP 409 help 410 The Wait for Interrupt (WTINT) PALcall attempts to place the CPU 411 to sleep until the next interrupt. This may reduce the power 412 consumed, and the heat produced by the computer. However, it has 413 the side effect of making the cycle counter unreliable as a timing 414 device across the sleep. 415 416 For emulation under QEMU, definitely say Y here, as we have other 417 mechanisms for measuring time than the cycle counter. 418 419 For EV4 (but not LCA), EV5 and EV56 systems, or for systems running 420 MILO, sleep mode is not supported so you might as well say N here. 421 422 For SMP systems we cannot use the cycle counter for timing anyway, 423 so you might as well say Y here. 424 425 If unsure, say N. 426 427# LARGE_VMALLOC is racy, if you *really* need it then fix it first 428config ALPHA_LARGE_VMALLOC 429 bool 430 help 431 Process creation and other aspects of virtual memory management can 432 be streamlined if we restrict the kernel to one PGD for all vmalloc 433 allocations. This equates to about 8GB. 434 435 Under normal circumstances, this is so far and above what is needed 436 as to be laughable. However, there are certain applications (such 437 as benchmark-grade in-kernel web serving) that can make use of as 438 much vmalloc space as is available. 439 440 Say N unless you know you need gobs and gobs of vmalloc space. 441 442config VERBOSE_MCHECK 443 bool "Verbose Machine Checks" 444 445config VERBOSE_MCHECK_ON 446 int "Verbose Printing Mode (0=off, 1=on, 2=all)" 447 depends on VERBOSE_MCHECK 448 default 1 449 help 450 This option allows the default printing mode to be set, and then 451 possibly overridden by a boot command argument. 452 453 For example, if one wanted the option of printing verbose 454 machine checks, but wanted the default to be as if verbose 455 machine check printing was turned off, then one would choose 456 the printing mode to be 0. Then, upon reboot, one could add 457 the boot command line "verbose_mcheck=1" to get the normal 458 verbose machine check printing, or "verbose_mcheck=2" to get 459 the maximum information available. 460 461 Take the default (1) unless you want more control or more info. 462 463choice 464 prompt "Timer interrupt frequency (HZ)?" 465 default HZ_128 if ALPHA_QEMU 466 default HZ_1200 if ALPHA_RAWHIDE 467 default HZ_1024 468 help 469 The frequency at which timer interrupts occur. A high frequency 470 minimizes latency, whereas a low frequency minimizes overhead of 471 process accounting. The later effect is especially significant 472 when being run under QEMU. 473 474 Note that some Alpha hardware cannot change the interrupt frequency 475 of the timer. If unsure, say 1024 (or 1200 for Rawhide). 476 477 config HZ_32 478 bool "32 Hz" 479 config HZ_64 480 bool "64 Hz" 481 config HZ_128 482 bool "128 Hz" 483 config HZ_256 484 bool "256 Hz" 485 config HZ_1024 486 bool "1024 Hz" 487 config HZ_1200 488 bool "1200 Hz" 489endchoice 490 491config HZ 492 int 493 default 32 if HZ_32 494 default 64 if HZ_64 495 default 128 if HZ_128 496 default 256 if HZ_256 497 default 1200 if HZ_1200 498 default 1024 499 500config SRM_ENV 501 tristate "SRM environment through procfs" 502 depends on PROC_FS 503 help 504 If you enable this option, a subdirectory inside /proc called 505 /proc/srm_environment will give you access to the all important 506 SRM environment variables (those which have a name) and also 507 to all others (by their internal number). 508 509 SRM is something like a BIOS for Alpha machines. There are some 510 other such BIOSes, like AlphaBIOS, which this driver cannot 511 support (hey, that's not SRM!). 512 513 Despite the fact that this driver doesn't work on all Alphas (but 514 only on those which have SRM as their firmware), it's save to 515 build it even if your particular machine doesn't know about SRM 516 (or if you intend to compile a generic kernel). It will simply 517 not create those subdirectory in /proc (and give you some warning, 518 of course). 519 520 This driver is also available as a module and will be called 521 srm_env then. 522 523endmenu 524 525# DUMMY_CONSOLE may be defined in drivers/video/console/Kconfig 526# but we also need it if VGA_HOSE is set 527config DUMMY_CONSOLE 528 bool 529 depends on VGA_HOSE 530 default y 531