Kconfig 8.9 KB

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