xref: /openbmc/linux/arch/alpha/Kconfig (revision 2c64e9cb)
1# SPDX-License-Identifier: GPL-2.0
2config ALPHA
3	bool
4	default y
5	select ARCH_MIGHT_HAVE_PC_PARPORT
6	select ARCH_MIGHT_HAVE_PC_SERIO
7	select ARCH_NO_PREEMPT
8	select ARCH_NO_SG_CHAIN
9	select ARCH_USE_CMPXCHG_LOCKREF
10	select FORCE_PCI if !ALPHA_JENSEN
11	select PCI_DOMAINS if PCI
12	select PCI_SYSCALL if PCI
13	select HAVE_AOUT
14	select HAVE_IDE
15	select HAVE_OPROFILE
16	select HAVE_PCSPKR_PLATFORM
17	select HAVE_PERF_EVENTS
18	select NEED_DMA_MAP_STATE
19	select NEED_SG_DMA_LENGTH
20	select VIRT_TO_BUS
21	select GENERIC_IRQ_PROBE
22	select GENERIC_PCI_IOMAP if PCI
23	select AUTO_IRQ_AFFINITY if SMP
24	select GENERIC_IRQ_SHOW
25	select ARCH_WANT_IPC_PARSE_VERSION
26	select ARCH_HAVE_NMI_SAFE_CMPXCHG
27	select AUDIT_ARCH
28	select GENERIC_CLOCKEVENTS
29	select GENERIC_CPU_VULNERABILITIES
30	select GENERIC_SMP_IDLE_THREAD
31	select GENERIC_STRNCPY_FROM_USER
32	select GENERIC_STRNLEN_USER
33	select HAVE_ARCH_AUDITSYSCALL
34	select HAVE_MOD_ARCH_SPECIFIC
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	help
41	  The Alpha is a 64-bit general-purpose processor designed and
42	  marketed by the Digital Equipment Corporation of blessed memory,
43	  now Hewlett-Packard.  The Alpha Linux project has a home page at
44	  <http://www.alphalinux.org/>.
45
46config 64BIT
47	def_bool y
48
49config MMU
50	bool
51	default y
52
53config ARCH_HAS_ILOG2_U32
54	bool
55	default n
56
57config ARCH_HAS_ILOG2_U64
58	bool
59	default n
60
61config GENERIC_CALIBRATE_DELAY
62	bool
63	default y
64
65config ZONE_DMA
66	bool
67	default y
68
69config GENERIC_ISA_DMA
70	bool
71	default y
72
73config PGTABLE_LEVELS
74	int
75	default 3
76
77config AUDIT_ARCH
78	bool
79
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
94	  Alcor/Alpha-XLT     AS 600, AS 500, XL-300, XL-366
95	  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
99	  DP264               DP264 / DS20 / ES40 / DS10 / DS10L
100	  EB164               EB164 21164 evaluation board
101	  EB64+               EB64+ 21064 evaluation board
102	  EB66                EB66 21066 evaluation board
103	  EB66+               EB66+ 21066 evaluation board
104	  Jensen              DECpc 150, DEC 2000 models 300, 500
105	  LX164               AlphaPC164-LX
106	  Lynx                AS 2100A
107	  Miata               Personal Workstation 433/500/600 a/au
108	  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
117	  Shark               DS 20L
118	  Takara              Takara (OEM)
119	  Titan               AlphaServer ES45 / DS25 / DS15
120	  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"
126	depends on TTY
127	select HAVE_EISA
128	help
129	  A generic kernel will run on all supported Alpha hardware.
130
131config ALPHA_ALCOR
132	bool "Alcor/Alpha-XLT"
133	select HAVE_EISA
134	help
135	  For systems using the Digital ALCOR chipset: 5 chips (4, 64-bit data
136	  slices (Data Switch, DSW) - 208-pin PQFP and 1 control (Control, I/O
137	  Address, CIA) - a 383 pin plastic PGA).  It provides a DRAM
138	  controller (256-bit memory bus) and a PCI interface.  It also does
139	  all the work required to support an external Bcache and to maintain
140	  memory coherence when a PCI device DMAs into (or out of) memory.
141
142config ALPHA_XL
143	bool "Alpha-XL"
144	help
145	  XL-233 and XL-266-based Alpha systems.
146
147config ALPHA_BOOK1
148	bool "AlphaBook1"
149	help
150	  Dec AlphaBook1/Burns Alpha-based laptops.
151
152config ALPHA_AVANTI_CH
153	bool "Avanti"
154
155config ALPHA_CABRIOLET
156	bool "Cabriolet"
157	help
158	  Cabriolet AlphaPC64, AlphaPCI64 systems.  Derived from EB64+ but now
159	  baby-AT with Flash boot ROM, no on-board SCSI or Ethernet. 3 ISA
160	  slots, 4 PCI slots (one pair are on a shared slot), uses plug-in
161	  Bcache SIMMs.  Requires power supply with 3.3V output.
162
163config ALPHA_DP264
164	bool "DP264"
165	help
166	  Various 21264 systems with the tsunami core logic chipset.
167	  API Networks: 264DP, UP2000(+), CS20;
168	  Compaq: DS10(E,L), XP900, XP1000, DS20(E), ES40.
169
170config ALPHA_EB164
171	bool "EB164"
172	help
173	  EB164 21164 evaluation board from DEC.  Uses 21164 and ALCOR.  Has
174	  ISA and PCI expansion (3 ISA slots, 2 64-bit PCI slots (one is
175	  shared with an ISA slot) and 2 32-bit PCI slots.  Uses plus-in
176	  Bcache SIMMs. I/O sub-system provides SuperI/O (2S, 1P, FD), KBD,
177	  MOUSE (PS2 style), RTC/NVRAM.  Boot ROM is Flash.  PC-AT-sized
178	  motherboard.  Requires power supply with 3.3V output.
179
180config ALPHA_EB64P_CH
181	bool "EB64+"
182
183config ALPHA_EB66
184	bool "EB66"
185	help
186	  A Digital DS group board.  Uses 21066 or 21066A.  I/O sub-system is
187	  identical to EB64+.  Baby PC-AT size.  Runs from standard PC power
188	  supply.  The EB66 schematic was published as a marketing poster
189	  advertising the 21066 as "the first microprocessor in the world with
190	  embedded PCI".
191
192config ALPHA_EB66P
193	bool "EB66+"
194	help
195	  Later variant of the EB66 board.
196
197config ALPHA_EIGER
198	bool "Eiger"
199	help
200	  Apparently an obscure OEM single-board computer based on the
201	  Typhoon/Tsunami chipset family. Information on it is scanty.
202
203config ALPHA_JENSEN
204	bool "Jensen"
205	depends on BROKEN
206	select HAVE_EISA
207	help
208	  DEC PC 150 AXP (aka Jensen): This is a very old Digital system - one
209	  of the first-generation Alpha systems. A number of these systems
210	  seem to be available on the second- hand market. The Jensen is a
211	  floor-standing tower system which originally used a 150MHz 21064 It
212	  used programmable logic to interface a 486 EISA I/O bridge to the
213	  CPU.
214
215config ALPHA_LX164
216	bool "LX164"
217	help
218	  A technical overview of this board is available at
219	  <http://www.unix-ag.org/Linux-Alpha/Architectures/LX164.html>.
220
221config ALPHA_LYNX
222	bool "Lynx"
223	select HAVE_EISA
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	select HAVE_EISA
235	help
236	  The Digital PersonalWorkStation (PWS 433a, 433au, 500a, 500au, 600a,
237	  or 600au).
238
239config ALPHA_MIKASA
240	bool "Mikasa"
241	help
242	  AlphaServer 1000-based Alpha systems.
243
244config ALPHA_NAUTILUS
245	bool "Nautilus"
246	help
247	  Alpha systems based on the AMD 751 & ALI 1543C chipsets.
248
249config ALPHA_NONAME_CH
250	bool "Noname"
251
252config ALPHA_NORITAKE
253	bool "Noritake"
254	select HAVE_EISA
255	help
256	  AlphaServer 1000A, AlphaServer 600A, and AlphaServer 800-based
257	  systems.
258
259config ALPHA_PC164
260	bool "PC164"
261
262config ALPHA_P2K
263	bool "Platform2000"
264
265config ALPHA_RAWHIDE
266	bool "Rawhide"
267	select HAVE_EISA
268	help
269	  AlphaServer 1200, AlphaServer 4000 and AlphaServer 4100 machines.
270	  See HOWTO at
271	  <http://www.alphalinux.org/docs/rawhide/4100_install.shtml>.
272
273config ALPHA_RUFFIAN
274	bool "Ruffian"
275	help
276	  Samsung APC164UX.  There is a page on known problems and workarounds
277	  at <http://www.alphalinux.org/faq/FAQ-11.html>.
278
279config ALPHA_RX164
280	bool "RX164"
281
282config ALPHA_SX164
283	bool "SX164"
284
285config ALPHA_SABLE
286	bool "Sable"
287	select HAVE_EISA
288	help
289	  Digital AlphaServer 2000 and 2100-based systems.
290
291config ALPHA_SHARK
292	bool "Shark"
293
294config ALPHA_TAKARA
295	bool "Takara"
296	help
297	  Alpha 11164-based OEM single-board computer.
298
299config ALPHA_TITAN
300	bool "Titan"
301	help
302	  AlphaServer ES45/DS25 SMP based on EV68 and Titan chipset.
303
304config ALPHA_WILDFIRE
305	bool "Wildfire"
306	help
307	  AlphaServer GS 40/80/160/320 SMP based on the EV67 core.
308
309endchoice
310
311# clear all implied options (don't want default values for those):
312# Most of these machines have ISA slots; not exactly sure which don't,
313# and this doesn't activate hordes of code, so do it always.
314config ISA
315	bool
316	default y
317	help
318	  Find out whether you have ISA slots on your motherboard.  ISA is the
319	  name of a bus system, i.e. the way the CPU talks to the other stuff
320	  inside your box.  Other bus systems are PCI, EISA, MicroChannel
321	  (MCA) or VESA.  ISA is an older system, now being displaced by PCI;
322	  newer boards don't support it.  If you have ISA, say Y, otherwise N.
323
324config ISA_DMA_API
325	bool
326	default y
327
328config ALPHA_NONAME
329	bool
330	depends on ALPHA_BOOK1 || ALPHA_NONAME_CH
331	default y
332	help
333	  The AXPpci33 (aka NoName), is based on the EB66 (includes the Multia
334	  UDB).  This design was produced by Digital's Technical OEM (TOEM)
335	  group. It uses the 21066 processor running at 166MHz or 233MHz. It
336	  is a baby-AT size, and runs from a standard PC power supply. It has
337	  5 ISA slots and 3 PCI slots (one pair are a shared slot). There are
338	  2 versions, with either PS/2 or large DIN connectors for the
339	  keyboard.
340
341config ALPHA_EV4
342	bool
343	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
344	default y if !ALPHA_LYNX
345
346config ALPHA_LCA
347	bool
348	depends on ALPHA_NONAME || ALPHA_EB66 || ALPHA_EB66P || ALPHA_P2K
349	default y
350
351config ALPHA_APECS
352	bool
353	depends on !ALPHA_PRIMO && (ALPHA_NORITAKE || ALPHA_MIKASA) || ALPHA_CABRIOLET || ALPHA_AVANTI_CH || ALPHA_EB64P_CH || ALPHA_XL
354	default y
355
356config ALPHA_EB64P
357	bool
358	depends on ALPHA_CABRIOLET || ALPHA_EB64P_CH
359	default y
360	help
361	  Uses 21064 or 21064A and APECs.  Has ISA and PCI expansion (3 ISA,
362	  2 PCI, one pair are on a shared slot). Supports 36-bit DRAM SIMs.
363	  ISA bus generated by Intel SaturnI/O PCI-ISA bridge. On-board SCSI
364	  (NCR 810 on PCI) Ethernet (Digital 21040), KBD, MOUSE (PS2 style),
365	  SuperI/O (2S, 1P, FD), RTC/NVRAM. Boot ROM is EPROM.  PC-AT size.
366	  Runs from standard PC power supply.
367
368config ALPHA_EV5
369	bool "EV5 CPU(s) (model 5/xxx)?" if ALPHA_LYNX
370	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
371
372config ALPHA_EV4
373	bool
374	default y if ALPHA_LYNX && !ALPHA_EV5
375
376config ALPHA_CIA
377	bool
378	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
379	default y
380
381config ALPHA_EV56
382	bool "EV56 CPU (speed >= 366MHz)?" if ALPHA_ALCOR
383	default y if ALPHA_RX164 || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN || ALPHA_PC164 || ALPHA_TAKARA
384
385config ALPHA_EV56
386	prompt "EV56 CPU (speed >= 333MHz)?"
387	depends on ALPHA_NORITAKE || ALPHA_PRIMO
388
389config ALPHA_EV56
390	prompt "EV56 CPU (speed >= 400MHz)?"
391	depends on ALPHA_RAWHIDE
392
393config ALPHA_PRIMO
394	bool "EV5 CPU daughtercard (model 5/xxx)?"
395	depends on ALPHA_NORITAKE || ALPHA_MIKASA
396	help
397	  Say Y if you have an AS 1000 5/xxx or an AS 1000A 5/xxx.
398
399config ALPHA_GAMMA
400	bool "EV5 CPU(s) (model 5/xxx)?"
401	depends on ALPHA_SABLE
402	help
403	  Say Y if you have an AS 2000 5/xxx or an AS 2100 5/xxx.
404
405config ALPHA_GAMMA
406	bool
407	depends on ALPHA_LYNX
408	default y
409
410config ALPHA_T2
411	bool
412	depends on ALPHA_SABLE || ALPHA_LYNX
413	default y
414
415config ALPHA_PYXIS
416	bool
417	depends on ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN
418	default y
419
420config ALPHA_EV6
421	bool
422	depends on ALPHA_NAUTILUS || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_DP264 || ALPHA_EIGER || ALPHA_MARVEL
423	default y
424
425config ALPHA_TSUNAMI
426	bool
427	depends on ALPHA_SHARK || ALPHA_DP264 || ALPHA_EIGER
428	default y
429
430config ALPHA_EV67
431	bool "EV67 (or later) CPU (speed > 600MHz)?" if ALPHA_DP264 || ALPHA_EIGER
432	default y if ALPHA_NAUTILUS || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_MARVEL
433	help
434	  Is this a machine based on the EV67 core?  If in doubt, select N here
435	  and the machine will be treated as an EV6.
436
437config ALPHA_MCPCIA
438	bool
439	depends on ALPHA_RAWHIDE
440	default y
441
442config ALPHA_POLARIS
443	bool
444	depends on ALPHA_RX164
445	default y
446
447config ALPHA_IRONGATE
448	bool
449	depends on ALPHA_NAUTILUS
450	default y
451
452config GENERIC_HWEIGHT
453	bool
454	default y if !ALPHA_EV67
455
456config ALPHA_AVANTI
457	bool
458	depends on ALPHA_XL || ALPHA_AVANTI_CH
459	default y
460	help
461	  Avanti AS 200, AS 205, AS 250, AS 255, AS 300, and AS 400-based
462	  Alphas. Info at
463	  <http://www.unix-ag.org/Linux-Alpha/Architectures/Avanti.html>.
464
465config ALPHA_BROKEN_IRQ_MASK
466	bool
467	depends on ALPHA_GENERIC || ALPHA_PC164
468	default y
469
470config VGA_HOSE
471	bool
472	depends on VGA_CONSOLE && (ALPHA_GENERIC || ALPHA_TITAN || ALPHA_MARVEL || ALPHA_TSUNAMI)
473	default y
474	help
475	  Support VGA on an arbitrary hose; needed for several platforms
476	  which always have multiple hoses, and whose consoles support it.
477
478
479config ALPHA_QEMU
480	bool "Run under QEMU emulation"
481	depends on !ALPHA_GENERIC
482	---help---
483	  Assume the presence of special features supported by QEMU PALcode
484	  that reduce the overhead of system emulation.
485
486	  Generic kernels will auto-detect QEMU.  But when building a
487	  system-specific kernel, the assumption is that we want to
488	  eliminate as many runtime tests as possible.
489
490	  If unsure, say N.
491
492
493config ALPHA_SRM
494	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
495	depends on TTY
496	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
497	---help---
498	  There are two different types of booting firmware on Alphas: SRM,
499	  which is command line driven, and ARC, which uses menus and arrow
500	  keys. Details about the Linux/Alpha booting process are contained in
501	  the Linux/Alpha FAQ, accessible on the WWW from
502	  <http://www.alphalinux.org/>.
503
504	  The usual way to load Linux on an Alpha machine is to use MILO
505	  (a bootloader that lets you pass command line parameters to the
506	  kernel just like lilo does for the x86 architecture) which can be
507	  loaded either from ARC or can be installed directly as a permanent
508	  firmware replacement from floppy (which requires changing a certain
509	  jumper on the motherboard). If you want to do either of these, say N
510	  here. If MILO doesn't work on your system (true for Jensen
511	  motherboards), you can bypass it altogether and boot Linux directly
512	  from an SRM console; say Y here in order to do that. Note that you
513	  won't be able to boot from an IDE disk using SRM.
514
515	  If unsure, say N.
516
517config ARCH_MAY_HAVE_PC_FDC
518	def_bool y
519
520config SMP
521	bool "Symmetric multi-processing support"
522	depends on ALPHA_SABLE || ALPHA_LYNX || ALPHA_RAWHIDE || ALPHA_DP264 || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_GENERIC || ALPHA_SHARK || ALPHA_MARVEL
523	---help---
524	  This enables support for systems with more than one CPU. If you have
525	  a system with only one CPU, say N. If you have a system with more
526	  than one CPU, say Y.
527
528	  If you say N here, the kernel will run on uni- and multiprocessor
529	  machines, but will use only one CPU of a multiprocessor machine. If
530	  you say Y here, the kernel will run on many, but not all,
531	  uniprocessor machines. On a uniprocessor machine, the kernel
532	  will run faster if you say N here.
533
534	  See also the SMP-HOWTO available at
535	  <http://www.tldp.org/docs.html#howto>.
536
537	  If you don't know what to do here, say N.
538
539config NR_CPUS
540	int "Maximum number of CPUs (2-32)"
541	range 2 32
542	depends on SMP
543	default "32" if ALPHA_GENERIC || ALPHA_MARVEL
544	default "4" if !ALPHA_GENERIC && !ALPHA_MARVEL
545	help
546	  MARVEL support can handle a maximum of 32 CPUs, all the others
547          with working support have a maximum of 4 CPUs.
548
549config ARCH_DISCONTIGMEM_ENABLE
550	bool "Discontiguous Memory Support"
551	help
552	  Say Y to support efficient handling of discontiguous physical memory,
553	  for architectures which are either NUMA (Non-Uniform Memory Access)
554	  or have huge holes in the physical address space for other reasons.
555	  See <file:Documentation/vm/numa.rst> for more.
556
557config NUMA
558	bool "NUMA Support (EXPERIMENTAL)"
559	depends on DISCONTIGMEM && BROKEN
560	help
561	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
562	  Access).  This option is for configuring high-end multiprocessor
563	  server machines.  If in doubt, say N.
564
565config ALPHA_WTINT
566	bool "Use WTINT" if ALPHA_SRM || ALPHA_GENERIC
567	default y if ALPHA_QEMU
568	default n if ALPHA_EV5 || ALPHA_EV56 || (ALPHA_EV4 && !ALPHA_LCA)
569	default n if !ALPHA_SRM && !ALPHA_GENERIC
570	default y if SMP
571	---help---
572	  The Wait for Interrupt (WTINT) PALcall attempts to place the CPU
573	  to sleep until the next interrupt.  This may reduce the power
574	  consumed, and the heat produced by the computer.  However, it has
575	  the side effect of making the cycle counter unreliable as a timing
576	  device across the sleep.
577
578	  For emulation under QEMU, definitely say Y here, as we have other
579	  mechanisms for measuring time than the cycle counter.
580
581	  For EV4 (but not LCA), EV5 and EV56 systems, or for systems running
582	  MILO, sleep mode is not supported so you might as well say N here.
583
584	  For SMP systems we cannot use the cycle counter for timing anyway,
585	  so you might as well say Y here.
586
587	  If unsure, say N.
588
589config NODES_SHIFT
590	int
591	default "7"
592	depends on NEED_MULTIPLE_NODES
593
594# LARGE_VMALLOC is racy, if you *really* need it then fix it first
595config ALPHA_LARGE_VMALLOC
596	bool
597	---help---
598	  Process creation and other aspects of virtual memory management can
599	  be streamlined if we restrict the kernel to one PGD for all vmalloc
600	  allocations.  This equates to about 8GB.
601
602	  Under normal circumstances, this is so far and above what is needed
603	  as to be laughable.  However, there are certain applications (such
604	  as benchmark-grade in-kernel web serving) that can make use of as
605	  much vmalloc space as is available.
606
607	  Say N unless you know you need gobs and gobs of vmalloc space.
608
609config VERBOSE_MCHECK
610	bool "Verbose Machine Checks"
611
612config VERBOSE_MCHECK_ON
613	int "Verbose Printing Mode (0=off, 1=on, 2=all)"
614	depends on VERBOSE_MCHECK
615	default 1
616	---help---
617	  This option allows the default printing mode to be set, and then
618	  possibly overridden by a boot command argument.
619
620	  For example, if one wanted the option of printing verbose
621	  machine checks, but wanted the default to be as if verbose
622	  machine check printing was turned off, then one would choose
623	  the printing mode to be 0. Then, upon reboot, one could add
624	  the boot command line "verbose_mcheck=1" to get the normal
625	  verbose machine check printing, or "verbose_mcheck=2" to get
626	  the maximum information available.
627
628	  Take the default (1) unless you want more control or more info.
629
630choice
631	prompt "Timer interrupt frequency (HZ)?"
632	default HZ_128 if ALPHA_QEMU
633	default HZ_1200 if ALPHA_RAWHIDE
634	default HZ_1024
635	---help---
636	  The frequency at which timer interrupts occur.  A high frequency
637	  minimizes latency, whereas a low frequency minimizes overhead of
638	  process accounting.  The later effect is especially significant
639	  when being run under QEMU.
640
641	  Note that some Alpha hardware cannot change the interrupt frequency
642	  of the timer.  If unsure, say 1024 (or 1200 for Rawhide).
643
644	config HZ_32
645		bool "32 Hz"
646	config HZ_64
647		bool "64 Hz"
648	config HZ_128
649		bool "128 Hz"
650	config HZ_256
651		bool "256 Hz"
652	config HZ_1024
653		bool "1024 Hz"
654	config HZ_1200
655		bool "1200 Hz"
656endchoice
657
658config HZ
659	int
660	default 32 if HZ_32
661	default 64 if HZ_64
662	default 128 if HZ_128
663	default 256 if HZ_256
664	default 1200 if HZ_1200
665	default 1024
666
667config SRM_ENV
668	tristate "SRM environment through procfs"
669	depends on PROC_FS
670	---help---
671	  If you enable this option, a subdirectory inside /proc called
672	  /proc/srm_environment will give you access to the all important
673	  SRM environment variables (those which have a name) and also
674	  to all others (by their internal number).
675
676	  SRM is something like a BIOS for Alpha machines. There are some
677	  other such BIOSes, like AlphaBIOS, which this driver cannot
678	  support (hey, that's not SRM!).
679
680	  Despite the fact that this driver doesn't work on all Alphas (but
681	  only on those which have SRM as their firmware), it's save to
682	  build it even if your particular machine doesn't know about SRM
683	  (or if you intend to compile a generic kernel). It will simply
684	  not create those subdirectory in /proc (and give you some warning,
685	  of course).
686
687	  This driver is also available as a module and will be called
688	  srm_env then.
689
690endmenu
691
692# DUMMY_CONSOLE may be defined in drivers/video/console/Kconfig
693# but we also need it if VGA_HOSE is set
694config DUMMY_CONSOLE
695	bool
696	depends on VGA_HOSE
697	default y
698