Kconfig 8.9 KB

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