Kconfig 8.9 KB

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