blob: 04a4a138ed131c7256aeb4108453400516b8965a [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
Linus Torvalds1da177e2005-04-16 15:20:36 -070077source "init/Kconfig"
Matt Helsleydc52ddc2008-10-18 20:27:21 -070078source "kernel/Kconfig.freezer"
Linus Torvalds1da177e2005-04-16 15:20:36 -070079
蔡正龙a9302e82013-12-20 10:04:10 +080080config AUDIT_ARCH
81 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -070082
83menu "System setup"
84
85choice
86 prompt "Alpha system type"
87 default ALPHA_GENERIC
88 ---help---
89 This is the system type of your hardware. A "generic" kernel will
90 run on any supported Alpha system. However, if you configure a
91 kernel for your specific system, it will be faster and smaller.
92
93 To find out what type of Alpha system you have, you may want to
94 check out the Linux/Alpha FAQ, accessible on the WWW from
95 <http://www.alphalinux.org/>. In summary:
96
Jay Estabrookd7083172007-06-01 00:47:05 -070097 Alcor/Alpha-XLT AS 600, AS 500, XL-300, XL-366
Linus Torvalds1da177e2005-04-16 15:20:36 -070098 Alpha-XL XL-233, XL-266
99 AlphaBook1 Alpha laptop
100 Avanti AS 200, AS 205, AS 250, AS 255, AS 300, AS 400
101 Cabriolet AlphaPC64, AlphaPCI64
Jay Estabrookd7083172007-06-01 00:47:05 -0700102 DP264 DP264 / DS20 / ES40 / DS10 / DS10L
Linus Torvalds1da177e2005-04-16 15:20:36 -0700103 EB164 EB164 21164 evaluation board
104 EB64+ EB64+ 21064 evaluation board
105 EB66 EB66 21066 evaluation board
106 EB66+ EB66+ 21066 evaluation board
Jay Estabrookd7083172007-06-01 00:47:05 -0700107 Jensen DECpc 150, DEC 2000 models 300, 500
Linus Torvalds1da177e2005-04-16 15:20:36 -0700108 LX164 AlphaPC164-LX
109 Lynx AS 2100A
Jay Estabrookd7083172007-06-01 00:47:05 -0700110 Miata Personal Workstation 433/500/600 a/au
Linus Torvalds1da177e2005-04-16 15:20:36 -0700111 Marvel AlphaServer ES47 / ES80 / GS1280
112 Mikasa AS 1000
113 Noname AXPpci33, UDB (Multia)
114 Noritake AS 1000A, AS 600A, AS 800
115 PC164 AlphaPC164
116 Rawhide AS 1200, AS 4000, AS 4100
117 Ruffian RPX164-2, AlphaPC164-UX, AlphaPC164-BX
118 SX164 AlphaPC164-SX
119 Sable AS 2000, AS 2100
Jay Estabrookd7083172007-06-01 00:47:05 -0700120 Shark DS 20L
121 Takara Takara (OEM)
122 Titan AlphaServer ES45 / DS25 / DS15
Linus Torvalds1da177e2005-04-16 15:20:36 -0700123 Wildfire AlphaServer GS 40/80/160/320
124
125 If you don't know what to do, choose "generic".
126
127config ALPHA_GENERIC
128 bool "Generic"
Joe Millenbach4f73bc42013-01-17 22:44:22 -0800129 depends on TTY
Linus Torvalds1da177e2005-04-16 15:20:36 -0700130 help
131 A generic kernel will run on all supported Alpha hardware.
132
133config ALPHA_ALCOR
134 bool "Alcor/Alpha-XLT"
135 help
136 For systems using the Digital ALCOR chipset: 5 chips (4, 64-bit data
137 slices (Data Switch, DSW) - 208-pin PQFP and 1 control (Control, I/O
138 Address, CIA) - a 383 pin plastic PGA). It provides a DRAM
139 controller (256-bit memory bus) and a PCI interface. It also does
140 all the work required to support an external Bcache and to maintain
141 memory coherence when a PCI device DMAs into (or out of) memory.
142
143config ALPHA_XL
144 bool "Alpha-XL"
145 help
146 XL-233 and XL-266-based Alpha systems.
147
148config ALPHA_BOOK1
149 bool "AlphaBook1"
150 help
151 Dec AlphaBook1/Burns Alpha-based laptops.
152
153config ALPHA_AVANTI_CH
154 bool "Avanti"
155
156config ALPHA_CABRIOLET
157 bool "Cabriolet"
158 help
159 Cabriolet AlphaPC64, AlphaPCI64 systems. Derived from EB64+ but now
160 baby-AT with Flash boot ROM, no on-board SCSI or Ethernet. 3 ISA
161 slots, 4 PCI slots (one pair are on a shared slot), uses plug-in
162 Bcache SIMMs. Requires power supply with 3.3V output.
163
164config ALPHA_DP264
165 bool "DP264"
166 help
167 Various 21264 systems with the tsunami core logic chipset.
168 API Networks: 264DP, UP2000(+), CS20;
169 Compaq: DS10(E,L), XP900, XP1000, DS20(E), ES40.
170
171config ALPHA_EB164
172 bool "EB164"
173 help
174 EB164 21164 evaluation board from DEC. Uses 21164 and ALCOR. Has
175 ISA and PCI expansion (3 ISA slots, 2 64-bit PCI slots (one is
176 shared with an ISA slot) and 2 32-bit PCI slots. Uses plus-in
177 Bcache SIMMs. I/O sub-system provides SuperI/O (2S, 1P, FD), KBD,
178 MOUSE (PS2 style), RTC/NVRAM. Boot ROM is Flash. PC-AT-sized
179 motherboard. Requires power supply with 3.3V output.
180
181config ALPHA_EB64P_CH
182 bool "EB64+"
183
184config ALPHA_EB66
185 bool "EB66"
186 help
187 A Digital DS group board. Uses 21066 or 21066A. I/O sub-system is
188 identical to EB64+. Baby PC-AT size. Runs from standard PC power
189 supply. The EB66 schematic was published as a marketing poster
190 advertising the 21066 as "the first microprocessor in the world with
191 embedded PCI".
192
193config ALPHA_EB66P
194 bool "EB66+"
195 help
196 Later variant of the EB66 board.
197
198config ALPHA_EIGER
199 bool "Eiger"
200 help
201 Apparently an obscure OEM single-board computer based on the
202 Typhoon/Tsunami chipset family. Information on it is scanty.
203
204config ALPHA_JENSEN
205 bool "Jensen"
Christoph Hellwig1883c9f2017-12-22 10:42:06 +0100206 depends on BROKEN
Christoph Hellwig6db61542018-05-09 16:04:51 +0200207 select DMA_DIRECT_OPS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700208 help
209 DEC PC 150 AXP (aka Jensen): This is a very old Digital system - one
210 of the first-generation Alpha systems. A number of these systems
211 seem to be available on the second- hand market. The Jensen is a
212 floor-standing tower system which originally used a 150MHz 21064 It
213 used programmable logic to interface a 486 EISA I/O bridge to the
214 CPU.
215
216config ALPHA_LX164
217 bool "LX164"
218 help
219 A technical overview of this board is available at
220 <http://www.unix-ag.org/Linux-Alpha/Architectures/LX164.html>.
221
222config ALPHA_LYNX
223 bool "Lynx"
224 help
225 AlphaServer 2100A-based systems.
226
227config ALPHA_MARVEL
228 bool "Marvel"
229 help
230 AlphaServer ES47 / ES80 / GS1280 based on EV7.
231
232config ALPHA_MIATA
233 bool "Miata"
234 help
235 The Digital PersonalWorkStation (PWS 433a, 433au, 500a, 500au, 600a,
Adrian Bunkffc32d62008-10-15 22:01:19 -0700236 or 600au).
Linus Torvalds1da177e2005-04-16 15:20:36 -0700237
238config ALPHA_MIKASA
239 bool "Mikasa"
240 help
241 AlphaServer 1000-based Alpha systems.
242
243config ALPHA_NAUTILUS
244 bool "Nautilus"
245 help
246 Alpha systems based on the AMD 751 & ALI 1543C chipsets.
247
248config ALPHA_NONAME_CH
249 bool "Noname"
250
251config ALPHA_NORITAKE
252 bool "Noritake"
253 help
254 AlphaServer 1000A, AlphaServer 600A, and AlphaServer 800-based
255 systems.
256
257config ALPHA_PC164
258 bool "PC164"
259
260config ALPHA_P2K
261 bool "Platform2000"
262
263config ALPHA_RAWHIDE
264 bool "Rawhide"
265 help
266 AlphaServer 1200, AlphaServer 4000 and AlphaServer 4100 machines.
267 See HOWTO at
268 <http://www.alphalinux.org/docs/rawhide/4100_install.shtml>.
269
270config ALPHA_RUFFIAN
271 bool "Ruffian"
272 help
273 Samsung APC164UX. There is a page on known problems and workarounds
274 at <http://www.alphalinux.org/faq/FAQ-11.html>.
275
276config ALPHA_RX164
277 bool "RX164"
278
279config ALPHA_SX164
280 bool "SX164"
281
282config ALPHA_SABLE
283 bool "Sable"
284 help
285 Digital AlphaServer 2000 and 2100-based systems.
286
287config ALPHA_SHARK
288 bool "Shark"
289
290config ALPHA_TAKARA
291 bool "Takara"
292 help
293 Alpha 11164-based OEM single-board computer.
294
295config ALPHA_TITAN
296 bool "Titan"
297 help
298 AlphaServer ES45/DS25 SMP based on EV68 and Titan chipset.
299
300config ALPHA_WILDFIRE
301 bool "Wildfire"
302 help
303 AlphaServer GS 40/80/160/320 SMP based on the EV67 core.
304
305endchoice
306
307# clear all implied options (don't want default values for those):
308# Most of these machines have ISA slots; not exactly sure which don't,
309# and this doesn't activate hordes of code, so do it always.
310config ISA
311 bool
312 default y
313 help
314 Find out whether you have ISA slots on your motherboard. ISA is the
315 name of a bus system, i.e. the way the CPU talks to the other stuff
316 inside your box. Other bus systems are PCI, EISA, MicroChannel
317 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
318 newer boards don't support it. If you have ISA, say Y, otherwise N.
319
Al Viro5cae841b2005-05-04 05:39:22 +0100320config ISA_DMA_API
321 bool
322 default y
323
Linus Torvalds1da177e2005-04-16 15:20:36 -0700324config PCI
325 bool
326 depends on !ALPHA_JENSEN
Michael S. Tsirkinf2971c42011-11-24 20:48:56 +0200327 select GENERIC_PCI_IOMAP
Linus Torvalds1da177e2005-04-16 15:20:36 -0700328 default y
329 help
330 Find out whether you have a PCI motherboard. PCI is the name of a
331 bus system, i.e. the way the CPU talks to the other stuff inside
332 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
333 VESA. If you have PCI, say Y, otherwise N.
334
Linus Torvalds1da177e2005-04-16 15:20:36 -0700335config PCI_DOMAINS
336 bool
337 default y
338
Matthew Wilcox36e23592007-07-10 10:54:40 -0600339config PCI_SYSCALL
340 def_bool PCI
341
Linus Torvalds1da177e2005-04-16 15:20:36 -0700342config ALPHA_NONAME
343 bool
344 depends on ALPHA_BOOK1 || ALPHA_NONAME_CH
345 default y
346 help
347 The AXPpci33 (aka NoName), is based on the EB66 (includes the Multia
348 UDB). This design was produced by Digital's Technical OEM (TOEM)
349 group. It uses the 21066 processor running at 166MHz or 233MHz. It
350 is a baby-AT size, and runs from a standard PC power supply. It has
351 5 ISA slots and 3 PCI slots (one pair are a shared slot). There are
352 2 versions, with either PS/2 or large DIN connectors for the
353 keyboard.
354
355config ALPHA_EV4
356 bool
357 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
358 default y if !ALPHA_LYNX
359
360config ALPHA_LCA
361 bool
362 depends on ALPHA_NONAME || ALPHA_EB66 || ALPHA_EB66P || ALPHA_P2K
363 default y
364
365config ALPHA_APECS
366 bool
367 depends on !ALPHA_PRIMO && (ALPHA_NORITAKE || ALPHA_MIKASA) || ALPHA_CABRIOLET || ALPHA_AVANTI_CH || ALPHA_EB64P_CH || ALPHA_XL
368 default y
369
370config ALPHA_EB64P
371 bool
372 depends on ALPHA_CABRIOLET || ALPHA_EB64P_CH
373 default y
374 help
375 Uses 21064 or 21064A and APECs. Has ISA and PCI expansion (3 ISA,
376 2 PCI, one pair are on a shared slot). Supports 36-bit DRAM SIMs.
377 ISA bus generated by Intel SaturnI/O PCI-ISA bridge. On-board SCSI
378 (NCR 810 on PCI) Ethernet (Digital 21040), KBD, MOUSE (PS2 style),
379 SuperI/O (2S, 1P, FD), RTC/NVRAM. Boot ROM is EPROM. PC-AT size.
380 Runs from standard PC power supply.
381
382config ALPHA_EV5
383 bool "EV5 CPU(s) (model 5/xxx)?" if ALPHA_LYNX
384 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
385
386config ALPHA_EV4
387 bool
388 default y if ALPHA_LYNX && !ALPHA_EV5
389
390config ALPHA_CIA
391 bool
392 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
393 default y
394
395config ALPHA_EV56
396 bool "EV56 CPU (speed >= 366MHz)?" if ALPHA_ALCOR
397 default y if ALPHA_RX164 || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN || ALPHA_PC164 || ALPHA_TAKARA
398
399config ALPHA_EV56
400 prompt "EV56 CPU (speed >= 333MHz)?"
Fernando J. Pereda060ec3d2006-09-25 23:32:37 -0700401 depends on ALPHA_NORITAKE || ALPHA_PRIMO
Linus Torvalds1da177e2005-04-16 15:20:36 -0700402
403config ALPHA_EV56
404 prompt "EV56 CPU (speed >= 400MHz)?"
405 depends on ALPHA_RAWHIDE
406
407config ALPHA_PRIMO
408 bool "EV5 CPU daughtercard (model 5/xxx)?"
409 depends on ALPHA_NORITAKE || ALPHA_MIKASA
410 help
411 Say Y if you have an AS 1000 5/xxx or an AS 1000A 5/xxx.
412
413config ALPHA_GAMMA
414 bool "EV5 CPU(s) (model 5/xxx)?"
415 depends on ALPHA_SABLE
416 help
417 Say Y if you have an AS 2000 5/xxx or an AS 2100 5/xxx.
418
419config ALPHA_GAMMA
420 bool
421 depends on ALPHA_LYNX
422 default y
423
424config ALPHA_T2
425 bool
426 depends on ALPHA_SABLE || ALPHA_LYNX
427 default y
428
429config ALPHA_PYXIS
430 bool
431 depends on ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN
432 default y
433
434config ALPHA_EV6
435 bool
436 depends on ALPHA_NAUTILUS || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_DP264 || ALPHA_EIGER || ALPHA_MARVEL
437 default y
438
439config ALPHA_TSUNAMI
440 bool
441 depends on ALPHA_SHARK || ALPHA_DP264 || ALPHA_EIGER
442 default y
443
444config ALPHA_EV67
445 bool "EV67 (or later) CPU (speed > 600MHz)?" if ALPHA_DP264 || ALPHA_EIGER
446 default y if ALPHA_NAUTILUS || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_MARVEL
447 help
448 Is this a machine based on the EV67 core? If in doubt, select N here
449 and the machine will be treated as an EV6.
450
Linus Torvalds1da177e2005-04-16 15:20:36 -0700451config ALPHA_MCPCIA
452 bool
453 depends on ALPHA_RAWHIDE
454 default y
455
456config ALPHA_POLARIS
457 bool
458 depends on ALPHA_RX164
459 default y
460
461config ALPHA_IRONGATE
462 bool
463 depends on ALPHA_NAUTILUS
464 default y
465
Akinobu Mitaf7c29672006-03-26 01:39:18 -0800466config GENERIC_HWEIGHT
467 bool
Randy Dunlap5e625b02006-06-12 15:13:40 -0700468 default y if !ALPHA_EV67
Akinobu Mitaf7c29672006-03-26 01:39:18 -0800469
Linus Torvalds1da177e2005-04-16 15:20:36 -0700470config ALPHA_AVANTI
471 bool
472 depends on ALPHA_XL || ALPHA_AVANTI_CH
473 default y
474 help
475 Avanti AS 200, AS 205, AS 250, AS 255, AS 300, and AS 400-based
476 Alphas. Info at
477 <http://www.unix-ag.org/Linux-Alpha/Architectures/Avanti.html>.
478
479config ALPHA_BROKEN_IRQ_MASK
480 bool
481 depends on ALPHA_GENERIC || ALPHA_PC164
482 default y
483
Jay Estabrook025a2212007-06-01 00:47:03 -0700484config VGA_HOSE
485 bool
Matt Turnerdd7f1fe2012-05-01 21:28:59 -0400486 depends on VGA_CONSOLE && (ALPHA_GENERIC || ALPHA_TITAN || ALPHA_MARVEL || ALPHA_TSUNAMI)
Jay Estabrook025a2212007-06-01 00:47:03 -0700487 default y
488 help
489 Support VGA on an arbitrary hose; needed for several platforms
490 which always have multiple hoses, and whose consoles support it.
491
492
Richard Henderson994dcf72011-04-28 07:29:27 -0700493config ALPHA_QEMU
494 bool "Run under QEMU emulation"
495 depends on !ALPHA_GENERIC
496 ---help---
497 Assume the presence of special features supported by QEMU PALcode
498 that reduce the overhead of system emulation.
499
500 Generic kernels will auto-detect QEMU. But when building a
501 system-specific kernel, the assumption is that we want to
Masanari Iida83fc61a2017-09-26 12:47:59 +0900502 eliminate as many runtime tests as possible.
Richard Henderson994dcf72011-04-28 07:29:27 -0700503
504 If unsure, say N.
505
506
Linus Torvalds1da177e2005-04-16 15:20:36 -0700507config ALPHA_SRM
508 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 -0800509 depends on TTY
Linus Torvalds1da177e2005-04-16 15:20:36 -0700510 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
511 ---help---
512 There are two different types of booting firmware on Alphas: SRM,
513 which is command line driven, and ARC, which uses menus and arrow
514 keys. Details about the Linux/Alpha booting process are contained in
515 the Linux/Alpha FAQ, accessible on the WWW from
516 <http://www.alphalinux.org/>.
517
518 The usual way to load Linux on an Alpha machine is to use MILO
519 (a bootloader that lets you pass command line parameters to the
520 kernel just like lilo does for the x86 architecture) which can be
521 loaded either from ARC or can be installed directly as a permanent
522 firmware replacement from floppy (which requires changing a certain
523 jumper on the motherboard). If you want to do either of these, say N
524 here. If MILO doesn't work on your system (true for Jensen
525 motherboards), you can bypass it altogether and boot Linux directly
526 from an SRM console; say Y here in order to do that. Note that you
527 won't be able to boot from an IDE disk using SRM.
528
529 If unsure, say N.
530
531config EISA
532 bool
533 depends on ALPHA_GENERIC || ALPHA_JENSEN || ALPHA_ALCOR || ALPHA_MIKASA || ALPHA_SABLE || ALPHA_LYNX || ALPHA_NORITAKE || ALPHA_RAWHIDE
534 default y
535
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +0100536config ARCH_MAY_HAVE_PC_FDC
537 def_bool y
538
Linus Torvalds1da177e2005-04-16 15:20:36 -0700539config SMP
540 bool "Symmetric multi-processing support"
541 depends on ALPHA_SABLE || ALPHA_LYNX || ALPHA_RAWHIDE || ALPHA_DP264 || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_GENERIC || ALPHA_SHARK || ALPHA_MARVEL
542 ---help---
543 This enables support for systems with more than one CPU. If you have
Robert Graffham4a474152014-01-23 15:55:29 -0800544 a system with only one CPU, say N. If you have a system with more
545 than one CPU, say Y.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700546
Robert Graffham4a474152014-01-23 15:55:29 -0800547 If you say N here, the kernel will run on uni- and multiprocessor
Linus Torvalds1da177e2005-04-16 15:20:36 -0700548 machines, but will use only one CPU of a multiprocessor machine. If
549 you say Y here, the kernel will run on many, but not all,
Robert Graffham4a474152014-01-23 15:55:29 -0800550 uniprocessor machines. On a uniprocessor machine, the kernel
Linus Torvalds1da177e2005-04-16 15:20:36 -0700551 will run faster if you say N here.
552
Adrian Bunk03502fa2008-02-03 15:50:21 +0200553 See also the SMP-HOWTO available at
554 <http://www.tldp.org/docs.html#howto>.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700555
556 If you don't know what to do here, say N.
557
Linus Torvalds1da177e2005-04-16 15:20:36 -0700558config NR_CPUS
Jay Estabrookd7083172007-06-01 00:47:05 -0700559 int "Maximum number of CPUs (2-32)"
560 range 2 32
Linus Torvalds1da177e2005-04-16 15:20:36 -0700561 depends on SMP
Jay Estabrookd7083172007-06-01 00:47:05 -0700562 default "32" if ALPHA_GENERIC || ALPHA_MARVEL
563 default "4" if !ALPHA_GENERIC && !ALPHA_MARVEL
564 help
565 MARVEL support can handle a maximum of 32 CPUs, all the others
566 with working support have a maximum of 4 CPUs.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700567
Dave Hansen3f22ab22005-06-23 00:07:43 -0700568config ARCH_DISCONTIGMEM_ENABLE
Kees Cook88d11bb2012-10-02 11:16:25 -0700569 bool "Discontiguous Memory Support"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700570 help
Matt LaPlantefc31e832006-10-03 22:23:47 +0200571 Say Y to support efficient handling of discontiguous physical memory,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700572 for architectures which are either NUMA (Non-Uniform Memory Access)
573 or have huge holes in the physical address space for other reasons.
Mike Rapoportad56b732018-03-21 21:22:47 +0200574 See <file:Documentation/vm/numa.rst> for more.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700575
Dave Hansen3f22ab22005-06-23 00:07:43 -0700576source "mm/Kconfig"
577
Linus Torvalds1da177e2005-04-16 15:20:36 -0700578config NUMA
579 bool "NUMA Support (EXPERIMENTAL)"
Al Viro6df7c992005-08-23 22:44:50 +0100580 depends on DISCONTIGMEM && BROKEN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700581 help
582 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
583 Access). This option is for configuring high-end multiprocessor
584 server machines. If in doubt, say N.
585
Richard Henderson7f3bbb82013-07-12 09:36:21 -0700586config ALPHA_WTINT
587 bool "Use WTINT" if ALPHA_SRM || ALPHA_GENERIC
588 default y if ALPHA_QEMU
589 default n if ALPHA_EV5 || ALPHA_EV56 || (ALPHA_EV4 && !ALPHA_LCA)
590 default n if !ALPHA_SRM && !ALPHA_GENERIC
591 default y if SMP
592 ---help---
593 The Wait for Interrupt (WTINT) PALcall attempts to place the CPU
594 to sleep until the next interrupt. This may reduce the power
595 consumed, and the heat produced by the computer. However, it has
596 the side effect of making the cycle counter unreliable as a timing
597 device across the sleep.
598
599 For emulation under QEMU, definitely say Y here, as we have other
600 mechanisms for measuring time than the cycle counter.
601
602 For EV4 (but not LCA), EV5 and EV56 systems, or for systems running
603 MILO, sleep mode is not supported so you might as well say N here.
604
605 For SMP systems we cannot use the cycle counter for timing anyway,
606 so you might as well say Y here.
607
608 If unsure, say N.
609
Yasunori Gotoc80d79d2006-04-10 22:53:53 -0700610config NODES_SHIFT
611 int
612 default "7"
613 depends on NEED_MULTIPLE_NODES
614
Linus Torvalds1da177e2005-04-16 15:20:36 -0700615# LARGE_VMALLOC is racy, if you *really* need it then fix it first
616config ALPHA_LARGE_VMALLOC
617 bool
618 ---help---
619 Process creation and other aspects of virtual memory management can
620 be streamlined if we restrict the kernel to one PGD for all vmalloc
621 allocations. This equates to about 8GB.
622
623 Under normal circumstances, this is so far and above what is needed
624 as to be laughable. However, there are certain applications (such
625 as benchmark-grade in-kernel web serving) that can make use of as
626 much vmalloc space as is available.
627
628 Say N unless you know you need gobs and gobs of vmalloc space.
629
630config VERBOSE_MCHECK
631 bool "Verbose Machine Checks"
632
633config VERBOSE_MCHECK_ON
634 int "Verbose Printing Mode (0=off, 1=on, 2=all)"
635 depends on VERBOSE_MCHECK
636 default 1
637 ---help---
638 This option allows the default printing mode to be set, and then
639 possibly overridden by a boot command argument.
640
641 For example, if one wanted the option of printing verbose
642 machine checks, but wanted the default to be as if verbose
643 machine check printing was turned off, then one would choose
644 the printing mode to be 0. Then, upon reboot, one could add
645 the boot command line "verbose_mcheck=1" to get the normal
646 verbose machine check printing, or "verbose_mcheck=2" to get
647 the maximum information available.
648
649 Take the default (1) unless you want more control or more info.
650
Richard Hendersonfddd87d2013-07-12 16:15:56 -0700651choice
652 prompt "Timer interrupt frequency (HZ)?"
653 default HZ_128 if ALPHA_QEMU
654 default HZ_1200 if ALPHA_RAWHIDE
655 default HZ_1024
656 ---help---
657 The frequency at which timer interrupts occur. A high frequency
658 minimizes latency, whereas a low frequency minimizes overhead of
659 process accounting. The later effect is especially significant
660 when being run under QEMU.
661
662 Note that some Alpha hardware cannot change the interrupt frequency
663 of the timer. If unsure, say 1024 (or 1200 for Rawhide).
664
665 config HZ_32
666 bool "32 Hz"
667 config HZ_64
668 bool "64 Hz"
669 config HZ_128
670 bool "128 Hz"
671 config HZ_256
672 bool "256 Hz"
673 config HZ_1024
674 bool "1024 Hz"
675 config HZ_1200
676 bool "1200 Hz"
677endchoice
678
H. Peter Anvinbdc80782008-02-08 04:21:26 -0800679config HZ
Richard Hendersonfddd87d2013-07-12 16:15:56 -0700680 int
681 default 32 if HZ_32
682 default 64 if HZ_64
683 default 128 if HZ_128
684 default 256 if HZ_256
685 default 1200 if HZ_1200
H. Peter Anvinbdc80782008-02-08 04:21:26 -0800686 default 1024
687
Linus Torvalds1da177e2005-04-16 15:20:36 -0700688source "drivers/pci/Kconfig"
689source "drivers/eisa/Kconfig"
690
691source "drivers/pcmcia/Kconfig"
692
693config SRM_ENV
694 tristate "SRM environment through procfs"
695 depends on PROC_FS
696 ---help---
697 If you enable this option, a subdirectory inside /proc called
698 /proc/srm_environment will give you access to the all important
699 SRM environment variables (those which have a name) and also
700 to all others (by their internal number).
701
702 SRM is something like a BIOS for Alpha machines. There are some
703 other such BIOSes, like AlphaBIOS, which this driver cannot
704 support (hey, that's not SRM!).
705
706 Despite the fact that this driver doesn't work on all Alphas (but
707 only on those which have SRM as their firmware), it's save to
708 build it even if your particular machine doesn't know about SRM
709 (or if you intend to compile a generic kernel). It will simply
710 not create those subdirectory in /proc (and give you some warning,
711 of course).
712
713 This driver is also available as a module and will be called
714 srm_env then.
715
716source "fs/Kconfig.binfmt"
717
718endmenu
719
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700720source "net/Kconfig"
721
Linus Torvalds1da177e2005-04-16 15:20:36 -0700722source "drivers/Kconfig"
723
724source "fs/Kconfig"
725
Linus Torvalds1da177e2005-04-16 15:20:36 -0700726source "arch/alpha/Kconfig.debug"
727
Jay Estabrook025a2212007-06-01 00:47:03 -0700728# DUMMY_CONSOLE may be defined in drivers/video/console/Kconfig
729# but we also need it if VGA_HOSE is set
730config DUMMY_CONSOLE
731 bool
732 depends on VGA_HOSE
733 default y
734
Linus Torvalds1da177e2005-04-16 15:20:36 -0700735source "security/Kconfig"
736
737source "crypto/Kconfig"
738
739source "lib/Kconfig"
740