Kconfig 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426
  1. # sparc64 configuration
  2. mainmenu "Linux Kernel Configuration for 64-bit SPARC"
  3. config SPARC
  4. bool
  5. default y
  6. select HAVE_OPROFILE
  7. select HAVE_KPROBES
  8. select HAVE_KRETPROBES
  9. config SPARC64
  10. bool
  11. default y
  12. select HAVE_DYNAMIC_FTRACE
  13. select HAVE_FTRACE
  14. select HAVE_IDE
  15. select HAVE_LMB
  16. select HAVE_ARCH_KGDB
  17. select USE_GENERIC_SMP_HELPERS if SMP
  18. select HAVE_ARCH_TRACEHOOK
  19. select ARCH_WANT_OPTIONAL_GPIOLIB
  20. config GENERIC_TIME
  21. bool
  22. default y
  23. config GENERIC_CMOS_UPDATE
  24. bool
  25. default y
  26. config GENERIC_CLOCKEVENTS
  27. bool
  28. default y
  29. config GENERIC_GPIO
  30. bool
  31. help
  32. Generic GPIO API support
  33. config 64BIT
  34. def_bool y
  35. config MMU
  36. bool
  37. default y
  38. config IOMMU_HELPER
  39. bool
  40. default y
  41. config QUICKLIST
  42. bool
  43. default y
  44. config STACKTRACE_SUPPORT
  45. bool
  46. default y
  47. config LOCKDEP_SUPPORT
  48. bool
  49. default y
  50. config ARCH_MAY_HAVE_PC_FDC
  51. bool
  52. default y
  53. config ARCH_HAS_ILOG2_U32
  54. bool
  55. default n
  56. config ARCH_HAS_ILOG2_U64
  57. bool
  58. default n
  59. config AUDIT_ARCH
  60. bool
  61. default y
  62. config HAVE_SETUP_PER_CPU_AREA
  63. def_bool y
  64. config ARCH_NO_VIRT_TO_BUS
  65. def_bool y
  66. config OF
  67. def_bool y
  68. config GENERIC_HARDIRQS_NO__DO_IRQ
  69. bool
  70. def_bool y
  71. source "init/Kconfig"
  72. menu "Processor type and features"
  73. choice
  74. prompt "Kernel page size"
  75. default SPARC64_PAGE_SIZE_8KB
  76. config SPARC64_PAGE_SIZE_8KB
  77. bool "8KB"
  78. help
  79. This lets you select the page size of the kernel.
  80. 8KB and 64KB work quite well, since SPARC ELF sections
  81. provide for up to 64KB alignment.
  82. If you don't know what to do, choose 8KB.
  83. config SPARC64_PAGE_SIZE_64KB
  84. bool "64KB"
  85. endchoice
  86. config SECCOMP
  87. bool "Enable seccomp to safely compute untrusted bytecode"
  88. depends on PROC_FS
  89. default y
  90. help
  91. This kernel feature is useful for number crunching applications
  92. that may need to compute untrusted bytecode during their
  93. execution. By using pipes or other transports made available to
  94. the process as file descriptors supporting the read/write
  95. syscalls, it's possible to isolate those applications in
  96. their own address space using seccomp. Once seccomp is
  97. enabled via /proc/<pid>/seccomp, it cannot be disabled
  98. and the task is only allowed to execute a few safe syscalls
  99. defined by each seccomp mode.
  100. If unsure, say Y. Only embedded should say N here.
  101. source kernel/Kconfig.hz
  102. config HOTPLUG_CPU
  103. bool "Support for hot-pluggable CPUs"
  104. depends on SMP
  105. select HOTPLUG
  106. help
  107. Say Y here to experiment with turning CPUs off and on. CPUs
  108. can be controlled through /sys/devices/system/cpu/cpu#.
  109. Say N if you want to disable CPU hotplug.
  110. config GENERIC_HARDIRQS
  111. bool
  112. default y
  113. source "kernel/time/Kconfig"
  114. config SMP
  115. bool "Symmetric multi-processing support"
  116. help
  117. This enables support for systems with more than one CPU. If you have
  118. a system with only one CPU, say N. If you have a system with more than
  119. one CPU, say Y.
  120. If you say N here, the kernel will run on single and multiprocessor
  121. machines, but will use only one CPU of a multiprocessor machine. If
  122. you say Y here, the kernel will run on single-processor machines.
  123. On a single-processor machine, the kernel will run faster if you say
  124. N here.
  125. If you don't know what to do here, say N.
  126. config NR_CPUS
  127. int "Maximum number of CPUs (2-1024)"
  128. range 2 1024
  129. depends on SMP
  130. default "64"
  131. source "drivers/cpufreq/Kconfig"
  132. config US3_FREQ
  133. tristate "UltraSPARC-III CPU Frequency driver"
  134. depends on CPU_FREQ
  135. select CPU_FREQ_TABLE
  136. help
  137. This adds the CPUFreq driver for UltraSPARC-III processors.
  138. For details, take a look at <file:Documentation/cpu-freq>.
  139. If in doubt, say N.
  140. config US2E_FREQ
  141. tristate "UltraSPARC-IIe CPU Frequency driver"
  142. depends on CPU_FREQ
  143. select CPU_FREQ_TABLE
  144. help
  145. This adds the CPUFreq driver for UltraSPARC-IIe processors.
  146. For details, take a look at <file:Documentation/cpu-freq>.
  147. If in doubt, say N.
  148. config US3_MC
  149. tristate "UltraSPARC-III Memory Controller driver"
  150. default y
  151. help
  152. This adds a driver for the UltraSPARC-III memory controller.
  153. Loading this driver allows exact mnemonic strings to be
  154. printed in the event of a memory error, so that the faulty DIMM
  155. on the motherboard can be matched to the error.
  156. If in doubt, say Y, as this information can be very useful.
  157. # Global things across all Sun machines.
  158. config GENERIC_LOCKBREAK
  159. bool
  160. default y
  161. depends on SMP && PREEMPT
  162. config RWSEM_GENERIC_SPINLOCK
  163. bool
  164. config RWSEM_XCHGADD_ALGORITHM
  165. bool
  166. default y
  167. config GENERIC_FIND_NEXT_BIT
  168. bool
  169. default y
  170. config GENERIC_HWEIGHT
  171. bool
  172. default y if !ULTRA_HAS_POPULATION_COUNT
  173. config GENERIC_CALIBRATE_DELAY
  174. bool
  175. default y
  176. choice
  177. prompt "SPARC64 Huge TLB Page Size"
  178. depends on HUGETLB_PAGE
  179. default HUGETLB_PAGE_SIZE_4MB
  180. config HUGETLB_PAGE_SIZE_4MB
  181. bool "4MB"
  182. config HUGETLB_PAGE_SIZE_512K
  183. bool "512K"
  184. config HUGETLB_PAGE_SIZE_64K
  185. depends on !SPARC64_PAGE_SIZE_64KB
  186. bool "64K"
  187. endchoice
  188. endmenu
  189. config NUMA
  190. bool "NUMA support"
  191. config NODES_SHIFT
  192. int
  193. default "4"
  194. depends on NEED_MULTIPLE_NODES
  195. # Some NUMA nodes have memory ranges that span
  196. # other nodes. Even though a pfn is valid and
  197. # between a node's start and end pfns, it may not
  198. # reside on that node. See memmap_init_zone()
  199. # for details.
  200. config NODES_SPAN_OTHER_NODES
  201. def_bool y
  202. depends on NEED_MULTIPLE_NODES
  203. config ARCH_POPULATES_NODE_MAP
  204. def_bool y
  205. config ARCH_SELECT_MEMORY_MODEL
  206. def_bool y
  207. config ARCH_SPARSEMEM_ENABLE
  208. def_bool y
  209. select SPARSEMEM_VMEMMAP_ENABLE
  210. config ARCH_SPARSEMEM_DEFAULT
  211. def_bool y
  212. source "mm/Kconfig"
  213. config ISA
  214. bool
  215. config ISAPNP
  216. bool
  217. config EISA
  218. bool
  219. config MCA
  220. bool
  221. config PCMCIA
  222. tristate
  223. help
  224. Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
  225. computer. These are credit-card size devices such as network cards,
  226. modems or hard drives often used with laptops computers. There are
  227. actually two varieties of these cards: the older 16 bit PCMCIA cards
  228. and the newer 32 bit CardBus cards. If you want to use CardBus
  229. cards, you need to say Y here and also to "CardBus support" below.
  230. To use your PC-cards, you will need supporting software from David
  231. Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
  232. for location). Please also read the PCMCIA-HOWTO, available from
  233. <http://www.tldp.org/docs.html#howto>.
  234. To compile this driver as modules, choose M here: the
  235. modules will be called pcmcia_core and ds.
  236. config SBUS
  237. bool
  238. default y
  239. config SBUSCHAR
  240. bool
  241. default y
  242. config SUN_AUXIO
  243. bool
  244. default y
  245. config SUN_IO
  246. bool
  247. default y
  248. config SUN_LDOMS
  249. bool "Sun Logical Domains support"
  250. help
  251. Say Y here is you want to support virtual devices via
  252. Logical Domains.
  253. config PCI
  254. bool "PCI support"
  255. select ARCH_SUPPORTS_MSI
  256. help
  257. Find out whether your system includes a PCI bus. PCI is the name of
  258. a bus system, i.e. the way the CPU talks to the other stuff inside
  259. your box. If you say Y here, the kernel will include drivers and
  260. infrastructure code to support PCI bus devices.
  261. config PCI_DOMAINS
  262. def_bool PCI
  263. config PCI_SYSCALL
  264. def_bool PCI
  265. source "drivers/pci/Kconfig"
  266. config SUN_OPENPROMFS
  267. tristate "Openprom tree appears in /proc/openprom"
  268. help
  269. If you say Y, the OpenPROM device tree will be available as a
  270. virtual file system, which you can mount to /proc/openprom by "mount
  271. -t openpromfs none /proc/openprom".
  272. To compile the /proc/openprom support as a module, choose M here: the
  273. module will be called openpromfs. If unsure, choose M.
  274. menu "Executable file formats"
  275. source "fs/Kconfig.binfmt"
  276. config COMPAT
  277. bool
  278. default y
  279. select COMPAT_BINFMT_ELF
  280. config SYSVIPC_COMPAT
  281. bool
  282. depends on COMPAT && SYSVIPC
  283. default y
  284. endmenu
  285. config SCHED_SMT
  286. bool "SMT (Hyperthreading) scheduler support"
  287. depends on SMP
  288. default y
  289. help
  290. SMT scheduler support improves the CPU scheduler's decision making
  291. when dealing with SPARC cpus at a cost of slightly increased overhead
  292. in some places. If unsure say N here.
  293. config SCHED_MC
  294. bool "Multi-core scheduler support"
  295. depends on SMP
  296. default y
  297. help
  298. Multi-core scheduler support improves the CPU scheduler's decision
  299. making when dealing with multi-core CPU chips at a cost of slightly
  300. increased overhead in some places. If unsure say N here.
  301. source "kernel/Kconfig.preempt"
  302. config CMDLINE_BOOL
  303. bool "Default bootloader kernel arguments"
  304. config CMDLINE
  305. string "Initial kernel command string"
  306. depends on CMDLINE_BOOL
  307. default "console=ttyS0,9600 root=/dev/sda1"
  308. help
  309. Say Y here if you want to be able to pass default arguments to
  310. the kernel. This will be overridden by the bootloader, if you
  311. use one (such as SILO). This is most useful if you want to boot
  312. a kernel from TFTP, and want default options to be available
  313. with having them passed on the command line.
  314. NOTE: This option WILL override the PROM bootargs setting!
  315. source "net/Kconfig"
  316. source "drivers/Kconfig"
  317. source "drivers/sbus/char/Kconfig"
  318. source "fs/Kconfig"
  319. source "arch/sparc64/Kconfig.debug"
  320. source "security/Kconfig"
  321. source "crypto/Kconfig"
  322. source "lib/Kconfig"