blob: e4334f017f8e3fd620f11bb7a91c398983b16dd9 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002config ALPHA
3 bool
4 default y
Mark Salter1571ed02013-10-07 19:51:52 -04005 select ARCH_MIGHT_HAVE_PC_PARPORT
Mark Salter77b2d072014-01-01 11:27:31 -08006 select ARCH_MIGHT_HAVE_PC_SERIO
Matt Turner8f8dcb32015-08-04 14:35:05 -07007 select ARCH_USE_CMPXCHG_LOCKREF
David Woodhousee17c6d52008-06-17 12:19:34 +01008 select HAVE_AOUT
Sam Ravnborgec7748b2008-02-09 10:46:40 +01009 select HAVE_IDE
Mathieu Desnoyers42d4b832008-02-02 15:10:34 -050010 select HAVE_OPROFILE
Ralf Baechle8761f1a2011-06-01 19:05:09 +010011 select HAVE_PCSPKR_PLATFORM
Michael Creea582e6f2009-12-08 14:27:01 -050012 select HAVE_PERF_EVENTS
Christoph Hellwigf616ab52018-05-09 06:53:49 +020013 select NEED_DMA_MAP_STATE
Christoph Hellwig86596f02018-04-05 09:44:52 +020014 select NEED_SG_DMA_LENGTH
Stephen Rothwell4febd952013-03-07 15:48:16 +110015 select VIRT_TO_BUS
Thomas Gleixnere27ec642011-01-19 20:27:11 +010016 select GENERIC_IRQ_PROBE
17 select AUTO_IRQ_AFFINITY if SMP
Thomas Gleixnera6e120e2011-03-25 22:20:51 +010018 select GENERIC_IRQ_SHOW
Will Deaconc1d7e012012-07-30 14:42:46 -070019 select ARCH_WANT_IPC_PARSE_VERSION
Huang Yingdf013ff2011-07-13 13:14:22 +080020 select ARCH_HAVE_NMI_SAFE_CMPXCHG
蔡正龙a9302e82013-12-20 10:04:10 +080021 select AUDIT_ARCH
Richard Hendersona1659d62013-07-14 10:57:34 -070022 select GENERIC_CLOCKEVENTS
Michael Cree6fd16ce2018-02-26 22:02:12 +130023 select GENERIC_CPU_VULNERABILITIES
Thomas Gleixner2ec94152012-04-20 13:05:55 +000024 select GENERIC_SMP_IDLE_THREAD
Michael Creef2db6332012-08-19 14:40:58 +120025 select GENERIC_STRNCPY_FROM_USER
26 select GENERIC_STRNLEN_USER
AKASHI Takahiro7a017722014-02-25 18:16:24 +090027 select HAVE_ARCH_AUDITSYSCALL
David Howells786d35d2012-09-28 14:31:03 +093028 select HAVE_MOD_ARCH_SPECIFIC
29 select MODULES_USE_ELF_RELA
Al Viroeaca6ea2012-11-25 23:12:10 -050030 select ODD_RT_SIGACTION
Al Viro302627e2012-12-25 16:30:23 -050031 select OLD_SIGSUSPEND
Zhaoxiu Zengfff7fb02016-05-20 17:03:57 -070032 select CPU_NO_EFFICIENT_FFS if !ALPHA_EV67
Linus Torvalds1da177e2005-04-16 15:20:36 -070033 help
34 The Alpha is a 64-bit general-purpose processor designed and
35 marketed by the Digital Equipment Corporation of blessed memory,
36 now Hewlett-Packard. The Alpha Linux project has a home page at
37 <http://www.alphalinux.org/>.
38
39config 64BIT
40 def_bool y
41
42config MMU
43 bool
44 default y
45
Linus Torvalds1da177e2005-04-16 15:20:36 -070046config RWSEM_GENERIC_SPINLOCK
47 bool
48
49config RWSEM_XCHGADD_ALGORITHM
50 bool
51 default y
52
David Howellsf0d1b0b2006-12-08 02:37:49 -080053config ARCH_HAS_ILOG2_U32
54 bool
55 default n
56
57config ARCH_HAS_ILOG2_U64
58 bool
59 default n
60
Linus Torvalds1da177e2005-04-16 15:20:36 -070061config GENERIC_CALIBRATE_DELAY
62 bool
63 default y
64
Christoph Lameter5ac6da62007-02-10 01:43:14 -080065config ZONE_DMA
66 bool
67 default y
68
Linus Torvalds1da177e2005-04-16 15:20:36 -070069config GENERIC_ISA_DMA
70 bool
71 default y
72
Kirill A. Shutemovf5d45472015-04-14 15:45:36 -070073config PGTABLE_LEVELS
74 int
75 default 3
76
蔡正龙a9302e82013-12-20 10:04:10 +080077config AUDIT_ARCH
78 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -070079
80menu "System setup"
81
82choice
83 prompt "Alpha system type"
84 default ALPHA_GENERIC
85 ---help---
86 This is the system type of your hardware. A "generic" kernel will
87 run on any supported Alpha system. However, if you configure a
88 kernel for your specific system, it will be faster and smaller.
89
90 To find out what type of Alpha system you have, you may want to
91 check out the Linux/Alpha FAQ, accessible on the WWW from
92 <http://www.alphalinux.org/>. In summary:
93
Jay Estabrookd7083172007-06-01 00:47:05 -070094 Alcor/Alpha-XLT AS 600, AS 500, XL-300, XL-366
Linus Torvalds1da177e2005-04-16 15:20:36 -070095 Alpha-XL XL-233, XL-266
96 AlphaBook1 Alpha laptop
97 Avanti AS 200, AS 205, AS 250, AS 255, AS 300, AS 400
98 Cabriolet AlphaPC64, AlphaPCI64
Jay Estabrookd7083172007-06-01 00:47:05 -070099 DP264 DP264 / DS20 / ES40 / DS10 / DS10L
Linus Torvalds1da177e2005-04-16 15:20:36 -0700100 EB164 EB164 21164 evaluation board
101 EB64+ EB64+ 21064 evaluation board
102 EB66 EB66 21066 evaluation board
103 EB66+ EB66+ 21066 evaluation board
Jay Estabrookd7083172007-06-01 00:47:05 -0700104 Jensen DECpc 150, DEC 2000 models 300, 500
Linus Torvalds1da177e2005-04-16 15:20:36 -0700105 LX164 AlphaPC164-LX
106 Lynx AS 2100A
Jay Estabrookd7083172007-06-01 00:47:05 -0700107 Miata Personal Workstation 433/500/600 a/au
Linus Torvalds1da177e2005-04-16 15:20:36 -0700108 Marvel AlphaServer ES47 / ES80 / GS1280
109 Mikasa AS 1000
110 Noname AXPpci33, UDB (Multia)
111 Noritake AS 1000A, AS 600A, AS 800
112 PC164 AlphaPC164
113 Rawhide AS 1200, AS 4000, AS 4100
114 Ruffian RPX164-2, AlphaPC164-UX, AlphaPC164-BX
115 SX164 AlphaPC164-SX
116 Sable AS 2000, AS 2100
Jay Estabrookd7083172007-06-01 00:47:05 -0700117 Shark DS 20L
118 Takara Takara (OEM)
119 Titan AlphaServer ES45 / DS25 / DS15
Linus Torvalds1da177e2005-04-16 15:20:36 -0700120 Wildfire AlphaServer GS 40/80/160/320
121
122 If you don't know what to do, choose "generic".
123
124config ALPHA_GENERIC
125 bool "Generic"
Joe Millenbach4f73bc42013-01-17 22:44:22 -0800126 depends on TTY
Linus Torvalds1da177e2005-04-16 15:20:36 -0700127 help
128 A generic kernel will run on all supported Alpha hardware.
129
130config ALPHA_ALCOR
131 bool "Alcor/Alpha-XLT"
132 help
133 For systems using the Digital ALCOR chipset: 5 chips (4, 64-bit data
134 slices (Data Switch, DSW) - 208-pin PQFP and 1 control (Control, I/O
135 Address, CIA) - a 383 pin plastic PGA). It provides a DRAM
136 controller (256-bit memory bus) and a PCI interface. It also does
137 all the work required to support an external Bcache and to maintain
138 memory coherence when a PCI device DMAs into (or out of) memory.
139
140config ALPHA_XL
141 bool "Alpha-XL"
142 help
143 XL-233 and XL-266-based Alpha systems.
144
145config ALPHA_BOOK1
146 bool "AlphaBook1"
147 help
148 Dec AlphaBook1/Burns Alpha-based laptops.
149
150config ALPHA_AVANTI_CH
151 bool "Avanti"
152
153config ALPHA_CABRIOLET
154 bool "Cabriolet"
155 help
156 Cabriolet AlphaPC64, AlphaPCI64 systems. Derived from EB64+ but now
157 baby-AT with Flash boot ROM, no on-board SCSI or Ethernet. 3 ISA
158 slots, 4 PCI slots (one pair are on a shared slot), uses plug-in
159 Bcache SIMMs. Requires power supply with 3.3V output.
160
161config ALPHA_DP264
162 bool "DP264"
163 help
164 Various 21264 systems with the tsunami core logic chipset.
165 API Networks: 264DP, UP2000(+), CS20;
166 Compaq: DS10(E,L), XP900, XP1000, DS20(E), ES40.
167
168config ALPHA_EB164
169 bool "EB164"
170 help
171 EB164 21164 evaluation board from DEC. Uses 21164 and ALCOR. Has
172 ISA and PCI expansion (3 ISA slots, 2 64-bit PCI slots (one is
173 shared with an ISA slot) and 2 32-bit PCI slots. Uses plus-in
174 Bcache SIMMs. I/O sub-system provides SuperI/O (2S, 1P, FD), KBD,
175 MOUSE (PS2 style), RTC/NVRAM. Boot ROM is Flash. PC-AT-sized
176 motherboard. Requires power supply with 3.3V output.
177
178config ALPHA_EB64P_CH
179 bool "EB64+"
180
181config ALPHA_EB66
182 bool "EB66"
183 help
184 A Digital DS group board. Uses 21066 or 21066A. I/O sub-system is
185 identical to EB64+. Baby PC-AT size. Runs from standard PC power
186 supply. The EB66 schematic was published as a marketing poster
187 advertising the 21066 as "the first microprocessor in the world with
188 embedded PCI".
189
190config ALPHA_EB66P
191 bool "EB66+"
192 help
193 Later variant of the EB66 board.
194
195config ALPHA_EIGER
196 bool "Eiger"
197 help
198 Apparently an obscure OEM single-board computer based on the
199 Typhoon/Tsunami chipset family. Information on it is scanty.
200
201config ALPHA_JENSEN
202 bool "Jensen"
Christoph Hellwig1883c9f2017-12-22 10:42:06 +0100203 depends on BROKEN
Christoph Hellwig6db61542018-05-09 16:04:51 +0200204 select DMA_DIRECT_OPS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700205 help
206 DEC PC 150 AXP (aka Jensen): This is a very old Digital system - one
207 of the first-generation Alpha systems. A number of these systems
208 seem to be available on the second- hand market. The Jensen is a
209 floor-standing tower system which originally used a 150MHz 21064 It
210 used programmable logic to interface a 486 EISA I/O bridge to the
211 CPU.
212
213config ALPHA_LX164
214 bool "LX164"
215 help
216 A technical overview of this board is available at
217 <http://www.unix-ag.org/Linux-Alpha/Architectures/LX164.html>.
218
219config ALPHA_LYNX
220 bool "Lynx"
221 help
222 AlphaServer 2100A-based systems.
223
224config ALPHA_MARVEL
225 bool "Marvel"
226 help
227 AlphaServer ES47 / ES80 / GS1280 based on EV7.
228
229config ALPHA_MIATA
230 bool "Miata"
231 help
232 The Digital PersonalWorkStation (PWS 433a, 433au, 500a, 500au, 600a,
Adrian Bunkffc32d62008-10-15 22:01:19 -0700233 or 600au).
Linus Torvalds1da177e2005-04-16 15:20:36 -0700234
235config ALPHA_MIKASA
236 bool "Mikasa"
237 help
238 AlphaServer 1000-based Alpha systems.
239
240config ALPHA_NAUTILUS
241 bool "Nautilus"
242 help
243 Alpha systems based on the AMD 751 & ALI 1543C chipsets.
244
245config ALPHA_NONAME_CH
246 bool "Noname"
247
248config ALPHA_NORITAKE
249 bool "Noritake"
250 help
251 AlphaServer 1000A, AlphaServer 600A, and AlphaServer 800-based
252 systems.
253
254config ALPHA_PC164
255 bool "PC164"
256
257config ALPHA_P2K
258 bool "Platform2000"
259
260config ALPHA_RAWHIDE
261 bool "Rawhide"
262 help
263 AlphaServer 1200, AlphaServer 4000 and AlphaServer 4100 machines.
264 See HOWTO at
265 <http://www.alphalinux.org/docs/rawhide/4100_install.shtml>.
266
267config ALPHA_RUFFIAN
268 bool "Ruffian"
269 help
270 Samsung APC164UX. There is a page on known problems and workarounds
271 at <http://www.alphalinux.org/faq/FAQ-11.html>.
272
273config ALPHA_RX164
274 bool "RX164"
275
276config ALPHA_SX164
277 bool "SX164"
278
279config ALPHA_SABLE
280 bool "Sable"
281 help
282 Digital AlphaServer 2000 and 2100-based systems.
283
284config ALPHA_SHARK
285 bool "Shark"
286
287config ALPHA_TAKARA
288 bool "Takara"
289 help
290 Alpha 11164-based OEM single-board computer.
291
292config ALPHA_TITAN
293 bool "Titan"
294 help
295 AlphaServer ES45/DS25 SMP based on EV68 and Titan chipset.
296
297config ALPHA_WILDFIRE
298 bool "Wildfire"
299 help
300 AlphaServer GS 40/80/160/320 SMP based on the EV67 core.
301
302endchoice
303
304# clear all implied options (don't want default values for those):
305# Most of these machines have ISA slots; not exactly sure which don't,
306# and this doesn't activate hordes of code, so do it always.
307config ISA
308 bool
309 default y
310 help
311 Find out whether you have ISA slots on your motherboard. ISA is the
312 name of a bus system, i.e. the way the CPU talks to the other stuff
313 inside your box. Other bus systems are PCI, EISA, MicroChannel
314 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
315 newer boards don't support it. If you have ISA, say Y, otherwise N.
316
Al Viro5cae8412005-05-04 05:39:22 +0100317config ISA_DMA_API
318 bool
319 default y
320
Linus Torvalds1da177e2005-04-16 15:20:36 -0700321config PCI
322 bool
323 depends on !ALPHA_JENSEN
Michael S. Tsirkinf2971c42011-11-24 20:48:56 +0200324 select GENERIC_PCI_IOMAP
Linus Torvalds1da177e2005-04-16 15:20:36 -0700325 default y
326 help
327 Find out whether you have a PCI motherboard. PCI is the name of a
328 bus system, i.e. the way the CPU talks to the other stuff inside
329 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
330 VESA. If you have PCI, say Y, otherwise N.
331
Linus Torvalds1da177e2005-04-16 15:20:36 -0700332config PCI_DOMAINS
333 bool
334 default y
335
Matthew Wilcox36e23592007-07-10 10:54:40 -0600336config PCI_SYSCALL
337 def_bool PCI
338
Linus Torvalds1da177e2005-04-16 15:20:36 -0700339config ALPHA_NONAME
340 bool
341 depends on ALPHA_BOOK1 || ALPHA_NONAME_CH
342 default y
343 help
344 The AXPpci33 (aka NoName), is based on the EB66 (includes the Multia
345 UDB). This design was produced by Digital's Technical OEM (TOEM)
346 group. It uses the 21066 processor running at 166MHz or 233MHz. It
347 is a baby-AT size, and runs from a standard PC power supply. It has
348 5 ISA slots and 3 PCI slots (one pair are a shared slot). There are
349 2 versions, with either PS/2 or large DIN connectors for the
350 keyboard.
351
352config ALPHA_EV4
353 bool
354 depends on ALPHA_JENSEN || (ALPHA_SABLE && !ALPHA_GAMMA) || ALPHA_LYNX || ALPHA_NORITAKE && !ALPHA_PRIMO || ALPHA_MIKASA && !ALPHA_PRIMO || ALPHA_CABRIOLET || ALPHA_AVANTI_CH || ALPHA_EB64P_CH || ALPHA_XL || ALPHA_NONAME || ALPHA_EB66 || ALPHA_EB66P || ALPHA_P2K
355 default y if !ALPHA_LYNX
356
357config ALPHA_LCA
358 bool
359 depends on ALPHA_NONAME || ALPHA_EB66 || ALPHA_EB66P || ALPHA_P2K
360 default y
361
362config ALPHA_APECS
363 bool
364 depends on !ALPHA_PRIMO && (ALPHA_NORITAKE || ALPHA_MIKASA) || ALPHA_CABRIOLET || ALPHA_AVANTI_CH || ALPHA_EB64P_CH || ALPHA_XL
365 default y
366
367config ALPHA_EB64P
368 bool
369 depends on ALPHA_CABRIOLET || ALPHA_EB64P_CH
370 default y
371 help
372 Uses 21064 or 21064A and APECs. Has ISA and PCI expansion (3 ISA,
373 2 PCI, one pair are on a shared slot). Supports 36-bit DRAM SIMs.
374 ISA bus generated by Intel SaturnI/O PCI-ISA bridge. On-board SCSI
375 (NCR 810 on PCI) Ethernet (Digital 21040), KBD, MOUSE (PS2 style),
376 SuperI/O (2S, 1P, FD), RTC/NVRAM. Boot ROM is EPROM. PC-AT size.
377 Runs from standard PC power supply.
378
379config ALPHA_EV5
380 bool "EV5 CPU(s) (model 5/xxx)?" if ALPHA_LYNX
381 default y if ALPHA_RX164 || ALPHA_RAWHIDE || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN || ALPHA_SABLE && ALPHA_GAMMA || ALPHA_NORITAKE && ALPHA_PRIMO || ALPHA_MIKASA && ALPHA_PRIMO || ALPHA_PC164 || ALPHA_TAKARA || ALPHA_EB164 || ALPHA_ALCOR
382
383config ALPHA_EV4
384 bool
385 default y if ALPHA_LYNX && !ALPHA_EV5
386
387config ALPHA_CIA
388 bool
389 depends on ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN || ALPHA_NORITAKE && ALPHA_PRIMO || ALPHA_MIKASA && ALPHA_PRIMO || ALPHA_PC164 || ALPHA_TAKARA || ALPHA_EB164 || ALPHA_ALCOR
390 default y
391
392config ALPHA_EV56
393 bool "EV56 CPU (speed >= 366MHz)?" if ALPHA_ALCOR
394 default y if ALPHA_RX164 || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN || ALPHA_PC164 || ALPHA_TAKARA
395
396config ALPHA_EV56
397 prompt "EV56 CPU (speed >= 333MHz)?"
Fernando J. Pereda060ec3d2006-09-25 23:32:37 -0700398 depends on ALPHA_NORITAKE || ALPHA_PRIMO
Linus Torvalds1da177e2005-04-16 15:20:36 -0700399
400config ALPHA_EV56
401 prompt "EV56 CPU (speed >= 400MHz)?"
402 depends on ALPHA_RAWHIDE
403
404config ALPHA_PRIMO
405 bool "EV5 CPU daughtercard (model 5/xxx)?"
406 depends on ALPHA_NORITAKE || ALPHA_MIKASA
407 help
408 Say Y if you have an AS 1000 5/xxx or an AS 1000A 5/xxx.
409
410config ALPHA_GAMMA
411 bool "EV5 CPU(s) (model 5/xxx)?"
412 depends on ALPHA_SABLE
413 help
414 Say Y if you have an AS 2000 5/xxx or an AS 2100 5/xxx.
415
416config ALPHA_GAMMA
417 bool
418 depends on ALPHA_LYNX
419 default y
420
421config ALPHA_T2
422 bool
423 depends on ALPHA_SABLE || ALPHA_LYNX
424 default y
425
426config ALPHA_PYXIS
427 bool
428 depends on ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN
429 default y
430
431config ALPHA_EV6
432 bool
433 depends on ALPHA_NAUTILUS || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_DP264 || ALPHA_EIGER || ALPHA_MARVEL
434 default y
435
436config ALPHA_TSUNAMI
437 bool
438 depends on ALPHA_SHARK || ALPHA_DP264 || ALPHA_EIGER
439 default y
440
441config ALPHA_EV67
442 bool "EV67 (or later) CPU (speed > 600MHz)?" if ALPHA_DP264 || ALPHA_EIGER
443 default y if ALPHA_NAUTILUS || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_MARVEL
444 help
445 Is this a machine based on the EV67 core? If in doubt, select N here
446 and the machine will be treated as an EV6.
447
Linus Torvalds1da177e2005-04-16 15:20:36 -0700448config ALPHA_MCPCIA
449 bool
450 depends on ALPHA_RAWHIDE
451 default y
452
453config ALPHA_POLARIS
454 bool
455 depends on ALPHA_RX164
456 default y
457
458config ALPHA_IRONGATE
459 bool
460 depends on ALPHA_NAUTILUS
461 default y
462
Akinobu Mitaf7c29672006-03-26 01:39:18 -0800463config GENERIC_HWEIGHT
464 bool
Randy Dunlap5e625b02006-06-12 15:13:40 -0700465 default y if !ALPHA_EV67
Akinobu Mitaf7c29672006-03-26 01:39:18 -0800466
Linus Torvalds1da177e2005-04-16 15:20:36 -0700467config ALPHA_AVANTI
468 bool
469 depends on ALPHA_XL || ALPHA_AVANTI_CH
470 default y
471 help
472 Avanti AS 200, AS 205, AS 250, AS 255, AS 300, and AS 400-based
473 Alphas. Info at
474 <http://www.unix-ag.org/Linux-Alpha/Architectures/Avanti.html>.
475
476config ALPHA_BROKEN_IRQ_MASK
477 bool
478 depends on ALPHA_GENERIC || ALPHA_PC164
479 default y
480
Jay Estabrook025a2212007-06-01 00:47:03 -0700481config VGA_HOSE
482 bool
Matt Turnerdd7f1fe2012-05-01 21:28:59 -0400483 depends on VGA_CONSOLE && (ALPHA_GENERIC || ALPHA_TITAN || ALPHA_MARVEL || ALPHA_TSUNAMI)
Jay Estabrook025a2212007-06-01 00:47:03 -0700484 default y
485 help
486 Support VGA on an arbitrary hose; needed for several platforms
487 which always have multiple hoses, and whose consoles support it.
488
489
Richard Henderson994dcf72011-04-28 07:29:27 -0700490config ALPHA_QEMU
491 bool "Run under QEMU emulation"
492 depends on !ALPHA_GENERIC
493 ---help---
494 Assume the presence of special features supported by QEMU PALcode
495 that reduce the overhead of system emulation.
496
497 Generic kernels will auto-detect QEMU. But when building a
498 system-specific kernel, the assumption is that we want to
Masanari Iida83fc61a2017-09-26 12:47:59 +0900499 eliminate as many runtime tests as possible.
Richard Henderson994dcf72011-04-28 07:29:27 -0700500
501 If unsure, say N.
502
503
Linus Torvalds1da177e2005-04-16 15:20:36 -0700504config ALPHA_SRM
505 bool "Use SRM as bootloader" if ALPHA_CABRIOLET || ALPHA_AVANTI_CH || ALPHA_EB64P || ALPHA_PC164 || ALPHA_TAKARA || ALPHA_EB164 || ALPHA_ALCOR || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_NAUTILUS || ALPHA_NONAME
Joe Millenbach4f73bc42013-01-17 22:44:22 -0800506 depends on TTY
Linus Torvalds1da177e2005-04-16 15:20:36 -0700507 default y if ALPHA_JENSEN || ALPHA_MIKASA || ALPHA_SABLE || ALPHA_LYNX || ALPHA_NORITAKE || ALPHA_DP264 || ALPHA_RAWHIDE || ALPHA_EIGER || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_MARVEL
508 ---help---
509 There are two different types of booting firmware on Alphas: SRM,
510 which is command line driven, and ARC, which uses menus and arrow
511 keys. Details about the Linux/Alpha booting process are contained in
512 the Linux/Alpha FAQ, accessible on the WWW from
513 <http://www.alphalinux.org/>.
514
515 The usual way to load Linux on an Alpha machine is to use MILO
516 (a bootloader that lets you pass command line parameters to the
517 kernel just like lilo does for the x86 architecture) which can be
518 loaded either from ARC or can be installed directly as a permanent
519 firmware replacement from floppy (which requires changing a certain
520 jumper on the motherboard). If you want to do either of these, say N
521 here. If MILO doesn't work on your system (true for Jensen
522 motherboards), you can bypass it altogether and boot Linux directly
523 from an SRM console; say Y here in order to do that. Note that you
524 won't be able to boot from an IDE disk using SRM.
525
526 If unsure, say N.
527
528config EISA
529 bool
530 depends on ALPHA_GENERIC || ALPHA_JENSEN || ALPHA_ALCOR || ALPHA_MIKASA || ALPHA_SABLE || ALPHA_LYNX || ALPHA_NORITAKE || ALPHA_RAWHIDE
531 default y
532
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +0100533config ARCH_MAY_HAVE_PC_FDC
534 def_bool y
535
Linus Torvalds1da177e2005-04-16 15:20:36 -0700536config SMP
537 bool "Symmetric multi-processing support"
538 depends on ALPHA_SABLE || ALPHA_LYNX || ALPHA_RAWHIDE || ALPHA_DP264 || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_GENERIC || ALPHA_SHARK || ALPHA_MARVEL
539 ---help---
540 This enables support for systems with more than one CPU. If you have
Robert Graffham4a474152014-01-23 15:55:29 -0800541 a system with only one CPU, say N. If you have a system with more
542 than one CPU, say Y.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700543
Robert Graffham4a474152014-01-23 15:55:29 -0800544 If you say N here, the kernel will run on uni- and multiprocessor
Linus Torvalds1da177e2005-04-16 15:20:36 -0700545 machines, but will use only one CPU of a multiprocessor machine. If
546 you say Y here, the kernel will run on many, but not all,
Robert Graffham4a474152014-01-23 15:55:29 -0800547 uniprocessor machines. On a uniprocessor machine, the kernel
Linus Torvalds1da177e2005-04-16 15:20:36 -0700548 will run faster if you say N here.
549
Adrian Bunk03502fa2008-02-03 15:50:21 +0200550 See also the SMP-HOWTO available at
551 <http://www.tldp.org/docs.html#howto>.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700552
553 If you don't know what to do here, say N.
554
Linus Torvalds1da177e2005-04-16 15:20:36 -0700555config NR_CPUS
Jay Estabrookd7083172007-06-01 00:47:05 -0700556 int "Maximum number of CPUs (2-32)"
557 range 2 32
Linus Torvalds1da177e2005-04-16 15:20:36 -0700558 depends on SMP
Jay Estabrookd7083172007-06-01 00:47:05 -0700559 default "32" if ALPHA_GENERIC || ALPHA_MARVEL
560 default "4" if !ALPHA_GENERIC && !ALPHA_MARVEL
561 help
562 MARVEL support can handle a maximum of 32 CPUs, all the others
563 with working support have a maximum of 4 CPUs.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700564
Dave Hansen3f22ab22005-06-23 00:07:43 -0700565config ARCH_DISCONTIGMEM_ENABLE
Kees Cook88d11bb2012-10-02 11:16:25 -0700566 bool "Discontiguous Memory Support"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700567 help
Matt LaPlantefc31e832006-10-03 22:23:47 +0200568 Say Y to support efficient handling of discontiguous physical memory,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700569 for architectures which are either NUMA (Non-Uniform Memory Access)
570 or have huge holes in the physical address space for other reasons.
Mike Rapoportad56b732018-03-21 21:22:47 +0200571 See <file:Documentation/vm/numa.rst> for more.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700572
Linus Torvalds1da177e2005-04-16 15:20:36 -0700573config NUMA
574 bool "NUMA Support (EXPERIMENTAL)"
Al Viro6df7c992005-08-23 22:44:50 +0100575 depends on DISCONTIGMEM && BROKEN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700576 help
577 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
578 Access). This option is for configuring high-end multiprocessor
579 server machines. If in doubt, say N.
580
Richard Henderson7f3bbb82013-07-12 09:36:21 -0700581config ALPHA_WTINT
582 bool "Use WTINT" if ALPHA_SRM || ALPHA_GENERIC
583 default y if ALPHA_QEMU
584 default n if ALPHA_EV5 || ALPHA_EV56 || (ALPHA_EV4 && !ALPHA_LCA)
585 default n if !ALPHA_SRM && !ALPHA_GENERIC
586 default y if SMP
587 ---help---
588 The Wait for Interrupt (WTINT) PALcall attempts to place the CPU
589 to sleep until the next interrupt. This may reduce the power
590 consumed, and the heat produced by the computer. However, it has
591 the side effect of making the cycle counter unreliable as a timing
592 device across the sleep.
593
594 For emulation under QEMU, definitely say Y here, as we have other
595 mechanisms for measuring time than the cycle counter.
596
597 For EV4 (but not LCA), EV5 and EV56 systems, or for systems running
598 MILO, sleep mode is not supported so you might as well say N here.
599
600 For SMP systems we cannot use the cycle counter for timing anyway,
601 so you might as well say Y here.
602
603 If unsure, say N.
604
Yasunori Gotoc80d79d2006-04-10 22:53:53 -0700605config NODES_SHIFT
606 int
607 default "7"
608 depends on NEED_MULTIPLE_NODES
609
Linus Torvalds1da177e2005-04-16 15:20:36 -0700610# LARGE_VMALLOC is racy, if you *really* need it then fix it first
611config ALPHA_LARGE_VMALLOC
612 bool
613 ---help---
614 Process creation and other aspects of virtual memory management can
615 be streamlined if we restrict the kernel to one PGD for all vmalloc
616 allocations. This equates to about 8GB.
617
618 Under normal circumstances, this is so far and above what is needed
619 as to be laughable. However, there are certain applications (such
620 as benchmark-grade in-kernel web serving) that can make use of as
621 much vmalloc space as is available.
622
623 Say N unless you know you need gobs and gobs of vmalloc space.
624
625config VERBOSE_MCHECK
626 bool "Verbose Machine Checks"
627
628config VERBOSE_MCHECK_ON
629 int "Verbose Printing Mode (0=off, 1=on, 2=all)"
630 depends on VERBOSE_MCHECK
631 default 1
632 ---help---
633 This option allows the default printing mode to be set, and then
634 possibly overridden by a boot command argument.
635
636 For example, if one wanted the option of printing verbose
637 machine checks, but wanted the default to be as if verbose
638 machine check printing was turned off, then one would choose
639 the printing mode to be 0. Then, upon reboot, one could add
640 the boot command line "verbose_mcheck=1" to get the normal
641 verbose machine check printing, or "verbose_mcheck=2" to get
642 the maximum information available.
643
644 Take the default (1) unless you want more control or more info.
645
Richard Hendersonfddd87d2013-07-12 16:15:56 -0700646choice
647 prompt "Timer interrupt frequency (HZ)?"
648 default HZ_128 if ALPHA_QEMU
649 default HZ_1200 if ALPHA_RAWHIDE
650 default HZ_1024
651 ---help---
652 The frequency at which timer interrupts occur. A high frequency
653 minimizes latency, whereas a low frequency minimizes overhead of
654 process accounting. The later effect is especially significant
655 when being run under QEMU.
656
657 Note that some Alpha hardware cannot change the interrupt frequency
658 of the timer. If unsure, say 1024 (or 1200 for Rawhide).
659
660 config HZ_32
661 bool "32 Hz"
662 config HZ_64
663 bool "64 Hz"
664 config HZ_128
665 bool "128 Hz"
666 config HZ_256
667 bool "256 Hz"
668 config HZ_1024
669 bool "1024 Hz"
670 config HZ_1200
671 bool "1200 Hz"
672endchoice
673
H. Peter Anvinbdc80782008-02-08 04:21:26 -0800674config HZ
Richard Hendersonfddd87d2013-07-12 16:15:56 -0700675 int
676 default 32 if HZ_32
677 default 64 if HZ_64
678 default 128 if HZ_128
679 default 256 if HZ_256
680 default 1200 if HZ_1200
H. Peter Anvinbdc80782008-02-08 04:21:26 -0800681 default 1024
682
Linus Torvalds1da177e2005-04-16 15:20:36 -0700683source "drivers/pci/Kconfig"
684source "drivers/eisa/Kconfig"
685
686source "drivers/pcmcia/Kconfig"
687
688config SRM_ENV
689 tristate "SRM environment through procfs"
690 depends on PROC_FS
691 ---help---
692 If you enable this option, a subdirectory inside /proc called
693 /proc/srm_environment will give you access to the all important
694 SRM environment variables (those which have a name) and also
695 to all others (by their internal number).
696
697 SRM is something like a BIOS for Alpha machines. There are some
698 other such BIOSes, like AlphaBIOS, which this driver cannot
699 support (hey, that's not SRM!).
700
701 Despite the fact that this driver doesn't work on all Alphas (but
702 only on those which have SRM as their firmware), it's save to
703 build it even if your particular machine doesn't know about SRM
704 (or if you intend to compile a generic kernel). It will simply
705 not create those subdirectory in /proc (and give you some warning,
706 of course).
707
708 This driver is also available as a module and will be called
709 srm_env then.
710
Linus Torvalds1da177e2005-04-16 15:20:36 -0700711endmenu
712
Jay Estabrook025a2212007-06-01 00:47:03 -0700713# DUMMY_CONSOLE may be defined in drivers/video/console/Kconfig
714# but we also need it if VGA_HOSE is set
715config DUMMY_CONSOLE
716 bool
717 depends on VGA_HOSE
718 default y