Kconfig 15 KB

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