Kconfig 8.5 KB

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