Kconfig 9.0 KB

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