Kconfig 8.5 KB

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