Kconfig 8.4 KB

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