Kconfig 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535
  1. # For a description of the syntax of this configuration file,
  2. # see Documentation/kbuild/kconfig-language.txt.
  3. #
  4. mainmenu "Linux/SPARC Kernel Configuration"
  5. config SPARC
  6. bool
  7. default y
  8. select HAVE_IDE
  9. select HAVE_OPROFILE
  10. select HAVE_ARCH_KGDB if !SMP || SPARC64
  11. select HAVE_ARCH_TRACEHOOK
  12. select ARCH_WANT_OPTIONAL_GPIOLIB
  13. select RTC_CLASS
  14. select RTC_DRV_M48T59
  15. # Identify this as a Sparc32 build
  16. config SPARC32
  17. bool
  18. default y if ARCH = "sparc"
  19. help
  20. SPARC is a family of RISC microprocessors designed and marketed by
  21. Sun Microsystems, incorporated. They are very widely found in Sun
  22. workstations and clones. This port covers the original 32-bit SPARC;
  23. it is old and stable and usually considered one of the "big three"
  24. along with the Intel and Alpha ports. The UltraLinux project
  25. maintains both the SPARC32 and SPARC64 ports; its web page is
  26. available at <http://www.ultralinux.org/>.
  27. config SPARC64
  28. bool
  29. default y if ARCH = "sparc64"
  30. select HAVE_FUNCTION_TRACER
  31. select HAVE_KRETPROBES
  32. select HAVE_KPROBES
  33. select HAVE_LMB
  34. select USE_GENERIC_SMP_HELPERS if SMP
  35. select RTC_DRV_CMOS
  36. select RTC_DRV_BQ4802
  37. select RTC_DRV_SUN4V
  38. select RTC_DRV_STARFIRE
  39. config 64BIT
  40. def_bool y if SPARC64
  41. config GENERIC_TIME
  42. bool
  43. default y if SPARC64
  44. config GENERIC_CMOS_UPDATE
  45. bool
  46. default y if SPARC64
  47. config GENERIC_CLOCKEVENTS
  48. bool
  49. default y if SPARC64
  50. config IOMMU_HELPER
  51. bool
  52. default y if SPARC64
  53. config QUICKLIST
  54. bool
  55. default y if SPARC64
  56. config STACKTRACE_SUPPORT
  57. bool
  58. default y if SPARC64
  59. config LOCKDEP_SUPPORT
  60. bool
  61. default y if SPARC64
  62. config HAVE_LATENCYTOP_SUPPORT
  63. bool
  64. default y if SPARC64
  65. config AUDIT_ARCH
  66. bool
  67. default y if SPARC64
  68. config HAVE_SETUP_PER_CPU_AREA
  69. def_bool y if SPARC64
  70. config GENERIC_HARDIRQS_NO__DO_IRQ
  71. bool
  72. def_bool y if SPARC64
  73. config MMU
  74. bool
  75. default y
  76. config HIGHMEM
  77. bool
  78. default y if SPARC32
  79. config ZONE_DMA
  80. bool
  81. default y if SPARC32
  82. config GENERIC_ISA_DMA
  83. bool
  84. default y if SPARC32
  85. config GENERIC_GPIO
  86. bool
  87. help
  88. Generic GPIO API support
  89. config ARCH_NO_VIRT_TO_BUS
  90. def_bool y
  91. config OF
  92. def_bool y
  93. source "init/Kconfig"
  94. source "kernel/Kconfig.freezer"
  95. menu "Processor type and features"
  96. config SMP
  97. bool "Symmetric multi-processing support (does not work on sun4/sun4c)"
  98. ---help---
  99. This enables support for systems with more than one CPU. If you have
  100. a system with only one CPU, say N. If you have a system with more
  101. than one CPU, say Y.
  102. If you say N here, the kernel will run on single and multiprocessor
  103. machines, but will use only one CPU of a multiprocessor machine. If
  104. you say Y here, the kernel will run on many, but not all,
  105. singleprocessor machines. On a singleprocessor machine, the kernel
  106. will run faster if you say N here.
  107. People using multiprocessor machines who say Y here should also say
  108. Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
  109. Management" code will be disabled if you say Y here.
  110. See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
  111. available at <http://www.tldp.org/docs.html#howto>.
  112. If you don't know what to do here, say N.
  113. config NR_CPUS
  114. int "Maximum number of CPUs"
  115. depends on SMP
  116. range 2 32 if SPARC32
  117. range 2 1024 if SPARC64
  118. default 32 if SPARC32
  119. default 64 if SPARC64
  120. source kernel/Kconfig.hz
  121. config RWSEM_GENERIC_SPINLOCK
  122. bool
  123. default y if SPARC32
  124. config RWSEM_XCHGADD_ALGORITHM
  125. bool
  126. default y if SPARC64
  127. config GENERIC_FIND_NEXT_BIT
  128. bool
  129. default y
  130. config GENERIC_HWEIGHT
  131. bool
  132. default y if !ULTRA_HAS_POPULATION_COUNT
  133. config GENERIC_CALIBRATE_DELAY
  134. bool
  135. default y
  136. config ARCH_MAY_HAVE_PC_FDC
  137. bool
  138. default y
  139. config ARCH_HAS_ILOG2_U32
  140. bool
  141. default n
  142. config ARCH_HAS_ILOG2_U64
  143. bool
  144. default n
  145. config EMULATED_CMPXCHG
  146. bool
  147. default y if SPARC32
  148. help
  149. Sparc32 does not have a CAS instruction like sparc64. cmpxchg()
  150. is emulated, and therefore it is not completely atomic.
  151. choice
  152. prompt "Kernel page size" if SPARC64
  153. default SPARC64_PAGE_SIZE_8KB
  154. config SPARC64_PAGE_SIZE_8KB
  155. bool "8KB"
  156. help
  157. This lets you select the page size of the kernel.
  158. 8KB and 64KB work quite well, since SPARC ELF sections
  159. provide for up to 64KB alignment.
  160. If you don't know what to do, choose 8KB.
  161. config SPARC64_PAGE_SIZE_64KB
  162. bool "64KB"
  163. endchoice
  164. config SECCOMP
  165. bool "Enable seccomp to safely compute untrusted bytecode"
  166. depends on SPARC64 && PROC_FS
  167. default y
  168. help
  169. This kernel feature is useful for number crunching applications
  170. that may need to compute untrusted bytecode during their
  171. execution. By using pipes or other transports made available to
  172. the process as file descriptors supporting the read/write
  173. syscalls, it's possible to isolate those applications in
  174. their own address space using seccomp. Once seccomp is
  175. enabled via /proc/<pid>/seccomp, it cannot be disabled
  176. and the task is only allowed to execute a few safe syscalls
  177. defined by each seccomp mode.
  178. If unsure, say Y. Only embedded should say N here.
  179. config HOTPLUG_CPU
  180. bool "Support for hot-pluggable CPUs"
  181. depends on SPARC64 && SMP
  182. select HOTPLUG
  183. help
  184. Say Y here to experiment with turning CPUs off and on. CPUs
  185. can be controlled through /sys/devices/system/cpu/cpu#.
  186. Say N if you want to disable CPU hotplug.
  187. config GENERIC_HARDIRQS
  188. bool
  189. default y if SPARC64
  190. source "kernel/time/Kconfig"
  191. if SPARC64
  192. source "drivers/cpufreq/Kconfig"
  193. config US3_FREQ
  194. tristate "UltraSPARC-III CPU Frequency driver"
  195. depends on CPU_FREQ
  196. select CPU_FREQ_TABLE
  197. help
  198. This adds the CPUFreq driver for UltraSPARC-III processors.
  199. For details, take a look at <file:Documentation/cpu-freq>.
  200. If in doubt, say N.
  201. config US2E_FREQ
  202. tristate "UltraSPARC-IIe CPU Frequency driver"
  203. depends on CPU_FREQ
  204. select CPU_FREQ_TABLE
  205. help
  206. This adds the CPUFreq driver for UltraSPARC-IIe processors.
  207. For details, take a look at <file:Documentation/cpu-freq>.
  208. If in doubt, say N.
  209. endif
  210. config US3_MC
  211. tristate "UltraSPARC-III Memory Controller driver"
  212. depends on SPARC64
  213. default y
  214. help
  215. This adds a driver for the UltraSPARC-III memory controller.
  216. Loading this driver allows exact mnemonic strings to be
  217. printed in the event of a memory error, so that the faulty DIMM
  218. on the motherboard can be matched to the error.
  219. If in doubt, say Y, as this information can be very useful.
  220. # Global things across all Sun machines.
  221. config GENERIC_LOCKBREAK
  222. bool
  223. default y
  224. depends on SPARC64 && SMP && PREEMPT
  225. choice
  226. prompt "SPARC64 Huge TLB Page Size"
  227. depends on SPARC64 && HUGETLB_PAGE
  228. default HUGETLB_PAGE_SIZE_4MB
  229. config HUGETLB_PAGE_SIZE_4MB
  230. bool "4MB"
  231. config HUGETLB_PAGE_SIZE_512K
  232. bool "512K"
  233. config HUGETLB_PAGE_SIZE_64K
  234. depends on !SPARC64_PAGE_SIZE_64KB
  235. bool "64K"
  236. endchoice
  237. config NUMA
  238. bool "NUMA support"
  239. depends on SPARC64 && SMP
  240. config NODES_SHIFT
  241. int
  242. default "4"
  243. depends on NEED_MULTIPLE_NODES
  244. # Some NUMA nodes have memory ranges that span
  245. # other nodes. Even though a pfn is valid and
  246. # between a node's start and end pfns, it may not
  247. # reside on that node. See memmap_init_zone()
  248. # for details.
  249. config NODES_SPAN_OTHER_NODES
  250. def_bool y
  251. depends on NEED_MULTIPLE_NODES
  252. config ARCH_POPULATES_NODE_MAP
  253. def_bool y if SPARC64
  254. config ARCH_SELECT_MEMORY_MODEL
  255. def_bool y if SPARC64
  256. config ARCH_SPARSEMEM_ENABLE
  257. def_bool y if SPARC64
  258. select SPARSEMEM_VMEMMAP_ENABLE
  259. config ARCH_SPARSEMEM_DEFAULT
  260. def_bool y if SPARC64
  261. source "mm/Kconfig"
  262. config SCHED_SMT
  263. bool "SMT (Hyperthreading) scheduler support"
  264. depends on SPARC64 && SMP
  265. default y
  266. help
  267. SMT scheduler support improves the CPU scheduler's decision making
  268. when dealing with SPARC cpus at a cost of slightly increased overhead
  269. in some places. If unsure say N here.
  270. config SCHED_MC
  271. bool "Multi-core scheduler support"
  272. depends on SPARC64 && SMP
  273. default y
  274. help
  275. Multi-core scheduler support improves the CPU scheduler's decision
  276. making when dealing with multi-core CPU chips at a cost of slightly
  277. increased overhead in some places. If unsure say N here.
  278. if SPARC64
  279. source "kernel/Kconfig.preempt"
  280. endif
  281. config CMDLINE_BOOL
  282. bool "Default bootloader kernel arguments"
  283. depends on SPARC64
  284. config CMDLINE
  285. string "Initial kernel command string"
  286. depends on CMDLINE_BOOL
  287. default "console=ttyS0,9600 root=/dev/sda1"
  288. help
  289. Say Y here if you want to be able to pass default arguments to
  290. the kernel. This will be overridden by the bootloader, if you
  291. use one (such as SILO). This is most useful if you want to boot
  292. a kernel from TFTP, and want default options to be available
  293. with having them passed on the command line.
  294. NOTE: This option WILL override the PROM bootargs setting!
  295. config SUN_PM
  296. bool
  297. default y if SPARC32
  298. help
  299. Enable power management and CPU standby features on supported
  300. SPARC platforms.
  301. config SPARC_LED
  302. tristate "Sun4m LED driver"
  303. depends on SPARC32
  304. help
  305. This driver toggles the front-panel LED on sun4m systems
  306. in a user-specifiable manner. Its state can be probed
  307. by reading /proc/led and its blinking mode can be changed
  308. via writes to /proc/led
  309. config SERIAL_CONSOLE
  310. bool
  311. depends on SPARC32
  312. default y
  313. ---help---
  314. If you say Y here, it will be possible to use a serial port as the
  315. system console (the system console is the device which receives all
  316. kernel messages and warnings and which allows logins in single user
  317. mode). This could be useful if some terminal or printer is connected
  318. to that serial port.
  319. Even if you say Y here, the currently visible virtual console
  320. (/dev/tty0) will still be used as the system console by default, but
  321. you can alter that using a kernel command line option such as
  322. "console=ttyS1". (Try "man bootparam" or see the documentation of
  323. your boot loader (silo) about how to pass options to the kernel at
  324. boot time.)
  325. If you don't have a graphics card installed and you say Y here, the
  326. kernel will automatically use the first serial line, /dev/ttyS0, as
  327. system console.
  328. If unsure, say N.
  329. endmenu
  330. menu "Bus options (PCI etc.)"
  331. config ISA
  332. bool
  333. help
  334. ISA is found on Espresso only and is not supported currently.
  335. config ISAPNP
  336. bool
  337. help
  338. ISAPNP is not supported
  339. config EISA
  340. bool
  341. help
  342. EISA is not supported.
  343. config MCA
  344. bool
  345. help
  346. MCA is not supported.
  347. config SBUS
  348. bool
  349. default y
  350. config SBUSCHAR
  351. bool
  352. default y
  353. config SUN_AUXIO
  354. bool
  355. default y
  356. config SUN_IO
  357. bool
  358. default y
  359. config SUN_LDOMS
  360. bool "Sun Logical Domains support"
  361. depends on SPARC64
  362. help
  363. Say Y here is you want to support virtual devices via
  364. Logical Domains.
  365. config PCI
  366. bool "Support for PCI and PS/2 keyboard/mouse"
  367. select ARCH_SUPPORTS_MSI if SPARC64
  368. help
  369. Find out whether your system includes a PCI bus. PCI is the name of
  370. a bus system, i.e. the way the CPU talks to the other stuff inside
  371. your box. If you say Y here, the kernel will include drivers and
  372. infrastructure code to support PCI bus devices.
  373. CONFIG_PCI is needed for all JavaStation's (including MrCoffee),
  374. CP-1200, JavaEngine-1, Corona, Red October, and Serengeti SGSC.
  375. All of these platforms are extremely obscure, so say N if unsure.
  376. config PCI_DOMAINS
  377. def_bool PCI if SPARC64
  378. config PCI_SYSCALL
  379. def_bool PCI
  380. source "drivers/pci/Kconfig"
  381. source "drivers/pcmcia/Kconfig"
  382. config SUN_OPENPROMFS
  383. tristate "Openprom tree appears in /proc/openprom"
  384. help
  385. If you say Y, the OpenPROM device tree will be available as a
  386. virtual file system, which you can mount to /proc/openprom by "mount
  387. -t openpromfs none /proc/openprom".
  388. To compile the /proc/openprom support as a module, choose M here: the
  389. module will be called openpromfs.
  390. Only choose N if you know in advance that you will not need to modify
  391. OpenPROM settings on the running system.
  392. endmenu
  393. menu "Executable file formats"
  394. source "fs/Kconfig.binfmt"
  395. config COMPAT
  396. bool
  397. depends on SPARC64
  398. default y
  399. select COMPAT_BINFMT_ELF
  400. config SYSVIPC_COMPAT
  401. bool
  402. depends on COMPAT && SYSVIPC
  403. default y
  404. endmenu
  405. source "net/Kconfig"
  406. source "drivers/Kconfig"
  407. source "drivers/sbus/char/Kconfig"
  408. source "fs/Kconfig"
  409. source "arch/sparc/Kconfig.debug"
  410. source "security/Kconfig"
  411. source "crypto/Kconfig"
  412. source "lib/Kconfig"