Kconfig 9.0 KB

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