Kconfig 8.4 KB

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