Kconfig 8.6 KB

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