Kconfig 8.6 KB

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