Kconfig 15 KB

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